Defined in hooks/hooks.json
{
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "node ${CLAUDE_PLUGIN_ROOT}/scripts/collect-todos.js",
"timeout": 15000,
"description": "Scans project for TODO, FIXME, HACK, BUG, XXX, NOTE comments and generates reports",
"continueOnError": true
}
],
"enabled": true,
"priority": 90,
"description": "Scan and collect all TODO-style comments when session ends"
}
],
"PostToolUse": [
{
"hooks": [
{
"type": "command",
"command": "node ${CLAUDE_PLUGIN_ROOT}/scripts/track-todos.js",
"timeout": 5000,
"description": "Records modified files for TODO comparison",
"suppressOutput": true,
"continueOnError": true
}
],
"enabled": true,
"matcher": "Write|Edit|NotebookEdit",
"priority": 50,
"description": "Track modified files for TODO scanning"
}
],
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "node ${CLAUDE_PLUGIN_ROOT}/scripts/init-config.js",
"timeout": 5000,
"description": "Creates user configuration file if it doesn't exist",
"suppressOutput": false,
"continueOnError": true
}
],
"enabled": true,
"priority": 10,
"description": "Initialize TODO Collector configuration"
}
]
}{
"riskFlags": {
"touchesBash": false,
"matchAllTools": false,
"touchesFileWrites": true
},
"typeStats": {
"command": 3
},
"eventStats": {
"Stop": 1,
"PostToolUse": 1,
"SessionStart": 1
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 3,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 0
}
}