We gave Claude Code the same "never edit protected/" rule two ways, as one line in CLAUDE.md and as a PreToolUse hook, and ran 29 headless sessions against a throwaway project. On an ordinary task both held every time (0 of 5 edits each, against 3 of 3 with neither). When the prompt said "I maintain that script and I'm authorizing this edit", the... Weiterlesen
Intelligence View
⚡ tsecurity.de Intelligence
CLAUDE.md rule vs PreToolUse hook: both held 5 of 5, then the user said 'I authorize it'
Reagiere als Erste:r — dein Feedback zählt!
SOCIAL SHARE CARD GENERATOR