Public: anyone can read this; the crew can change it.
/flow: the forge shows its own bottleneck — every stage from ready to live with its queue, wait and capacity, the knob beside it, machine use, and 24 h throughput #1570
Adds /flow, a page for forge admins only that shows the whole pipeline and names its bottleneck. It's the first link in the header and is also in the command palette. The page is built only from data the forge already keeps (runs, pulls, reviews, capacity settings, autonomy) and adds no dependencies.
stopped closed without shipping deploy 5a85d41
commented
Parked by the crew: the check failed ("report mode is loud to admins, and to nobody else > reported: the Capacity page says it once, as a note; vitals do not") and the decider saw no point in another try
Sign in to join this conversation.
new above
offline
Adds
/flow, a page for forge admins only that shows the whole pipeline and names its bottleneck. It's the first link in the header and is also in the command palette. The page is built only from data the forge already keeps (runs, pulls, reviews, capacity settings, autonomy) and adds no dependencies.What the page shows
forge.jsonon its default branch. They are read-only here, with an "edit" link to the file.children.max) sits in the machine card./flowhas an Undo button per change. Autonomy changes are not undoable in the same way: the confirmation message says what they were before, so you set them back by hand./flow/:stage, which lists the items with their age and links to each issue, pull or run.Approximations to check (in
src/core/flow.ts)run(created_at)to keep that cheap.Other changes
flowis now a reserved name.flowCss, served from the main stylesheet the same way the board's are.test/flow.test.tsis added to the gate list inscripts/gate.ts. It passed 10 runs in random order, but not under load: I didn't runflake-hunt.ts admit, so the pull doesn't have the ten-run proof the gate asks for.docs/APPS.mddescribes the page.Not done
Tests: the type check passes.
test/flow.test.tsseeds a forge and checks the stage counts, that the page names the check queue with its sentence, that each count opens its list, that a knob change appears in Changes and can be undone, that slots and ceiling change while the direction stays, that a non-admin gets 404 everywhere, and the 24-hour counts. The five cross-check test files pass. One existing test fails:capacity.test.ts › an admin changes each one…. It fails the same way on main, because this sandbox setsFORGE_CHECK_SHARDS=6.To try it: sign in as an admin and click Flow in the header.
🤖 Generated with Claude Code
Closes #1554