# Claude Ship: AI Takes Over the Last Mile Before PR Merge


![](https://leafw-blog-pic.oss-cn-hangzhou.aliyuncs.com/claude-ship-cover.png)

On November 23, Anthropic announced [Introducing Claude Ship](https://claude.com/resources/articles/introducing-claude-ship). Currently in Beta, Claude Ship brings code review, automated fixes, and policy-driven approvals together into the pull request delivery workflow. On the same day, Anthropic also published [Working with AI](https://www.anthropic.com/research/working-with-ai), an interview report based on enterprise customers.

Back on October 18, I wrote [How the Claude Code Team Does Code Review After Agents Write the Code](https://www.leafw.net/en/claude-code-review/), looking at how code review becomes the bottleneck once coding agents speed up implementation, and how the Claude Code team layers its own checks. As noted in that post, the public Code Review product at the time only left comments and did not approve PRs.

With Claude Ship, Anthropic splits what happens after a PR is opened into three parts: review, fixes, and approval. Each component owns a distinct responsibility and operates within explicit permission boundaries.

## 1. Why Things Still Slow Down After a PR Is Opened

Every developer knows this rhythm well.

You open a PR and move on to the next task. A while later, review comments come back, so you drop what you are doing, context-switch back to the earlier diff, push a fix, and wait for another round of checks. Once the checks pass, you still have to chase someone down for approval.

When humans wrote every line of code by hand, that loop was usually manageable. Now that many PRs are created by agents and volume has surged, the steps *after* opening a PR are where delivery tends to stall.

In the interview report published the same day, Anthropic summarized 66 interviews across 58 enterprise customers. The report notes that once coding speeds up, downstream stages like code review, sales, and strategic decision-making have to keep pace. Reviewing AI output came up repeatedly because output volume has outstripped human attention. For engineers, code review has become a critical bottleneck. Some companies are adopting automated review, some are allocating more engineering time to review, and one company even dropped formal code review in favor of developers reviewing code alongside Claude.

All interviewees are Anthropic enterprise customers, so they do not directly represent the entire industry. Still, the problem itself is familiar: writing code is no longer the only scarce resource—reviewing, fixing, and approving PRs after they are opened now decides whether code actually gets merged.

Claude Ship hands review, fixes, and approval to three independently configurable components that work together, cutting down repetitive post-PR work for developers. Teams still decide which repositories it runs on and which changes require human review.

## 2. Three Components, Each With Clear Permission Boundaries

Claude Ship consists of three components.

Code Review is generally available, while PR Steward and Claude Approvals are currently in Beta. The three components can be enabled independently—you do not have to turn them all on at once. The documentation recommends rolling them out in order: Code Review, then PR Steward, then Approvals. If an approval policy references Claude's review, Code Review will run on that repository as well.

Organization-level Claude Ship is available on Claude Team and Enterprise plans for GitHub repositories. Organizations with Zero Data Retention, HIPAA configurations, or Customer-Managed Encryption Keys (CMEK) enabled cannot use it.

| Component | What It Does | Permission Boundary |
| --- | --- | --- |
| Code Review | Reviews PRs against the codebase, verifies findings, categorizes them, and posts them on the PR | A standalone review neither approves nor blocks merging |
| PR Steward | Addresses failing CI, merge conflicts, and review comments, and pushes fixes | By design, never approves or merges; explains what changed and how to revert after every push |
| Claude Approvals | Evaluates a repository policy file to report who still needs to approve; can approve on its own when policy allows | Recommended to start in observe-only mode; blocks merging only once set as a required check in GitHub |

Let's walk through each of the three stages and why their permissions are drawn this way.

## 3. Code Review: Find the Issues, and Stop There

Code Review dispatches multiple agents to inspect the diff alongside surrounding code, focusing on correctness issues that could break production—such as logic bugs, security vulnerabilities, and broken edge cases. Formatting preferences or missing test coverage are not primary targets by default. Findings go through a verification pass to filter false positives, are deduplicated and ranked by severity, and are posted as inline comments on the relevant lines along with a summary.

Findings are grouped into three categories: **Important**, **Nit**, and **Pre-existing** (issues that existed before the PR).

Review depth can be configured per repository as **Quick**, **Standard** (default), or **Deep**. More thorough tiers take longer and cost more. Admins can set an organization-wide default and override individual repositories—for example, Quick for routine repos and Deep for critical ones.

Repositories can also configure when reviews run: once when a PR opens, on every push, or only on request. Anyone with write access can comment `@claude review` on a PR to trigger a review, and a `REVIEW.md` file in the repo can tune what kinds of issues should be flagged.

There are also a few clear boundaries.

Code Review runs on Anthropic's infrastructure. During a review, its access to the repository is read-only—it does not push commits, and it does not build or execute code. However, the underlying Claude GitHub App also serves other features, so the App itself holds broader permissions. The check it posts is named `Claude Code Review`, and it does not fail even when it finds issues. The documentation is explicit: a review on its own neither approves a PR nor blocks a merge. Claude Approvals can reference Code Review results via policy to factor findings into approval decisions, and both PR Steward and human reviewers can act on them. Anthropic also notes that because review is AI-powered, it can miss bugs and security flaws; zero findings does not mean the code is bug-free or secure.

The rationale is straightforward: review can assist human judgment and feed signals into downstream fixes and approvals, but it still produces false negatives and false positives. Treating a review directly as approval or a merge gate would turn an imperfect check into the final verdict.

The Claude Code team uses its own review as one layer inside a broader workflow. In their [engineering blog post](https://claude.dev/blog/solving-code-review-at-anthropic/), they reported internal numbers from June to September: merged PR volume more than doubled, while the share of PRs requiring a revert dropped by over 40% relative to the baseline. Those are Anthropic's internal figures; the post does not attribute the gains solely to Code Review, nor does it disclose the starting PR count or revert rate, so you cannot assume turning on Code Review alone will produce the same result.

## 4. PR Steward: Fix Issues and Move the PR Toward Mergeable

PR Steward's job is to clear the blockers preventing a PR from merging and move it into a mergeable state.

It handles failing CI (attempting a fix when the failure stems from code touched by the PR), merge conflicts (merging in the base branch and resolving conflicts), human review comments (pushing small, concrete edits and replying; for large changes or design discussions, replying without pushing), comments from other review tools, and `Important` findings from Code Review. For optional findings, it defaults to replying and resolving the thread rather than pushing code solely for them.

PR Steward can also address issues flagged by Claude Approvals that can be resolved through code changes, such as unresolved review findings. If a policy requires human sign-off, it will not approve in a human's place—and pushing new fixes may cause approval checks to require re-approval.

This work runs in cloud sessions, and commits are authored by `Claude <noreply@anthropic.com>`.

Its hard permission boundary: PR Steward is designed never to approve or merge PRs. Whether a PR can merge still depends on the team's GitHub branch protection rules and required checks.

After every push, it leaves a comment on the PR explaining what it changed and how to revert it. For instance, after fixing date-parsing logic, it notes the commit, the test scenarios covered, and the revert instructions.

Developers can steer it with `@claude` plus specific instructions (such as fixing only lint and leaving tests alone), or stop it via `@claude stop` or by removing the `claude-pr-steward-watching` label. When reverting commits pushed by PR Steward, the docs recommend stopping it first before reverting so it does not push the same fix right back.

Admins can enable PR Steward per repository and choose when it starts: automatically on eligible PRs, or only on request (such as commenting `@claude steward`). Developers can also adjust startup behavior in personal settings. Both the product and docs recommend starting in Manual mode and switching to default-on only once the team is comfortable. By default, it skips draft PRs, PRs from forks, PRs opened by bots, and PRs whose authors lack write access to the repository.

Fixing code carries higher privilege than posting comments because it mutates your branch. That is why every fix needs to be traceable, reversible, and stoppable at any time. Even so, automated pushes can still create back-and-forth churn; repositories can use `.claude/skills/steward/SKILL.md` to define what PR Steward should and should not touch.

## 5. Claude Approvals: Repository Policy Decides Who Needs to Approve

Claude Approvals is a PR check that reports who still needs to approve a change, governed by a policy file in the repository—typically `.claude/approvals.yml` on the default branch.

Anthropic describes it as a smarter `CODEOWNERS` file: beyond path-based reviewer counts, it can evaluate PR facts (lines changed, author, target branch) as well as classifier judgments written in natural language—for example, how risky a change is. Policies can specify how many humans must approve, whether Claude is allowed to approve, and whether the PR author counts toward the quorum. As an example from the docs: billing code might require two reviewers, while a PR touching only test fixtures needs just one after Code Review passes.

For routine changes permitted by policy, Claude can approve on its own; other cases require human approval. Anthropic recommends that most customers start in **observe-only** mode: the check reports what decision it would make under the current policy, but Claude does not actually approve and the check generally passes. Once its judgments align with how the team actually reviews, teams can switch to enforcement and mark Claude Approvals as a required check in GitHub.

Before turning on enforcement, pay close attention to how approval policies interact with GitHub branch rules. The docs explicitly warn that if a repository enables auto-merge or a merge queue and the policy does not require a human approval, changes can be merged without any human touching them. In addition, Claude Approvals conditions cannot read CI results, so CI must remain a separate required check in GitHub.

Two subtler details are easy to miss. First, `claude: approves` in a policy does not by itself trigger Code Review. If a policy allows Claude to approve without requiring Code Review to pass, a PR can be approved without ever being reviewed.

Second, when every file modified by a PR falls under the scope of an approval policy, automatic Code Review may stop running unless the matching rule explicitly references `claude/code_review`. This behavior applies in both observe and enforce modes. If a team wants reviews to keep running automatically, the policy has to state that explicitly.

The launch post shares an internal example. A product manager on the Claude Code team saw customer feedback that the Analytics API docs made it look like an Admin key could pull Pro and Team usage. The PM asked Claude Tag whether a fix was already underway, and it opened a PR. Code Review found no blocking issues, a docs reviewer approved it, Claude Approvals passed, and the fix merged that evening. Automation did not bypass humans—the documentation change still went through human sign-off.

Once the policy file is merged into the default branch, Approvals activates on connected repositories, though organization Owners can turn it off. Beyond the organization restrictions noted in Section 2, Approvals also cannot be enabled under FERPA or Access Transparency configurations. In observe mode, classifiers and policy-triggered Code Reviews still incur usage billing.

## 6. Two Entry Points: Local `/ship` and Org-Level Configuration

Developers can try `/ship` directly on their own PRs first.

Once your changes are ready, run `/ship` inside Claude Code. It can commit and push code, open a PR, review the diff, and then continue watching for review comments and failing checks to bring the PR to a mergeable state. In the standard flow, the developer still performs the final merge, subject to their permissions and the repo's branch rules. If auto-merge is enabled on the PR, fixes pushed during the watch phase may satisfy the merge criteria and let GitHub merge automatically. `/ship` counts toward regular Claude Code usage. The docs require Claude Code v2.1.330 or later—and given watch limitations in earlier versions, v2.1.331 or newer is recommended. GitHub repositories also require GitHub CLI 2.63+ (installed and authenticated) and git 2.38+. The command must be run in a local clone and is not available in cloud sessions.

Locally, there is also `/steward`, for when a PR is already open and you do not want to run a review first—it only watches comments and failing checks. It is a Claude Code command, separate from the repo-enabled PR Steward that pushes fixes from cloud sessions.

`/ship` and the org-level Claude Ship configured per repository are two distinct paths. The docs describe `/ship` as a Claude Code command that uses local `/code-review` and keeps following the PR within the current session. According to the announcement, it is rolling out gradually in Claude Code and the desktop app starting on launch day.

Admins can enable Claude Ship per repository so it runs automatically on team PRs without developers manually invoking `/ship` each time. The docs suggest turning on one component at a time, starting with a single repository: Code Review first, PR Steward in Manual mode, and Approvals in observe mode. It works with existing branch protection and required checks. Admins can also configure review depth, when reviews trigger, and usage caps for Code Review and PR Steward.

## 7. My Take

What stands out in this design is the explicit separation of permissions across review, fixes, and approval. After a PR is opened, whether code merges still comes down to review results, approval policies, and repository branch rules.

A few engineering questions remain worth watching closely.

First, model-based review and policy rules do not have the same reliability guarantees. Code Review can miss bugs or raise false positives, and Claude Approvals' natural-language classifiers can misjudge risk. For sensitive areas like authentication, authorization, billing, and security configuration, explicit path rules, mandatory human sign-off, and independent automated checks remain essential.

Second, automated fixing creates a feedback loop. A fix can resolve the original issue while introducing a new bug, triggering another round of review and repair. Teams need to watch iteration counts, token spend, and when to stop automated fixes and hand off to a human. All checks passing is still not a proof of correctness.

For teams evaluating it today, the prudent rollout is to enable Code Review first, pilot PR Steward in Manual mode, and run Approvals in observe-only mode for a while. Before turning on automated approvals, verify that review conditions, human approval requirements, CI checks, and GitHub branch rules work together as intended.

The broader point from Anthropic's interview report still holds: even if the PR stage gets faster, requirements, testing, releases, and product decisions can become the next bottlenecks. Measuring Claude Ship's real value means tracking end-to-end delivery lead time, human review overhead, defect rates, and revert rates—not just how fast PRs get merged.

## Closing

Once coding agents make writing code faster, the stretch between opening a PR and merging it starts determining how quickly and safely software ships. Claude Ship breaks that stretch into review, fixes, and approval, giving each piece only the permissions it needs.

How far it goes is still up to each team: how policies are written, which changes require a human signature, and which GitHub checks are mandatory. Tools can accelerate the pipeline, but the team's own rules still guard the merge button.

## References

- [Introducing Claude Ship](https://claude.com/resources/articles/introducing-claude-ship)
- [Working with AI](https://www.anthropic.com/research/working-with-ai)
- [Claude Ship (Product Page)](https://claude.com/product/claude-ship)
- [Claude Ship (Docs)](https://code.claude.com/docs/en/claude-ship)
- [Code Review](https://code.claude.com/docs/en/code-review)
- [PR Steward](https://code.claude.com/docs/en/pr-steward)
- [Work with PR Steward on a pull request](https://code.claude.com/docs/en/pr-steward-pull-requests)
- [Claude Approvals](https://code.claude.com/docs/en/approvals)
- [Get a pull request ready with /ship and /steward](https://code.claude.com/docs/en/ship-command)
- [How the Claude Code team does code review](https://claude.dev/blog/solving-code-review-at-anthropic/)

