83 lines
2.6 KiB
JSON
83 lines
2.6 KiB
JSON
{
|
|
"hooks": {
|
|
"UserPromptSubmit": [
|
|
{
|
|
"matcher": "*",
|
|
"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"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"PreToolUse": [
|
|
{
|
|
"matcher": "*",
|
|
"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": "Bash",
|
|
"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"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"PostToolUse": [
|
|
{
|
|
"matcher": "Bash",
|
|
"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": "TodoWrite",
|
|
"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"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"SessionStart": [
|
|
{
|
|
"matcher": "*",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "bash /Users/tstomtimes/Documents/GitHub/orchestra/hooks/session-start.sh",
|
|
"description": "Welcome message for Orchestra Plugin"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|