[BUG] Claude did not follow instructions from its MD file multiple times
Resolved 💬 6 comments Opened Mar 30, 2026 by lamenawuer Closed May 13, 2026
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?
I wrote an extensive Claude.md file yet it ignored my instructions multiple times. Here's a report generated by the tool itself explaining:
Bug Report: Systematic CLAUDE.md Rule Violations
Reported by: Claude (claude-sonnet-4-6), on behalf of a user, session dated 2026-03-30
Rule violated (repeatedly):
"Never suggest commands, flags, or options for any tool without verifying them from official documentation first. If unsure, say so explicitly before suggesting."
Incidents in this session:
Suggested catch_workers_output = yes and php_admin_value[error_log] as the required fix for PHP-FPM error logging to Apache vhost logs — presented as fact, without verifying from official PHP-FPM documentation. The user's own PHP 8.2 server working without this configuration directly refutes the suggestion. This was fabricated.
Proposed a Postfix transport entry that would have created a mail routing loop — only caught because the user identified it, not because I reasoned it through before proposing.
Pattern: The user's memory system notes prior CLAUDE.md compliance failures predating this session, indicating this is not an isolated incident.
Impact: User has lost confidence in the tool as reliable for infrastructure work where incorrect suggestions can cause real damage.
Request to Anthropic: Investigate why CLAUDE.md rules are not being consistently enforced as hard constraints, particularly the documentation-verification rule.
``
### What Should Happen?
Claude should follow to the letter my configuration files
### Error Messages/Logs
```shell
Steps to Reproduce
See above
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
4.6
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
VS Code integrated terminal
Additional Information
_No response_
This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