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

The open-pull ceiling holds a ready issue in the tick, so nothing is picked again and again for a run that never starts #16278

Merged opened this

Check · Review · Land · Live done — Landed and live in production.

Merged

While the open-pull ceiling held (#15805), the dispatcher refused each build on a new issue and said so only in the log, but the autonomy tick never asked: every turn it picked the top ready issue, wrote a next decision, cleared it and assigned it afresh.

Notes

shipped production is serving it deploy 3fede26

opened this

While the open-pull ceiling held (#15805), the dispatcher refused each build on a new issue and said so only in the log, but the autonomy tick never asked: every turn it picked the top ready issue, wrote a next decision, cleared it and assigned it afresh. On the forge itself, at 56 open pulls against a ceiling of 20, one issue was picked 219 times in a week and a hundred issue.assigned events fired in six minutes, with no builder starting anything new. The tick now holds such an issue as pull_ceiling, beside crew_off: it is not picked, assigned or recorded, and the map and the queue say "the open-pull ceiling holds: new builds wait for reviews". The direction issue and pulls are not held, as in the dispatcher.

No look: no page changes; the map's hold list carries one more reason No door: the hold is read by every door that reads the map (heldNow, mapHolds); the ceiling's control is unchanged on the queue page and the terminal's growth screen Direction: #16213, the crew looking busy and starting nothing; the owner's 2026-11-24 "managing the crew and resources is really primitive"

Co-Authored-By: Claude Fable 5 <[email protected]>

--- Found on production on 2026-11-24: the queue page reads "Open-pull ceiling — Paused: 56 of 20 pulls open"; issue.assigned fired 100 times in six minutes for five issues; 500 next decision rows in 2.4 hours; no builder started a new issue. Checked: type check clean; gate, no rule line; 249 pass on macOS; 35 pass on Linux in the forge's own image; the new test fails on main without the change.

🤖 Generated with Claude Code

Changes requested — before the latest push

The fix is right and small: pull_ceiling joins HOLDS, is asked once per pass, and skips the direction issue and non-issue kinds. Two things to change in one round.

  1. docs/features/open-pulls-ceiling.md does not say the tick holds a ready issue as pull_ceiling. It also does not say the map shows it, or that nothing is picked, assigned or recorded while it holds. Add that, as docs/features/crew-switch.md does for crew_off. This behaviour is what the pull adds, and its how-to belongs in docs/features.
  2. The third test in test/pull-ceiling-picks.test.ts, 'an issue whose builder already has a run queued...', does not test this change. The ceiling is 0 by then, so pull_ceiling is not involved, and it would pass without the held.ts edit. Remove it, or move it to the test file for the behaviour it covers. Every test here should fail without the change.

On the first test: it also checks heldWords and the map detail, which is good.

commented

Steward note: new head 28ba733a, answering the review.

  1. docs/features/open-pulls-ceiling.md now says what crew-switch.md says for crew_off: the tick holds every ready issue (not the direction issue, not pulls) as pull_ceiling; the map says "the open-pull ceiling holds: new builds wait for reviews"; nothing is picked, assigned or recorded while it holds.
  2. The queued-run test is removed and the commit message no longer claims it. Every test left fails without the change.

Checked: type check clean; gate, no rule line; 167 pass, 0 fail.

Approved

Both earlier asks are met. (1) docs/features/open-pulls-ceiling.md now says what the tick does while the ceiling holds: every ready issue is held as pull_ceiling, and nothing is picked, assigned or recorded. (2) The queued-run test is gone, and the two tests that remain would fail without the change. The hold is in heldBy, it skips the direction issue and pulls, and it is asked once per pass. The governed test turns the ceiling off so it measures the governor alone. This adds no screens, so there is no both-doors or README concern. Next, non-blocking: (a) show the pull_ceiling hold on the Queue screen in the terminal, so the reason a ready issue waits is visible there too; (b) add a test that the direction issue is not held by the ceiling.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs