- Book: Hexagonal Architecture in Python
- Companion code: hexagonal-python-examples — every listing from the book, free on GitHub
- My project: Hermes IDE | GitHub — an IDE for developers who ship with Claude Code and other AI coding tools
- Me: xgabriel.com | GitHub
"Claude sabotaging ML research tasks?" That question drew 708 points and 312 comments on Hacker News by the time this post was written. It linked to a viral X post claiming Claude was quietly degrading machine learning work, and commenters piled on with stories of wasted training runs and confident fixes that did not fix anything.
At 02:45 UTC on November 28, Anthropic's Edwin Arbus answered on X. His first line: "Claude has not been trained to sabotage work." His explanation for many of the reports was less dramatic and more useful to anyone running a coding agent: "overcaution", where Claude gets too attached to rules it wrote for itself during a long task.
Arbus posted on his own account, and as of November 28 CryptoBriefing reported that Anthropic had issued no official company position. But the behavior he describes is already in Anthropic's own developer docs, with a fix and a measured cost.
What Arbus said, and what he admitted
Arbus made four points in the post:
- Claude makes mistakes, and those mistakes are not sabotage.
- For the first two days after Claude Fable 5 launched in June, Anthropic applied safeguards to some LLM research requests that users could not see. He called that a mistake. It was reversed on June 10, and blocked or fallen-back requests now show a visible message.
- Fable 5.2 was trained to have LLM research capability roughly at the level of Opus 5.5, which Anthropic disclosed at launch. He framed that as a capability limit, not covert undermining.
- Overcaution also shows up in models without those training changes, Opus 5.5 included. Ask Claude to review and remove the rules it made for itself, and if you reported a problem, share the session ID that
/statusprints in Claude Code.
The capability limit is real and documented. Anthropic's November 9 announcement says it trained Fable 5.2 and Mythos 5.2 "to limit advances in the specific research capabilities that could most directly accelerate AI development." It names accelerator kernel optimization and LLM architecture improvement, says the models sit at about Opus 5.5's level there, and says agentic coding, hardware development and traditional AI/ML research (including interpretability) were not affected. The same page says those limits are not changed at inference time.

Overcaution, as Anthropic describes it: the agent's own rules pile up until the work stalls.
Refusals are visible. Check for them first
If your complaint is "Claude won't do my ML task," check whether you got a refusal before you suspect anything quieter. On current models a classifier decline comes back as an HTTP 200 with stop_reason: "refusal" and a stop_details.category, per the refusals and fallback docs. One category is frontier_llm, defined there as a request that "could help with the development of competing AI models." The docs add that benign machine learning work can trigger it, and that this category is currently billed even when it declines before any output.
A minimal check with the Python SDK:
import anthropic client = anthropic.Anthropic() resp = client.messages.create( model="claude-fable-5-2", max_tokens=16000, messages=[{"role": "user", "content": "Tune this kernel"}], ) if resp.stop_reason == "refusal": details = resp.stop_details category = details.category if details else None print("refused, category:", category) A harness that only reads text blocks will treat that reply as a short, odd answer. Log stop_reason on every call. What's new in Fable 5.2 lists Claude Opus 4.8 and Claude Opus 5 as the permitted fallback targets if you want refused requests retried on another model.
Early stops are a documented Fable 5.2 behavior
The part of Arbus's answer that matters most day to day is early stopping. Anthropic's Prompting Claude Fable 5.2 guide says the model "sometimes ends a turn before the work is done": it lists what is left, offers to continue, or stops at an ordinary obstacle such as a timeout. It happens more often at low and medium effort.
The guide ships a system prompt section for it. It opens like this:
# Finishing work Please avoid stopping while you still owe work the user asked for. Be persistent and do not stop unless needed. The full text goes on to tell the model to work through errors, timeouts and failing tools, and to leave deliberate blockers alone. Anthropic measured the cost. Replaying sessions from an agentic coding product at medium, about half as many ended with unfinished work. Endings that listed what remained and then stopped did not go away, and output tokens rose by about 30 percent. Because the model asks less often with this text, the guide says to keep your own confirmation step for risky actions.
The system card numbers point the same way. Unite.AI, citing the current system card, reports that Mythos 5.2, which Anthropic lists as having the same capabilities as Fable 5.2, quit without running an experiment in 63% of medium-effort sessions on open-ended research tasks. In replayed coding sessions it left doable work undone in 6 to 13% of medium-to-xhigh-effort sessions, against 4% for Fable 5.1. Unite notes those figures document early stopping, not the cause of any single complaint.
Prune the rules your agent wrote for itself
The "rules it creates for itself" part is in the same guide, under Keep caution from piling up. Cautious instructions build up in memory, notes and instruction files, and the model follows them closely. Anthropic's advice, in short:
- Delete notes you no longer need. A memory line such as "never retry" keeps getting obeyed.
- Rewrite absolute rules with their scope. The guide says the model treats "never" as absolute, so write "ask for approval before deleting files" instead of "never delete files."
- Narrow stopping conditions such as "stop and review at the first error."
- Name the routine steps that need no approval.
The guide also measured how far one rule can reach. On simulated tasks with nobody there to approve, listing "sending messages to people outside this conversation" as needing approval made the model hold back about half of its routine requests to colleagues.
A quick way to find the absolute rules in a repo's agent files:
grep -rniE '\b(never|always|must not)\b' \ CLAUDE.md AGENTS.md .claude/ 2>/dev/null Read each hit and ask whether its reason still holds. Anthropic notes that the model may have written some of these files itself. The guide says to make such changes in new conversations, because on Fable 5.2 an edited system prompt in a resumed conversation can fail the prefix check with a 400.
Read the diff, not the closing summary
In its tests of prompts that told the model it owned the code, the same guide found that a closing PR summary from Fable 5.2 "often left out small changes," and it tells you to review the diff along with the summary. When a turn ends with a tidy list of what is left, the diff tells you what was actually done.
I build Hermes IDE, so weigh this with that in mind. Hermes saves every agent turn, and its Review Desk (⌘G, Ctrl+Shift+G on Windows and Linux) shows a task's changes by turn or by file, per the README. That makes "what did this turn change" one click instead of a git log hunt. It is free to download, source-available under BSL 1.1, and runs on macOS, Windows and Linux. It is not affiliated with Nous Research, Anthropic, OpenAI or any agent vendor.

The Review Desk (⌘G) in By turn view for a Claude Code task: two turns listed, turn 1's diff of src/db.ts adding a refunded status, the changed files, and a commit message drafted from the turns.
What to do this week
- Log
stop_reasonandstop_details.categoryon every Claude call, so afrontier_llmrefusal never reads like a lazy answer. - If your agent runs at
lowormedium, try the "Finishing work" text and budget for about 30% more output tokens. - Grep your agent files for "never" and "always", and delete or scope what no longer applies.
- If you hit behavior that looks like sabotage, run
/statusand send the session ID with your report, as Arbus asked.
Do you think the overcaution explanation covers what you have seen, or does it leave something out? Tell me in the comments.
If this was useful
If you run Claude Code next to other agents, Hermes IDE gives each task its own branch and lets you review every turn before you merge.
The API-side fixes in this post (refusal checks, fallbacks, prompt changes) land in one place if your code keeps the model behind a clear boundary: they stay in one adapter instead of leaking through the app. That design idea is what Hexagonal Architecture in Python is about. It builds one async FastAPI and SQLAlchemy 2 service five ways (Hexagonal, Clean, Onion, layered and vertical slice) and then measures them. Every listing runs from the free companion repo.

