About 90% of the code in Anthropic’s coding tool Claude Code is now written by Claude itself. As authorship shifts from humans to machines, the scale of code changes has swelled in tandem: from June to September this year, the number of pull requests (PRs) merged into the codebase more than doubled, while daily merged changes in Anthropic’s main codebase climbed from roughly 2,500 in May to more than 30,000 in September. Faced with that volume, the Claude Code team disclosed its internal code review process on October 15, revealing a counterintuitive result—even as PR volume doubled, the share of PRs requiring rollback fell by more than 40% relative.
The team’s core judgment is that line-by-line human review is no longer feasible at this scale, but review itself has not been abolished. Instead, most of the code-reading work has been handed to machines, with risk tiers determining which changes must be signed off by a person.
Six gates and one safety net
Under the disclosed process, a change must pass through six layers of checks from submission to release. The first gate comes before a PR is even created: Claude must run tests and builds, capture screenshots of interface changes against design mockups, and then a sub-agent with a fresh context specifically reviews the code diff. The official requirement is that Claude must show the commands it ran and their output—replying only that “all tests passed” does not count.
The second gate is AI review on the PR, where multiple agents hunt for bugs in parallel and another group votes to verify them; only issues meeting a vote threshold are posted to the PR. Comments concerning only code style, diagnostic hints or code cleanup are filtered out. When the mechanism launched in March, the share of internal PRs receiving substantive review comments rose from 16% to 54%.
The third gate is security review. Inside the team, a PR cannot be merged while any finding from code review or security review remains open—it must either be fixed or closed with a written justification. The fourth gate is continuous integration, covering linting, type checks, per-platform tests and build packaging; an ordinary command-line tool change may run dozens of checks before it ever reaches a human reviewer. Recurring problems are written into CLAUDE.md and REVIEW.md to inform the next review.
The fifth gate, human approval, is tiered by risk: documentation, copy, internally visible features and new changes hidden behind feature flags are low-risk and can skip human approval once automated and security checks pass; ordinary product changes and sensitive areas such as caching, the auto-updater and system prompts require one approver; the highest-risk code and a handful of designated paths require two. Risk tiers are determined sequentially by two classifiers, sensitive paths flagged by code owners and all CI workflow files must be human-reviewed, and the lightweight channel is open only to a repository “trusted authors” list. The sixth gate is merge and release: a change enters a merge queue, and when its turn comes the system re-runs all checks against the latest version of the main branch, guarding against the case where “each change is fine on its own but breaks when combined.”
New features launch behind feature flags, visible only to internal employees, whose heavy usage often surfaces problems earlier than external users would; if something goes wrong, flipping the master switch turns the feature off without changing code or redeploying. The team runs a weekly on-call rotation, and every incident postmortem asks: at which gate should this have been stopped?
Automated review’s self-inflicted stalls and a back-testing mechanism
Automation is not without cost. A PR in a CLI project once went through more than 50 rounds of review and fixes overnight before the author manually called a halt. Using git blame to trace back, the team found that about 59% of the issues the reviewer repeatedly flagged were in old code that predated the first review round—it rarely found new bugs, just dug up a few more old ones each round.
The team therefore changed four rules: if a PR still fails after three rounds, the author is prompted to step back and rethink the approach; after the first few rounds, only newly added changes are reviewed; the same class of issue is raised once; and issues already raised are not repeated. The effect was immediate: the share of internal PRs passing after a single round of review and fixes rose from 65% to 78%, those needing five or more rounds fell from 8.9% to 1.5%, and the average number of reviews dropped from 2.08 to 1.32.
MetricBefore adjustmentAfter adjustmentShare of internal PRs passing on first review round65%78%Share of PRs needing five or more review rounds8.9%1.5%Average number of reviews2.081.32
Note: Data from the Claude Code team’s published description of its internal review process.
Multi-layer review is not foolproof either. An optimization for cleaning up idle sessions, launched March 26, contained a bug that ran the cleanup on every turn after a conversation resumed, making Claude forgetful and repetitive with erratic tool calls; it was not fixed until April 10. An official postmortem on April 23 acknowledged that the change had slipped through multiple rounds of human and automated review, with unit tests, end-to-end tests and internal dogfooding all failing to catch it, and that pinpointing the root cause alone took more than a week. The team later re-reviewed the PR with Code Review; given sufficient context from the relevant repositories, Opus 4.7 found the bug while Opus 4.6 did not—showing that both model capability and context completeness affect detection.
Today every incident becomes an exam question: the team collects PRs, has engineers familiar with the code confirm the bugs one by one, and compiles them into a test bank. The reviewer is scored against the bank daily, and if a change to prompts, tools or models does not improve the score, it is not adopted. The team also acknowledges that after changes go live, developers and on-call staff still have to spot anomalies using data dashboards, and that a “circuit breaker” mechanism to automatically tighten approvals based on metrics such as rollback rates has yet to be built; engineers want that safeguard in place before letting more changes go through zero-human approval.
Human accountability has not disappeared with automated review
Claude Code creator Boris Cherny has said that giving Claude a way to verify itself may be the single most important thing, estimating that it can make final output two to three times better. The team stresses that zero-human approval does not mean no one is accountable: the person directing the AI to write code is themselves a reviewer, responsible for the change, and usually the one to fix it if merged code goes wrong; before clicking approve, reviewers must spell out what the checks verified and which risks remain uncovered.
On another business line, Anthropic is extending Claude’s capabilities into the coordination side of drug discovery. The company completed its acquisition of Mithril Medicine in July 2026 and announced it on October 27. Before the deal, the acquired company had just one full-time employee, founder Cody Traumberger, who used Claude to coordinate contracts, experiment plans, data management and communications with 11 external research institutes, achieving positive mouse-study results for a drug candidate against a rare muscular dystrophy in under 18 months. Anthropic also disclosed that Claude made six errors during the research, some of which remained in emails sent to external institutes after human confirmation, including two data-verification errors that went undetected for more than four days.
For investors, both pieces of information point to the same conclusion: the boundary of what AI handles in execution and coordination is expanding, but quality control and accountability for results still require humans as a backstop. The six gates of code review and the human checks in drug discovery are essentially the same logic—drive down the marginal cost of repetitive labor while keeping judgment and accountability on the human side. For the software industry, that means engineering teams’ staffing structures and performance assessments may adjust accordingly; for AI vendors, whether review, back-testing and rollback can be turned into reusable product capabilities will directly affect enterprise customers’ willingness to pay.