The Second Key
Claude's approving review can now meet a GitHub one-approval rule. What Claude Ship does, what an approval means when a model gives it, how to roll it out without losing your two-person rule, and my bets.
In March, when Anthropic launched Code Review, it said: "It won't approve PRs — that's still a human call". In October, describing how the Claude Code team reviews its own code, Anthropic's engineers wrote: "An agent's approval never counts as a person's, either." On November 23 the docs for Claude Ship say: "Claude's approving review can meet a GitHub branch rule that requires one approval."
Claude reviewing pull requests isn't new. Claude holding the second key is. A YAML file in your repository now decides when it does.
| ⚡ | What launched. Claude Ship (beta): three GitHub agents (Code Review, generally available; PR Steward and Claude Approvals, in beta) for Team and Enterprise plans, plus a What to do first. Start in observe mode, keep a human who isn't the author on anything that matters, and protect the files the docs say are not protected for you. |
| 🚀 | Start here: your first 1. Check the repo. It's on github.com and isn't a fork; 2. Update. Claude Code v2.1.330 or later, GitHub CLI 2.63 or later, git 2.38 or later, signed in to both. Claude works under your name. 3. Open the CLI in your local clone. Cloud sessions, 4. Read your diff, run 5. Let it watch. Keep the session open and the branch checked out. For up to seven days it works on review feedback and failing checks. 6. Merge it yourself. In unattended turns Claude Code blocks the commands that merge, approve, turn on auto-merge or force-push. If a PR is already open, |
What actually shipped
Claude Ship is a bundle, and only one part of it approves. Anthropic describes that part in one line: "It works like a smarter CODEOWNERS file."
Three details from launch day matter before anyone turns it on.
A merge switches Approvals on. An admin enables Code Review and PR Steward per repository, but Approvals starts when a connected repository has a policy file on its default branch: "anyone who can merge a policy file into the default branch can turn Approvals on." An Owner can block it globally.
PR Steward's merge guard is softer than its approval guard. Approving is refused by Anthropic's service. Merging, auto-merge and force-push are left to GitHub's branch rules, plus Claude Code's permission rules and auto mode's check, and the docs admit that "a command that's written another way can pass both." Their advice: keep the Claude GitHub App off every ruleset's bypass list.
The announcement and the docs don't fully agree. The announcement says "/ship is rolling out in Claude Code and the desktop app starting today"; the /ship docs say to run it "from the Claude Code CLI in a terminal" and don't mention the desktop app. The agents are Team and Enterprise only, but the plan table has no row for /ship itself, so whether it works on Pro or Max isn't stated. And the docs require v2.1.330, whose changelog entry doesn't mention /ship; my guess is that it's switched on server-side.
Why it exists
Review became the bottleneck as AI started writing more of the code. Anthropic's own numbers show the volume, and they are vendor numbers about Anthropic: changes landing per day in its monorepo went from about 2,500 in May to more than 30,000 in September. On the Claude Code team, "where Claude's review is one layer of a broader process", merged PRs more than doubled from June to September while the share reverted fell by more than 40%.
Outside data points the same way, also mostly from vendors. Faros AI, which sells engineering analytics, puts median time in review up 441.5% between its customers' lowest and highest AI-adoption periods, and PRs merged with no review at all up 31.3%. Google's DORA 2025 report says AI adoption "does continue to have a negative relationship with software delivery stability" even as it's associated with higher throughput.
Research on agent PRs argues for keeping judgment in review. METR had maintainers look at test-passing agent PRs from SWE-bench Verified, and roughly half wouldn't have been merged, about 24 points below the automated grader. METR is careful not to call this a fundamental capability limit. It does show that "the tests pass" and "a maintainer would accept this" are different bars. An approving agent sits exactly on that gap.
What an approval means now
Read the three quotes at the top again. The October line hasn't been broken, exactly. Inside the policy file, people and Claude are counted separately: seats counts people, and claude: is Claude's own verdict. What moved is GitHub's counter. The approval that branch protection checks can now come from an agent.
The product also ships a process Anthropic described for itself in October. Its low-risk tier required no person: "None required once automated review and security checks are green", and its stated goal was for most Claude Code PRs to "merge with at most one human in the loop, who can be the author". Claude Ship makes that model available to customers. The docs add two caveats.
- "[T]he author alone can meet
seats: 1." A seat is a person, and the author is a person. To exclude authors you write[humans, "!pr/authors"]. - "The field starts no review, so where the rule reads no classifier, Claude can approve a change that no review has read."
claude: approvesgrants permission; it doesn't read the code. That takes a classifier such asclaude/code_review.
Anthropic's starter policy attaches the review, which is good: "A change takes two people. When Claude's review passes, one is enough and Claude approves." With default seats, that one can be the author. In practice: you write the change, Claude reviews and approves it, you merge it. For low-risk paths that can be a sensible policy. It isn't a two-person rule.
In Don't Let the Safecracker Grade the Job I argued that the evaluator should be independent of the worker. In process terms Claude Ship gets close: Approvals is a separate agent, and Code Review verifies its findings adversarially. On GitHub it's less clear. PR Steward acts as the Claude GitHub App, which the docs describe as "shared by every Claude feature that integrates with GitHub", and the launch screenshot shows the approval posted by "claude [bot]". The docs require a second "Claude Approvals GitHub App" only for PRs that claude[bot] opened, and don't say which app posts approvals in the normal case. So the agent that pushed the fix and the agent that approved it may carry the same identity. I can't confirm it from the docs. Check the first approvals after you leave observe mode, and test GitHub's setting that requires approval from someone other than the last person to push on a PR that PR Steward pushed last.
GitHub has been here before. In 2022 it added a setting to stop GitHub Actions from approving PRs, to protect "against a user using Actions to satisfy the 'Required approvals' branch protection requirement". Today, when Copilot's coding agent opens a PR, the requester's approval doesn't count, and a ruleset setting in public preview, on by default, adds one extra required approval to Copilot PRs opened under its own app identity. That design treats an agent's authorship as a reason to require more human approval, not less.
How it compares
Claude isn't the first AI reviewer whose approval can count. Copilot code review got there earlier this autumn.
The docs I could find for OpenAI Codex, Gemini Code Assist, Jules and Graphite Agent don't mention approving. That shows those pages are silent, not that the products can't.
Claude's design is stronger on expressiveness: people counts per path, team lists, author exclusion, classifier overrides, and "strictest wins" when rules conflict, against Copilot's path glob and toggle. It also has built-in protected files, and custom classifiers run with read-only GitHub access and can't see CLAUDE.md, AGENTS.md, .claude/ or .mcp.json in their code copies.
It's weaker on defaults. Copilot and Greptile dismiss their own approvals on a new push; Claude's docs tell you to turn on GitHub's "Dismiss stale pull request approvals when new commits are pushed". Copilot approvals are off by default and blocked at the enterprise level by default; Claude Approvals starts when someone merges a YAML file. GitLab made the most conservative choice: its bot can block, but it can't count.
The risks that matter
Prompt injection through PR text. The docs say it plainly: "A pull request's author's text can steer a classifier's answer." There's precedent. Researchers reported a crafted PR title steering Claude Code Security Review (SecurityWeek, April 2026). A malicious .mcp.json in a PR enabled code execution in the Claude Code GitHub Action (CVE-2026-47751, fixed in 1.0.74). Microsoft showed the same action could expose CI secrets through untrusted issue and PR text, since mitigated in Claude Code 2.1.128. Read-only classifiers limit what an injected classifier can do; they don't stop it from voting wrong. As I argued in The Agent Is Already Inside, the defense has to live outside the model: human seats, a required check and branch rules.
Files that aren't protected. The docs warn: "Don't rely on other files being protected", and name .github/, CLAUDE.md, AGENTS.md and .mcp.json. Those are the files that control CI and agent behavior. The Nx compromise of 2025 started in a pull_request_target workflow. And a change to a protected file normally needs only "at least one person with write access. That person can be the pull request's author, and isn't a bot". That guarantees a human, not a second human.
Merges nobody acted on. "If you use GitHub auto-merge or a merge queue with a policy that doesn't require a person's approval, a change can merge without anyone acting." And "A push directly to the default branch gets no check. Require pull requests there in GitHub."
/ship runs on your credentials. The watch uses your gh and git sign-ins and "could merge a pull request that your repository's branch rules let you merge without another person's approval." The sharpest line in the docs: "Run a watch only where you trust everyone who can merge to the base branch or push to your branch. Any of them can run programs on your computer with your credentials." A seven-day watch on a laptop is a long-lived agent with your identity and a feed of other people's text.
Who can loosen the policy. Anyone who can merge to the default branch, a repository admin (by un-requiring the check), anyone who can bypass the rules, and an Owner of the Claude organization. The policy is only as strong as that group.
Separation of duties. NIST SP 800-53 AC-5 frames it as dividing functions "among different individuals or roles". The revised SOC 2 criteria apply to reports issued after December 31, 2027; according to the audit firm Schellman, they add AI-specific points of focus but no AI-specific criteria. I found no auditor guidance on AI approvers. The launch screenshot shows a "Decision record" ID on each decision, but the docs I read don't describe retention or export. My read: if you're audited, your evidence is the human seat who isn't the author, not Claude's review.
A rollout I'd defend
1. Decide who can switch it on. Since a merged file turns Approvals on, an Owner can use "Block globally" until you're ready. The prerequisites: the Claude GitHub App installed and linked, two people with write access, and a paid GitHub plan for private repos, which you need to require the check.
2. Enable the agents in the documented order: Code Review, then PR Steward, then Approvals. Set spend limits; "PR Steward has no spend limit of its own until you set one", and repositories added from the admin page start at "After every push", the setting that runs the most reviews.
3. Run Approvals in observe mode with a policy in this shape. It uses only syntax from Anthropic's published examples; I haven't run it, so check it against the policy reference.
# .claude/approvals.yml
version: 1
mode: observe
rules:
- purpose: "Code: two reviewers who aren't the author, or one of them plus Claude when its review passes."
paths: ["**", "!docs/**"]
verdict:
claude: comments
seats:
- { count: 2, from: [humans, "!pr/authors"] }
override:
- if: "claude/code_review = pass"
verdict:
claude: approves
seats:
- { count: 1, from: [humans, "!pr/authors"] }
- purpose: "Docs: Claude approves when its review passes; the author stands behind it."
paths: ["docs/**"]
verdict: { claude: comments, seats: 2 }
override:
- if: "claude/code_review = pass"
verdict: { claude: approves, seats: 1 }
- purpose: "Review rules, CI and agent config: two people who aren't the author."
paths: ["**/.claude/**", ".github/**", "**/CLAUDE.md", "**/AGENTS.md", "**/.mcp.json"]
nested: inherit
verdict:
claude: comments
seats:
- { count: 2, from: [humans, "!pr/authors"] }The idea: on code, Claude can replace the second reviewer, never the only one who isn't the author. Agent and CI configuration gets two outsiders because the docs won't protect it for you, and because the strictest verdict wins, that rule tightens anything the first one also covers. Observe mode "posts its decision but approves nothing"; use it to check that the globs match root-level files, that every file is covered, and what the reviews cost.
4. Configure GitHub before you leave observe mode.
- Require pull requests on the default branch.
- "require no more than one approval in GitHub, and ask for more people in
seats." - Turn on dismissal of stale approvals.
- Make "Claude Approvals" a required check. Without it, your seat counts block nothing.
- Keep the Claude GitHub App off every bypass list.
- Keep auto-merge and merge queues off any path where the policy needs no outside person, including
docs/**above.
5. Know your off switches. Per repository: delete every policy file from the default branch. Organization-wide: turn the agents off in reverse (Approvals, then PR Steward, then Code Review), because a policy can start billed reviews. /ship and /steward stay on; managed settings switch them off with "skillOverrides": { "ship-local": "off", "steward": "off" }, and a deny rule on Bash(git push *) stops the pushes.
The fine print
- Cost. Billed on tokens through the organization's usage credits, "separately from your plan's included usage". Code Review "has no flat per-review price"; in March Anthropic said preview reviews generally averaged $15–25, which may be outdated. A policy that uses Claude's review triggers a billed Code Review even in observe mode. If you turn off usage credits, "an agent that's on keeps running and billing your organization." Eligible Enterprise organizations can claim $10,000 to $50,000 in credits until January 15, 2027; terms apply, and organizations that claimed the earlier Code Review offer are excluded.
- Where it runs. GitHub only; no GitLab or Bitbucket. Approvals works on github.com, including GitHub Enterprise Cloud.
- Where it doesn't. Not with Zero Data Retention, the HIPAA configuration or customer-managed encryption keys; Approvals also can't start with FERPA or Access Transparency settings.
My take
A policy in the repo, a check GitHub can enforce, hard-coded refusals and a list of protected files are the right shape: controls that sit outside the model. Anthropic's own image alt text is honest about the rest: "Claude Ship uses AI and may miss bugs, security vulnerabilities, or other issues."
The defaults lean toward speed. The two-person rule now depends on your configuration, not on a product guarantee, and I expect many teams to copy the starter policy, which accepts the author plus Claude.
So: use Claude Approvals to collapse two human reviews into one reviewer who isn't the author, plus Claude, on ordinary code. Let the author plus Claude suffice only on paths where a bad merge costs an edit, not an incident. Anything that changes how your code gets reviewed, built or run gets two people who didn't write it.
My guesses, dated so you can check them:
- By March 31, 2027, Anthropic's Approvals docs will describe how decision records are retained or exported.
- By June 30, 2027, Claude Approvals will be labeled generally available.
- By June 30, 2027, a public advisory or research write-up will show prompt injection in PR text flipping an AI approver's verdict to "approve".
- By December 31, 2027, GitHub will add a ruleset option that requires at least one human approval no matter how many app approvals a PR has.
If the third happens before the fourth, teams that kept a non-author human seat will have paid in review time, not in a merge that rested on Claude's approval alone.