Repository navigation
Description
Ask
Raised by the maintainer, 2026-11-11. Evaluate whether backlog-burndown, and any orchestrator that dispatches batched subagent work, should keep its worker slots full continuously, rather than running a round as a batch that waits for its slowest worker. Keep the model simple. This issue asks for the evaluation and a recommended design, not a rewrite.
The problem
"The Round" runs dispatch, then collect, then clean up, then promote, then re-rank. Step 5 collects every worker's outcome before step 6 or 7 runs, and the next round dispatches only after that. So a round lasts as long as its slowest worker. When one worker runs for hours, every slot whose worker has already finished sits idle, and the queue behind them waits.
Observed shape, from a live run in another fleet repository (finmod)
Only timing and counts are given here, since that repository is private.
- The run holds five open burndown claims.
- One group's feature pull request has been open for more than two hours and is still in review. Its siblings in the same batch merged earlier.
- The merges into
developcluster at batch boundaries. Three merged within six minutes of each other, after waiting about nine hours from their creation. - So nothing new is dispatched while the slow group runs, though the slots its siblings held are free.
The same shape in this hub's run of 2026-11-10 to 11
- In round 2, two groups merged within about an hour of dispatch. The resync and standup group took roughly three hours, through 16 local passes over seven pushes.
- The round's promotion, and every round-3 dispatch, waited on it.
- The workers that finished first had nothing to do for those two hours.
A candidate model to evaluate
- Keep up to N slots busy. When a worker ends (merged, parked, or abandoned), the orchestrator cleans up that group. It then re-ranks, and dispatches the next group whose predicted files are free under "Grouping and File Claims". File claims already make concurrent groups safe, and the round adds no safety the claims do not.
- Batch at the promotion, not the dispatch. A promotion opens on a trigger, such as K merges waiting, a time since the last promotion, or an urgent fix, rather than at a round's end.
- The freeze becomes a merge hold, not a dispatch stop. While a promotion is open, workers keep driving to the Merge Gate. Each stops and reports ready rather than merging, and the orchestrator releases those merges once the promotion merges. This hub's run used exactly this handshake on 2026-11-11 to sequence merges with two peer sessions, and it worked.
What the evaluation has to answer
- Re-ranking cost. Is a full re-rank per freed slot affordable? Or does the orchestrator rank once and keep a ranked queue, re-ranking only at a promotion or when new issues land?
- Harness limits. How many concurrent subagents does the harness sustain? How does a 429 or overload interact with continuous dispatch? Does "A Dispatch That Fails" still hold?
- Promotion size. A promotion opened on a trigger may carry work at different stages. Does the size cap on review stay bounded, given that a large promotion surfaced four defects in round 1?
- Away mode. The planner and worker split, run state in GitHub, and the round cap all assume rounds. What replaces the round as the unit the report, the cap, and the net-flow count are measured over?
- What stays. File claims, the worker brief, the tier choice, the review budgets, and cleanup all appear to carry over unchanged. Confirm that.
- Other batched orchestrators. The same shape applies wherever an orchestrator dispatches a batch and waits for all of it, including
decision-triageresearch and any fleet sweep. Say whether one rule covers them.
Done when
A short design recommendation is recorded here, choosing between keeping rounds and moving to continuous slots, or a middle path. If the recommendation is to change, the follow-up issues name which sections of backlog-burndown change.
Activity
ptr727 commentedon Nov 11, 2026
Measurements from the finmod burndown session, 2026-11-11. Counts and approximate times come from its subagent duration counters. The repository is private, so no content is given.
The slow worker. It is a local review loop on one pull request covering 5 issues across 6 modules: 7 recorded passes so far, each finding a new edge, then the hosted review wait. It hit an account usage limit at about 125 minutes. It was retired at about 495k tokens of context with a handover, and a fresh worker took the same branch. Context growth was the cost driver, not CI.
What held the next group back:
Two findings that bear on this issue:
developwere denied by the auto-mode permission classifier. So each pull request waited at the gate for the maintainer to approve in a dialog, which cost hours for that batch. The evaluation should cover how a dispatched worker's merge is authorized under auto mode, since continuous slots gain little while every merge waits on a dialog.A third input from this hub's run. The slowest groups here were also the widest pull requests: round 2's resync group took 16 local passes. So capping a group's scope may shorten the tail more than scheduling does. The evaluation should weigh both.
ptr727 commentedon Nov 13, 2026
Question for the maintainer (backlog-burndown planner, away mode, round 6). This issue asks for a design choice about how a burndown run schedules its workers, and the committed rules do not make that choice, so the away run labels it
decisionand holds it.The problem. Today a burndown round dispatches up to four workers and then waits for every one of them before it cleans up, promotes, and plans the next round. So a round lasts as long as its slowest worker, and the slots whose workers already finished sit idle. The measurements recorded above show roughly 40 to 95 idle minutes per freed slot per round.
Question: should a burndown run keep its worker slots filled continuously instead of waiting for the slowest worker in each round?
Whichever is chosen, the follow-up issues name the
backlog-burndownsections that change, as this issue's "Done when" asks.ptr727 commentedon Nov 16, 2026
Answered by the maintainer, 2026-11-15: run the evaluation in the next session, after promotion #4198 and #3919. It is now work. The deliverable is the one this issue's "Done when" names: a design recommendation recorded here, plus follow-up issues naming the
backlog-burndownsections that change, if it recommends a change.ptr727 commentedon Nov 16, 2026
Evaluation and recommendation, 2026-11-15, accepted by the maintainer the same day. This answers "Done when" above. The source is
backlog-burndownonmainat the 2.0.1468 release. The measurements are the ones recorded on this issue.Recommendation: keep the round, and refill a freed slot from the round's own ranked queue
Full continuous slots are not recommended. The round stays the unit that the report, the net-flow count, the round cap, and the promotion are measured over. What changes is "The Round" step 5. When a worker ends (merged, parked, abandoned, or stopped on a question), its group is cleaned up at once, per step 6. The freed slot is then refilled with the next group from the ranking this round already made. The refilled group's predicted files are first re-verified against everything in flight. The round closes for promotion when no in-flight worker remains and no refill is possible. That is the case when the ranked queue is exhausted, when every remaining group is claim-blocked, or when a per-round refill cap is reached. A cap of four refills, so eight groups a round, is suggested.
Why not full continuous slots
drive-pr, pushes and opens a pull request. Continuous slots would need a new worker state: driven to the Merge Gate, then held unmerged until the promotion lands.drive-prdescribes no such state, and a held worker costs context for as long as the maintainer takes. The refill keeps promotions at round boundaries, so no worker is ever in flight when one opens.The evaluation's questions
decision-triage's research is short and uniform, and no tail has been measured for it, so it should stay as it is. A fleet sweep that dispatches per repository can take the same refill rule if a tail is measured there. No shared rule is proposed until a second skill needs one.The measurements point at two larger serializers than scheduling
host-setup/agent-safety/and needs the maintainer's approval.Follow-up issues
ptr727 commentedon Nov 16, 2026
Closing: the recommendation recorded here was accepted on 2026-11-15, and its work is carried by #4204, #4205 and #4206.