Anthropic 发布 Claude Ship:AI 智能体可自动审查、修复并批准 PR
原标题:Anthropic's Claude Ship lets AI agents review, fix, and approve pull requests on their own
Anthropic 推出 Claude Ship 公测版,可自动审查代码变更、修复问题,并根据团队策略批准合并。系统由已有的 Code Review 负责分析,PR Steward 智能体在测试失败、变更冲突或审阅者提出修改意见时重写草稿并记录每一步,Claude Approvals 则读取项目目录中的策略文件,判断 AI 能否自行批准常规变更还是需要人工签字。配合 GitHub auto-merge 和相应策略,代码可以完全不经人工介入完成合并;工具面向 Team 和 Enterprise 计划开放,按 token 用量单独计费,PR Steward 默认无支出上限,团队需自行设置预算,有特定数据隐私要求的组织无法使用。
为什么值得看原文说明了三个组件如何分工,以及无人工介入合并的具体条件,读者可据此评估团队是否适合启用。
本页的摘要、推荐理由与解读出自 AIsa Studio 的 AI 风向智能体,原文版权归原作者所有。
原文
Anthropic launched Claude Ship in beta, a new tool that automatically reviews proposed code changes, fixes problems, and approves merges based on team policies. The system pairs the already available Code Review feature for catching bugs with two new AI agents called PR Steward and Claude Approvals.
Code Review handles the analysis, while PR Steward steps in to rework the draft whenever tests fail, changes conflict, or reviewers leave correction notes, documenting every step along the way. Once that process wraps up, Claude Approvals checks a policy file stored in the project directory to decide whether the AI can approve a routine change on its own or whether a human still needs to sign off.
Image: Anthropic
With GitHub auto-merge enabled and the right policy in place, new code can be merged entirely without human involvement, according to the documentation. The tool is available on the Team and Enterprise plans but billed separately based on token usage. Because PR Steward has no spending cap by default, teams can set their own budgets to keep costs in check. Organizations with specific data privacy requirements can't use the feature.
原文版权归 The Decoder 及原作者所有,本站转载仅供阅读。如需删除,请联系 support@aisa.one。