Defined in hooks/hooks.json
{
"PreToolUse": [
{
"hooks": [
{
"type": "command",
"command": "bash /Users/tstomtimes/Documents/GitHub/orchestra/hooks/user-prompt-submit.sh",
"description": "Safety Guard: Blocks dangerous operations (rm -rf, system files, etc.)"
},
{
"type": "command",
"command": "bash /Users/tstomtimes/Documents/GitHub/orchestra/hooks/pre-tool-use-compliance-checker.sh",
"description": "Routing Compliance: Verifies Task tool is called first when agent routing is required"
}
],
"matcher": "*"
},
{
"hooks": [
{
"type": "command",
"command": "bash /Users/tstomtimes/Documents/GitHub/orchestra/hooks/workflow-dispatcher.sh",
"description": "Workflow Quality Gates: Routes PR/merge/deploy commands to appropriate validation hooks"
}
],
"matcher": "Bash"
}
],
"PostToolUse": [
{
"hooks": [
{
"type": "command",
"command": "bash /Users/tstomtimes/Documents/GitHub/orchestra/hooks/workflow-post-dispatcher.sh",
"description": "Post-Workflow Validation: Runs smoke tests and validation after deployments"
}
],
"matcher": "Bash"
},
{
"hooks": [
{
"type": "command",
"command": "bash /Users/tstomtimes/Documents/GitHub/orchestra/hooks/post_code_write.sh",
"description": "Progress Tracker Integration: Updates progress tracking and displays progress in chat"
},
{
"type": "command",
"command": "bash /Users/tstomtimes/Documents/GitHub/orchestra/hooks/after_task_complete.sh",
"description": "Task Completion Recording: Records task completion to Memory Bank and updates progress metrics"
}
],
"matcher": "TodoWrite"
}
],
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "bash /Users/tstomtimes/Documents/GitHub/orchestra/hooks/session-start.sh",
"description": "Welcome message for Orchestra Plugin"
}
],
"matcher": "*"
}
],
"UserPromptSubmit": [
{
"hooks": [
{
"type": "command",
"command": "bash /Users/tstomtimes/Documents/GitHub/orchestra/hooks/before_task.sh",
"description": "Task Clarity Reminder: Suggests best practices for well-defined tasks"
}
],
"matcher": "*"
}
]
}{
"riskFlags": {
"touchesBash": true,
"matchAllTools": true,
"touchesFileWrites": true
},
"typeStats": {
"command": 8
},
"eventStats": {
"PreToolUse": 3,
"PostToolUse": 3,
"SessionStart": 1,
"UserPromptSubmit": 1
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 0,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 8
}
}