Anthropic Details Its Seven-Layer AI Code Review Practice
昨天还在说 Code Review 的实践,今天Anthropic就写了一篇文章详细描述它们 Code Review 的工程实践: https://t.co/ApdUTxp8pv 非常受用,可以好好...
The vote-filtering mechanism for agent reviewers and the three-round cap on review churn are directly reusable by any team drowning in AI-generated PRs. Engineers building multi-agent review pipelines can borrow the rule that only new diffs get re-reviewed and style comments are discarded. Compared with generic CI lint gates, this pipeline treats review as a probabilistic consensus problem rather than a single-pass check.
Anthropic published an engineering blog post on claude.
dev describing how it reviews code when AI-generated changes outpace human reading capacity.Every change passes seven layers of checks: agents must prove completion with tests and screenshots before opening a PR, multiple AI reviewers scan diffs against repo context and vote on whether findings are real bugs, and risk level decides human approval counts, with low-risk changes auto-merging.
Merge queues, feature flags and internal-dogfooding enable fast rollback.To stop review loops, they cap agent review rounds at three, with 59% of repeatedly flagged issues traced to pre-existing code in the first round.
昨天还在说 Code Review 的实践,今天Anthropic就写了一篇文章详细描述它们 Code Review 的工程实践: https://t.co/ApdUTxp8pv 非常受用,可以好好...
昨天还在说 Code Review 的实践,今天Anthropic就写了一篇文章详细描述它们 Code Review 的工程实践: claude.dev/blog/solving-c… 非常受用,可以好好读一下,核心观点是:代码多到人读不过来之后,人已经不 review 代码了,而是追求花最少的时间 并且回滚和事故又不增加 一个改动要过七层检查,几点也很有趣: 1 让 Agent 提 PR 之前先自证 证明做完了 测试 截图 等等 2 每个 PR 都有 AI review diff,对照整个仓库和 PR 的意图来审 多个 agent 同时找 bug 再由另一组投票,多数认定是真问题才发出来 纯风格类的意见直接丢掉 这个和我的 review-forge 的思路非常类似 3 按风险决定要几个人批 低风险不用人批准自动合并,普通功能一人批 最高风险的路径要两个人(我怀疑这步骤真的那么有用吗?人能看过来吗) 4 merge queue / feature flag / 灰度发布 先给内部员工用, 快速发现 快速回 feature flag 不用部署就能关掉 里面还有一个非常实用的思路 正好解答昨天多 agent review 的问题: review 要能收敛,agent 写 agent 审,有可能可以互相折腾个没完,文中说有个 PR 一夜之间来回改了五十多轮 git blame 一看,59% 被反复标记的都是第一轮时就已经存在的老代码 所以他们加了几条规则:最多三轮,超过就让作者退一步重新想方案 几轮之后只审新增的 diff 已经提过的意见不再重复。📊 11 ⚡
This report is categorized under AITOP's "How-to" desk, focusing on US frontier AI labs and Silicon Valley technology leaders. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include Claude, Anthropic, Code Review, coding assistants.
Source attribution: curated from Viking (@vikingmute). Cross-source corroboration: 11 independent sources have covered this development (including AIGCLINK, claudedevs, shao__meng), confirming industry-wide signal strength.
- AIGCLINK10-17 02:37Source
- claudedevs10-15 22:51Source
- shao__meng10-17 01:52Source
- kimmonismus10-15 04:31Source
- 宝玉10-15 21:32Source
- Claude Code: GitHub Releases10-16 20:53Source
- Simon Willison’s Weblog10-16 22:06Source
- TestingCatalog10-15 06:06Source
- HIT Consultant10-15 10:56Source
- Boris Cherny10-15 17:55Source