Defined in hooks/hooks.json
{
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/greenfield-stop-hook.sh",
"timeout": 5000
}
]
}
],
"PreCompact": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/precompact-roadmap.sh",
"timeout": 5000
}
]
}
],
"PreToolUse": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/check-protected-paths.sh",
"timeout": 5000
}
],
"matcher": "Edit|Write"
}
],
"PostToolUse": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/check-legacy-cruft.sh --warn-only",
"timeout": 10000
}
],
"matcher": "Edit|Write"
}
],
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/prime.sh --full",
"timeout": 10000
}
]
},
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/prime.sh --full",
"timeout": 10000
}
],
"matcher": "compact"
}
]
}{
"riskFlags": {
"touchesBash": false,
"matchAllTools": false,
"touchesFileWrites": true
},
"typeStats": {
"command": 6
},
"eventStats": {
"Stop": 1,
"PreCompact": 1,
"PreToolUse": 1,
"PostToolUse": 1,
"SessionStart": 2
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 6,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 0
}
}