Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions src/components/playground/AutopsyPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,19 @@ export default function AutopsyPanel({
</button>
</div>
</div>
) : session.metrics.length === 0 ? (
<div className="pg-verdict">
<div className="pg-verdict__main">
<strong>—</strong>
<div>
<span className="pg-verdict__file">runtime monitor waiting</span>
<span className="pg-verdict__kind">
0 samples yet — the engine cannot judge curves it has not seen.
Point the recorder at your app (--app-url) so health samples arrive.
</span>
</div>
</div>
</div>
) : (
<div className="pg-verdict">
<div className="pg-verdict__main">
Expand Down
6 changes: 5 additions & 1 deletion src/components/playground/city.ts
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,10 @@ export function buildPlaygroundCity(
);
});

// Ambient district blocks keep the city legible without inventing file facts.
// Ambient district blocks keep the demo city legible without inventing file
// facts. Live recordings never get filler: their skyline is exactly the set
// of files the session actually touched — zero files = an honest empty city.
if (!isLive) {
const ambientCount = 44;
for (let i = 0; i < ambientCount; i += 1) {
let guard = 0;
Expand Down Expand Up @@ -273,6 +276,7 @@ export function buildPlaygroundCity(
z,
);
}
}

return towers;
}
Expand Down
Loading