AIFeed

Anthropic releases Claude Ship: internal PR merge volume doubles in 3 months, rollback rate drops over 40%

AI summary

Claude now writes about 90% of the code, with daily code changes rising from 2,500 to 30,000 and review coverage climbing to 54%. Anthropic has released Claude Ship, extending AI agents into the full GitHub PR delivery workflow, from code review and auto-fixing CI failures to handling merge conflicts and approving PRs.

Translation(model translation, not the source's own text)

Anthropic Releases Claude Ship: Internal PR Merge Volume Doubles in 3 Months, Rollback Rate Drops Over 40%

Anthropic Releases Claude Ship: Internal PR Merge Volume Doubles in 3 Months, Rollback Rate Drops Over 40%
Anthropic Releases Claude Ship: Internal PR Merge Volume Doubles in 3 Months, Rollback Rate Drops Over 40%

From code review and automatically fixing CI failures to handling merge conflicts and approving PRs, Claude has begun to participate in the complete engineering workflow of code from submission to merge.

This release has one obvious architectural change: Anthropic did not let a single Agent take on all the work, but instead split Code Review, PR Steward, and Claude Approvals into three independent components, each responsible for review, fixing, and approval duties. They collaborate around the same PR; when a problem appears in the code, a fix can be triggered automatically, and after the fix is complete, it enters the corresponding review and approval process.

Anthropic Releases Claude Ship: Internal PR Merge Volume Doubles in 3 Months, Rollback Rate Drops Over 40%
Anthropic Releases Claude Ship: Internal PR Merge Volume Doubles in 3 Months, Rollback Rate Drops Over 40%

Among them, the policy-driven approval mechanism introduced by Claude Ship changes the way AI participates in code delivery. Teams can define the relationship between code paths, change scope, review results, and approval requirements through YAML files, and the system dynamically determines approval conditions based on the actual changes. This also gives clear rule boundaries for which operations an Agent can perform. 雷锋玩

This architecture involves a deeper engineering question: when AI begins to autonomously modify code and even participates in deciding whether code can be merged, how do you avoid concentrating execution, review, and approval in the hands of the same Agent? Claude Ship combines responsibility isolation with a policy engine to offer its own implementation path.

Anthropic Releases Claude Ship: Internal PR Merge Volume Doubles in 3 Months, Rollback Rate Drops Over 40%
Anthropic Releases Claude Ship: Internal PR Merge Volume Doubles in 3 Months, Rollback Rate Drops Over 40%

PRs Become the Shared State Layer for Agent Collaboration

Claude Ship uses GitHub PRs as the shared work object for the three components. Diff, Commit, CI checks, review threads, and approval results remain in the PR; each Agent works based on these engineering states and writes execution results back. In this way, task context no longer depends on conversation passing, and the code version and operation records themselves can carry subsequent tasks.

The workflow is driven by PR events. PR creation, branch Push, check failures, and newly added review comments all affect subsequent execution. Teams can choose among three review levels—Quick, Standard, and Deep—and set them to run when a PR is created, after each Push, or on manual request.

Anthropic Releases Claude Ship: Internal PR Merge Volume Doubles in 3 Months, Rollback Rate Drops Over 40%
Anthropic Releases Claude Ship: Internal PR Merge Volume Doubles in 3 Months, Rollback Rate Drops Over 40%

Code Review internally uses a four-stage process: Find, Verify, Rank, and Post. In the Find stage, multiple Agents read the Diff and surrounding code in parallel, looking for problems from angles such as logic errors, security flaws, and boundary conditions. The review scope extends beyond the changed lines, because whether local code runs properly often depends on callers, data flow, and interface constraints.

The Verify stage re-examines candidate findings to confirm whether a problem can be supported by actual code paths; the Rank stage deduplicates and orders by severity; and the Post stage writes the results into the PR, forming inline review comments and Checks.

Anthropic Releases Claude Ship: Internal PR Merge Volume Doubles in 3 Months, Rollback Rate Drops Over 40%
Anthropic Releases Claude Ship: Internal PR Merge Volume Doubles in 3 Months, Rollback Rate Drops Over 40%

This design solves a typical problem in code review: a model can spot suspicious code but may not be able to determine whether it constitutes a real defect. Independent verification can filter out some judgments that lack contextual support. Note that Code Review examines code in a read-only manner and is not responsible for building and running the project, so actual execution results from CI are still needed.

PR Steward, by contrast, runs in a cloud session and handles CI failures, merge conflicts, and review feedback related to the current PR. It can modify files, push Commits, and explain the content of each change and how to undo it. For code adjustments with a clear scope, it can execute directly; when larger architectural trade-offs are involved, it waits for the developer to decide.

Anthropic Releases Claude Ship: Internal PR Merge Volume Doubles in 3 Months, Rollback Rate Drops Over 40%
Anthropic Releases Claude Ship: Internal PR Merge Volume Doubles in 3 Months, Rollback Rate Drops Over 40%

It also has clear trigger limits: PRs from Forks, created by Bots, and from submitters without repository write permission are skipped by default. During execution, developers can adjust tasks via @claude or send @claude stop to terminate execution.

The architectural boundary here is important: PR Steward can write code, but it does not have approval or merge permission. It is responsible for producing new code versions, and subsequent approval is handled by an independent mechanism. Fixing and authorization are separated, preventing the Agent executing the task from also becoming its own acceptor.

Anthropic Releases Claude Ship: Internal PR Merge Volume Doubles in 3 Months, Rollback Rate Drops Over 40%
Anthropic Releases Claude Ship: Internal PR Merge Volume Doubles in 3 Months, Rollback Rate Drops Over 40%
Anthropic Releases Claude Ship: Internal PR Merge Volume Doubles in 3 Months, Rollback Rate Drops Over 40%
Anthropic Releases Claude Ship: Internal PR Merge Volume Doubles in 3 Months, Rollback Rate Drops Over 40%

Compiling Repository Standards into Approval Policies

The core of Claude Approvals is .claude/approvals.yml in the repository. Teams write approval requirements as structured rules, and the system matches rules based on the files changed in the PR, then calculates whether Claude can approve and how many human approval seats are needed.

Each Rule mainly consists of paths, if, verdict, and override.

paths specifies the file scope covered by the rule, if describes the conditions under which the rule holds, and verdict determines the approval result. Among these, claude has three states—approves, comments, and blocks—respectively meaning allowing Claude to approve, only allowing review comments to be left, and blocking approval. seats specifies the number of human approvers, and can also limit participants to a particular GitHub Team or exclude the PR author.

Anthropic Releases Claude Ship: Internal PR Merge Volume Doubles in 3 Months, Rollback Rate Drops Over 40%
Anthropic Releases Claude Ship: Internal PR Merge Volume Doubles in 3 Months, Rollback Rate Drops Over 40%

This set of rules is evaluated file by file. The system checks which Rules apply to each changed file, then aggregates the results across the entire PR. If the same file matches multiple rules, the more restrictive result is retained, with priority in the order blocks, comments, and approves. Human approval seats required by different rules also need to be satisfied separately.

Directory-level configuration further solves the problem of rule maintenance in large repositories. The system searches upward from the directory containing the changed file for policies, using the configuration that is closer to the file path, in Enforce state, and covers that file. Upper-level policies can continue to constrain lower-level directories through nested: inherit. Organizations can maintain base rules at the root directory, while business modules can set local requirements based on their own code characteristics.

Conditional expressions can also read attributes such as the PR's file count, Diff line count, author, initiator, and target branch, and support logical combinations such as ANY and ALL. There is one detail here: pr/diff_lines counts the change scale of the entire PR, while rule/files_changed counts only the files covered by the current rule. These two counting scopes let teams manage both overall change scale and local module approval requirements at the same time.

Anthropic Releases Claude Ship: Internal PR Merge Volume Doubles in 3 Months, Rollback Rate Drops Over 40%
Anthropic Releases Claude Ship: Internal PR Merge Volume Doubles in 3 Months, Rollback Rate Drops Over 40%

override, meanwhile, allows conditional branches to be added on top of the base Verdict, and the system adopts the first rule that holds according to the configuration order. It can adjust the number of human approvers based on review results, or change whether Claude has approval permission.

This policy calculation needs to account for model call failures. If the classifier that an Override depends on returns no result, the system falls back to the base Verdict; if the classifier appears in the Rule's own if but has no result, the approval Check fails. Therefore, base rules need to retain sufficiently strict approval requirements to avoid accidentally loosening permissions when model calls are abnormal.

There is also a key security design: Claude Approvals reads policy files from the default branch. Approval rule changes in a PR that have not yet been merged do not apply to the current PR; only after the rules enter the default branch do they participate in subsequent evaluation. This prevents submitters from modifying approval conditions through code under review to lower the threshold for their own code.

Claude Approvals cannot directly read CI results; tests and builds still need to run as separate GitHub Required Checks. Its own Check also needs to be configured as a Required Check in order to actually participate in merge constraints. Observe Mode, meanwhile, allows teams to run policies first and observe approval outcomes before deciding whether to enable enforced checks.

Anthropic releases Claude Ship: internal PR merge volume doubles in 3 months, rollback rate drops over 40%
Anthropic releases Claude Ship: internal PR merge volume doubles in 3 months, rollback rate drops over 40%

Path rules and PR attributes can describe where a change occurs and how large it is, but they cannot adequately express what has happened to the code semantically. Claude Approvals adds this layer of judgment through Classifiers.

Teams can create classifiers in .claude/classifiers/, defining the model, Prompt, input parameters, and output range via def.yml. The Prompt describes the judgment task, while outputs restricts the results the model can return, such as low, medium, and high. The policy engine reads these structured results and then decides approval requirements based on conditions.

Anthropic ships two built-in classifiers: claude/code_review and claude/diff.

The former reads Code Review results, returning pass when there are no unresolved Important-level findings, and fail when such issues remain. The latter compares old and new Diffs, classifying changes as trivial, same_intent, or different, to determine whether subsequent code modifications continue the original intent.

Anthropic releases Claude Ship: internal PR merge volume doubles in 3 months, rollback rate drops over 40%
Anthropic releases Claude Ship: internal PR merge volume doubles in 3 months, rollback rate drops over 40%

This brings up a technically substantial design in Claude Approvals: reuse. After each PR Push, whether existing human approvals remain valid needs to be re-evaluated against the new version of the code. If every modification invalidated all historical approvals, humans would have to repeatedly handle a large number of minor fixes; if old approvals were retained unconditionally, new code might carry over authorizations that no longer apply. Leiphone (public account: Leiphone)

reuse allows teams to separately set reuse conditions for human approval seats and classifier results. For example, only when the old and new Diffs are judged as same_intent and the new version's Code Review returns pass will prior human approvals continue to count.

Anthropic releases Claude Ship: internal PR merge volume doubles in 3 months, rollback rate drops over 40%
Anthropic releases Claude Ship: internal PR merge volume doubles in 3 months, rollback rate drops over 40%

There are actually two layers of judgment here: claude/diff checks whether the modification intent continues, and claude/code_review checks whether important issues still exist in the current version. Only when both conditions are combined can the system decide whether to retain historical approvals.

reuse also supports limiting the validity period of evaluation results via max_age; beyond the time limit, re-evaluation is required. Approvals already dismissed on GitHub typically do not automatically restore, and force pushes may also affect the validity of old approvals. If the author has previously filled a human approval seat, that seat may also continue to count after reuse, so teams need to exclude pr/authors through personnel rules to prevent authors from substituting for independent approvers.

Classifiers can also be configured with tool permissions and execution budgets. Some classification tasks only need to read the Diff, while others may need to view surrounding code or review threads. The tool list determines what the classifier can access, and the budget limits runtime and Token consumption.

Anthropic releases Claude Ship: internal PR merge volume doubles in 3 months, rollback rate drops over 40%
Anthropic releases Claude Ship: internal PR merge volume doubles in 3 months, rollback rate drops over 40%

Review findings also have independent permission management. Teams can specify via findings which personnel have the right to close findings produced by classifiers. Here it is necessary to distinguish between closing a review thread and fixing code: the former only changes the handling status of an issue, while the latter actually changes the implementation. Without personnel permission constraints, review status could be artificially altered, thereby affecting subsequent approvals.

Semantic classification also carries input risk. PR descriptions and code files may contain instruction text that interferes with model judgment; even if outputs are restricted to fixed categories, model judgment may still deviate. Therefore, policies involving high-risk code should still retain human approval and must not lower permission requirements based solely on classifier output.

Anthropic releases Claude Ship: internal PR merge volume doubles in 3 months, rollback rate drops over 40%
Anthropic releases Claude Ship: internal PR merge volume doubles in 3 months, rollback rate drops over 40%

Engineering challenges after code delivery automation

Claude Ship can shorten the waiting time between code submission, review, and fixes, but software delivery efficiency does not depend entirely on PR processing speed.

As Agents continuously participate in code modification, review quality, fix scope, and the cumulative impact of multiple rounds of modification will become key factors in measuring this system. Especially in large projects, local code passing review does not mean the behavior of the entire system meets design expectations. Leiphone

The maintenance cost of approval policies also needs consideration. As business modules increase, team responsibilities adjust, and code structure evolves, inheritance relationships between rules, exception conditions, and classification standards also need continuous updates. If the time saved by automation is consumed by policy maintenance and exception handling, its actual engineering benefits need to be re-weighed.

Therefore, evaluating Claude Ship cannot rely solely on how many PRs it can handle independently; it also requires observing rollback rates, missed defects, frequency of human intervention, and overall delivery costs. Compared with simply increasing code production speed, how to make these automation capabilities run stably over the long term in complex engineering environments may be the problem Anthropic needs to solve next.

Reference link: https://claude.com/resources/articles/introducing-claude-ship

Anthropic releases Claude Ship: internal PR merge volume doubles in 3 months, rollback rate drops over 40%
Anthropic releases Claude Ship: internal PR merge volume doubles in 3 months, rollback rate drops over 40%

Leiphone original article, unauthorized reproduction prohibited. For details, see the reprint notice.

Anthropic releases Claude Ship: internal PR merge volume doubles in 3 months, rollback rate drops over 40%
Anthropic releases Claude Ship: internal PR merge volume doubles in 3 months, rollback rate drops over 40%

The translation is machine-generated and individual terms may be off. Nothing is rewritten or cut; the original is authoritative.

Published by 雷锋网
This site only summarises and aggregates; copyright stays with the original author. Headlines and summaries follow the source — where they differ, the original wins.
Read the original ↗