Event ·Multi-source

Anthropic 公开内部 Code Review 实践:一个改动要过七层检查

Anthropic 在博客中详细介绍了 Claude 团队如何用 Agent 做代码评审,核心目标是花最少的时间且不增加回滚和事故。每个 PR 在提交前要先自证完成测试和截图,随后由多个 agent 对照整个仓库并行找 bug,再由另一组投票,多数认定是真问题才发出。风险分级决定批准人数:低风险自动合并,普通功能一人批,最高风险路径需两人。针对 agent 反复互审不收敛的问题,他们发现某 PR 一夜改了五十多轮,其中 59% 被标记的都是第一轮已存在的老代码,因此规定最多三轮、只审新增 diff、已提意见不重复。

Current read

Anthropic 把自家用 Claude 做代码评审的流程全公开了,多 agent 找 bug 加投票、按风险分级审批,还有防止 agent 互相折腾的收敛规则,做工程的朋友很值得抄。

11 sources43° AI heatLast updated 2026/10/17 03:46:27

Evidence

11 sources
Related source 2claudedevs
View source
Related source 3shao__meng
View source
Related source 4kimmonismus
View source
Related source 6Claude Code: GitHub Releases
View source
Related source 7Simon Willison’s Weblog
View source
Related source 8TestingCatalog
View source
Related source 9HIT Consultant
View source
Related source 10Boris Cherny
View source

Conflict check

Dedup data only shows that these sources discuss the same event, not that they agree. There is no structured supporting or refuting evidence yet, so no conflict is inferred automatically.