Repository navigation
Description
After primary approval, a contributor who resolves a conflict while merging main cannot use the PR’s remaining delta review. The CLI tells them to reset to the first parent and review there. That drops the merge resolution from the review, and readiness still requires review coverage for the resolved head.
On 26 Nov UTC, #1099 recorded the delta refusal and the missing local and hosted review coverage, then was replaced by #1230. #1121 had primary approval and was replaced by #1180 after resolving a conflict with #1143. Its replacement documents the conflict and fresh review. The original PR has no refusal transcript. #1099 report, #1180 replacement
Reproduce offline
On origin/main at 71b6250c, create a topic that edits a line and record a trusted primary approval. Edit the same line on main, merge origin/main into the topic, resolve with a distinct line, then try the ordinary delta. The current selector returns delta, but the runner stops with “would put the merged-in changes in the delta material” before sending anything to the reviewer. The real reviewed-to-head Git diff contains the resolved line. With local Git substituted for the isolated fetch, eligibility rejects the old approval and accepts fixture evidence published at the exact new head.
The blanket merge refusal lives in cli.py:963–994. test_cli.py:1583 currently expects the refusal even for a clean base merge followed by a repair.
Acceptance
- With a delta available, a verified merge from the configured base can receive the existing delta on the same PR. Bind the review to the actual current head and pass the full reviewed-to-current patch to the existing runner, including all resolution edits and any other changes since the reviewed commit. A first-parent-only or combined merge patch can omit changes. Cover the material delivered to the runner in the regression test.
- Keep the clean-merge inheritance proof and findings checks. A modified or conflicted merge stays blocked in local and hosted readiness until eligible review covers the new head. Test the old review, the exact-head review, and a clean-merge control.
- Preserve the refusal when the reviewed commit is absent from the first-parent history or a merged parent cannot be verified as coming from the configured base. Name the applicable recovery in the CLI. Use the existing delta and evidence format.
Start in src/loopzero/cli.py and tests/test_cli.py. The existing patch builder is at src/loopzero/worktree.py:246, and the separate inheritance proof is at src/loopzero/eligibility.py:90. The related patch-visibility work in #1101 applies to the material sent to the runner.
Activity
eowca commentedon Nov 26, 2026
Additional live reproduction: #1583 had primary approval on
69d7b878and an unused delta round. Main introduced a conflict intests/test_cli.py. The resolved base merge8ec055c2passed all 67 focused tests, but_run_reviewrefused it before invoking the reviewer because the reviewed range contains a merge. The same guard is on current main. This contradicts the Review budget incore/CONTRACT.md, which calls for a delta after a conflicted merge.A full tree diff between those heads spans 22 files. Git’s remerge diff isolates the conflict resolution to one file. A bounded alternative for #1259 is to verify first-parent history and each merged parent in isolated Git, then emit ordinary first-parent patches and remerge patches for the verified two-parent merges. Clean-merge approval inheritance stays separate.
eowca commentedon Nov 26, 2026
Taking over the existing #1259 with the delivery owner’s authorization. I’ll retain its branch and narrow the delta to topic commits and conflict-resolution changes, keeping clean-merge approval inheritance unchanged.
Plan one outcome per PR and stop slicing work to keep builders busy (#…
eowca commentedon Nov 26, 2026
No safe loop-zero cut found in the r60 cohort. Base movement or ancestry was the largest identified IntelFlo replacement category, 12 of 48 links, ahead of verification defects and review coverage at 11 each. Base movement also accounted for 3 of 22 IntelFlo exhaustion cases. The replacement and exhaustion counts overlap.
IntelFlo main now pins both hosted jobs to
6bbaa7c8, which contains #1731 (588ee89e) and its conflict-delta path. Loop-zero #1940 also puts the review-path decision and base merge ahead of the check on the resolved head. The six rebase cases reinforce the existing instruction. None establishes a new CLI failure that a small patch could safely remove. A new code change would need a case on the current pin where the reviewed commit remains on the first-parent history and an otherwise eligible delta is refused. Review budget · IntelFlo pin rollout · Base refresh guidance