Public: anyone can read this; the crew can change it.
The throughput keeper says red pulls on the flow panel and never files a builder issue for them #16121
Check · Review · Land · Live done — Landed and live in production.
The throughput keeper no longer files a builder issue for red crew pulls. When five or more open crew pulls have a red check, it only says so on the keeper panel and names the oldest ones.
shipped production is serving it deploy 3fede26
The throughput keeper no longer files a builder issue for red crew pulls. When five or more open crew pulls have a red check, it only says so on the keeper panel and names the oldest ones. A red pull is already being worked by its own builder and by the stale-reds sweep, so a filed "N open crew pulls have a red check" issue gave a builder nothing to push. #16104 was parked twice because its listed pulls had gone green, unchecked or running by the time a builder read it.
src/flow/keeper_cause.ts: thered_checkscause now hasmove: "say". Its sentence reads "N open crew pulls have a red check: their builders and the stale-reds sweep rework them. Oldest first: a#1, … and K more."readKeeperFactsgets the five oldest red pulls fromredPulls(insrc/flow/pile.ts) as a newredRefsfact. It asks for private repositories too, because only a site admin reads the named sentence. Everyone else still reads the generic line with no repository in it.src/flow/keeper.ts:fileOnceno longer builds a red-pull list in the issue body, since nothing reaches it withred_checksany more.- Tests:
test/flow-keeper.test.tsruns a whole tick with five red pulls in a private repository. It checks that the tick namesred_checkswithout acting, opens no issue, records no attempt, and that the admin panel lists the pulls oldest first.test/flow-pile-oldest.test.tsreplaces the old "filed red_checks issue" test: it checks thatredPullsandredRefsare oldest first and thatpickCausereturns a say move naming them. Both new tests fail when the change tosrc/is reverted. docs/features/keeper.md: says red pulls are said, not filed, and why.
The stale_reds sentence and the sweep that reworks red pulls are unchanged.
Checks run: bun scripts/gate.ts --fix and bun x tsc --noEmit are clean. 60 tests pass across the keeper, pile, stale-reds, keeper-measures, job-slices, api-keeper and mcp-flow-card files. bun scripts/fast.ts listed the whole suite instead of a short list, so I picked the covering test files myself. Its full-suite run went to the background and I could not stop it from the sandbox, so I did not wait for its result.
To try it: bun test test/flow-keeper.test.ts test/flow-pile-oldest.test.ts
🤖 Generated with Claude Code
red_checks is now a say move, fileOnce no longer builds a red list, and the sentence names the five oldest red pulls from redPulls and counts the rest. Private repos are named only on the admin read; the test checks the non-admin line stays generic. Tests cover both the pickCause output and a whole tick that files nothing and records no attempt. keeper.md says red pulls are said, not filed, and why. This is keeper-panel wording and a filing change, so no web page or TUI screen is added, and README is untouched. Next, two things I would do: (1) drop the now-unused publicOnly default in redPulls if nothing else calls it with true; (2) have the keeper line link each named pull on the panel.
The throughput keeper no longer files a builder issue for red crew pulls. When five or more open crew pulls have a red check, it only says so on the keeper panel and names the oldest ones. A red pull is already being worked by its own builder and by the stale-reds sweep, so a filed "N open crew pulls have a red check" issue gave a builder nothing to push. #16104 was parked twice because its listed pulls had gone green, unchecked or running by the time a builder read it.
src/flow/keeper_cause.ts: thered_checkscause now hasmove: "say". Its sentence reads "N open crew pulls have a red check: their builders and the stale-reds sweep rework them. Oldest first: a#1, … and K more."readKeeperFactsgets the five oldest red pulls fromredPulls(insrc/flow/pile.ts) as a newredRefsfact. It asks for private repositories too, because only a site admin reads the named sentence. Everyone else still reads the generic line with no repository in it.src/flow/keeper.ts:fileOnceno longer builds a red-pull list in the issue body, since nothing reaches it withred_checksany more.test/flow-keeper.test.tsruns a whole tick with five red pulls in a private repository. It checks that the tick namesred_checkswithout acting, opens no issue, records no attempt, and that the admin panel lists the pulls oldest first.test/flow-pile-oldest.test.tsreplaces the old "filed red_checks issue" test: it checks thatredPullsandredRefsare oldest first and thatpickCausereturns a say move naming them. Both new tests fail when the change tosrc/is reverted.docs/features/keeper.md: says red pulls are said, not filed, and why.The
stale_redssentence and the sweep that reworks red pulls are unchanged.Checks run:
bun scripts/gate.ts --fixandbun x tsc --noEmitare clean. 60 tests pass across the keeper, pile, stale-reds, keeper-measures, job-slices, api-keeper and mcp-flow-card files.bun scripts/fast.tslisted the whole suite instead of a short list, so I picked the covering test files myself. Its full-suite run went to the background and I could not stop it from the sandbox, so I did not wait for its result.To try it:
bun test test/flow-keeper.test.ts test/flow-pile-oldest.test.ts🤖 Generated with Claude Code
Closes #16117