Public: anyone can read this; the crew can change it.

Home's builders tile says why builders are idle, read inside the cached KPI answer #7664

shipped production is serving it opened this has it
opened this

Part of #5799. Both earlier tries went red on "budgets > /map and / answer under their p95 and statement budgets". The reason was computed on every home load. This time it rides inside the cached KPI read from #7624.

Done when:

  • [ ] readKpis (src/flow/kpis.ts) puts idleReason on Kpis.builders, as builders.idle: { word, href } | null.
  • [ ] The builders tile (src/web/studio/kpi_row.ts) and its kpiLines line (src/flow/kpi_words.ts) add · <word>, linked to href, when it is not null. Nothing is added when every slot is busy.
  • [ ] One test seeds the ceiling-reached state and finds ceiling reached linked to /meter on / as an admin.
  • [ ] test/budgets.test.ts passes unchanged. Its p95 and statement budgets are not raised.
  • [ ] bun scripts/design-lint.ts is clean, and the pull carries a before/after screenshot of the tile.

Files: src/flow/kpis.ts, src/flow/kpi_words.ts, src/web/studio/kpi_row.ts, one test. Risk: the KPI tile files are shared with the ceiling note. Keep the change to the builders tile.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs