The hooks.json files had incorrect structure. Claude Code requires: - Top-level "hooks" object - Event names as keys containing arrays - Each array element must have "matcher" and nested "hooks" array Fixed 8 plugins: - clarity-assist - claude-config-maintainer - cmdb-assistant - contract-validator - data-platform - pr-review - projman - viz-platform Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
27 lines
481 B
JSON
27 lines
481 B
JSON
{
|
|
"hooks": {
|
|
"SessionStart": [
|
|
{
|
|
"matcher": "",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/auto-validate.sh"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"PostToolUse": [
|
|
{
|
|
"matcher": "Edit|Write",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/breaking-change-check.sh"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|