Convergent review: the scope shrinks, P3 is fixed without holding the stamp
Operator decision 2026-11-29 (todo/answers.md Q71). Roadmap: Convergent review.
Why
Measured on .claude/overnight/reviews/manifest.jsonl the same day: of 197 reviewed sections the median took 13 passes, 60 took more than 20 and 29 more than 40 (the lane policy: 404). In the long chains the worst finding never falls: the lane policy's chain ends ...222...222...222. The cause was the review rules, not the code. Every pass reviewed the whole section through six adversarial lenses with fresh eyes, every level blocked, and nothing was ever settled, so a chain ended at the cap rather than when the work was clean. Redesigning a section is sometimes right, but used as the way out of a non-converging review it replaces well-built, well-reviewed code. The spiral detector (Smart mechanics) stays as a safeguard against a writer that misbehaves; it is not the mechanism that ends a chain.
Goal: a section outside the kernel and the boot path reaches its stamp in 20 passes or fewer, without weakening the first review.
Approaches
- A. Prompt only: tell the reviewer the scope. Cheapest, but it depends on the reviewer obeying, and long chains show it drifting.
- B. The dispatcher enforces the scope: it names the fix range, and a finding outside it counts only if it is a P1.
- C. B plus a 20-pass budget outside the kernel and boot paths. Chosen (operator). B makes chains converge; the budget makes the target a guarantee and should rarely fire.
Design
- Exhaustive first pass. The first round and the first performance pass of a section review the whole section and are told to report every finding in that one pass, since later passes review only the fixes.
- Settled code. A later round, performance or reconciliation pass reviews the fix range:
git diff <candidate the previous pass of the same lenses read>with the working tree, each change with the code it sits in, plus untracked files. A round's baseline is the last round, a performance pass's the last performance pass, a reconciliation's the completion or reconciliation before it, so one pass of a wave never moves another's. Code outside the range was reviewed and has not changed: it is settled. A round or performance pass whose baseline is not on the candidate's history (a reset, a rebase, or a pass dispatched before its commit's post-commit amend finished) gives no fix range: it reviews the whole section, counts every finding, and is told to verify the previous pass's findings when that transcript can still be read. A reconciliation whose repair baseline is off history refuses and asks for a fresh completion (todo/answers.md Q74). A completion is not scoped (it checks delivery and the record, not defects). - What counts. The reviewer reads the diff anyway, so it places each finding:
[fix-range]or[settled], and declaresSCOPED-HIGHEST:besideHIGHEST:, the worst level of the findings not settled. It is shown the previous pass's transcript, and a finding there that the candidate has not fixed is in scope wherever it sits. A declared P1 always counts; a scoped pass with noSCOPED-HIGHESTline is incomplete. The receipt records the counted level ashighestand the reviewer's own asdeclared_highest. The first build matched each finding's file:line against git diff hunks with a parser; its first review found that brittle in a dozen ways (absolute paths, renames, binary and mode changes, moved lines, partial parses that set a P1 aside), so the reviewer, not a parser, places the finding. - Kernel and boot (the "deep" effort tier:
src/kernel/,include/kernel/,src/boot/): the prompt is scoped the same way, but nothing is filtered, so a P2 anywhere still blocks, and the cap stays 55. - P3 does not hold the stamp (
blocking = ["P1", "P2"]). A P3 is fixed in the same fix commit as the blocking findings; the next pass sees the fix in its range. - Budget.
pass_cap = 20,deep_pass_cap = 55; a section is deep when its changed paths fall in the deep tier or any of its non-plan receipts recordsdeep(the dispatcher writes it on every pass after the plan, whose own paths are the commit before the section; the commit gate, which has no changed paths, reads the same cap). Past the cap plusclosing_capno pass runs, so a pass the section never got is owed to itsSpawned-byfollow-up, which must name it.closing_cap(3) and theSpawned-byfollow-up past it are unchanged. The mechanics endgame (review_gates.ENDGAME) becomes the section's cap minus 3. - Sections already under review move to these rules from their next pass.
Non-goals
Fewer lenses, a weaker first round, or a lower reasoning effort. A review that is cheaper per pass is not the aim; one that ends when the work is clean is.
Left to the builder
The wording of the prompt text.