Dev.to AI 🤖 Ai 👁 0 📖 19 min read

What to Do When FDE Reviews Don't Converge to Approval

I put together a look at a situation where agents go back and forth — fix, re-review, fix again — and never reach approval. The usual play is to put a stopping mechanism in place first, rather than just keep patching.

I put together a look at a situation where agents go back and forth — fix, re-review, fix again — and never reach approval. The usual play is to put a stopping mechanism in place first, rather than just keep patching.

The short version

The reasons people fall into a review-loop trap usually come down to one of these:

  • "What counts as approval" was never defined up front in a form you can actually pass or fail.
  • The reviewer rereads the entire diff every time, and slowly "discovers" problems that were already there, a few at a time, as if they were new.
  • Taste and style comments are treated as reasons to withhold approval.
  • Findings are reported line by line, so the same kind of bug is still there on the next pass.

Here are the five approaches I started with:

  1. Cap the number of rounds. Three, for example. After that, don't run another cycle — escalate to a human.
  2. Classify the findings. "Must fix," "taste," "same as last time," and so on. If the same finding comes back, that's a sign you've entered a loop, so stop there. Taste issues should not block approval.
  3. Lock the acceptance criteria first. Decide up front, in a pass/fail form: "the tests pass," "these checklist items are met." The reviewer judges only against those criteria. Any new requirement that isn't in them should be written out separately as "leave for next time."
  4. If a different problem appears every round, treat it as a design problem. If new issues never run out, the original design or spec isn't sufficient. Don't go back to implementation — go back to design.
  5. If the same finding appears twice, turn it into a mechanism. Stop asking for it in a prompt. Catch it mechanically with lint, types, or tests.

Below, I'll look at how pstack, Matt Pocock's skills, Addy Osmani's agent-skills, and the Claude Code team's article each handle this.

pstack

pstack never uses the phrase "a review-and-fix loop." Even so, the same ideas are in there:

  • Don't treat every finding as something you must fix
  • Don't lower the completion criteria just to get a pass
  • If you're stuck, report it instead of spinning
  • If the same failure happens twice, turn it into a mechanism

Classify first, then act (Babysit and Bugbot triage)

I'll start with a few of the skills in poteto-mode.

The Babysit playbook treats findings from automated reviewers like Bugbot with skepticism. It splits them into three buckets: fix, dismiss, or ask a human. When dismissing, it replies with code that shows why the concern doesn't apply, then closes the thread. Anything around billing, data, auth, or security gets escalated to a person. Babysit itself does not approve merges.

Bugbot triage is not about ignoring Bugbot from the start. The point is: don't take every comment at face value. The categories are:

  • fix: real problems — correctness, security, privacy, data loss, auth, billing, migrations, idempotency, races, shipped behavior, and the like. Fix them, reply with the commit SHA, and close the thread.
  • dismiss: low-risk noise patterns, meaning the current code doesn't need to change. Write a short reason and close the thread.
  • ask: no precedent, high severity, anything involving security or data, or simply too ambiguous to be sure what's being asked. Don't guess — ask a human.

The stance is "when in doubt, ask." Skipping a false-positive comment that asks for more than the situation warrants is cheap; skipping a real data or security bug is expensive. That's obvious, but worth saying.

