diff --git a/hooks/SDD-CACHE.md b/hooks/SDD-CACHE.md index 8908bcb0..ffca6113 100644 --- a/hooks/SDD-CACHE.md +++ b/hooks/SDD-CACHE.md @@ -21,7 +21,7 @@ This hook caches fetched content on disk, but **revalidates with the origin serv "hooks": [ { "type": "command", - "command": "bash ${CLAUDE_PROJECT_DIR}/hooks/sdd-cache-pre.sh", + "command": "bash \"${CLAUDE_PROJECT_DIR}/hooks/sdd-cache-pre.sh\"", "timeout": 10 } ] @@ -33,7 +33,7 @@ This hook caches fetched content on disk, but **revalidates with the origin serv "hooks": [ { "type": "command", - "command": "bash ${CLAUDE_PROJECT_DIR}/hooks/sdd-cache-post.sh", + "command": "bash \"${CLAUDE_PROJECT_DIR}/hooks/sdd-cache-post.sh\"", "async": true, "timeout": 10 } diff --git a/hooks/SIMPLIFY-IGNORE.md b/hooks/SIMPLIFY-IGNORE.md index 9e81af9d..1db1e712 100644 --- a/hooks/SIMPLIFY-IGNORE.md +++ b/hooks/SIMPLIFY-IGNORE.md @@ -24,18 +24,18 @@ result[3] = buf[3] ^ key[3]; "PreToolUse": [ { "matcher": "Read", - "hooks": [{ "type": "command", "command": "bash ${CLAUDE_PROJECT_DIR}/hooks/simplify-ignore.sh" }] + "hooks": [{ "type": "command", "command": "bash \"${CLAUDE_PROJECT_DIR}/hooks/simplify-ignore.sh\"" }] } ], "PostToolUse": [ { "matcher": "Edit|Write", - "hooks": [{ "type": "command", "command": "bash ${CLAUDE_PROJECT_DIR}/hooks/simplify-ignore.sh" }] + "hooks": [{ "type": "command", "command": "bash \"${CLAUDE_PROJECT_DIR}/hooks/simplify-ignore.sh\"" }] } ], "Stop": [ { - "hooks": [{ "type": "command", "command": "bash ${CLAUDE_PROJECT_DIR}/hooks/simplify-ignore.sh" }] + "hooks": [{ "type": "command", "command": "bash \"${CLAUDE_PROJECT_DIR}/hooks/simplify-ignore.sh\"" }] } ] }