claude-code-main

Claude Ship: Should AI Agents Approve Your Code Changes?

Your agents now open more pull requests than your reviewers can read, and someone has proposed letting an agent click “approve.” Before you say yes or no, you need to know what that approval would be allowed to cover, who wrote the rule, and how you would find out it was wrong. (This scenario is hypothetical.) It is a governance decision more than a tooling one.

What Claude Ship changes: from review comments to approval authority

Automated code review is not new. What the announcement adds is delegated approval. Anthropic describes Claude Ship as a suite of AI agents for automating code reviews, fixes and approvals of routine code changes. Code Review is generally available, while PR Steward and Claude Approvals are in beta.

PR Steward focuses on failing CI checks, merge conflicts and feedback from Code Review. Claude Approvals then applies an approval policy that the team writes as a file in the repository.

The shift is in who decides. A review comment advises a human. An approval, under a policy your team wrote, can stand in for the human. That is why this belongs with your merge policy rather than your tooling backlog.

Why review becomes the bottleneck

Anthropic’s own account is that on the Claude Code team, Claude writes most of the code, and the team wanted everything after the PR to move that fast too.

Treat that as a vendor description of its own team’s usage, not independent evidence that the approach works elsewhere. It does point at a real constraint, though. If code production scales and human attention doesn’t, the queue grows at the review step, whatever tool you choose.

How the three components map onto a review workflow

This table pairs the reported roles with a typical flow. The “typical today” column is general practice, not a finding.

Stage Typical today With the Ship components
Author pushes Human or agent opens PR Unchanged
CI fails or conflicts Author fixes, re-pushes PR Steward addresses failing CI, conflicts and Code Review feedback
Review Human reads the diff Code Review, with a review setting such as Quick, Standard or Deep
Approval Human approves Claude Approvals applies the repo policy; teams choose which changes escalate to a human

Anthropic says teams remain in control of where Claude Ship runs, which review settings to use, and which changes are escalated to a human. So the rollout decision is mostly about scope: which repositories, which paths, which change types.

What to put in an approval policy (and what to keep human)

What is reported is narrow: policies are files in the repo, and escalation to humans is configurable. Everything below is my own editorial judgment, not Anthropic guidance.

A policy worth writing answers three questions in plain terms. What may be approved without a human? What must always escalate? What evidence must be present, such as passing CI or a clean Code Review result?

Prose is flexible but ambiguous. “Low-risk changes” means different things to different people, so name paths, file types and change categories. Where you can express a rule mechanically, such as “only files under docs/“, keep it in branch protection or CODEOWNERS as well. Ordinary rules-based automation is enough for that kind of check, and it is deterministic. An AI approver earns its place only on judgment calls a path rule can’t express.

Change type Suggested starting posture (my suggestion)
Documentation-only edits Auto-approve candidate, after observation
Dependency patch bumps with green CI Auto-approve candidate, after observation
Test-only changes Auto-approve candidate, after observation
Application logic in non-critical paths Observe-only
Authentication, authorization, payments Always human
Infrastructure and deployment config Always human
Database migrations Always human

“Auto-approve candidate” means eligible for a later phase, not approved by default.

Risks and quality-control questions

The material I reviewed says little about failure modes, so these are questions for Anthropic and your own team, not findings:

  • Policy ambiguity. Could two reasonable readers, or two runs, interpret the same policy sentence differently?

  • Correlated blind spots. If the author and the approver are the same model family, do they miss the same things? Does your pilot include a human or a different check that doesn’t share the weakness?

  • Untrusted input. PR content, comments and commit messages are attacker-influenced text. How does the approval path treat instructions embedded in a diff? I found no coverage of this.

  • Audit trail. Can you later show what the agent saw, which policy version applied and why it approved? Audit logging was not covered in what I reviewed.

  • Accountability. When a bad change merges, who owns it: the policy author, the repo owner, or the person who enabled the agent? Decide before an incident.

  • Existing controls. How does agent approval interact with required reviewers, CODEOWNERS and branch protection? Check whether it satisfies or bypasses them.

  • Rollback. Confirm that your deploy process can actually reverse a change quickly.

