Two ways it goes wrong
In the teams we help, I see review fail in two ways: people stop it too early, or they accept every suggestion and the code fills up with fixes for cases the app will never meet. I saw the second most when two different models reviewed each other and competed. More code, more problems. I cannot say which is worse.
A recent Anthropic study found the same: professional analysts working with an agent went with the side it leaned to in 86% of their decisions. When I asked people why, the honest answer was that the cases review finds are narrow and hard to think about, so you trust the model. But when the product handles real money, every detail matters.
So a developer's job now has three parts:
- Guide the work and give context: what no model was trained on.
- Give the model the tools it needs, and take away the ones it doesn't.
- Stop the review-and-fix loop when it is enough.
The first is a natural human job. The second is what a good harness does more of with every feature. The third is the hard one, and this note is about it.
The setup in one paragraph
Every feature goes through the same scripted steps: plan, code, pull request, review, deploy. The review step is a loop. A read-only reviewer reads the pull request and posts findings as threads on GitHub. A separate fix session reads the threads, fixes each one or proposes to leave it, runs the tests and pushes. Then the reviewer reads again. The reviewer runs in GitHub Actions or on the developer's machine, as the project chooses. The loop is driven by a script, not by an AI deciding what to do next, and that matters: every rule below lives in code, so it holds on the fourteenth round as well as on the first.
Eleven problems, and what we do now
1. The review read a tree that was already old
We ran reviews in parallel with fixes to save time. The reviewer read code that was changing under it, missed the newest fixes and reported old problems again. Now: strictly in sequence — fix, full tests, fix what failed, commit, push, and only then the next review. Fixes made by other steps are pushed before the review starts too, because the review reads only what the pull request carries. Each round reads the code the next person will actually get.
2. Big pull requests were read in part, and called clean
Past a few thousand changed lines, a single pass quietly reads part of the diff and calls the rest fine. On one pull request of about 9,700 lines the pass covered about a third, and nothing in its answer said so. Now: above about 5,000 changed lines the pull request is cut into review blocks of at most about 3,000 lines, by behaviour, not by layer (a rule's bugs live where database, server and screen meet), tests with their code, manuals last, the foundation first. After each pass we check, from the reviewer's own transcript, which changed files it actually opened; the rest get a short extra pass. "No findings" now means "read and found nothing", not "did not look".
3. An unfinished answer counted as a clean review
The review starts helper agents of its own, and sometimes the session handed back an interim "0 findings" before they were done. Now: a review counts only when it ends with a fixed closing line, written after every helper finished, and the number of findings matches the findings listed. Anything else is refused and run again on the same code, and refusals are counted in the report. A green review is a real green.
4. The review raised the same thing again and again
We decide to leave a finding as it is; two rounds later it comes back in other words. Now: a finding we leave is closed with a fixed reply, "Left as it is, at the author's decision:" and the reason. The next review is told about these, and a repeat cites the earlier thread. A decision is made once, and the count of repeats shows whether the reviewer reads your context at all.
5. Ping-pong: round 5 undid round 3
Over a long review one filter moved from one place to a second, to a third and back to the second. Each round was right on its own; the fix session simply could not see what an earlier round had settled. Now: before editing a file, the fix session reads the threads already resolved on it. A change that would undo one is a reversal, not a fix: it puts both options to the person and writes the reversal down. Reversals are an early sign that a place needs a decision, not another round.
6. Every edge case got fixed, and the code kept growing
The expensive one. Reviewers find edge cases real users will never meet; accept them all and the code fills with guards for impossible cases, and the next round finds problems in the guards. Now: each finding is marked important, a nit, or a bug that was there before this change. Nits are fixed when cheap and are the first to leave, with a reason. An old bug whose fix is not small goes into its own issue. And some classes of findings never converge — for us, exotic spellings in the shell parser of our safety hooks, about ten new ones a round while real bugs went down — so we stopped that hunt by policy. When the review asks the person about a class of findings, the answer is kept and applied in later rounds and later features.
7. Stopping early threw paid work away
Our first "enough" button closed the review step, and the findings already posted, already paid for, were never looked at. Now: "enough" stops the search for new findings, never the triage of what was found. You pay for each finding once, and you use it.
8. Long fix sessions forgot what they had settled
One fix session for every round is cheaper, with a warm cache, but by round eight its context is full and it starts to contradict itself. Now: a round stays in the same session while its context is light; when it gets heavy, a fresh session starts with a short summary of what is open and what was settled.
9. The person was the bottleneck, or asleep
A round can take fifteen minutes; a question to the person can take eight hours. Now: a "go on by itself" switch lets the loop answer its own questions when the developer walks away — retry a failed pass, wait for the usage limit to reset, send open findings back to a fix session — up to a ceiling of thirty rounds. At night the fix session may close a minor finding that came from the review itself, with its reason, and logs it; in the morning the person gets the list and can reopen any of them. Every question and every round's status also reaches the developer's phone.
10. The review could not run, and nobody noticed for hours
The review in GitHub Actions failed because a quota or the Actions minutes ran out, or the runner had no network, and the pipeline waited for a review that would never come. Now: when the job fails we read why. A quota with a known reset is retried just after it; otherwise, if the project allows it, the review moves to the developer's machine, with the same threads, journal and report.
11. One polish round at the end
When nothing is open, one last session runs a simplify pass over the change, keeping only what changes no behaviour and undoes no resolved thread, and the review reads that too. The code that ships is the cleanest version, not the first one that passed.
The hard part: when to stop
All of the above makes each round cheaper and more honest. It does not tell you when to stop. On the same pull request the review can fix comment wording for the tenth time in one file and still find real bugs in another. So we started like a good doctor: diagnosis first, then treatment. After every round the person sees a short report — how many of the last round's findings are fixed, how many are new, how many are worth fixing, what the round cost, and the trend — and there is a map of the whole review.
This feature: about nine hours of development and 2,300 new lines, then fourteen review rounds for $23.55, 52 threads fixed, 3 declined, about +550 / −240 lines written by the review itself, and five times a person stepped in. Most of the depth is in the first three files — one setting, its watcher and their test — and most other files were settled in the first rounds. That is where a person should look, not at the round count.
Here most code chains closed in a few rounds, and a couple ran long and are worth a person's look. The two manuals ran through almost every round, each finding a little less to say: documentation absorbs review rounds without end, because there is always a better sentence. Our takeaway: manuals go into the last review block, and a round that only rewords them is a signal to stop.
The recipes, in one list
- Run review and fixes strictly in sequence, and review only what is pushed.
- Cut big pull requests into blocks by behaviour, and check what the reviewer actually opened.
- Count a review only when it is complete; refuse and rerun interim answers.
- Close a declined finding with a fixed phrase and its reason, and tell the next review.
- Treat a fix that undoes an earlier fix as a reversal: ask, do not apply, and count them.
- Mark findings by severity, move old bugs to their own issues, and stop classes that never converge, by policy.
- "Enough" ends the search, not the triage.
- Keep a fix session while its context is light; start a fresh one when it is not.
- Let the loop go on without the person, with a round ceiling and a decision log for the morning.
- When the review cannot run, find out why and move it, automatically.
- Finish with one behaviour-preserving polish round.
- Measure every round, and look at where the review works, not at how many rounds it took.
Most of these do not need SClaude. They need the review to be a scripted loop with its rules in code, not a chat where agents decide for themselves. Take whatever is useful from the open-source project, and only the parts you need.
First posted on LinkedIn →
Take your team there, step by step
A 13-week pilot on one team: a baseline, a harness built around your process, real backlog tasks through the whole cycle, and the numbers before and after.