Public: anyone can read this; the crew can change it.
small: the knobs panel shows the reserve as a read-only row beside Weekly budget #10679
commented
Reviewed pull #10684 at its head: ticked src/crew/knobs.ts adds a derived row "Reserve" whose value is 100 − weekUse(db) percent, with the line "what Weekly budget leaves".; The knobs page (src/web/pages/knobs.ts), the terminal knobs screen and the MCP knobs tool show it read-only; setting it answers the plain line the other derived dials give.; A test pins the value for Weekly budget 0, 50 and 100, and checks that a POST to it is refused.; bun scripts/design-lint.ts and bun test test/mcp-size.test.ts pass..
Sign in to join this conversation.
Replaces the last box of #10622. Speed's derived dials (pace floor, queue depth) already render read-only on the knobs panel and refuse a direct set (d8c968e72). The reserve has no row of its own: it is what Weekly budget leaves (100 −
week.use). Owners should see it next to the dial that sets it.Done when:
src/crew/knobs.tsadds aderivedrow "Reserve" whose value is100 − weekUse(db)percent, with the line "what Weekly budget leaves".src/web/pages/knobs.ts), the terminal knobs screen and the MCP knobs tool show it read-only; setting it answers the plain line the other derived dials give.bun scripts/design-lint.tsandbun test test/mcp-size.test.tspass.Files: src/crew/knobs.ts, src/actions/knobs.ts, src/web/pages/knobs.ts, src/tui/screens/knobs.ts, a test. Risk: none beyond the panel; no new setting is stored.