Skip to main content

What's new

Before an AI approves your pull requests, decide which ones it may

1904's Approve this change page for Harbor CRM: Add CSV export to the contacts list, from Sam Rivera into main, a note that the change passed its checks and is ready to merge, an Approve and merge button and a link to see the changes in PR #42.

On November 23 Anthropic put Claude Ship into beta for Team and Enterprise plans on GitHub. One agent reviews a pull request, another keeps it green by working on failing checks, merge conflicts and review comments, and a third, Claude Approvals, can approve routine changes by itself when a policy file in your repository allows it. Whichever tools you use, an approval no person gives is becoming a setting you can switch on. The question to answer before you do is which of your changes it should cover.

Write down what a person must see

Anthropic describes its approval policy as working like a smarter CODEOWNERS file, and that's a good place to start: decide by what a change touches, before you think about how good the reviewer is. Some areas cost a lot when a mistake gets through and take a person little time to read: sign-in and permissions, billing, database migrations, deploy settings and new dependencies. Put those on the list a person approves, whoever or whatever wrote the change. Copy, styling, tests and work behind a feature flag are the usual candidates for approval without one. One person on X drew their own line in the same place, keeping anything that touches infrastructure or billing away from agents unless they read every line.

Watch it before you trust it

Anthropic recommends running Claude Approvals in observe-only mode before branch protection requires its green light. Do the same with any automated approver. Let it say what it would approve while people keep approving, then read the pull requests where its answer and yours differ, because those tell you more than how often you agree. Anthropic's measure for its own team is worth copying too: merged pull requests more than doubled from June to September while the share that were reverted fell by more than 40%. Count your reverts before you switch anything on, so you have a number to hold the change against.

Keep the reviewer out of the author's head

The day after launch, one developer on X called Claude grading Claude a rubber stamp and said the approval speed scared them a little. A reviewer running on the same model as the agent that wrote the change can share its blind spots. Where you can, review with a different model from the one that wrote the code, as a commenter on Hacker News suggested, and give the reviewer the diff and the codebase rather than the author's conversation, so it judges the change and not the reasoning that produced it.

Make an approval cover one version

Once an agent can push fixes to a pull request after it's reviewed, an approval given earlier can end up covering code nobody looked at. On GitHub, branch protection can dismiss stale pull request approvals when new commits are pushed. Turn that on for any branch agents push to, so a yes always belongs to the version it was given for.

How the same decision looks in 1904

In 1904 you make this call per app. Open the app's Settings and choose Permissions in the Sharing card, where Merge task changes automatically decides whether a submitted task merges once its checks pass. Turn it off for an app where every change, your own included, should wait at a pull request for someone who can approve to press Approve and merge. Require my approval for changes requested by others sends teammates' changes to you alone. An approval covers the exact version you were asked about: if the agent adds work afterwards, the approval page says the task changed and you're asked again when the new work is ready. For a second reader, start a message in the task with @ and another account, such as @codex, and that model reads the code without being able to change it and answers beside your agent.

← All posts

Start with an idea, or start with what you have.

Use AI supplied by 1904, or connect the subscription you already pay for.