At Claude Code, 90% of code is written by AI, and the team publicly discloses six review gates
九成代码AI写,谁来审?Claude Code亮出6道关卡!
Anthropic's Claude Code team publicly disclosed its internal code review process: with about 90% of code written by Claude and the number of merged PRs doubling, it uses six layers of checks plus risk-tiered human approval, reducing the share of PRs that need to be rolled back by more than 40% relative to before. The six layers of checks include tests, builds and a fresh-context sub-agent re-review before a PR is created; parallel AI review, security review and CI checks on the PR; one to two approvers depending on risk; and, after merging, first opening to internal employees via feature flags; low-risk changes can skip human approval, while sensitive paths and CI workflow files must be reviewed by a person. The team says that of the issues repeatedly flagged by the AI reviewer, about 59% were in old code that existed before the first round of review; after adjusting the re-review rules, the first-round pass rate rose from 65% to 78%, and the average number of reviews fell from 2.08 to 1.32. The article also reviews a postmortem of a bug in March that cleaned up old reasoning records and passed all checks, and was only fixed in April, and gives three questions and three habits for developers to accept AI code.