Independent AI intelligence Two editions daily · ET
Fervor AI

Analysis · November 24, 2026 · concept

Claude ApprovalsClaude Shipclaude-codeagent-securityagent-harness

Claude Approvals Turns Pull Request Sign-Off Into a YAML File. Guard It Like Production Code

Claude can now approve your team's pull requests. The rule that lets it lives in one file, and whoever controls that file controls what merges.

Almost every software team has a rule about who signs off on code. Two reviewers for billing, one for docs, the security lead for anything touching auth. Very few teams ever wrote that rule down anywhere a machine could read it. It lived in habits, in a CODEOWNERS file nobody updated, in the senior engineer who always happened to look.

That gap mattered less when people wrote every line. It matters a lot now that agents write most of them, because review has become the slow part.

On November 23, Anthropic moved the sign-off rule into a file. Claude Ship includes a new agent called Claude Approvals that reads a policy at .claude/approvals.yml and decides who still has to approve a pull request. Where your policy allows it, Claude posts the approving review itself.

The result is faster merges. It also means the most sensitive file in your repository may now be a twenty-line YAML document. This piece walks through how that file works, the specific ways it lets code merge with no second person reading it, and a safe way to roll it out.

What Claude Ship added, in plain terms

A pull request (PR) is a proposed change waiting to be merged into the main code. GitHub's branch protection decides what has to happen before it merges: passing tests, a number of approvals, sometimes a review from a named owner listed in a CODEOWNERS file.

Claude Ship puts three agents around that moment, according to Anthropic's docs:

  • Code Review reads the change and posts findings on the lines concerned. It is generally available.
  • PR Steward works on failing checks, merge conflicts and review comments, and pushes fixes. It is in beta and is designed not to approve or merge.
  • Claude Approvals checks the PR against your policy and reports who still has to approve. It is also in beta.

Anthropic describes Approvals as working "like a smarter CODEOWNERS file." That comparison is the whole story. CODEOWNERS says who must look. Approvals can also say when nobody else needs to.

It runs on Team and Enterprise plans for repositories on GitHub, and it is not available to organizations with Zero Data Retention (an arrangement where Anthropic keeps no copy of your prompts), the HIPAA configuration or customer-managed encryption keys.

How the policy file works

Think of the policy as a door rule for each room in a building. Each rule names some files, then says how many people have to badge in before the door opens, and whether Claude is one of the people allowed to hold it open.

Here is the starter policy from Anthropic's policy file reference:

# .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 }

Four keys do most of the work:

  • paths picks the files a rule covers. ** means every file.
  • seats is how many people have to approve.
  • claude is what Claude does: approves (can post an approving review), comments (reviews but never approves) or blocks (the check fails no matter who approves).
  • override swaps in a different verdict while a condition is true, here "Claude's code review passed."

When several rules match a file, Approvals takes the strictest verdict. That is why the second rule exists: changes to anything under .claude/, including the policy itself, still need two people.

Two details are easy to miss. mode: observe means the check only reports what it would decide; delete the line to enforce. And a policy only takes effect once it is merged into the default branch. While a policy change sits in an open PR, the rules on the default branch decide for that PR.

The line in the starter policy worth rereading

Look at the override again: when Claude's review passes, the rule drops to one seat and Claude approves.

The reference is explicit about who can fill that seat: "the pull request's author can count as one person." The author doesn't even have to click anything: an author with write access fills that seat automatically. So under the starter policy, once enforced, a PR that passes Claude's review needs no approval from another person, and Claude can then post its own approving review. No second person.

That might be exactly what your team wants for test fixtures and typo fixes. It is a strange default for billing code.

Here is the mental shift. The old question after a bad merge was "who reviewed this?" With Approvals, the useful question is "which rule said nobody had to?" Approval stops being a habit and becomes a file. The file is now what a hurried teammate, a confused agent or an attacker will try to change.

Five ways a PR merges with only its author looking

Anthropic's docs list these openly, on the Approvals overview and the GitHub rules page. In plain words:

1. The check isn't required. Approvals only blocks a merge if you make "Claude Approvals" a required status check in GitHub's branch protection. Normally it doesn't block in observe mode either.

2. The seats are too low. With seats: 1, the author can fill the seat. With seats: 0, a PR a bot wrote can merge with no person involved.

3. "Humans" includes agents. In a people list, humans covers every person, and the docs say a machine user, meaning "a user account that a script or an agent drives, counts as a person." If your CI bot or a coding agent runs under a regular GitHub account with write access, it can fill a human seat. And if a seat's list admits Claude through bots or everyone, the reference says the check "can then pass with no person's approval."

4. Claude approves with nothing reviewed. A rule with claude: approves starts no review by itself. The policy reference warns that Claude "can approve a change that no review has read." Tie Claude's approval to claude/code_review = pass, as the starter policy does.

