How the Claude Code team does code review

Addy Osmani, Morgan Westlee Lunt and Qing Wang, Claude blog · read 1 Nov 2026 · Original

When change volume outgrew human review, the Claude Code team moved to layered machine review with risk-based human approval, and reverts fell while output doubled.

Learnings

From first principles

Strip the label “code review” and ask what it is for. A second source, Ruben Dominguez’s write-up in The AI Corner, adds outside data.

What is review actually doing? Two verbs hide inside the word. Catching what would break before it ships, and spreading knowledge of the code between people. The Claude Code team split them. Machines now do most of the catching. Spreading happens on demand, by asking Claude to explain the slice of code you need.

What fights it? Volume. A person reads at a fixed speed, and AI output does not. Daily changes in Anthropic’s monorepo went from about 2,500 in May to more than 30,000 in September. Outside Anthropic, Faros AI found high AI adoption brought 98% more merged PRs and 91% more time in review.

Where is the bottleneck? Human attention. Not the model’s ability to write code, and not CI time.

Is the constraint real or believed? The belief is “a person must read every line.” The real requirement is “broken code must not reach users, and when it does, it must come back fast.” A person reading every diff is only one way to meet that, and at this volume not the best one.

What would perfect look like? Every change gets the scrutiny its risk deserves and no more. The team’s target: most PRs merge with at most one human, with revert and incident rates held flat as the guardrail.

So the design follows from the requirement:

  1. Machines do the reading machines are good at: tests, lint, types, a fresh-context agent reviewer, a separate security pass.
  2. The change sets how many humans look, not the author. Docs and copy: none. Ordinary product code: one. Billing, the auto-updater and CI workflow files: always a person.
  3. Undo is part of review. Flags, staged releases and one-step rollback make a missed bug cheap.
  4. The reviewer is measured like any other system: an eval set built from past incidents, and every comment scored by what the author did with it.

What breaks it? Agents reviewing agents with no stop rule. One PR ran more than fifty rounds overnight, and about 59% of what the reviewer kept flagging had been there since its first pass. The fix: cap at three rounds, re-review only the new diff, and flag a class of bug once.

Is this a reading problem or a risk problem? A risk problem. Human reading was always a stand-in for controlling risk.

In one sentence: review exists to stop expensive mistakes, so put human eyes only where a mistake is expensive, let machines check the rest, and make every mistake cheap to undo.

What a solo developer working in the terminal can take from it:

What struck me

This is a real problem, so I wanted to understand how big tech companies are solving it and what lessons I can learn.

Will I apply it

Yes. Most of the code I write is through the terminal, so this applies directly to my own workflow.

My take

AI writes code at a speed no human can review. The fix isn’t reading faster: put human eyes only where a mistake is expensive and make every mistake cheap to undo.

Applied at Freshly

In progress.