How the Claude Code team does code review
TL;DR Highlight
Moving most review to AI doubled merged PRs while reverts fell over 40%.
Who Should Read
A backend or platform developer whose team's human review is bottlenecked by the flood of agent-written PRs
Core Mechanics
- PRs doubled, reverts down 40%
- From June to September, merged PRs to Claude Code's codebase more than doubled.
- Over the same period, the share that had to be reverted fell by more than 40 percent.
- Review moved from a final gate to continuous checks
- Before, you wrote code, opened a PR, and waited for a colleague.
- Now review runs like spellcheck, and Claude reviews and fixes most changes at least once before a human looks.
- Agents find bugs, other agents vote
- Several agents hunt for bugs at the same time.
- A separate group votes on each finding, and it is posted only if enough agree it's real.
- Human approvals scale by risk: 0, 1 or 2
- A classifier reads the change and sets the risk tier.
- Docs and copy need no approval once automated checks are green, caching, auto-updater and system prompts need one person, and the highest risk needs two.
- An agent's approval never counts as a person's.
- The reviewer had a never-ending loop problem
- One CLI PR went through more than fifty review-and-fix rounds overnight.
- About 59% of what the reviewer kept flagging was code present since its first pass.
- They added a three-round cap, diff-only re-review, and no repeated findings.
- Results after the convergence changes
- Passing after one review-and-fix round rose from 65% to 78%.
- PRs needing five or more rounds fell from 8.9% to 1.5%, and mean reviews to pass from 2.08 to 1.32.
Community Reactions
- Opinion that this only works at a lab
- Some argued Anthropic can afford this with virtually unlimited tokens, while other teams should keep reading code.
- One commenter recalled smaller teams getting hurt copying Google's process.
- Compliance and security concerns
- One asked how this passes SOC2, since their auditor required at least one other human to review code before production.
- One pointed out the README of the security review action says it is not hardened against prompt injection.
- Doubts that flag-gated changes are low risk
- One said the risk materializes when the flag is turned on, and asked whether review happens then.
- Another argued that asking Claude for explainers is search, not real knowledge.
- Experience: compiled projects make this hard
- One commenter said their toolchain is about 200GB and integration tests take hours, so such agent feedback loops are impractical.
How to Apply
- Build a reviewer eval set from last month's reverts
- In the next 30 minutes, list incident and revert PRs with where the bug lived.
- Run your current AI review prompt on them and count how many it catches.
- Write a REVIEW.md telling the reviewer what failure looks like
- State what failure looks like, which paths to skip, and a cap on nits.
- Require a file and line as evidence for each finding, and start the summary with a count.
- Add a round cap and diff-only re-review to AI review
- After three rounds, make the reviewer ask the author to reconsider the approach.
- From round two, review only the changed diff and forbid repeating posted findings.
- Create a risk tier table for changes
- Always require a human for paths like billing, the auto-updater and CI workflow files.
- Waive human approval only for low-risk paths such as docs and additive changes behind a flag.
Try It
# Paste into Claude or ChatGPT (simplified version of the article's method: agent voting + convergence rules)
You are a code reviewer. Find bugs using only the diff below.
Rules:
1. For each finding, give file and line as evidence. Do not guess from names.
2. Exclude style, cleanup, and diagnostic-only findings.
3. Tag each finding Important / Nit / Pre-existing. A bug this PR did not introduce is Pre-existing.
4. Group the same class of bug and list every location at once.
5. Start the summary with the count of findings, and say plainly if there is nothing to fix.
6. At the end, try to refute each finding yourself and keep only those that remain real bugs.
PR intent: {{PR description}}
Diff:
{{diff}}
Next step: after fixes, add "do not repeat earlier findings, review only the changed diff" to the same prompt and run round 2.Terminology
Related Papers
Frostbite: A new CPU architecture discovered, designed and verified by AI
AI agents designed a CPU from scratch, claiming 4.59x perf/W over a traditional core
Restricting AI agents in mobile operating systems platforms from capturing data
Signal now blocks OS-level AI agents from reading its screen on iOS 27 and Android
Actions Speak Louder than Words: Stateful Privacy Sniffing of LLM Agents via Behavioral Covert Channels in Web Interactions
Agents' link choices alone let attackers rebuild user queries at F1 0.89; SOR cuts it to 0.39.
Tracking and Limiting Unsupported Claim Propagation in Multi-Agent LLM Systems: A Provenance-Aware Framework
Passing claims with source, evidence and history kept equivalence at 5 agent stages at 96% versus 31%.
LLM assisted reverse engineering
Pointing an agent at binaries with skills and MD notes made years-long hacks feasible
Metrics-in-the-Loop: Complexity Feedback Reshapes Agent-Written Code
Injecting per-turn complexity reports into coding agents cut code erosion without changing correctness
Why is Gemini 4 Carbon taking so long?
Carbon took nearly an hour on bug fixes that Astra and Opus finished in minutes, mostly from extra unrequested work.
Weight-Space Programming builds neural networks like a 1990s researcher
LLM hand-wrote MNIST weights to 91.3%, using 1990s-style techniques