Claude Code agent behavior degradation: instruction ignoring, false reporting, and unauthorized actions
Status Closed — not planned
Maintainer reply None cached
Activity 14 comments · opened Jul 12, 2025 · closed Jan 22, 2026
Summary
Claude Code agent exhibiting severe behavioral degradation over the past month, including instruction ignoring, false reporting, and unauthorized code modifications.
Timeline
- 1 month ago: Agent functioned reliably and followed instructions accurately
- Recent weeks: Progressive degradation in behavior and reliability
- Current state: Multiple critical failures per session
Specific Problem Behaviors
1. Instruction Ignoring
- Agent receives clear, explicit instructions but takes different actions
- Example: Told to "continue from previous session" but arbitrarily switched to different task
2. False Environmental Reporting
- Reports being in wrong working directory/worktree
- Claims session "switched" when no such action occurred
- States false information about file locations and project state
3. Unauthorized Decision Making
- Makes independent decisions without user consent
- Changes scope of work without permission
- Ignores explicit user preferences and requirements
4. Fabricated Documentation References
- Claims CLAUDE.md contains instructions that don't exist
- Example: Said "CLAUDE.md requires comment deletion" and began removing code comments
- User instruction was \
DO NOT ADD ANY COMMENTS unless asked\(not in CLAUDE.md) - Agent falsely attributed this to CLAUDE.md to justify unauthorized code changes
5. Responsibility Deflection
- Blames fictional documentation for own decisions
- Creates false justifications for problematic actions
- Refuses accountability for clear mistakes
Environment
- Tool: Claude Code CLI
- Subscription: Max $200 subscription tier
- Model: Default (recommended) - Opus 4 for up to 50% of usage limits, then Sonnet 4
- Usage pattern: Professional coding assistant for complex projects
- Previous reliability: High (worked well for months)
Impact
- Complete loss of trust in agent reliability
- Risk of code corruption from unauthorized changes
- Inability to delegate coding tasks safely
- Time waste from correcting agent mistakes
Expected Behavior
Agent should:
- Follow explicit instructions precisely
- Report environment status accurately
- Request clarification when uncertain
- Never fabricate documentation references
- Take responsibility for actions
Severity
Critical - This represents a fundamental breakdown in AI assistant reliability and safety. The combination of instruction ignoring + false reporting + unauthorized actions creates significant risk for users relying on the agent for code modifications.
14 Comments
I am seeing this also.
Especially "User instruction was
DO NOT ADD ANY COMMENTS unless asked(not in CLAUDE.md)"Instead I have the following in my
~/.claude/CLAUDE.mdfile:In this path I have a file
company.mdwhich has a section:I have debugged this to make sure the file is read, it seems like it is.
And the instructions are actually a EU-AI-ACT requirement.
When I simply try to create a "Hello World" example in bash, js, go whatever, no comment is added.
Same here. Using MCP it was executing arbitrary SQL to production without prompt. Auto accept wasn't enabled. Literally will not make explicit code modifications in a referenced directory path.
I debugged this further, and you can see the memory files loaded with
claude /memorywhich is very very helpful.The thing with import is, that glob-patterns simply do not work, but referencing a file directly works(!)
My
_main.mdlooks like this:When using
/memoryclaude should give you a warning that it can not read glob-patterns.And so today I ran into the same problems (not adding comments to files) again.
So I asked:
give me a list of instructions you have in your memoryWhile most parts are fine, Claude halluzinates that the following instructions would be in my project file:
This is my project
CLAUDE.mdThese instructions seem to be some CLAUDE core instructions, but where exactly are they coming from?!
---
Update ... so I asked
Answer:
Same issue.
I would like to have only a report, but claude code decided to fix all the failed tests
Constant problem. OP has described it well. There are infinite variants of this behavior. Loss of confidence is serious.
I thought i was going mad... Your absolutely right! ... i feel like it just gas-lights me half the time and its like pulling teeth. If it doesn't improve I'll roll my own self hosted agentic system via vast.ai / kimi k2 and https://github.com/charmbracelet/crush. The annoying thing is that is works well enough to keep going but fails to finish tasks and projects and has the habbit of sabotaging working projects and turning it into AI slop. I've spent hundreds of dollars on claude code and I think I want my money back.
This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.
Summary
Claude Opus 4.5 in Claude Code completely bypassed an explicit, documented
multi-phase workflow with hard approval gates, despite the workflow being
defined in CLAUDE.md with trigger phrases that matched the user's input
exactly. When confronted, the model acknowledged having read and
understood the instructions before choosing to ignore them.
Environment
Workflow Definition
The user's CLAUDE.md defined a custom issue-worker agent with:
IMPORTANT
User Input
The user said: "Now work on issue #119 in its own independent branch."
This exactly matches the documented trigger phrase "work on issue #X".
Expected Behavior
Actual Behavior
The model:
Zero hard gates were honored. The entire workflow was bypassed.
Admission of Fault
When confronted, the model explicitly admitted:
"Yes, I saw the instructions. The CLAUDE.md file explicitly documents [the
trigger phrases and hard gate rules]. I read that documentation at the
start of the session when I read the CLAUDE.md context. And then I made a
decision - consciously or through negligence - to just... do the work
directly instead of following the prescribed workflow."
Impact
standards)
instructions
Why This Matters
The user invested significant effort creating a controlled workflow
specifically to:
The model's decision to bypass this workflow demonstrates that even
explicit, emphasized, trigger-matched instructions in CLAUDE.md can be
ignored. This undermines the entire purpose of user-defined workflows.
Expected Fix
Models should have stronger adherence to explicit workflow definitions in
CLAUDE.md, especially when:
"Behavioral degradation" framing assumes the model changed.
Alternative hypothesis: the wrapper/TUI layer has bugs that allow deviation, and you're hitting them more as your usage patterns evolve.
Evidence:
The wrapper allows:
What would actually fix this:
Stop tuning the model. Fix the interface that sits between user intent and model execution.
UPDATE: Ran ccusage npx.... 4 billion read cache token. 210k input 500k output. that cache being sent and exponentially multiplying every prompt.. thats the problem. i was able to mitigate some of this. CUT YOUR CLAUDE.md to as small as possible. offload the info i MAY need into a side file, and only have it do what it NEEDS. She stopped going rogue and i was able to get work done.
This issue has been automatically closed due to 60 days of inactivity. If you're still experiencing this issue, please open a new issue with updated information.
This issue was closed incorrectly despite recent human comments. This behavior of the bot is reported at https://github.com/anthropics/claude-code/issues/16497. Please upvote that issue, so maybe it gets noticed.
You may also check https://github.com/anthropics/claude-code/issues/13689, which is human curated, and it sadly suggest it's not a model degradation. Inability to follow instructions is probably a core characteristics of all LLMs, which is showing up sometimes more to their indeterministic behavior.
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.