How Anthropic checks the code Claude writes before it ships

Claude Code verification at Anthropic includes tests, a fresh AI review and staged rollouts. Here's how to adapt the workflow for client work.

Published
Reading
6 min
Subject
Systems
Written by
Aleem Ul Hassan
A slate tile engraved with a code diff faces a smoked glass plate etched with the expected lead routing. One blue thread crosses both and snags where an enquiry with a missing territory could miss its CRM queue

Key takeaways

  • The roughly 90% figure is Anthropic's own estimate for the Claude Code team.
  • Run the build, lint and tests early, then exercise the user workflow against a business outcome your team defined.
  • Give a separate reviewer the change and the acceptance criteria, and have a named person approve changes with serious consequences.
  • Start a rollout with a small group. Agree on the signal that stops it, who can turn it off, and how to recover any affected records.

Anthropic says Claude writes and reviews roughly 90% of the Claude Code team’s code. Claude Code verification starts with running the change. A separate reviewer checks the code, a person signs off when the risk calls for it, and a feature flag limits who gets the change first. Anthropic’s verification write-up

A lead form can show “Thanks, we got it” while the sales team gets nothing. We’d verify delivery at the CRM, where the sales team actually picks up the lead.

What does Anthropic’s 90% claim actually tell us?

Addy Osmani reported the roughly 90% figure on November 16, 2026, for the Claude Code team. It describes how much of that team’s code Claude writes and reviews. The post leaves the counting method unspecified, so use the figure as context for the workflow the team describes. Anthropic’s November engineering post

Anthropic’s October post adds a more useful signal for anyone running a delivery team. From June to September 2026, the team says merged pull requests more than doubled while the share it had to revert fell by more than 40%. Both numbers come from the team. The write-up leaves open how much any single check contributed. Anthropic’s October code review write-up

If you’re trying this on client work, track the changes you had to undo and the problems customers caught first. A rising share of AI-written code tells you about authorship. Those other numbers tell you where your checks need work.

What should you test before opening a pull request?

Start with the build, the linter and the relevant tests. Then run the workflow the customer will actually use. For a form that sends leads to a CRM, submit a sample enquiry in a test environment and check the destination record, including who owns it and what happens when delivery fails.

Anthropic says Claude runs tests, builds the software and runs the linter before opening a pull request. Osmani also points to end-to-end tests for whole workflows, property tests for rules that must always hold, and differential tests that compare old and new behaviour on the same inputs. Anthropic’s guide to verification tests

Start with the failure that would make the client call you. If the CRM accepts a lead but its reply times out, a retry should still leave one enquiry in the CRM. Write that outcome down before asking AI to implement or test it. How to send a lead form to a CRM without losing a row

How do you give an AI reviewer a fresh look?

Open a separate session for the first review. Give it the code changes, the expected behaviour and the test output. Keep the author’s working conversation out of that first pass. Ask the reviewer to point to the affected file and explain which user action or test would reveal the problem.

A cast-iron routing tray has three recessed bays labeled ‘Test submission’, ‘Retry after timeout’ and ‘One CRM record’, linked by engraved arrows from left to right. Matching enquiry slips sit in the first two bays, and one record card with a blue edge sits in the last

Anthropic uses a fresh-context reviewer before the pull request. Later rounds build on earlier findings. After a fix, give the reviewer the original finding and the updated change. Anthropic’s October review process, Anthropic’s November verification process

For the lead form, give the reviewer the agreed routing rule and ask it to trace where an enquiry goes if a territory is missing. Keep the rule in the project where the client can find it. Have the owner approve edits to the review rules or tests separately. As Osmani puts it, “If a change can modify the check that judges it, the check is broken.” Why Anthropic protects its review rules

When should a person sign off?

Put a name next to changes that affect money, access, customer records or how the system can be recovered. Give that person the expected outcome, the result from the running system and the fallback. Their decision should cover the current version of the change and the consequences if the team gets it wrong.

Anthropic says its Claude Code team can clear eligible low-risk changes with automated checks, while higher-risk tiers call for 1 or 2 people. It also brings in a human when a check still fails after 3 rounds. A small team can start by naming the person who knows the workflow and can judge a failure. Anthropic’s risk tiers, Anthropic’s escalation rule

For the lead form, the owner can confirm which team should receive an enquiry with an unknown territory. A test can prove the routing matches the rule. Someone who owns the sales workflow has to decide where those enquiries belong. How to set a merge policy for AI-written code

How do you roll out an AI-written change?

Enable the new behaviour for an internal group or one agreed pilot first. A feature flag is a switch that can turn the new behaviour on or off without another deployment. Before using it, agree on what you’ll watch, what stops the rollout and who has access to the switch.

A matte ceramic file sorter has three tabs labeled ‘Code changes’, ‘Expected behaviour’ and ‘Test output’, with lines leading to a slot marked ‘Separate review’. A single blue clip marks the slip emerging from the slot, labeled ‘Affected file and how to reproduce’

Anthropic says new Claude Code behaviour usually reaches its employees behind a flag before a broader release. Google’s SRE workbook describes how a limited rollout can expose behaviour that staging missed, and how to use those results to decide whether to expand it. Anthropic’s release process, Google’s guide to canary releases

For the lead form, compare accepted pilot submissions with the CRM records they produced. Stop if an accepted enquiry is missing or a retry creates a duplicate. Turning off the flag can restore the old path for new submissions. Give the owner a way to find and repair the records the pilot already affected.

Where should a small agency start?

Pick a single workflow the client cares about and write its release evidence into the pull request. Ask for the expected outcome, the result from a test run, the person who can approve it, and the action that restores service if something breaks. Keep that record with the project.

For the lead form, a useful entry is short enough to read while the release is happening.

What to record Lead form example
Expected outcome Each accepted test submission lands once in the right CRM queue.
Evidence A test submission, its matching sandbox record, and the result after a retry.
Approval The sales workflow owner confirms the routing rule and fallback.
Recovery Switch back to the old path and reconcile accepted pilot submissions with CRM records.

When a defect makes it through, add the check at the point where your team could have caught it. Put the tests, release steps and recovery instructions somewhere the client can run them after handover. What NexusPoint hands over

FAQ

What does Anthropic’s 90% figure cover?

Anthropic says Claude writes and reviews roughly 90% of the Claude Code team’s code. The engineering post gives a team-level estimate. It leaves the counting method and the share still reviewed by people unspecified.

Should AI write its own tests?

It can draft tests. Have the workflow owner confirm the expected result and review any change that weakens an existing check. For a bug fix, run the new regression test against the old code and confirm it fails for the reason you expect.

Do we need a different AI model for review?

Start with a separate session and clear acceptance criteria. Give it the code changes and test output without the author’s running commentary. A fresh session can still share the same blind spots, so ask for evidence and keep human approval where the impact calls for it.

Can a feature flag undo a failed release?

A flag can switch off the new path if the old one is still available. A repair plan handles side effects that already happened, such as duplicate records or messages sent to the wrong queue.

NexusPoint / Newsletter

New notes,
in your inbox.

Get new articles from The Connected Business, NexusPoint’s newsletter on websites, AI and automation. Practical lessons for agencies and founders. Unsubscribe anytime.

More about the newsletter

By subscribing, you agree to receive The Connected Business from NexusPoint by email. How we handle your information.

Your turn.Tell us what your team repeats.

A free 20-minute teardown. You leave knowing what is worth automating first, and what is not.