HOW-TO GUIDE15 min read

How to Set Up Claude Ship PR Steward in CI/CD

A practical setup guide for letting PR Steward repair pull requests while keeping merge decisions inside your existing controls.

P
PADISO teamPublished 2 Nov 2026

Claude Ship PR Steward can monitor pull requests, investigate certain CI failures, resolve merge conflicts and address review comments by pushing commits to a branch. To use it safely, first harden GitHub branch protection, then start with a small manual pilot, capped spend and approval policies in observe mode.

This guide covers the setup from repository readiness through production rollout, drawing on our AI strategy and solutioning experience with engineering teams. It reflects the product details available in December 2026. Before acting, check the official PR Steward documentation and Claude Approvals guide, as product interfaces and entitlements can change.

What does Claude Ship PR Steward do in a CI/CD workflow?

PR Steward is a cloud-hosted agent that responds to GitHub events. According to official PR Steward pull request documentation, it can watch an open pull request, investigate an eligible failed check, resolve a merge conflict or respond to an open Important review finding. When it makes a repair, it pushes a commit under the claude[bot] identity. It does not run on a developer’s machine.

It is one of three parts introduced in the Claude Ship platform, not a replacement for your delivery controls. Code Review inspects code and reports ranked findings. PR Steward attempts bounded changes. Claude Approvals evaluates repository policy and reports an approval decision. GitHub branch protection remains the enforcement point for required checks and human review.

That separation matters. An agent that can change a branch is a contributor, not an independent approver. Anthropic says PR Steward’s service layer cannot call GitHub merge or approval APIs, bypass branch protection, delete branches or force-push. Your team still needs to decide what can merge, what checks are mandatory and who is accountable for a change.

For broader guidance on where agents belong in an operating workflow, see our AI agents and automation service. Treat the setup below as a controlled change to your engineering system, not as a one-click productivity feature.

What should you have ready before enabling PR Steward?

Do the groundwork before connecting the agent. A clear baseline makes it easier to spot whether a repair is safe, whether the policy is working and whether the agent is touching the right work.

Confirm plan, organisation and repository eligibility

As of December 2026, Claude Ship is available to Claude Team and Enterprise organisations, not the personal Pro or Max tiers. The feature is unavailable to organisations configured for Zero Data Retention, HIPAA or Customer-Managed Encryption Keys. Confirm these constraints with your Claude organisation owner before planning a pilot.

Usage comes from pooled organisation credits and is separate from seat licence costs. Admins and owners can set an organisation-level monthly limit for PR Steward, with a separate repository-level cap available in the Claude Ship console. A Claude organisation can enable PR Steward for up to 256 connected GitHub repositories. These are product constraints, not recommended initial rollout targets.

Choose a low-risk pilot repository

Choose a repository with maintainers who can review changes promptly and a CI pipeline that gives useful, repeatable feedback. Avoid starting with the most sensitive codebase or a repository where failed checks are routinely caused by external services, flaky tests or unrelated infrastructure.

Write down the repository’s current workflow before changing it:

  • Which checks are required before merge?
  • Which branches are protected?
  • Who can approve a pull request?
  • How are failed builds triaged today?
  • What kinds of changes must always receive human review?
  • How do you roll back a bad commit?

You do not need a perfect process to start. You do need a baseline that helps your team distinguish a useful repair from a change that merely turns a check green.

Agree on ownership and stop conditions

Name an engineering owner for the pilot. They should be able to change GitHub rules, Claude Ship settings and the approval policy, and should know who to contact if the agent behaves unexpectedly. Tell maintainers how to stop a run and how to report a questionable change.

Agree on the pilot’s boundaries in writing. For example, decide which repository and users can trigger the agent, what monthly spend is acceptable, what paths require human review and what evidence is needed before moving from manual to automatic starts. These are local controls. Do not assume the agent’s default behaviour matches your organisation’s risk tolerance.

How to set up Claude Ship PR Steward safely

Follow these steps in order. The important sequence is to secure the merge path first, connect the tool second, observe policy decisions third, and only then consider autonomous operation.

1. Harden GitHub branch protection first

Before granting an agent permission to push commits, configure rulesets for your protected branches. At minimum, require the status checks that represent your real build and test requirements. A green result should mean the change passed your existing verification, not just that a narrow repair task completed.

