An implementer agent fixes a PR, a reviewer agent finds another issue, and it repeats. Some findings are real; others are questions, guesses or later work. End the loop with a fixed acceptance boundary and an owner who decides. The example is a settings-form PR.

Pin the PR and the decision it needs
Before another review, write down the issue, the head commit and the behavior that makes the change acceptable. For the settings form: a signed-in user saves a valid display name; an invalid value shows an error and saves nothing; an API failure leaves the form retryable; nobody can edit another user's settings. A reviewer may still find a serious defect outside this list, but must show how this PR reaches it. 'Find anything wrong' never ends.
- Review the head commit the implementer says is ready.
- Separate release blockers from cleanup ideas before asking for fixes.
Turn each finding into a testable claim
Ask the reviewer for the file and line, a code path, the consequence, and evidence or a reproduction. Then check it yourself. If retry is broken, force the API to fail, press Retry and watch for a second request. If another user can edit the record, test with two disposable accounts. A finding from an agent that couldn't run the app is a hypothesis. GitHub warns AI review can miss problems and raise false positives.
- Mark each finding confirmed, disproven, needs evidence or out of scope.
- If a concern can't be tied to this diff, ask one question before editing.
Decide what happens to each finding
Decide by impact and relation to the PR. A cross-user write bypass blocks merge, even on a late pass. So does a broken retry the issue requires. A style preference or unrelated refactor shouldn't silently grow the PR; GitHub advises tracking out-of-scope feedback in a linked issue. If a reviewer disagrees, the PR owner records the reason.
| Finding | Evidence to request | Decision for this PR |
|---|---|---|
| Other user's settings can be saved | Cross-user request and server authorization path | Block merge; fix and retest denial |
| Retry button stays disabled after a 500 | Reproduction and second-request network trace | Block if retry is part of acceptance |
| Button label could be shorter | Design requirement or usability evidence | Decide with product owner; don't auto-loop |
| Unrelated profile page has old spacing | Separate issue and affected route | Track separately unless this diff caused it |
Run one bounded correction round
Send the implementer only confirmed blockers with their evidence, and ask for a narrow fix plus the test that would have caught it. On the new head, rerun the failed case and read the whole diff for stray changes. There's no magic number of passes. Stop the back-and-forth when a finding recurs without new evidence, when the agents disagree on intended behavior, or when fixes keep widening the diff. Then a person clarifies the requirement or splits the PR.
- Tie all evidence to the latest head commit.
- Don't let two agents edit a branch one is still reviewing.
- A stop rule never overrides a reproduced blocker.
Close the loop with an explicit merge decision
The PR owner checks the branch, required approvals, open threads, latest CI and running behavior. Resolve a thread only when it's fixed or a reasoned decision is recorded. Request a fresh review after substantial changes if your rules require it. 'No new findings' isn't the finish line; an accepted change, with remaining work tracked elsewhere, is. Canopy's review task can stage draft findings for a person to vet.
- Record which findings were fixed, declined or moved to issues.
- Measure retries and review time alongside tokens when comparing workflows.
Copyable resources
Use the exact PR head and remove private user data from reproductions.
PR / issue / latest head commit: [ ]
Acceptance checks and key failure paths: [ ]
Review read-only. Don't edit, comment, approve or merge.
For each possible blocker: file and line, reachable path, consequence, reproduction or missing evidence.
Separate confirmed defects, hypotheses, questions and out-of-scope ideas.
On a second pass, state what changed since the last reviewed commit.
If no blocker is supported, list the paths you inspected and what is untested.
PR owner triage: fix now [ ]; clarify [ ]; linked issue [ ]; decline with reason [ ].
After fix: latest head [ ]; failed case retested [ ]; final diff [ ]; CI [ ]; human decision [ ].Frequently asked questions
Why does an AI reviewer find new issues after every fix?
Each edit changes what's under review, and broad prompts surface different hypotheses each pass. Some are real. Keep the issue, head commit, acceptance checks and evidence standard fixed so each claim can be judged.
Should I stop reviewing after two passes?
No pass count makes an unsafe change safe. Pause the loop when findings repeat without evidence or agents disagree on intent, and have an owner decide. A reproduced blocker still needs a fix and retest.
Can I close an AI review comment because CI is green?
Only if the concern is resolved or a reasoned decision is recorded. CI may not exercise the reported path; check the latest diff and reproduce the case.
What should I do with a valid but unrelated finding?
If this PR didn't cause it and it doesn't block the change under your risk rules, open a linked issue with the evidence and an owner. Don't drop it or widen this PR.