5. A classifier reads text the PR author wrote. Conditions can read a classifier's answer, such as a model's judgment of how risky a change is. The GitHub rules page calls that "one that a pull request's text can steer." If a policy uses that answer to relax what a PR needs, text written by the author to sound harmless can weaken the gate. Treat it as a prompt-injection risk aimed at your merge gate.

Two more from the same page: a direct push to the default branch gets no check at all, and Claude's approving review can satisfy a GitHub rule that requires one approval. If you use auto-merge or a merge queue (GitHub's feature that lines up approved PRs and merges them in order) with a policy that doesn't require a person, the docs say "a change can merge without anyone acting."

None of this is hidden. It is listed by the vendor, in the docs, today. It is also the kind of list most teams skim.

Who gets to change the rules

The docs answer this in one sentence: "anyone who can merge a policy file into the default branch can turn Approvals on." An Owner of the Claude organization can turn it off for everyone.

So your GitHub permissions are now your approval policy's permissions. If ten people can merge to main without review today, ten people can rewrite who has to review tomorrow. The starter policy's second rule helps, because it asks for two people on any .claude/ change. That only works once the policy is enforced and the check is required.

Put this into practice

The lowest-friction path takes about an afternoon and costs some tokens. Here is the order that follows the setup guidance and closes the gaps above.

Step 1: Check your GitHub settings before writing YAML. On the target repo, open Settings, then Branches (or Rulesets), and confirm three things for the default branch: pull requests are required (so direct pushes are blocked), auto-merge is either off or you know exactly who uses it, and "Dismiss stale pull request approvals when new commits are pushed" is on. Anthropic recommends that last setting because Claude's approving review sits on one commit and GitHub can keep counting it.

Step 2: Start with a stricter policy than the starter. For sensitive paths, use the non-author rule from the GitHub rules page and keep mode: observe for now:

# .claude/approvals.yml
version: 1
mode: observe
rules:
  - purpose: "A change takes one person who isn't an author."
    paths: ["**"]
    nested: inherit
    verdict:
      claude: comments
      seats: [{ count: 1, from: [humans, "!pr/authors", "!acme-ci"] }]
    advisory: [claude/code_review]
  - purpose: "A change to the review rules takes two people."
    paths: ["**/.claude/**"]
    nested: inherit
    verdict: { claude: comments, seats: 2 }

Replace acme-ci with the login of any machine user that has write access. "!pr/authors" keeps the author out of the seat. advisory: [claude/code_review] keeps automatic code reviews running, which stop by default on files a policy covers unless a rule names claude/code_review.

Before you enforce the .claude/ rule, make sure at least two people with write access can approve, or policy changes will get stuck. Then, only for paths where you are comfortable, add a narrower rule that lets Claude approve after a passing review, such as paths: ["**/test/fixtures/**"].

Step 3: Merge it and watch. In observe mode, each PR gets a check whose title starts with "(observe mode)" and says what the policy would have required, such as "Waiting on human review from any person (1/2)." Claude also comments with the reasons. Read those for a week or two. Look for PRs where the policy would have passed with fewer people than your team actually used.

Step 4: Set spend limits. Observe mode is billed. Code Reviews and classifier runs that a policy starts are charged by tokens against usage credits. Admins can set spend limits for Code Review and PR Steward, so set them before you widen the rollout.

Step 5: Enforce, then require. Delete mode: observe, then add "Claude Approvals" as a required status check in branch protection. If GitHub also requires approvals, the docs suggest requiring no more than one there and putting larger counts in seats, or a PR can stay blocked after the Approvals check passes. If you use a merge queue, rerun the check on open PRs that were only observed before queueing them.

Step 6: Treat edits to the file like edits to auth code. Add the policy path to CODEOWNERS for your security or platform lead, and read every diff to it.

Honest limitations

Approvals is in public beta, launched November 23, so expect the keys and defaults to change. Pin your understanding to the reference page, not to a blog post, including this one.

A condition cannot read CI results, so your test suite has to stay a separate required check in GitHub.

The cost is open-ended. It depends on how many PRs you cover, the review level (Quick, Standard or Deep) and how often reviews rerun. Observe mode, the "safe" phase, still bills.

It is GitHub-only, organizations with Zero Data Retention, HIPAA or customer-managed keys can't use it, and FERPA or Access Transparency settings stop it from starting. That is a large share of the regulated teams who most want written approval rules.

And the big one: Approvals makes your approval rule explicit. It does not make it good. A loose policy enforced by a reliable machine merges loose code very reliably.

Where this leaves you

You don't have to turn Claude Approvals on to get value from it. Writing the policy in observe mode forces a conversation most teams have dodged for years: which parts of this codebase actually need a second person, and who decided that?

If you do turn it on, the work is mostly not in the YAML. It is in your branch protection, your machine-user accounts and the short list of people who can merge to main. Get those right first. Then let Claude hold the door on the rooms where you would have waved someone through anyway.

Sources: Introducing Claude Ship (Anthropic, November 23, 2026); Claude Ship docs; Claude Approvals overview; Policy file reference; Approvals and your GitHub rules. Docs read November 24, 2026.