Urgent.News

What's breaking now, across hundreds of outlets.

AI

Claude Ship puts AI at the helm of pull request approvals

Tired of waiting for a meatbag to approve a change? Anthropic has an agent for that

Claude Ship puts AI at the helm of pull request approvals

Anthropic has unveiled Claude Ship, a new tool designed to review, correct and approve pull requests (PRs) using artificial intelligence. The innovative AI coding assistant combines the existing Code Review service with two beta agents: PR Steward and Claude Approvals. This automated workflow is now accessible to Claude Team and Enterprise customers utilizing GitHub repositories.

Anthropic's goal with Claude Ship is to keep up with the rapid pace of AI-generated code, allowing teams to ship code as swiftly as they write it. As the amount of AI code output surges, the need for efficient review and approval processes becomes increasingly critical. Claude Ship aims to address this challenge by automating more of the workflow.

PR Steward handles failing continuous integration checks, merge conflicts, and review feedback. Claude Approvals, on the other hand, has the ability to approve PRs based on a policy file written by the team within the repository. The AI can make routine changes on its own if the policy permits, or it can require deeper human intervention for more complex scenarios.

Anthropic advises caution: for most customers, it is recommended to enable Claude Approvals in observe-only mode before fully configuring branch protection. This allows teams to build confidence in the AI's capabilities before granting it the power to green-light changes. Developers can test Claude Ship on their own pull requests using a /ship command, while administrators can set up rules on a repository-by-repository basis.

Claude Approvals activates when a connected repository contains a policy file on its default branch and an administrator enables it. Teams can start with a single repository, choose a review level, set a monthly spend limit, and run their approval policy in observe mode until they feel confident in its effectiveness.

Despite the added automation, usage of Claude Ship comes at an additional cost. The service operates on a token-based system, and even observe-only approval policies can incur charges if they invoke classifiers or Code Review. Anthropic reminds users that Claude Ship uses AI and may overlook bugs, security vulnerabilities, or other issues.

An engineer from a company using Claude offered a skeptical perspective on the new tool, comparing it to existing practices like git merge or git rebase. The engineer emphasized the importance of retaining developer control and judgment, stating that offloading too much authority to Claude could lead to a loss of oversight. However, Anthropic acknowledges that the extent of Claude's authority is determined by the organization's configuration.

Approval is distinct from merging, and existing branch protections and required checks still apply. Ultimately, teams must decide which decisions they are willing to delegate to AI-powered assistants like Claude Ship.

Rewritten by urgent.news; may contain errors — check the original.

Source: theregister.com

Read the original at theregister.com →

Report a problem with this story

More in AI

More from Tuesday 24 November →