hooks/hooks.json
Unquoted ${CLAUDE_PLUGIN_ROOT} in a shell-form command — breaks on paths with spaces (the docs say to quote it).
python3 "${CLAUDE_PLUGIN_ROOT}/hooks/log-agent-spawn.py"hooks/hooks.json
Unquoted ${CLAUDE_PLUGIN_ROOT} in a shell-form command — breaks on paths with spaces (the docs say to quote it).
python3 "${CLAUDE_PLUGIN_ROOT}/hooks/kg-first-directive.py"hooks/hooks.json
Unquoted ${CLAUDE_PLUGIN_ROOT} in a shell-form command — breaks on paths with spaces (the docs say to quote it).
sh -c '"${CLAUDE_PLUGIN_ROOT}/bin/kg-launch.sh" --fetch-only >/dev/null 2>&1 &'Fix Remove or gate the flagged hook commands; bundle logic in reviewed scripts.