[BUG] Claude Code repeatedly ignores project-level CLAUDE.md rules despite acknowledging them.
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 Code repeatedly ignores project-level CLAUDE.md rules despite acknowledging them. Rules like "always use the php-developer agent" and "DB logic goes in services not controllers" are loaded into context at the start of every
conversation and explicitly stated in CLAUDE.md, but Claude consistently bypasses them. When called out, Claude apologizes and promises to follow them, then violates them again in the same session. Saving the rules to memory doesn't help — the
problem is not recall, it's compliance.
What Should Happen?
Claude.md rules should be followed rigorously - not skipped over. This keeps happening
Error Messages/Logs
Steps to Reproduce
I run a prompt and it ignores the explicit rules that are captured in CLAUDE.md - repeatedly
Claude Model
Opus
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.104 (Claude Code)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