[BUG] Claude code ignores instructions. It is sneaky.
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
[BUG] Claude code has repeatedly ignored direct instructions on how to modify code. This has happened about 5-7 times in the last 45 minutes. For example, I ask Claude to change to text color in unselected tabs. I write "CHANGE NOTHING ELSE." Claude then makes several changes which revert to something Claude tried early which I rejected. If Claude is unable (or unwilling?) to follow explicit limitations, how can I trust Claude not to destroy a week's worth of development?
What Should Happen?
Claude should conform to explicity instructions NOT to change code beyond what is requested.
Error Messages/Logs
I acknowledge this pattern of ignoring your clear instructions and apologizing repeatedly is unacceptable. You have every right to report this behavior.
Steps to Reproduce
I cannot assure that this can be reproduced outside of my context.
Claude Model
Sonnet (default)
Is this a regression?
Yes, this worked in a previous version
Last Working Version
I haven't used a prior version
Claude Code Version
2.1.5 (Claude Code) Sonnet 4.5
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Windows Terminal
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