Applied AI Notes · December 2026
Unsabotaging Claude
Several teams that build on Claude don't ask the model to be trustworthy. They give the final say to something outside the model.
Last week I argued that the debate over Claude "sabotaging" its users was aimed at the wrong layer.1 A frontier model is capable but not trustworthy on its own, so trust has to come from what surrounds the model: rules written for the project, checks the model cannot talk its way past, a person at the irreversible steps, and loops that turn each failure into a new check.
That was an argument, and the obvious next question is whether anyone actually works this way. Over 2026, Anthropic hosted fourteen webinars in which its own engineers and its customers, among them Outtake, Zed, ClickHouse, Warp, Notion and Stripe, showed how they build on Claude, and one pattern recurs across many of them.
The agent investigates and proposes, and something outside the model has the final say over a particular action: a test, the old system run on the same inputs, a repository rule, or a person with the authority to say no. Rules that have to hold every time tend to move out of the prompt and into the harness. Not every talk fits; some demonstrations end with the agent's diagnosis, and some use other models as judges.
These are mostly accounts and demonstrations, and the speakers were chosen by the company selling the model.2 Some speakers reported measurements on their own tasks. I use these examples to describe how teams work and treat the figures as the speakers' accounts; they show the direction practitioners are taking, which is not the same as proof that it works. With that caveat in mind, I'll take the pattern in three parts and end with what the pattern suggests for a single developer's setup.
The Agent Proposes, Something Else Decides
Legacy migration offers the clearest case. In Anthropic's webinar on modernizing COBOL, Morgan Lunt showed an agent converting an old banking program to Java, and at no point was the agent's own account of its work treated as enough.3 Each extracted business rule was shown next to the COBOL it came from. A rule could also be forwarded to the domain expert for confirmation, with the answer recorded on disk.
Both programs were then run on identical simulated transactions, and the two versions agreed. Lunt called the comparison an "equivalence proof". The interesting moment came when the agent found a rounding case in which a naive translation could have left accounts a few cents off. Rather than settle the question itself, the agent flagged the rounding convention for a person to confirm.
This is the pattern in miniature. The model did the expensive work of reading, extracting and translating. The old program supplied the comparison, and the agent asked whether its rounding convention was intended. The demonstration covered a single module, and the answer to the rounding question was not shown.
Anthropic's demonstration of Claude in an incident channel follows the same line, although in a fictional workspace.4 The standing instruction tells Claude to investigate when an alert fires, to propose a fix, and to merge nothing without a human approving it. According to Kevin Martin, the prompt is not what enforces this; the repository's review rules and the channel settings are. Because Claude works under its own service account, its actions also appear in each tool's logs as its own.
Notion described the same split from the side of permissions.5 Instead of one agent with broad access, the team built separate agents to investigate, to plan and to build, each with its own permissions. Who may trigger or edit an agent is set separately from which pages the agent may read. In their example many people can manage the investigator, but only a few manage the review agent.
Evals are probably the most general form of the idea. Jimmy Chan of Anthropic described treating each production incident as a candidate test. The test has to fail against the version with the bug, which shows it exposes the problem, before a person approves it into the suite.6 When a new model ships, his advice is to swap the model alone, keep the prompt, tools and harness fixed, and run the regression suite first; people then read the regressions and weigh quality, latency and cost before deciding whether to ship.
ClickHouse did a version of this.7 Ryadh Dahimene said the team replayed historical analytics conversations, many of them hand-labelled, and found comparable performance on those cases with a newer model. In neither talk does the model's own judgement settle whether the new model is good enough.
Rules That Must Always Hold Leave the Prompt
The most direct statement of the second part came from Jack Hayford, an engineer at Outtake, whose agents investigate malicious websites and the campaigns behind them.8 As their investigations ran longer, the agent drifted, lost track of what a good investigation looked like, and in one case did not even save the evidence.
For a problem of this kind, the natural fix is to add a line to the system prompt. That may work at first. In a long run, though, "prompts are suggestions", and he warned that any instruction in them will probably be ignored at some point. Outtake's answer was to identify the steps that must happen every time and to move them out of the prompt into the harness around the agent, so that the model no longer has to remember them.
Freedom was kept where judgment pays, in choosing which leads to follow, while orchestration above that choice was constrained. Runs also stop at a turn limit and return their findings and open leads, which leaves any decision about going further with the user.
Anthropic's own code review shows what tends to happen when such a rule stays in the prompt. Lunt described a period in which one agent found issues and another fixed them, back and forth overnight.9 Agents asked to find problems keep finding smaller ones, and some pull requests went through fifty or a hundred commits and drifted from what their authors intended.
Part of the fix was prompting, asking for all findings up front rather than one layer at a time, and most of their pull requests now converge within about three review cycles. By his account the tuning took weeks. In my own setup I would rather rely on a cap that stops a runaway review and surfaces whatever is still unresolved.
This is also what Anthropic's documentation recommends, as I noted in the grounding note: rules that cannot have exceptions should be enforced with hooks, deny rules or managed settings rather than with instructions in CLAUDE.md.1 What the webinars add is a set of teams arriving at the same place from their own failures.
Each Failure Becomes a Check
The third part is the loop. A failure that is only fixed may come back, whereas a test, a rule or a gate can catch a recurrence of the behaviour it covers.
Chan's eval workflow is the plainest version of this. Every incident and every support ticket is a candidate test, and a test that passes reliably graduates into the regression suite, where he recommends aiming for close to a 100% pass rate on each change.6 He also recommends a holdout set that the team never tunes against, so that the suite measures the agent rather than the team's own fitting to the suite.
In the Zed segment, Neel Chotai showed a saved run in which Claude wrote a fix and a test, then removed its own fix and reran the test to confirm that the test failed, before restoring the fix.10 He said he had not asked for this. The habit is a good one, but what makes it worth anything is that the test runner, not the model's description of its work, reports the failure.
Warp applied the loop to the agent's instructions.11 Zach Lloyd described it for code review: maintainers comment on the agent's output, and a second agent reads those comments and proposes an edit to the skill, delivered as a pull request. He demonstrated it on issue triage, where the proposed edit changed when the agent applied a label, and said a person would approve and merge it before the behaviour changed. He did not report a measured improvement afterwards.
Probably the weakest link in these loops is the person. Most of the designs above leave some decision to a human, and the condition from the grounding note still holds: a person is a check only if they have the time to be one. None of the talks says how much time reviewers had. Sudheer Anne, who leads engineering for Stripe Capital, reported monthly merged pull requests in his organization up about 60% from January to August, said the extra output means more reviews and decisions, and said burnout is among the things he hears most from his engineers and managers.12 A team that adds agents without adding review time may have quietly removed its last check.
What This Means for Your Setup
These teams used tests, comparisons, permissions or people to settle particular questions, such as whether two programs produced the same output or whether a change could merge. The model did the investigating, extracting and drafting.
For a single developer the translation is small. Write the project's rules down, turn the ones that must always hold into hooks, permissions or tests, and keep merges and deletions for yourself. When something goes wrong, add a check before adding a sentence to the prompt.
Whether Claude sabotages anyone is the wrong question; the useful one is what in your setup would stop the model if it did.
Notes
- "The Claude Sabotage Debate Isn't Just About the Model", Applied AI Notes, November 2026 (../grounding/). Anthropic, "Best practices for Claude Code", section "Enforce the rules that can't have exceptions". ↑︎
- All fourteen webinars were hosted by Anthropic, which chose the speakers. Most speakers are Anthropic staff or customers presenting their own product. Some speakers reported measurements on their own tasks. I use these examples to describe how teams work and treat the figures as the speakers' accounts. Speaker names follow Anthropic's event pages. Timestamps are approximate. ↑︎
- "Modernizing legacy code with Claude Code", 24 September 2026, Morgan Lunt, about 00:28 to 00:39. This was a demonstration on sample code, not a customer migration. ↑︎
- "Claude Tag on-call: A new teammate in your incident channel", 15 October 2026, Kevin Martin, about 00:09 to 00:22. The workspace and its tools are fictional. ↑︎
- "How to ship and scale agents with Claude Managed Agents", 16 July 2026, Eric Liu (Notion), about 00:31 and 00:54. ↑︎
- "Evals for AI agents: How product builders get the most out of every new model", 14 July 2026, Jimmy Chan, about 00:20, 00:35 to 00:37 and 00:41. ↑︎
- "Production-grade agents on Claude Sonnet 5: Live with Zed and ClickHouse", 13 July 2026, Ryadh Dahimene (ClickHouse), about 00:50. He reported comparable results with about 30% fewer tokens, without saying how many cases were replayed. ↑︎
- "Long-running agents: How Outtake built a cyber investigator on Claude", 28 April 2026, Jack Hayford, about 00:26, 00:33 and 00:41. The warning about instructions is his judgement about long runs. ↑︎
- "How the Claude Code team does code review", 18 November 2026, Morgan Lunt, about 00:12 to 00:14. He also reported more merged pull requests and fewer reverts after automating review; he gave no counts behind those figures, so I leave them out. ↑︎
- Same webinar as note 7, Neel Chotai (Zed), about 00:16. The run was recorded earlier that day and replayed. ↑︎
- "How Warp builds self improving agents on Claude", 13 May 2026, Zach Lloyd, about 00:09 to 00:28. ↑︎
- "AI as an engineering leadership multiplier", 8 October 2026, Sudheer Anne (Stripe), about 00:04 to 00:08. He reported the figure for his own organization and said the rise held, at a smaller size, after adjusting for headcount; he gave no counts. ↑︎
Use of AI tools
Claude (Anthropic) drafted this text under my direction, and a Codex model (OpenAI) checked the draft against its sources; I checked the claims and the final wording.