Analysis Architectural governance 10 min read

Claude Ship: Who Checks the Architecture Behind AI-Approved Code?

Claude Approvals lets a model approve pull requests under a team's policy. Its conditions can't read CI results, and Anthropic says to keep CI as its own required check. That is where a check on the team's architecture decisions belongs.

What Anthropic shipped

On November 23, 2026, Anthropic announced Claude Ship, a set of three agents that work on GitHub pull requests (PRs). In Anthropic's words, it "can review PRs, fix them, and decide what's ready to merge based on policies each team sets." It is available on Claude Team and Enterprise plans, for repositories on GitHub.

Approvals is the new part. Code Review already existed, and we looked at how the Claude Code team runs code review in October. With Approvals, a model can now be one of the approvers that GitHub counts. That raises a question for engineering leaders: when Claude approves a change, what has been checked, and what has not?

What Claude Approvals decides, and what it cannot see

An Approvals policy is a list of rules. Each rule names paths and says how many people a change to them needs, and whether Claude may approve. Anthropic calls each required approver a seat: a rule with two seats needs two people. A rule can also carry a condition. According to the Claude Approvals documentation, a condition can read two things:

The same page then says: "A condition can't read CI results, so keep CI as its own required check in GitHub." CI is continuous integration, the pipeline that builds and tests every PR. Approvals does not look at whether your tests passed. It counts approvals.

The Claude Approvals check blocks a merge only where you make it a required check in GitHub. The page on Approvals and GitHub rules lists cases where a PR can merge with nobody but its author looking at it: a rule with one seat, which the author can fill; a machine user (a GitHub account that a script or agent drives), which Approvals counts as a person; and files that no rule covers. A condition that reads a classifier's answer is on that list too, because the PR's own text can steer that answer.

Approvals answers one question well: has this change been approved by the people, or the model, that the team's policy requires? Whether the change respects the architecture the team decided on is a different question, and Anthropic leaves it to your other checks.

An approved change can still break a decision

Code Review is the closest thing in Claude Ship to an architecture check, and Anthropic states its limits. By default, its documentation says, it "focuses on correctness: bugs that would break production." A review works from the diff and the surrounding code without building or running anything, and a review with no findings "doesn't mean your code is error-free or secure." By itself, a review neither approves nor blocks a PR.

Here is a hypothetical, for illustration only. A team decided two years ago that the orders service never imports the billing service's internals; it calls billing's public API instead. The decision lives in an architecture decision record (ADR), a short document that records one decision and why it was made. An agent working on a refund ticket adds a direct import from billing's internal module. The code is correct. The tests pass. Code Review finds no bug, because there is none. The policy lets one approval through when Code Review passes, so Claude approves, and the PR is ready to merge.

Each step in that chain did its job. No step knew about the orders-and-billing decision, and none tested the change against it with a rule that gives the same answer on every run.

Anthropic's advice to keep CI as its own required check leaves room for that step. A required status check is a check, such as a CI job, that a GitHub branch rule says must pass. Until it does, the PR cannot merge, whatever any approval says. An architecture-decision check is one such check. It sits beside the Claude Approvals check and answers its own question.

The remediation agent and the files that define your checks

PR Steward adds a second consideration. Its job is to turn a red PR green. Per the PR Steward documentation, when a check fails it "attempts a fix when the cause is in code that the pull request touches."

Anthropic limits what it can do. The page on what PR Steward can access says Anthropic's service refuses its requests to approve a PR, change branch protection, rulesets or statuses, write check runs, delete a branch or push tags. Merging and force-pushing are left to GitHub's branch rules. The same page says what the app can be granted: read and write on contents, and on github.com, write on workflows, "which lets PR Steward push changes to workflow files."

Files in the repository define most checks: the CI workflow that runs it, and whatever configuration or rule files it reads. The PR Steward pages describe what it works on and what the service refuses. They do not describe a rule that stops it from editing those files to make a failing check pass. We have no evidence that it does this. The guardrail is yours to configure, and Anthropic's docs show how:

A related point, about the agent's own instructions rather than your checks: PR Steward reads its instruction files from the default branch, and Approvals runs policy and classifier definitions from the default branch, never from the PR. The trust boundaries in our Code Review analysis explain why that choice matters.

Where Mneme fits

