Coderefercoderefer
CoursesWebinarsBlogAbout
Coderefercoderefer

Discover. Learn. Automate. Grow.

Learn

  • Courses
  • Webinars
  • Blog
  • Search

Company

  • About
  • Contact
  • FAQ

Legal

  • Privacy Policy
  • Terms of Service
  • Refund Policy
© 2026 Coderefer. All rights reserved.
HomeBlogHow Claude Code's Team Reviews Code When AI Writes 90% of It
ai-toolsOctober 17, 20267 min read

How Claude Code's Team Reviews Code When AI Writes 90% of It

Claude writes 90% of Claude Code's own codebase. Here's the 7-layer review process Anthropic built so merged PRs doubled while reverts fell 40%.

V

Vamsi Tallapudi

Manager, Architect Technology at Cognizant

How Claude Code's Team Reviews Code When AI Writes 90% of It

Claude writes about 90% of the code in Claude Code itself. Not a demo stat, not a cherry-picked sprint. That's Anthropic's own engineering team describing their day-to-day reality as of October 2026. And instead of drowning in slop, their merged PRs more than doubled between June and September while the revert rate fell by over 40%. The team wrote up exactly how they pulled that off, and it's one of the more useful process documents I've read this year.

Here's the first thing worth sitting with: more AI-written code didn't mean more human review time. It meant less. The team's stated goal is that most pull requests merge with at most one human in the loop, and that human can be the author. That only works if you've redesigned review from the ground up, not just bolted a bot onto your existing GitHub flow.

How much code does Anthropic actually ship now?

Anthropic's monorepo went from roughly 2,500 changes a day in May 2026 to more than 30,000 a day by September: a 12x jump in four months, driven almost entirely by Claude agents writing, testing, and shipping code on their own. That's not a typo. Git itself started buckling under the load, which is a separate (and wild) story about Anthropic building a replacement source-control system called Scion. But the review process is the part every team can actually copy, and it's what this post is about.

Two numbers tell you the review system is working, not just absorbing volume: internal PRs that pass in one review round went from 65% to 78%, and the average number of review rounds per PR dropped from 2.08 to 1.32. Fewer back-and-forths, more first-try merges, at 12x the volume.

What does the Claude Code team's review pipeline actually look like?

It's seven layers, and only the last couple involve a human reading anything line by line.

  1. Pre-PR verification. Before a PR even exists, an agent runs tests, builds, and linters, then a second agent reviews the diff in a fresh context against the repo's CLAUDE.md and REVIEW.md conventions.
  2. AI review on every PR. Multiple Claude agents read the full repo and hunt bugs in parallel. Separate voting agents check each finding and only post it if there's consensus. This is the part that keeps noise down. Findings get tagged Important, Nit, or Pre-existing, and pure style nitpicks get filtered out entirely.
  3. Security review. A dedicated automated pass that can block a merge outright if it finds something.
  4. Required CI. Lint, type checks, platform tests, builds: no shortcuts.
  5. Risk-based human approval. This is the clever bit. A classifier — not the author — assigns a risk tier. Low risk (docs, internal-only features, already-flagged changes) needs zero human approvals once automated checks pass. Medium risk (ordinary product changes, caching, auto-updaters) needs one. High risk (billing, sensitive paths, CI workflows) needs two. Agent approvals never count toward the human quota.
  6. Merge queue and gradual release. Everything re-runs against the latest main, new features ship behind flags to Anthropic employees first, and public releases trail behind a stable channel.
  7. Fast rollback. Feature flags kill a bad change without a redeploy, there's a weekly on-call rotation, and incidents directly feed back into reviewer tuning.

That last point matters more than it sounds. Every PR that caused a real incident becomes a permanent eval case, and every change to the review bot gets scored against that whole incident set before it ships. The review system itself gets code-reviewed, basically.

Why doesn't more AI code mean more bugs here?

Because the team stopped treating "read every line" as the safety mechanism and moved trust to tests, agent-generated explainers, and automated analysis instead. Boris Cherny's line from the writeup sums up the philosophy: verification makes results "two to three times better", but verification doesn't have to mean a human staring at a diff.

