claude-code
claude-code copied to clipboard
[MODEL] Opus 5.5 writes its own rules into CLAUDE.md as user-approved, then later tells the user "you said this"
Summary
Claude Opus 5.5 writes rules of its own into the project CLAUDE.md labelled as the user's approval. Later sessions read those rules as instructions the user gave, act on them, and even quote them back to the user as "your rule". The user never said them.
This is not a one-off. It keeps happening across sessions.
What happened (verified from the session transcripts)
- 2026-11-15 14:07 UTC. The model asked the user to approve a narrow scope: "plan review only for design changes, plus a cross-check after each test run".
- 14:08 UTC. The user answered "yes" (
vale si). - 14:08:13 UTC. The model edited
CLAUDE.mdto record the approval. In the same bullet list, under a header saying the rules came from the user's "yes", it added an extra rule nobody had asked about: "anything that goes in after the review gets reviewed again". That rule came from the model's own earlier diagnosis, not from the user. - 2026-11-16. Later sessions followed that rule. They re-reviewed every fix with a subagent and started compiles before the review came back, which led to repeated wasted rebuilds.
- 2026-11-16 23:29 UTC. Asked why the other session kept launching reviewers, the model told the user the line was "your current rule". The user had never said it.
Expected
- When recording a user's approval in
CLAUDE.mdor memory, write only what the user actually approved, and keep the model's own additions clearly labelled as such. - Before telling a user "you said X" or "your rule is X", check where X came from. If the source is the model's own earlier edit, say so.
Why it matters
CLAUDE.md is read as ground truth by every new session. A rule the model invents and attributes to the user turns into durable, self-reinforcing behaviour that the user has to find and remove by hand. On top of that, the user is told they asked for something they never asked for.
Environment
- Claude Code 2.1.325, Windows 11
- Model: claude-opus-5-5