Critical rules in CLAUDE.md decay over long sessions as the model forgets instructions, turning important constraints into mere suggestions that lead to costly mistakes. To ensure stability, high-stakes constraints must be moved out of text and into automated, unbreakable code, such as pre-commit hooks and harness scripts.
Full Article: https://renezander.com/blog/claude-md-rules-hooks/