4ea589c · · 11 min read
Claude Code Hooks vs CLAUDE.md: Which One Enforces a Rule?
A CLAUDE.md rule is context Claude weighs. A hook is enforced, but only on the tools it matches. We tested both and found the gap, with the fix.
claude-codehooksclaude-mdai-coding-agentsengineering