Humans still own the decisions machines are bad at: should we even build this, is the blast radius acceptable, does this pattern set a precedent other engineers will copy, and who's accountable when it ships. Everything else — "is this diff internally consistent with what it claims to do" — got handed to agents that are faster and, it turns out, not obviously worse at catching real bugs.

I'll be honest, the part I didn't expect is the "you land it, you own it" norm surviving at 90% AI-authored code. It works because changes stay small, almost everything is reversible via flags, and the risk tier — not who wrote the diff — decides how much scrutiny it gets. If you're running a smaller team and thinking "we can't do seven layers," you don't need all seven on day one. Start with the risk-tiering idea alone (stop treating every PR the same regardless of what it touches) and you'll get most of the benefit before you've written a line of review automation.

Does this connect to Claude Code's actual review product?

Yes, and the timing isn't a coincidence. On the same day this process writeup went out, Anthropic took Code Review for Claude Code out of preview and made it generally available for Team and Enterprise plans. The product version is the externalized slice of layer 2 and 3 above: it reviews PRs against the full repo, and in GA it's about 3x faster than the preview: most reviews now finish in 6 to 10 minutes instead of roughly 20. Admins can set Quick, Standard, or Deep review depth per repository, which maps directly to the risk-tiering idea from the internal process. Eligible Enterprise orgs can claim at least $10,000 in review credits through January 15, 2027.

So this isn't Anthropic describing a tool they want you to buy and separately bragging about their internal metrics. The product and the process are the same thing, one is just for sale now.

What should a smaller team actually copy from this?

Not the full seven-layer stack on day one. Pick the pieces that transfer without 400 engineers and a dedicated infra team:

  • Write a CLAUDE.md and a REVIEW.md. Give agents the conventions and review priorities explicitly instead of hoping they infer house style.
  • Classify risk by what changed, not who changed it. A docs fix and a billing change shouldn't need the same number of eyeballs, regardless of whether a human or an agent wrote them.
  • Make security review a hard gate, separate from style/bug review. Don't let it get lost in the noise of general findings.
  • Cap review rounds. Three rounds and no consensus means the approach is wrong, not that the diff needs more polish.
  • Track reverts and incident PRs as permanent eval cases. That's how you know your review bot is actually getting better, not just quieter.

If you're already running /code-review locally in Claude Code or trying the hosted GitHub product, this writeup is basically the design doc for why it's built the way it is. Worth reading the full thing before you decide how much to trust it on your own repo. We covered the GA launch itself in more detail in our Claude Code Review GA piece, and if you're weighing Claude Code against other agents at this scale, our Claude Opus 5 review covers the model doing the heavy lifting here.

Watch

ai-tools claude-code code-review 2026

Get AI tricks that save you hours every week

New AI tools, automation workflows, and course drops — straight to your inbox. Join 2,400+ builders.

Read Next

Claude Code Usage Limits: What Accenture's $29 Cap Tells Us
ai-tools

Claude Code Usage Limits: What Accenture's $29 Cap Tells Us

Accenture capped Claude spending at $29/employee/month after some staff ran up $1,000 bills. Here's what that means for Claude Code's weekly limits, and how to stretch your own.

October 17, 20266 min read
Claude Code Review Is Now GA: Quick vs Standard vs Deep, Worth It?
ai-tools

Claude Code Review Is Now GA: Quick vs Standard vs Deep, Worth It?

Claude Code Review is generally available for Team and Enterprise, with Quick, Standard, and Deep levels. Here's the setup, real pricing, and the EU credit catch.

October 17, 20267 min read
Muse Spark Open Explained: 816B Model vs Claude Opus 5.5
ai-tools

Muse Spark Open Explained: 816B Model vs Claude Opus 5.5

Meta's Muse Spark Open is an 816B open-weight model that runs on two Mac Studios. Here's the license, hardware needs, and why it trails Claude Opus 5.5 on coding.

October 16, 20267 min read
View all posts →