No false-approval rate or benchmark was available, and pricing and policy syntax weren’t covered either. Don’t assume numbers; measure your own.

A safe pilot: observe-only first

Anthropic suggests running the approval functionality in observe-only mode first; teams can also start with just one repository and set monthly spending limits. Claude Ship is rolling out to Claude Team and Enterprise plans for repositories on GitHub.

In observe-only mode, humans keep approving while the agent’s verdict is recorded alongside. After a few weeks you can compare. These metrics are my suggestions:

  • Time-to-merge, against a pre-pilot baseline.

  • Agreement rate between agent and human. Examine the disagreements, especially cases where the agent would have approved and the human requested changes.

  • Post-merge reverts and escaped defects.

  • Escalation rate: too high means the policy is useless, too low may mean it is too permissive.

  • Spend against the monthly cap. Reviewer time saved is capacity, not cash, unless you can show it changes headcount or delivery.

Who should wait

Readiness check (yes/no):

  1. We are on GitHub and on a Team or Enterprise plan.
  2. CI is reliable enough that a green build means something.
  3. We have written criteria for which changes need a human.
  4. Rollback is cheap and rehearsed.
  5. We have a baseline for review time and escaped defects.

If you answered no to the first, you can’t pilot at all. A no on items 2 to 5 means fix that first, because the pilot’s results will be unreadable without them. Two of the three components are in beta, so teams in regulated or safety-sensitive settings should keep qualified human approval on every change that matters and treat any agent verdict as one input, not a control.

Next step

This week, write the one-page policy your team would give an approver, human or agent: what can be approved alone, what always escalates, and what evidence is required. Then check Anthropic’s documentation for policy syntax, audit logging, pricing and security details before choosing the single repository for an observe-only pilot.

Frequently Asked Questions

What is Claude Ship?

It is a suite of AI agents for automating code review, fixes and approvals of routine code changes. Code Review is generally available, while PR Steward and Claude Approvals are in beta.

What does Claude Approvals do differently from a review comment?

A review comment advises a human, while an approval under a team-written policy can stand in for the human. That makes it a merge-policy decision, not just a tooling choice.

Which changes should still go to a human?

As a starting suggestion, keep authentication, authorization, payments, infrastructure and deployment config, and database migrations with human approvers. Documentation, test-only and dependency patch changes are candidates for later automation after observation.

How should a team pilot agent approvals safely?

Start with one repository in observe-only mode, where humans keep approving and the agent’s verdict is recorded alongside. Set monthly spending limits, then compare agreement, time-to-merge, reverts and escalation rate after a few weeks.

Who should wait before adopting it?

Teams not on GitHub or a Team or Enterprise plan cannot pilot it. Teams with unreliable CI, no written criteria for human review, or no rehearsed rollback should fix those first, and regulated settings should keep qualified human approval.

Can an AI agent approve pull requests?

Yes, under a policy your team writes, but treat it as delegated authority. Define what may be approved alone, what always escalates, and what evidence is required.

What should an AI code approval policy include?

Name specific paths, file types and change categories instead of vague terms like low-risk. State the required evidence, such as passing CI or a clean review result, and the changes that always escalate to a human.

Should deterministic rules replace AI approval for simple changes?

For mechanical checks such as docs-only edits, branch protection or CODEOWNERS rules are deterministic and sufficient. An AI approver earns its place on judgment calls a path rule cannot express.

What are the risks of AI agents approving code?

Key concerns are ambiguous policy wording, shared blind spots between author and approver, instructions hidden in untrusted PR text, missing audit trails, unclear accountability, and interaction with existing required reviewers.

What is observe-only mode for code approvals?

Humans keep approving while the agent’s verdict is recorded alongside. It lets you compare decisions and examine disagreements before granting any approval authority.

Which metrics show whether agent approvals work?

Track time-to-merge against a baseline, agent-human agreement, post-merge reverts, escalation rate and spend against the cap. Measure your own numbers rather than assuming any.

Add a Comment

Your email address will not be published. Required fields are marked *