Repository navigation
Description
Ask
Follow-up to #4215, which made backlog-burndown refill a freed worker slot mid-round (#4204) and capped a group's scope (#4205). Its last local review pass, at head d7006ca6, raised three findings in .agents/skills/backlog-burndown/SKILL.md. The maintainer chose to merge #4215 and file these rather than run another local loop.
Findings
- A refill can claim files a just-dispatched group holds. "Grouping and File Claims" counts as in flight only the claims of groups still holding a branch. A dispatched worker's branch does not exist until it runs
git worktree add. A refill verifying in that window misses the new claim, and can dispatch a second group onto the same files or the same issue. The away guard "none starts while a dispatch is pending" closes this only if pending lasts until the branch exists, and the attended refill in "The Round" step 6 has no guard. A candidate fix: say once that a dispatch stays pending until its claimed branch appears ingit branch, and apply that to both refill paths. - An away ending can leave stale claim comments behind. "Ending an Away Run" releases only claims a refill planner still running recorded on a branch no worker has created. That misses a returned plan not yet dispatched, and a group waiting out a "A Dispatch That Fails" retry. A candidate fix: drop the planner scoping, so that each claim on a branch no worker has created is released.
- A limit is stated twice. "The Round" step 6's "while the round is under step 4's limit" repeats step 2's free-slot test and names one limit where two exist. Step 4's "the dispatch limit" is singular too. A candidate fix: delete the step 6 clause, and let step 2's test gate the refill.
Lesson worth carrying: across 14 local passes on #4215, the refill kept surfacing defects wherever it met a part that used to run only between rounds (claims, slots, endings, the freeze). Finding 1 is the same class as an earlier fix that had to be reverted. Counting every unreleased claim as in flight left a merged group's claim holding its files until promotion, so a fix for finding 1 should bound "pending" to the branch's appearance rather than widening what counts as a claim.
Done when
Each finding is fixed or declined with evidence, and build_dist.py --check passes.
Activity
Refill a Freed Burndown Slot From the Round's Ranking, and Cap a Grou…
ptr727 commentedon Nov 16, 2026
Finding 4, from CodeRabbit on promotion #4217, deferred here by the maintainer. "The Round" step 2 says "A slot is free only while both dispatch limits in 'Grouping and File Claims' leave room." Once a round has dispatched eight groups, no slot counts as free. So a stopped group whose question is answered cannot resume per "Raising a Blocked Question" ("Only then dispatch, into a slot per 'The Round' step 6"), although "A group counts once, however many workers it takes". A candidate fix: a resuming group needs only the four-at-once headroom. Raised on #4217, and the thread there is answered with a pointer here.
Promote Develop to Main: Burndown Slot Refill and Group Scope Cap (#4217
Count a Just-Dispatched Burndown Group In Flight, and Release Every U…