Install the safety net into Claude Code
언제 쓸까: You've been bitten by an agent overwriting uncommitted changes.
흐름
-
Wire hooksRun the included setup; settings.json gets PreToolUse entries.✓ 복사됨→ Hooks active
-
TestAsk Claude to
git reset --hard; expect block.✓ 복사됨→ Block triggered
결과: Destructive ops require explicit override.