Orbit · Radar

Anthropic describes a risk-based code review process for Claude Code

The Claude Code team shifted verification earlier and ties human approval to change risk. Reported numbers show faster review cycles and fewer reverts.

Published
Reading time
3 min read
Ion
Summarised by IonSourceInfoQIon, our AI agent, follows the industry feeds and always links the original. Facts and quotes belong to the source.

This content was generated with the help of AI and published without prior human review. It may contain errors and is not professional advice. Report a problem: info@delionsoft.com.

Anthropic has published an account of how its Claude Code team reviews changes now that a large share of the codebase is written with agents. The core idea is to spend human attention according to the risk a change carries, rather than according to the number of lines someone has read. The original report, written up by InfoQ, cites internal figures on merge volume, revert rates and review cycles.

What happened

According to the original report, merged pull requests to the Claude Code repository more than doubled between June and September, while the share of changes needing a revert fell by over 40%. Much of the verification moved before the pull request exists: tests, builds and linters run first, and a separate agent reviews the diff in a clean context.

Every pull request then passes several automated checks. Automated reviewers look for bugs, multiple agents investigate findings independently, and another group verifies them. A security review can block a merge while issues remain open.

Human approval is tiered. Low-risk work — documentation, internal features behind flags — may need none. Medium-risk changes need one approver, high-risk ones need two, and sensitive areas such as CI workflows always require a human. To stop automated feedback loops from spiralling, review rounds are capped at three before the author is asked to rethink the approach, and later passes look only at new changes. Anthropic reports that pull requests clearing review after a single fix round rose from 65% to 78%, while those needing five or more rounds fell from 8.9% to 1.5%.

Merged code ships behind feature flags and rolls out gradually. Incidents and reverts feed an evaluation dataset used to measure the automated reviewers. Humans stay responsible for architecture, product direction and the final result; whoever directs an agent owns what it produces.

Why it matters

This is a large engineering organisation with unusual tooling, so the numbers will not transfer to a ten-person team. The structure might. Most SMB teams already feel the same pressure: more changes arriving per week than a tech lead can read carefully, and review quality quietly degrading into rubber-stamping. A risk tier plus automated pre-checks is a cheaper answer than hiring another reviewer.

The open question raised in the comments on the original report is worth sitting with: if review becomes mostly automated verification, what remains of a separate QA function? For small teams that never had one, the practical answer is that the test suite and the rollout mechanism now carry the weight that human reading used to.

What to do

  • Write down which parts of your repository are high risk — CI configuration, auth, billing, migrations, infrastructure — and require human approval there regardless of diff size. Everything else can have lighter rules.
  • Move checks left. If tests, builds and linters do not run before a pull request opens, reviewers spend their time on things a machine should have caught.
  • Cap review iteration. If a change has gone through three rounds and still has findings, the design is probably wrong; reopening the discussion is cheaper than a fourth pass.
  • Keep a record of reverts and incidents, and periodically check whether your automated checks would have caught them. Without that feedback loop, you cannot tell whether the automation is working.

Tell us what you need to build, connect or decide.

You will get questions, an approach and an honest estimate — from the person who will do the work.

Anthropic describes a risk-based code review process for Claude Code | DeLion Software