When the same kind of false positive shows up more than once, record it as a "safe to skip" pattern and keep it in knowledge. Confidence comes in three levels: candidate (one or two cases), recurring (after you've actually dismissed it several times), and strong (only when the pattern is narrow, repeatedly confirmed, and low-risk).

Don't lower the bar. If you're stuck, report it

The Hillclimb playbook says to stop when the completion predicate is met, or when the remaining options are no longer worth the cost: "Don't loosen the criteria just to force a pass. If you're stuck, report it instead of spinning."

The escape hatch in chapter 07 (Overnight) points the same way. The contract for an overnight run includes this line:

if you're truly stuck after a few hours, stop and write up why.

That instruction is also there to keep the completion criteria from quietly loosening in the background, so a run isn't wrongly marked "done." Time itself is not a completion criterion.

If the same failure happens twice, stop it with a mechanism, not a review

Chapter 09 and /correct treat two occurrences of the same failure as one "class." The fix ladder, in priority order, is:

  1. Make the failure impossible through design or data modeling.
  2. Stop it with types, or with lint or CI that names the fix.
  3. Catch the behavior with a test.
  4. Docs and agent-facing rules are the last resort.

Chapter 09 puts it this way: "Human review is not on this list. If people have to catch the same failure in every PR, that is the problem you should be fixing."

Matt Pocock's skills

On Matt's side, the lack of convergence is spelled out quite clearly.

/code-review reports; it does not approve

According to code-review.md, the skill reviews a diff on two axes: Standards (does it follow this repo's way of writing code?) and Spec (does it match the request?). It does not collapse the two into a single result, or decide which one wins. The report ends with the worst finding on each axis; it never declares an overall winner. The skill itself, then, never issues an approval. The person reading the report makes that call.

Why does it find new problems every time?

The same document answers "Why does it find new problems every single time I run it?" like this:

  • Every fix increases the amount of code being reviewed.
  • The parts of the Standards axis that depend on human judgment will wobble from run to run.
  • There is no guarantee of convergence.

It goes further:

  • A pass may surface several findings, but you should only act on the ones backed by a cited rule, then stop.
  • Don't loop until it's clean. It will never be clean.

The original wording is:

There is no convergence guarantee. Treat a pass as a list of leads. Act on the ones with a cited rule behind them, then stop. Do not run it in a loop until it comes back clean, because it never will.

/implement has no stopping condition — a known issue

That /implement can cycle /code-review and fixes for many rounds is reported in issue #498. The workflow says "when implementation is done, use /code-review," but it never defines when review should be considered complete after findings have been fixed. There was even a report of going three rounds with still-valid findings.

In response, a user commented with a fix that had worked well on their fork (2026-11-23, adrianomedeirossantos):

  • Only findings that show the change is wrong should be blocking — for example, it doesn't meet the spec, or there's a reproducible bug. Everything else is just advice.
  • The caller sets a cap on the number of rounds. On top of that, if the same blocking finding comes back as in the previous round, stop there and hand it to a human.

(Note that this is a fork-side workaround shared in a comment, not a change that landed in the main project.)

Related: runaway subagents are the harness's job, not the skill's

As a related but separate issue, PR #1186 was a draft to put a guard in the skill itself against /code-review subagents rediscovering the skill and spawning recursively (one report counted more than 50). Matt closed it, writing that stopping runaway subagent recursion is the harness's job, not something each skill should defend against. This is a different failure from the review-and-fix loop, but the stance is the same: don't rely on the skill to be what stops you. In the docs, this recursion is still listed as a known, unfixed issue.

Addy Osmani's agent-skills

This section is about the review-related skills in addyosmani/agent-skills.

I'll put the conclusion first: the pre-merge review skill itself has no stopping condition for how many rounds the author and reviewer should go before they stop. The approval criteria, and the way findings are ranked by severity, are quite clear. Caps on the number of rounds live in a different skill (in-flight doubt review) and in the Claude Code team article Osmani co-authored.

code-review-and-quality: it has approval criteria, but no cap on rounds

The core is skills/code-review-and-quality/SKILL.md (/review). It scores a change on five axes — correctness, readability, design, security, and performance — and the approval bar is:

Approve a change when it definitely improves overall code health, even if it isn't perfect. Perfect code doesn't exist — the goal is continuous improvement. Don't block a change because it isn't exactly how you would have written it. If it improves the codebase and follows the project's conventions, approve it.

So the rule is set up front: don't hold a change until it's perfect, and don't block it just because "I would have written it this way." That has a real effect on convergence.

Every finding gets a severity. That's so the author doesn't treat every comment as mandatory.

Prefix Meaning What the author should do
(none) Required Address it before merge
Critical: Blocks the merge Vulnerabilities, data loss, broken functionality
Nit: Optional nits Fine to ignore (formatting, style preferences)
Optional: / Consider: Suggestion Worth considering, but not required
FYI For reference No action needed

Before reporting, drop findings that can be disproved by callers, guards, or tests. Classify pre-existing defects separately from regressions this change introduced.

The verification checklist seems to treat these as the prerequisites for approval: Criticals are resolved, required (unprefixed) items are resolved or deferred with a valid reason, tests and the build pass, and the verification trail is left behind.

What this skill does not include is guidance on how many rounds to run after the author has addressed findings, what to do if the same finding comes back, or a "don't loop until it's clean" rule. It describes a multi-model pattern (model A writes, model B reviews, A fixes, a human makes the final call), but it doesn't cap how many times A and B go back and forth. The Review Speed section actually allows multiple rounds, as a human-facing speed norm: "a typical change should be able to finish several rounds of review the same day," and "individual replies should be fast; it's fine if final approval is slower and takes multiple rounds." That is not a loop cap.

How the Claude Code team does code review

The source is an article Addy Osmani posted on X; the full text is on the Anthropic blog. The X post, the article (2026-10-15, Addy Osmani, Morgan Westlee Lunt, Qing Wang). It describes how the Claude Code team itself runs reviews. They didn't abandon human review; the idea is to hand most of the reading to machines, and spend human time on the judgments only a human can make.

As a result, from June through September, the number of PRs merged more than doubled, and the share of PRs that were reverted dropped by more than 40%.

The layers of checks (six layers plus rollback)

A diagram in the article is described as "six layers of checks, with rollback underneath." The sections in the article are:

  1. Verification before opening a PR. Don't let the agent say "I'm done" — make it show results: tests, builds, screenshot comparisons against the design, and so on. After that, a separate subagent with no inherited context reviews the diff. Boris Cherny estimates that giving the agent a verification procedure is probably the most important factor in getting good results, and that it can improve the quality of the final work by 2–3×. The form of verification varies by domain (a single bash command, a full test suite, driving a browser or a simulator, and so on). The article doesn't say what was actually measured to get that number. When the same findings start repeating, they fix the source — the skill, lint, or something like CLAUDE.md or REVIEW.md.
  2. AI review on every PR. Several agents hunt for bugs in parallel, then a separate group votes on each finding, and only those with enough votes are kept. Style, diagnostics, and cleanup-only findings are filtered out (the filter was kept after an A/B test on their own PRs). The article doesn't say how many agents search, or how many votes it takes to keep a finding. The findings that remain are tagged Important / Nit / Pre-existing. It's also important not to make the author look responsible for a pre-existing bug the PR didn't introduce. Every finding gets a response: fix it if needed, otherwise close the thread with a reason.
  3. Security review. A PR can't be merged while a bug-review or security-review finding is still open.
  4. CI. Lint, types, tests, and the build. The PR template has fields for "how did you test this" and "how do you roll it back."
  5. Human approval scaled to risk. Risk is determined by what's in the change, not by who wrote it. Low (docs, or additions behind a flag, for example) needs no human approval if automatic checks are green; medium needs one person; high needs two. An agent's approval does not count as a human's. Approval is for a specific commit: if a new commit arrives that the system can't guarantee (an agent push, or a merge conflict resolved by hand), approval starts over.
  6. Merge queue, feature flags, and staged rollout. The merge queue re-runs every check after the change lands on main. New behavior goes internal first; public rollout is latest, then stable.
  7. Fast detection and rollback. Flags can be turned off without a deploy. Failures that still get through are caught here.

Review and improvement

Past PRs that caused incidents or problems, together with their fixes or reverts, are collected as an evaluation set. Reviewers are scored against it every day. Whenever the prompt, tools, or model changes, they rescore on the same set.

Whether the reviewer is too noisy is measured by how humans handled the findings: fixed, replied that it was wrong, said it was intentional, or judged it didn't matter. They also look at how many findings on already-known-clean PRs would have pushed a harmful change. The priorities are documented: not missing a real bug comes first; reducing the number of review rounds comes second.

This next part matters, I think: the cost of noise goes up when the author is an agent.

A human can skip or ignore a nit in a few seconds. An agent will just fix it, which creates an unnecessary commit and another review round.

Review has to converge

The article says "Review has to converge." The author's agent and the reviewer's agent will keep handing each other tasks indefinitely. In one case, a CLI PR went through more than 50 rounds of review and fix overnight, until the author stopped it by hand.

And when they git blamed the lines that kept getting flagged, about 59% of it was already there at the time of the first review. They weren't finding new bugs — they were rediscovering old ones, a few at a time, on every pass. The team itself had gotten into the habit of running more rounds because something always turned up, which made the situation worse. Multiple rounds are worth it on high-risk changes, but they aren't something you should do on every PR.

So they changed re-review like this:

  • After three rounds, make the author rethink the approach itself.
  • After the first few rounds, later passes look only at the new diff. Stop digging through old code.
  • Communicate by bug class. Don't report line by line — have the author fix the whole class at once.
  • Once a finding has been raised, don't raise it again.

"Communicate by class" means this. If the review only says "line 42 doesn't handle a null user," the author fixes line 42. The next round finds the same problem at line 87, they fix that, and review runs again. Written as a class, it would be: "There are places that use a value from an external API without a null check. Line 42 is one example. Find every instance of the same pattern in the diff and fix them." That way, the whole class can be fixed in a single round.

After the change, a figure in the article shows that the number of rounds on internal PRs went down.

What humans still do

  • Deciding whether something should be built at all (direction, taste, scope). One team, even after saying their review backlog had cleared, kept human review on changes from outside the team, and started asking "should we be doing this in the first place?"
  • Review of high-risk code: billing, auto-updates, CI workflows, and the like.
  • Review of designs that will become patterns others copy.
  • Reading verification results: test output, the commands that were run and their results, screenshots, the reviewer's findings. If you can't say what the checks might have missed, ask for a full review rather than a lightweight approval.
  • Ultimate responsibility. Regardless of who typed the change, a human owns what ships.

Adoption checklist (from the article)

The article's "How you can adopt this process" section is summarized as follows.

Before the PR

  • Write checks the agent can run into a short CLAUDE.md, and attach formatter and linter hooks.
  • Run /code-review and /security-review locally, or have a subagent with no inherited context do the review.
  • Put a REVIEW.md in the repo, and move recurring review comments there.

On every PR

  • Make CI required, and add Testing, Risk, and How to revert to the PR template.
  • Add AI review to one repository, tune REVIEW.md for a few weeks, then roll it out more widely.
  • Add automated security review, and block merge until the threads are closed.
  • Match review depth to risk (Quick / Standard / Deep).
  • Cap the number of review rounds. After the first few, re-review only the new diff.

Approval

  • Write down the risk tiers, and decide them by what's in the change, not by who wrote it. Start strict, then loosen once you have evidence.
  • Keep the light approval path only for trusted authors.
  • Use CODEOWNERS and branch protection so that auth, billing, CI, release, and the installer always have a human in the loop.
  • Don't let a bot's approval stand in for a required human approval. Dismiss approval when a new commit arrives.

Merge and after

  • Merge queue, feature flags, internal use first, staged rollout, and one-step rollback.
  • Turn incidents and reverts into an evaluation set, and rescore whenever the reviewer's prompt, tools, or model changes.
  • Measure human time, and use revert and incident rates as guardrails.

What's shared, and what isn't

Topic pstack Matt Pocock Osmani's skills Claude Code team article
Does the review approve? Babysit does not approve merges. It waits for the owner's approval. /code-review only reports. It doesn't issue an overall pass/fail. /review has approval criteria (approve if it definitely improves code health, even if it isn't perfect). The product's Code Review only raises findings; it doesn't approve. In their own repositories, low-risk changes can sometimes merge on automatic checks alone. Don't fill a required human slot with a bot.
Classifying findings fix / dismiss / ask. Taste and noise are not treated as required. Act only on findings backed by a cited rule. Judgment-call items are leads. Critical / required / Optional / Nit / FYI. Separate pre-existing defects from regressions. Important / Nit / Pre-existing. Drop style-only findings. Use voting to cut false positives.
Cap on rounds It doesn't say "review for three rounds." Hillclimb and overnight don't lower the bar, and they report when stuck. The main skill has no cap. A comment on issue #498 (not merged) proposes a round budget, and stopping if the same blocking finding comes back. /review has no cap. doubt-driven-development (a separate skill, not /review) escalates to a human after three rounds, and doesn't raise the cap. After three rounds, make the author rethink the approach. After the first few rounds, later passes look only at the new diff.
Repeated findings and old code Grow "safe to skip" patterns for the same false positives. Don't loop until it's clean. There is no guarantee of convergence. /review does say to label pre-existing defects separately. It doesn't mention a ban on re-raising findings, or re-reviewing only the new diff. Doubt-driven says "stop if it's already been considered." Once a finding has been raised, don't raise it again. From the second pass on, look only at the new diff. About 59% was code that was already there on the first pass.
Fix by class /correct groups failures into classes (two occurrences make one class). Not much is spelled out. Not much is spelled out. Communicate by bug class, and have the author fix the whole class at once.
Lasting fix for repeats On the second occurrence, stop relying on review: design → types / lint / CI → tests → docs, in that order. There's a related thread in retros: add the kinds of issues you missed to the rules or checks. Closest to this in practice, on the article and tutorial side rather than in the skill itself, is moving recurring comments into REVIEW.md. If the same findings keep appearing, fix the skill, lint, CLAUDE.md, or REVIEW.md. Turn incident PRs into evaluation data.
Escape hatch If you've been stuck for a few hours, stop and write up why. Don't loosen the completion criteria. Judgment-call items go to a human (comment on #498). The harness stops runaway recursion (PR #1186). Doubt-driven escalates to a human after three rounds. It also stops if the user says "ship it." There is a case where the author stopped a loop by hand after more than 50 rounds. They now rethink the approach after three.

The overlap is clear.

Don't treat every finding as required.

Lock the approval criteria (or the completion criteria) first, and don't loosen them.

When the same finding or the same failure repeats, fix the lint, the tests, or the source docs — not the prompt. And agent-to-agent loops need an escape hatch that escalates to a human at some point.

The biggest difference is where they put the stop. Matt writes "don't loop until it's clean" in the skill docs, doesn't put a round budget in the skill itself, and also takes the position that this is the harness's job. pstack doesn't put a number on review rounds, but it does essentially the same thing through classification, "mechanize it on the second occurrence," and "report if you're stuck." Osmani's /review is strong on "don't demand perfection" as an approval bar, and on splitting findings by severity, but it has no round cap in the skill. The "rethink / stop after three rounds" practice lives in the Claude Code team article he co-authored, and in a separate skill, doubt-driven development.

A practical checklist

Looking across the sources, here they are in the order that actually seems to help:

  • Lock the approval criteria, in a pass/fail form, before review starts. A new requirement that isn't in those criteria should not be a reason to block this round.
  • Split findings into required (spec violations, reproducible bugs, security, and so on) versus taste, advice, and pre-existing defects. Only required findings block approval.
  • Format the reviewer's output as a three-part set: the class of problem, an example of where it was found, and an instruction to "find every instance of the same pattern and fix them" — not a list of line-by-line comments.
  • Cap the number of rounds (the article and doubt-driven both use three). After that, have the author rethink the approach, or escalate to a human. Don't raise the cap. If the work is too large, break it up.
  • From the second round on, look only at the new diff. Don't dig through code that was already there on the first pass.
  • Once a finding has been raised, don't raise it again. If the same required finding comes back as in the previous round, treat it as a loop and stop.
  • If the same class of finding appears twice, push it out of review and into a mechanism: lint, types, tests, REVIEW.md, or agent-facing docs.
  • If a completely new problem appears every single round, stop fixing the implementation and go back to the design or the spec.
  • If you're stuck, don't spin. Write up why and hand it to a human. Don't quietly loosen the completion criteria just to get a pass.
  • Evaluate the reviewer itself. Record whether a human fixed the finding, dismissed it, said it was intentional, or judged it didn't matter, and use that as a noisiness metric. The priority is not missing a real bug; reducing the number of rounds comes next.

Sources

📰 Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.