← In the News

The /ship guide says where Claude Code's post-PR agents need a trusted repo

A practical guide to shipping with Claude Code · Addy Osmani, writing for the Claude Code team · claude.dev, November 24, 2026

Machine-readable Download Markdown

The guide covers the three Claude Ship agents: Code Review, which is generally available, and PR Steward and Claude Approvals, both in beta. The entry point is /ship, a command a developer runs in their own Claude Code session. It commits pending changes as if git add -A had run, opens the PR, reviews it, and then watches the PR for up to seven days, working on failing checks, conflicts and review comments until the PR is merged or closed. It will not commit files that set rules, such as CLAUDE.md, REVIEW.md, .claude/ and .github/, or files whose names look like secrets. During the watch it pushes at most three times for a given issue, then reports what it tried to the author.

The trust section is direct. The watch merges the base branch into the PR when needed and then runs commands such as the test suite, on the developer's machine and quota. Osmani puts the consequence plainly: "anyone who has the ability to land changes on the base branch has the ability to run commands on your machine during the watch." The guide says to run it only on repositories where everyone who can land changes is trusted. Commits and pushes made during the watch skip the repository's git hooks, so any check that must hold belongs in CI and branch rules.

For teams, the guide walks through an approval policy in .claude/approvals.yml, starting in observe mode, where the check reports what it would have decided and approves nothing. Two cautions stand out. "Claude's approvals count as real approvals on GitHub," so a ruleset that needs one approval can be satisfied by Claude alone. And with auto-merge on and a policy only the author can fulfill, "you can have PRs that get merged without anyone doing anything." A policy that names Code Review can also start billed reviews even where Code Review is turned off.

Why it matters: This is vendor documentation for a vendor product, but its caveats apply to any agent that maintains PRs unattended. The base branch becomes a path to running code on the machine that hosts the agent, and an agent's approval can quietly satisfy a one-approval rule. Read the approval policy and the branch rules together before anything leaves observe mode.