> ## Content Index
> Fetch the complete content index at: https://blog.netpy.in/llms.txt
> Use this file to discover other available public pages before exploring further.

# Anthropic lets an agent approve your PRs. Read the bypass list
- URL: https://blog.netpy.in/claude-ship-agent-approvals/
- Published: 2026-11-24T02:42:52.000Z
- Updated: 2026-11-24T02:42:52.000Z
- Description: Claude Ship hands the approval decision to a YAML policy file. Anthropic's own docs list nine ways a pull request still merges with nobody watching.
- Author: Netpy Technologies
- Tags: AI, Agents, Dev Tooling, Security, Engineering

Anthropic announced Claude Ship on 23 November: three agents that carry a GitHub pull request from "opened" through review, fixes and the approval decision. TechCrunch led with the approval part, correctly. Code review bots are not new. An agent that posts an approving review on your behalf, because your team wrote a policy file, is.

That shifts where authority sits. The authority is now a text file in a repository, and files can be wrong in specific, testable ways. Anthropic's documentation is unusually candid about them.

## The three agents

- **Code Review**, generally available. Reads a diff against the surrounding code, verifies findings adversarially, ranks by severity, posts inline. Each repository picks Quick, Standard or Deep.
- **PR Steward**, beta. Works failing checks, merge conflicts and review comments, pushes commits, and after each push comments what changed and how to undo it. `@claude stop` makes it stand down. Anthropic says it is designed not to approve or merge.
- **Claude Approvals**, beta. A GitHub check that reports who still has to approve, read from `.claude/approvals.yml` on the default branch. Anthropic calls it a smarter CODEOWNERS file.

Anthropic reports that on its own Claude Code team, merged pull requests more than doubled between June and September while the share reverted fell by more than 40 percent. Directional evidence, not a measurement of your repositories.

The policy is ordinary YAML. The starter file asks two people for every change, one when Code Review passes, and two for the review rules themselves:

```yaml
version: 1
mode: observe
rules:
  - paths: ["**"]
    verdict: { claude: comments, seats: 2 }
    override:
      - if: "claude/code_review = pass"
        verdict: { claude: approves, seats: 1 }
  - paths: ["**/.claude/**"]
    nested: inherit
    verdict: { claude: comments, seats: 2 }

```

The evaluation model is the part to internalise. Every changed file is matched against rules; the strictest verdict wins, and `blocks` outranks `comments`, which outranks `approves`. Seats come from people lists where `"!pr/authors"` drops authors and a named login drops a machine account. `max_age` expires stale results, which then fail the check.

## The check only blocks if you make it block

Observe mode is the recommended first step, and it ends neutral — which GitHub counts as passing. It is also billed, so the default pilot spends money and gates nothing. Enforcing is a four-step move with an ordering trap: delete the `mode: observe` line, comment `@claude approvals rerun` on every open pull request, then require the check in GitHub. In the other order, open pull requests carry a passing check that no longer reflects the policy.

## Nine ways a change still merges with nobody watching

Anthropic publishes a page titled "Merges without human review". As a list, it is the best security review of the feature you will get:

1. The check is not required in GitHub. Without that, Approvals writes an opinion.
2. `seats: 0`. A pull request written by a bot can merge with no person involved.
3. `seats: 1`. On a pull request opened by someone with write access, the author fills that seat, unless it came from a fork.
4. A `from` list that admits bots, or a machine user — an account an agent drives — filling a seat meant for a person.
5. `reuse` settings that keep seats filled after a new push.
6. Files no rule covers. The neutral "Nothing ran" result counts as passing where the check is required.
7. A condition that reads a classifier. The docs say that answer "is one that a pull request's text can steer".
8. A push straight to the default branch, which never gets a check.
9. Auto-merge or a merge queue with a policy that asks for nobody beyond the author.

A tenth, softer failure: Claude's approving review is tied to one commit, and GitHub keeps counting it until dismissed. Turn on stale-approval dismissal, or an approval for commit five quietly covers commit six.

## Item seven is a security bug wearing a config-file costume

A rule like `if: "claude/risk = low"`, where the classifier reads the pull request body, makes attacker-supplied prose an input to an authorisation decision. Same class of problem as any agent that reads untrusted text and then acts. Better policy wording does not fix it; refuse to let a steered signal be the only gate on authentication, migrations, infrastructure, billing and `.claude/` itself. Name a person, exclude the author, exclude the machine account.

## For teams that review other people's code

Most delivery work is several client repositories with different risk appetites, not one team with one main branch. That is where a policy file beats CODEOWNERS — one file per repo, versioned, diffable, reviewed like code — and where the bypass list matters most, because nobody watches the gate a client's branch rules forgot to require.

Setup details that cost real money: PR Steward has no spend limit of its own until you set one, and Approvals bills for classifier runs and for any Code Review a policy condition triggers, on top of Code Review's own limit. Self-hosted runners — we run this kind of thing at [NetPyCloud](https://cloud.netpy.in/?ref=blog.netpy.in) — also need their git identity off the ruleset bypass list.

## Checklist before you enforce

1. Require the Claude Approvals check in GitHub before trusting its verdict, and rerun it on open pull requests at the switch.
2. Ban `seats: 0`, and never use `seats: 1` on a protected path. Use `from: [humans, "!pr/authors", "!your-bot-login"]` there.
3. Turn on stale-approval dismissal in GitHub; approvals should not survive a push.
4. Keep the Claude GitHub App and any runner identity off the bypass list.
5. Treat classifier conditions as advisory for auth, migrations, infra and billing.
6. Set the Code Review limit and the Approvals limit separately, and watch the first month of observe-mode spend.
7. Review `.claude/approvals.yml` in its own pull request under the two-person rule, every time it changes.

The tool is not the hard part. The hard part is deciding, per repository, which lines of code an agent may ever approve alone — and then making GitHub, not good intentions, enforce it. Across a portfolio of client codebases that is the kind of [delivery engineering](https://netpy.in/?ref=blog.netpy.in) we do every week; a policy file is only as good as the branch rules behind it.

---

*Header photo:* [*WOCinTech Chat*](https://www.flickr.com/people/136629440@N06?ref=blog.netpy.in)*,* [*CC BY 2.0*](https://creativecommons.org/licenses/by/2.0/?ref=blog.netpy.in)*, via* [*Wikimedia Commons*](https://commons.wikimedia.org/wiki/File:Wocintech%5F%28microsoft%29%5F-%5F61%5F%2825926639341%29.jpg?ref=blog.netpy.in)*. Illustrative image.*