Files
claude-skills-reference/engineering-team/self-improving-agent/hooks/hooks.json
Reza Rezvani 217b199ff8 fix(self-improving-agent): use CLAUDE_PLUGIN_ROOT for hook paths
Relative paths (./hooks/error-capture.sh) resolve against the project
working directory, not the plugin root. Replaced with
${CLAUDE_PLUGIN_ROOT}/hooks/error-capture.sh in both hooks.json and
settings.json.

Fixes #392

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-25 09:32:57 +01:00

16 lines
245 B
JSON

{
"hooks": {
"PostToolUse": [
{
"matcher": "Bash",
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/error-capture.sh"
}
]
}
]
}
}