Enable dismissal of stale pull request approvals when new commits are pushed. This matters because PR Steward may add a commit after a person has reviewed the earlier version. The reviewer should be asked to consider the updated diff rather than having an old approval remain valid by default.

Review branch protection bypass permissions. Make sure claude[bot] is not on a bypass list. The design goal is simple: the bot may contribute a commit, but it should not be able to make that commit exempt from the same merge rules that apply to other changes.

Check that required checks are stable and named consistently. A check that appears under different names across workflows can be difficult to require reliably. Confirm that your protected branch has the intended checks selected, and test the rule with an ordinary pull request before enabling the agent.

Do not weaken existing rules to make the integration easier. If your current controls are too broad or inconsistent, fix those first. For more on platform boundaries and delivery design, see our platform engineering service.

2. Connect GitHub and Claude Ship with limited scope

Sign in to Claude using an Owner role and open Organization settings > Claude Ship. Connect the relevant GitHub organisation and install the Claude GitHub App with repository-scoped permissions. Select only the repository needed for the pilot rather than granting access across every repository by default.

Check the requested permissions during installation. Confirm that the selected repositories and permissions match the intended use. Keep a record of which GitHub organisation owner approved the installation and which Claude organisation is paying for usage. This makes later access reviews and cost investigations easier.

Add the pilot repository to Claude Ship. The supplied setup guidance recommends keeping Code Review at the Standard tier for the pilot. Configure PR Steward to Manual mode, so a maintainer must explicitly trigger it rather than having it start on every eligible pull request.

Under Runs for, choose Listed users only and name the senior tech leads who will test it. Set a fixed repository spend cap. The research notes give $100 per month as an example for an initial pilot, not a universal budget recommendation. Choose a cap that fits your own risk and usage expectations, and also configure the organisation-level limit.

3. Define a default-branch policy file

Claude Approvals reads .claude/approvals.yml from the repository’s default branch. It does not take its governing policy from a pull request branch. That is an important protection against a pull request changing the rules that evaluate itself.

Create the file on the default branch and start with mode: observe. In this mode the status check reports what the policy would decide without blocking merges. Keep the first policy small enough for maintainers to understand and audit.

Here is an illustrative starting point based on the supplied product guidance:

version: 1
mode: observe

