feat(hooks): enforce the guard from a PreToolUse hook (#9)

This commit was merged in pull request #9.
This commit is contained in:
2026-09-22 19:39:24 -04:00
parent 3d487e0850
commit 8baeceac32
5 changed files with 432 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
{
"_comment": "Copy the hooks block into .claude/settings.json (project) or ~/.claude/settings.json (all projects). Use absolute paths.",
"hooks": {
"PreToolUse": [
{
"matcher": "mcp__.*",
"hooks": [
{
"type": "command",
"command": "/home/you/zerto-ai-rewind/.venv/bin/python /home/you/zerto-ai-rewind/hooks/zerto_guard_hook.py",
"timeout": 180
}
]
}
]
}
}