Files
claude-skills-reference/engineering-team/self-improving-agent/hooks/hooks.json
Reza Rezvani 88eb7b27e2 fix: use record format for self-improving-agent hooks.json
Claude Code expects hooks as a record keyed by event name, not an array.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 09:19:33 +01:00

16 lines
225 B
JSON

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