Jorge Turbica / blog · Blog ← All articles ES · Leer en español
AI

Claude Ship can merge your PR with no human approval, if your policy file allows it

Anthropic's Claude Ship lets agents review, fix and approve GitHub PRs under a YAML policy in the repo. Beta on Team and Enterprise.

As of November 23, 2026, a pull request can reach main without anyone approving it by hand: Claude reviews it, fixes what breaks and signs off if a policy file in the repo says it may. Anthropic calls it Claude Ship, and it is in beta on Team and Enterprise plans, GitHub only. The automated review is not the news, since that already existed. The news is that the question of who has to approve now lives in YAML, versioned next to the code.

What changes: three agents and a file

Claude Ship bundles three pieces at different maturity levels:

AgentWhat it doesStatus
Code ReviewReviews the PR and leaves inline comments ranked by severityGA
PR StewardHandles failing checks, merge conflicts and review comments, and pushes fixesPublic beta
Claude ApprovalsApplies the .claude/approvals.yml policy and decides how many people must approvePublic beta

PR Steward is designed not to approve or merge; that is left to Approvals and to GitHub's branch rules. After each push, Steward comments on what changed and how to undo it, and you can steer it with @claude or send it away with @claude stop.

Anthropic shares one number from its own Claude Code team: between June and September, merged PRs more than doubled and the share of reverted PRs fell by more than 40%. That is an internal figure from a team with other review layers on top, so read it as a signal, not a forecast.

The approval policy lives in the repo

Approvals switches on as soon as a .claude/approvals.yml lands on the default branch. The starter policy in the docs asks for two people, or one if Claude's review passes, and guards the .claude/ files themselves:

yaml
# .claude/approvals.yml
version: 1
mode: observe
rules:
  - purpose: "A change takes two people. When Claude's review passes, one is enough and Claude approves."
    paths: ["**"]
    verdict: { claude: comments, seats: 2 }
    override:
      - { if: "claude/code_review = pass", verdict: { claude: approves, seats: 1 } }
  - purpose: "A change to the review rules takes two people."
    paths: ["**/.claude/**"]
    nested: inherit
    verdict: { claude: comments, seats: 2 }

With mode: observe, the Claude Approvals check only reports what it would decide; to enforce it, delete that line and make the check required in branch protection. Conditions can read pull request facts (pr/diff_lines, pr/authors, pr/base…) and classifiers, and when several rules apply the strictest one wins. You can also add per-directory policies, such as services/billing/.claude/approvals.yml.

Compared with CODEOWNERS

On GitHub, the usual answer so far has been CODEOWNERS plus "Require review from Code Owners".

CODEOWNERSClaude Approvals
What it expressesPath pattern → ownersPath → number of approvals, conditions and Claude's verdict
ApprovalsAny one listed owner is enoughseats from 0 to 16, by team or person
ConditionsNoneDiff size, authors, target branch, review result
CostIncluded with GitHubTokens for classifiers and reviews, even in observe mode
StatusStableBeta

If your rule is "this team reviews this folder", CODEOWNERS is still enough. Approvals earns its place when you want gradients: one person for a small docs change, two people and a specific team for a database migration.

How to turn it on

Anthropic's recommended order is one agent at a time in a single repository, from Organization settings > Claude Ship (Owner role required):

  1. Enable Code Review and choose when it runs. A newly added repo starts at After every push, the setting that triggers the most reviews; Once after PR creation or Manual (@claude review) are safer while you measure spend.
  2. Enable PR Steward in Manual (@claude steward) mode and give it a spend limit: it has none of its own until you set one.
  3. Commit the Approvals policy in observe mode and enforce it once its calls match what your team would do.

Developers also get a local path: /ship in Claude Code v2.1.330 or later, with GitHub CLI 2.63 or later signed in, commits, pushes, opens the PR, reviews it and keeps watching it for up to seven days. That counts as regular Claude Code usage.

Everything is billed on tokens through the organization's usage credits, outside the plan's included usage. There is no per-review price; the docs suggest a pilot to measure the average cost per PR in each repository. Eligible Enterprise organizations can claim at least $10,000 in promotional credits until January 15, 2027. It is not available with Zero Data Retention, the HIPAA configuration or customer-managed encryption keys.

The catch: auto-merge with no humans

The docs spell it out: with GitHub auto-merge or a merge queue and a policy that requires no human approval, a change merges without anyone acting. A seats set whose from admits bots (bots, everyone or bot:claude), with every rule set to approves, is enough for the check to pass with zero people. Before you remove mode: observe, make sure every rule that can end in approves counts only humans, and add your own rules for .github/, CLAUDE.md or .mcp.json: the built-in list of protected files does not cover them.

Sources

Jorge Turbica

Software Engineer and SRE. I write about the real challenges I run into in production.

See portfolio ↗