Mneme is an open-source tool that enforces a team's architecture decisions on code changes, once each decision is written as a rule. It works at two points in this flow: before the PR exists, and as an independent CI check.

Mneme compiles your ADRs into one file in the repository, .mneme/project_memory.json, which it calls the memory file. A decision is enforced only when it has an active rule that a machine can check, such as an exact piece of text that must not appear in code, optionally limited to certain paths. A decision without such a rule blocks nothing. If an ADR states its rule under a ## Constraints heading, the rule is active as soon as the ADR is imported.

Before the PR. In Claude Code, the Mneme plugin's hook refuses an Edit, Write or MultiEdit call that breaks an active rule, before the file changes. Most other shell writes are checked when the agent ends its turn, after the file is written, and the agent is sent back to fix it. The hook fails open by default: if the check cannot run, the edit goes through. A repository can opt in to refusing those direct edits instead. Set up Mneme with Claude Code and CI walks through both parts.

In CI. The CI job runs mneme check on every text file a PR adds or modifies, and fails the PR when one breaks a decision with an active rule. The verdict names the decision. In the refund example, a rule that forbids billing's internal module path as exact text in the orders service would fail that PR whether Claude, PR Steward or a person wrote it. Deleted files, binary files and pushes that skip PRs are not covered. Like the Claude Approvals check, it blocks a merge only where you make it a required check. Set up Mneme in CI only has the GitHub Actions workflow.

We have not yet run Mneme alongside Claude Ship. What follows from the documentation is configuration, not a tested integration: GitHub requires every required check to pass, so a branch rule that requires both the Claude Approvals check and the Mneme check holds a PR until both pass. One reports who approved; the other reports whether the change respects the decisions with active rules. Mneme enforces those encoded rules. It does not verify that a whole system conforms to its architecture.

Mneme's own check has the exposure described above. Its CI job reads the memory file and the ADRs from the PR's checkout, so an agent that can edit those files, or the workflow, can change what the check enforces. The protection is the same one Anthropic recommends for its own files: put them behind required owner review.

What to configure before you turn on Claude Approvals

Each item below is a GitHub or Approvals setting, not a product claim.

  1. Keep CI separate and required. Add your test and architecture-decision jobs as required status checks in a branch ruleset, as Anthropic's docs advise. A failing check that is not required is only a red mark.
  2. Protect the files that define your checks. Name owners in CODEOWNERS for .github/workflows/, your decision files (for Mneme, .mneme/ and your ADR directory), and the CODEOWNERS file itself, then turn on required review from code owners. Add an Approvals rule for the same paths whose seats exclude the PR's authors (written "!pr/authors" in the policy file), so no account that wrote, pushed or opened the change can be the one who approves it.
  3. Check the bypass list. Keep the Claude GitHub App, and any agent's token, off every ruleset bypass list.
  4. Tie approvals to a commit. Turn on Dismiss stale pull request approvals when new commits are pushed or Require approval of the most recent reviewable push, so an approval of one commit does not carry over to a later push.
  5. Start in observe mode. Run the policy with mode: observe and compare what it would decide with what your reviewers decided, before it counts.

Frequently asked questions

What is Claude Ship?+
Claude Ship is a set of three Anthropic agents for GitHub pull requests, announced on November 23, 2026: Code Review, which is generally available, and PR Steward and Claude Approvals, which are in beta. It is available on Claude Team and Enterprise plans for repositories on GitHub.
Can Claude Approvals read CI results?+
No. Anthropic's documentation says a policy condition can read facts about the pull request and classifiers' answers, but not CI results, and advises keeping CI as its own required check in GitHub.
Does the Claude Approvals check block merges?+
Only where you make it a required check in GitHub, and normally not in observe mode. Your branch rules decide what merges. Claude's approving review can also count as the one approval a GitHub branch rule requires.
Can PR Steward change workflow files?+
On github.com, the Claude GitHub App installation can grant write on workflows, which Anthropic says lets PR Steward push changes to workflow files. Anthropic's service refuses its requests to approve pull requests or change branch protection, rulesets or statuses. Protect workflow and policy files with code owners and required review.
How does an architecture-decision check work beside Claude Approvals?+
As a separate required status check. GitHub requires every required check to pass before a merge, so a pull request that Claude Approvals passes still waits on a failing decision check. The two answer different questions: who approved the change, and whether it respects the team's recorded decisions.