Repository navigation
Description
After both review rounds, a contributor who resolves a conflict from main has to replace the PR to get the resolution reviewed. The review selector rejects the new head before it looks at the merge history. Readiness also tells the contributor to open a new PR when missing review is the only blocker.
On 26 Nov UTC, Mergify dequeued #1152 when it conflicted with main after #1098 landed. The author recorded that the approved delta and resolved finding had used both rounds. #1207 carried the approved work and the conflict resolution. #1122 also had an approved delta and was replaced by #1219 after resolving a conflict with #1080. Its replacement documents the resolution, with no CLI refusal transcript on the original PR. #1152 report, #1219 replacement
Reproduce offline
On origin/main at 71b6250c, make a topic edit and record a primary review, then make a repair commit and record a trusted approving delta there. Edit the same line on main and resolve the conflict in a two-parent merge on the topic. The delta selector reports “review cap reached (2 rounds per PR)” and never invokes the reviewer. With local Git substituted for the isolated fetch, eligibility rejects inherited approval for the conflicted merge. It accepts the clean-merge control and a fixture review on the exact resolved head.
The cap and its readiness message are in cli.py:266–283 and cli.py:334–340. The review budget and clean-merge policy are in core/CONTRACT.md:202–232.
Acceptance
- Keep the primary and ordinary delta budget. After a trusted approval of the ordinary delta with its blocking findings resolved, allow one additional delta on the same PR for a first-parent suffix consisting solely of verified merges from the configured base with at least one resolved conflict. Derive the allowance from existing review history and Git. A cap-spent PR with a source commit, a rewritten reviewed head, unproven history, or an already-used allowance still hits the cap.
- Reuse review trust: Review conflict resolutions in the available delta #1240’s exact-head delta path, anchored at the last approved head. All changes in the resolved tree since that approval reach the reviewer, including edits made inside the merge commit. Local and hosted readiness require eligible evidence for the new head. Existing check and finding requirements still apply.
- Prove the allowed and refused histories offline with real Git commits. Cover both ordinary invocation and repost, and have
readyname the same-PR review route when it is available. A proven clean base update still inherits coverage without consuming a review.
Start in src/loopzero/cli.py, tests/test_cli.py, and the review-budget sections of core/CONTRACT.md and docs/ARCHITECTURE.md. Reuse the base-merge proof in src/loopzero/eligibility.py where appropriate. The existing delta marker and evidence format suffice.
Activity
eowca commentedon Nov 26, 2026
Priority evidence from a review of IntelFlo PRs for 19-26 Nov: 76 PRs were closed unmerged, and 64 of them shared an issue with a PR that merged, so they were replacements rather than abandoned work. About 28 trace to the round-two cap (21) or to a rebase that invalidated the reviewed history (7). This issue and #1240 (PR #1663) remove that cause. The text-only sizing change in #1695 deliberately leaves the contract's "A head that needs another review goes in a new PR." sentence alone so that it changes here, together with the CLI.
Plan one outcome per PR and stop slicing work to keep builders busy (#…