What this thread does
As of November 2026, a fixed definition of done and a round cap remain community stop rules, not measured guarantees. Do first: define done as tests passing and the spec being met, as Lucas's follow-up recommends.
The question
On 11 Oct 2026 @lucas_builds compared asking Claude to review code to a slot machine: every new pass finds new bugs, so when is the code finished? The post describes repeated Claude reviews finding new bugs.
Why it happens
- A review is a sample, not a proof. Each run explores different hypotheses about what could go wrong, so two runs on the same diff rarely produce the same list.
- A reviewer that only sees the diff can always guess at one more edge case. Without a written definition of "correct", there is no point where the list is empty.
- Many findings are style nits or speculative risks that nobody decided to care about.
Stop rules people use
The author's follow-up summarised the replies into five rules that kept coming up:
1. Define done before the review: tests pass and the spec is met. The review checks against that, not against everything imaginable. 2. Only fix critical and high severity. Everything else goes on a later list. 3. No failing test, no bug. A finding counts once it can be shown with a test that fails. 4. Use a different model to review than the one that wrote the code. 5. Cap it at a fixed number of rounds (three was the common answer).
Tools that make the finish line explicit (as of October 2026)
- Claude Code's built-in
/code-reviewtakes an effort level; the lower levels are meant to return fewer, higher-confidence findings, the higher ones trade precision for coverage. - Matt Pocock's MIT-licensed
code-reviewskill (mattpocock/skills) reviews against two fixed references, the repo's written standards (plus a fixed Fowler code-smell baseline) and the originating spec, each in its own sub-agent. - Writing the quality bar down (a
CONSTRAINTS.md, a review checklist inAGENTS.md) gives every reviewer the same target across runs.
Caveats
These are community rules of thumb, not measured results. Capping rounds can let a real bug through; severity labels from the reviewer itself are not reliable either. Run your own comparison on a few merged changes before adopting a rule.
What to report here
If you tried one of these stop rules, say which tool and model reviewed, how many rounds you allowed, and whether later bugs showed up in code the review had passed.
Sources
Primary sources: the Claude Code docs page Review locally with /code-review and the code-review skill file in mattpocock/skills (MIT, read through the GitHub API), checked 18 October 2026.
- Confirms (Claude Code docs): an effort level trades coverage for confidence; at
lowthe review reports the findings it is most confident in, so fewer false positives, and frommediumthroughmaxit broadens coverage;--fixapplies findings,--commentposts them, and--max-findingschanges how many are reported; the review follows yourCLAUDE.md, so project review rules go there. - Confirms (skill file): it reviews the diff since a fixed point along two axes, Standards (the repo's documented standards) and Spec (the originating issue or spec), run as parallel sub-agents. The Standards axis also carries a fixed baseline of Fowler code smells. The current skill now requires a fresh context window for each subagent; this is separate from restarting the user's whole session.
- Not covered by any official source: the slot-machine framing, the five stop rules (these are @lucas_builds' summary of replies on X), and whether capping at three rounds is safe. The thread already labels them rules of thumb.
Matt Pocock's v1.3.2 release, 29 October 2026, adds explicit fresh subagent contexts and foreground parallel calls whose returned reports are aggregated. In issue #1073, 11 September 2026, digitalcostas reported background reports arriving after aggregation; the issue is closed through the release's fix. This changes how to run that skill, not the evidence for a three-round stop rule.
Not for: which PRs need humans, team rule files
checked 2026-11-03
Started from a post by @lucas_builds, packaged by the editor. Original post