[BUG] Claude reads rules but don't follow it.
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?
"Claude reads rules from CLAUDE.md at session start but doesn't reliably follow them, even after saving them to memory multiple times." It says I am sorry and writes again or so it says. When I asked how this will get fixed. It says go and report here. So here I am reporting it.
What Should Happen?
As it reads CLAUDE.md in the same project folder where I open the powershell it should follow the rules we have agreed on. Some of them are serious! I said don't push the code to github before I test locally and approve it. It at times just ignores ! Push to the production even before I can stop him.
Error Messages/Logs
Steps to Reproduce
Just try yourself ! Or look at the conversation log as you often ask if you can read it and I say yes.
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.123 (Claude Code)
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
PowerShell
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