rules:
  - purpose: Infrastructure and approval rules require two human approvals
    paths:
      - .github/**
      - .claude/**
      - infra/**
    verdict:
      seats: 2
      claude: blocks

  - purpose: Core domain logic requires senior human review
    paths:
      - src/payments/**
      - src/auth/**
    verdict:
      seats: 1
      claude: comments

  - purpose: Safe paths can be auto-approved when Code Review passes
    paths:
      - docs/**
      - tests/fixtures/**
    conditions:
      - claude/code_review = clean
    verdict:
      seats: 0
      claude: approves

This is an example, not a policy to copy without review. Check the Claude Approvals documentation for supported syntax and behaviour. Decide what counts as a protected path in your repository, and make sure the rules reflect the actual consequences of a change.

Be especially cautious with rules that permit automated approval. As analysis on Claude Code auto-approvals demonstrates, a path that looks low risk can still affect a release, test result or customer experience. Start by asking what a malicious or mistaken change in that path could do. If the answer is unclear, require a human seat or keep the policy in observe mode while you investigate.

4. Test with manual triggers and representative pull requests

Do not begin by turning on automatic watching. Ask an approved maintainer to trigger PR Steward manually with @claude steward on a suitable pull request. Use different examples over time: a relevant failing check, a merge conflict and an open review finding are distinct tasks, so success on one does not prove success on the others.

Watch the labels. PR Steward uses claude-pr-steward-watching while monitoring a branch and changes to claude-pr-steward-is-working when it is repairing, testing or pushing changes. The labels provide useful operational visibility, but they are not proof that a change is correct.

When a commit is pushed, inspect the diff as you would any other contribution. PR Steward posts a tracking comment with the commit SHA and the undo command git revert <SHA>. The revert command is a recovery aid, not a substitute for reviewing the change or understanding what it affects.

For each test, record whether the task was in scope, what files changed, whether the relevant checks passed, whether the repair was minimal and whether a maintainer agreed with the result. Also record cases where it correctly stopped rather than attempting a risky fix. A useful agent should know when to halt, not just when to act.

5. Review policy results while they are non-blocking

During observe mode, compare Claude Approvals’ hypothetical decisions with the reviews your team expects. Check whether each pull request matched the intended paths and conditions. Look for both false comfort, where a risky change appears to qualify for a permissive rule, and unnecessary friction, where a safe change is classified too strictly.

Use the review period to check edge cases, such as a pull request that changes files across several policy areas. Confirm how your configuration handles overlapping rules using the official policy documentation. Do not guess at precedence or assume that a particular rule wins unless the reference says so.

Keep policy changes on the default branch and review them like other sensitive configuration. Since that file controls approval behaviour, changes to .claude/** should themselves receive appropriate human scrutiny. The example policy requires two seats for that path for this reason.

6. Evaluate repair quality, not just whether CI turned green

A repair can make a check pass and still be wrong. Review the changed lines in context. Ask whether the fix addresses the cause, whether it changes behaviour outside the pull request’s intent, and whether tests cover the affected behaviour.

PR Steward’s stated repair scope is limited: it attempts to fix failing checks only when the failure originated in files modified by the pull request. By default, it works within files touched by the pull request. If the underlying cause sits elsewhere, it may report the issue and stop rather than edit unrelated code. That boundary is useful, but it does not mean every in-scope fix is safe.

For merge conflicts, inspect the result against both the pull request and the updated base branch. A conflict-free merge is not proof that business meaning was preserved. Review resolved code for assumptions about ordering, validation, permissions and data shape where those concepts apply to your system.

Treat review comments the same way. The agent can address open Important findings from Claude Code Review or human maintainers, but the author of the comment and the maintainer remain responsible for deciding whether the response resolves the concern.

7. Promote policy and merge gates deliberately

After the pilot, promote one control at a time. First decide whether your team is comfortable with PR Steward starting automatically for eligible pull requests. If so, change its start mode from Manual to On in repository settings, while retaining the listed-user or other appropriate scope if available.

Next, decide whether the approval policy is ready to enforce. Remove mode: observe only after maintainers have reviewed its decisions and corrected gaps. Then add the Claude Approvals status check as a required merge check in GitHub branch settings.

Do not switch both controls at once if you cannot tell which change caused a problem. Keep a short change record: who approved the promotion, what repository settings changed, what policy version was active and how to revert the configuration. Revisit the rules when the repository structure, review process or delivery risk changes.

8. Operate the integration after launch

Assign an owner to review usage, repository caps, organisation caps and access. Track the difference between a run that completed a useful repair and one that stopped, produced an irrelevant change or required substantial human correction. The product’s labels and commit comments help with traceability, but your team still needs an operational view of the work.

Make the stop procedure easy to find. Any team member with write access can stop PR Steward by commenting @claude stop or removing the claude-pr-steward-watching label. Review the official PR Steward troubleshooting guide for standard operational recovery paths. Include both actions in the repository’s contribution or incident guidance, and make sure maintainers know who can intervene.

Recheck connected repositories and user access periodically. Remove access that is no longer needed. Review caps after observing real usage rather than raising them automatically when a limit is reached. A cap is a control; it should prompt a decision, not an unexamined increase.

What should a staged rollout look like?

Use this sequence to keep decisions reversible. The timing depends on your codebase, review volume and ability to assess results. There is no fixed number of pilot days that suits every team.

Stage Configuration What to check before moving on
Prepare Harden branch rules, confirm eligibility, name an owner Required checks work and bypass rules are understood
Observe Connect one repository, set spend caps, use Manual mode and policy observe mode Access, labels, costs and hypothetical approval decisions are visible
Pilot Approved maintainers trigger selected tasks Repairs are relevant, minimal and reviewed; stop controls work
Expand Consider automatic starts for the pilot repository Team understands exclusions, escalation and recurring failure patterns
Enforce Remove observe mode and require Claude Approvals check Policy decisions match intended human review and branch rules block failures

The table describes a rollout pattern, not an Anthropic-mandated schedule. Keep a stage open until its checks are met. If the team cannot explain why a task ran, what it changed or why a pull request can merge, do not expand the rollout yet.

What can go wrong, and how do you control it?

A repair invalidates an earlier review

A new commit can make the previous review stale. Enable dismissal of approvals when new commits are pushed, and require the relevant human review again. Make this a branch rule rather than relying on maintainers to remember the sequence.

A pull request tries to influence its own approval policy

Claude Approvals evaluates the policy from the default branch, rather than trusting a policy change made in the pull request being assessed. Keep sensitive policy changes reviewed and merged through your normal protected process. Do not treat the out-of-band evaluation as a reason to make the policy file less carefully controlled.

The agent keeps trying to fix a failing check

The supplied product notes say PR Steward has internal cycle budgets and halts when it cannot satisfy task criteria within its boundary. You can also stop a run with @claude stop, remove the watching label or rely on the repository spend cap. Still, monitor activity rather than treating automated halting as your incident response plan.

The build fails for a reason outside the changed files

PR Steward is intended to attempt a repair when the failure originated in files changed by the pull request. If the cause is outside that scope, it may report the issue and stop. Make sure your CI logs identify the failing job and useful context; unclear logs make both human and automated diagnosis harder.

Someone assumes the agent can merge safely by itself

PR Steward cannot approve or merge a pull request through its service layer, according to Anthropic’s documentation. As engineering analyses on automated pull request checks and approvals highlight, automated systems still require human oversight at the gate. But this safeguard does not remove the need for branch protection. Check your own rules, required checks and bypass permissions. The merge path is only as strong as the controls you configure around it.

For a broader view of agent guardrails, evaluation and operational ownership, see our AI strategy and solutioning service. If your team is assessing production readiness across multiple workflows, our AI readiness test can help structure the discussion.

Common setup mistakes to avoid

  • Enabling automatic starts before testing manually. Manual triggering gives maintainers a chance to understand behaviour and review diffs before increasing the agent’s reach.
  • Treating the bot as an approver. It can push a change, but merge eligibility should remain governed by branch protection, required checks and your review policy.
  • Leaving old approvals valid after a repair commit. Dismiss stale approvals so people review the code that will actually merge.
  • Starting with permissive approval rules. Begin in observe mode and validate path matching against real pull requests before making the status check mandatory.
  • Applying a sample policy without adapting it. Your repository’s code boundaries and risk profile may differ from the example. Review every path and verdict.
  • Granting access across the whole GitHub organisation by habit. Scope the connection to the pilot repository and expand only when there is a reason.
  • Setting a cap without an owner. Decide who reviews spend alerts and who can approve a change to the cap.
  • Calling a green CI result a successful repair. Review the diff, intended behaviour and test coverage. A passing check is evidence, not a complete code review.
  • Forgetting how to stop the agent. Document @claude stop and label removal where maintainers can find them.
  • Ignoring product eligibility. Verify plan and compliance constraints before making the integration part of a delivery roadmap.

Where PADISO fits

We help engineering leaders assess where agents belong in a delivery workflow, define controls and move from a pilot to an operating model. Our AI automation team can work with your engineering and security leads to map the workflow, set review boundaries and plan the first controlled test. The first step is a short assessment of your repository protections, CI signals and intended scope.

Wrap-up: keep the agent inside a human-owned merge process

Claude Ship PR Steward is best introduced as a bounded contributor. Secure the GitHub merge path first, connect one repository with limited access, cap spend, use Manual mode and observe approval policy decisions before enabling automatic starts or mandatory policy gates.

Keep human accountability where it belongs: reviewers assess the resulting change, maintainers own policy, and branch protection enforces merge requirements. If you are setting up a pilot this week, begin with a branch-protection review and a single repository, then use the AI readiness test to identify the next practical step.

WANT TO TALK THROUGH YOUR SITUATION?

Talk it through with us. Thirty minutes, no slides.

P
Written by the PADISO TeamSydney-based technology leaders who build what they advise on. Seven years of fractional CTO, architecture and AI work for enterprise, government and private equity.

Keep reading

All posts →

Let's talk.

Tell us what you are weighing up, whether it is a build, a roadmap or a deal. You will leave the call knowing your next step.

Book a 30-min callhi@padiso.co