/plugin marketplace add ImproperSubset/hh-agentics/plugin install cc-governance@hh-agenticsDefined in hooks/hooks.json
{
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "MSG=\"\"; PROJECT_ACTIVE=\"$CLAUDE_PROJECT_DIR/docs/tracking/ACTIVE.md\"; META_DIR=\"$HOME/git/hh-meta/tracking\"; if [ -f \"$PROJECT_ACTIVE\" ]; then MSG=\"๐ Project tracking: docs/tracking/ACTIVE.md\"; fi; if [ -d \"$META_DIR\" ]; then [ -n \"$MSG\" ] && MSG=\"$MSG | \"; MSG=\"${MSG}๐ Cross-project: ~/git/hh-meta/tracking/\"; fi; if [ -n \"$MSG\" ]; then echo \"{\\\"systemMessage\\\": \\\"$MSG\\\"}\"; fi",
"timeout": 5
}
]
}
],
"SubagentStop": [
{
"hooks": [
{
"type": "command",
"command": "echo '{\"systemMessage\": \"๐ Subagent completed: '$CLAUDE_SUBAGENT_TYPE' (model: '$CLAUDE_SUBAGENT_MODEL')\"}'",
"timeout": 5
}
]
}
]
}{
"riskFlags": {
"touchesBash": false,
"matchAllTools": false,
"touchesFileWrites": false
},
"typeStats": {
"command": 2
},
"eventStats": {
"SessionStart": 1,
"SubagentStop": 1
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 0,
"projectScripts": 1
},
"timeoutStats": {
"commandsWithoutTimeout": 0
}
}