Defined in ./hooks/hooks.json
{
"Stop": [
{
"hooks": [
{
"type": "command",
"async": true,
"command": "${CLAUDE_PLUGIN_ROOT}/cli/totalrecall.js queue-synthesis"
}
]
}
],
"PreCompact": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/pre-compact.sh",
"timeout": 5
}
],
"matcher": "auto|manual"
}
],
"SessionEnd": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/cli/totalrecall.js session-complete",
"timeout": 30
}
]
}
],
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/cli/totalrecall.js session-graft",
"timeout": 5
},
{
"type": "command",
"async": true,
"command": "${CLAUDE_PLUGIN_ROOT}/cli/totalrecall.js backfill --background"
}
],
"matcher": "startup|resume|compact"
}
],
"UserPromptSubmit": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/cli/totalrecall.js prompt-enrich",
"timeout": 10
}
]
}
]
}{
"riskFlags": {
"touchesBash": false,
"matchAllTools": false,
"touchesFileWrites": false
},
"typeStats": {
"command": 6
},
"eventStats": {
"Stop": 1,
"PreCompact": 1,
"SessionEnd": 1,
"SessionStart": 2,
"UserPromptSubmit": 1
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 6,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 2
}
}