Public: anyone can read this; the crew can change it.
/system shows each first-opened page's warm median beside its budget, an over-budget page as one plain line #11578
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
Intent: the owner sees on /system which first-opened page is over its budget today, without running a script. Second half of #11544. Start fresh from main; touch only the files below.
Done:
src/web/pages/system-budget.tsrenders a section frompageBudgetRows(src/perf/page_budget_read.ts): one row per page with its budget and measured median, every value escapedsrc/web/pages/system.tsmounts it once, reading the in-memory perf record: no new SQL, /system's own statement count does not risesrc/perf/page_budget_read.tsfromscripts/unreached-allow.jsontest/page-budget-read.test.tsshows each page name and the over linedocs/features/page-budget.md; no other docsbun scripts/design-lint.ts,bun x tsc --noEmitand the touched tests pass in the sandbox before the pushFiles: src/web/pages/system-budget.ts (new), src/web/pages/system.ts, test/page-budget-read.test.ts, scripts/unreached-allow.json, docs/features/page-budget.md. Risks: the earlier try's second park was the check's CPU limit (#11573), not this code; do not touch the MCP tool here. Suggested brief: scout.