When Claude Code appears to ignore CLAUDE.md, rewriting the file is often the wrong first move.

The symptom can come from three different layers:

The instruction never entered the active session.

The instruction loaded, but the model did not follow it in the task.

The instruction describes an outcome that should have been enforced outside the model.