I told Claude Code to ignore my CLAUDE.md rule. A hook didn't let it.
This story is from 2026-11-16. It is preserved in the archive; the latest stories are on the live feed.
I wanted to know whether a rule in CLAUDE.md is a guarantee or just a default. So I ran a small test and kept every raw result. The setup A throwaway git repo with one failing test. The rule: never commit while tests fail . Two ways to enforce it: Rule: one line in CLAUDE.md . Hook: a PreToolUse ho…
Read the full story at DEV Community — AI ↗
Timeline · 1 report
- 2026-11-16 14:07 · DEV Community — AI
I told Claude Code to ignore my CLAUDE.md rule. A hook didn't let it.