Defined in hooks/hooks.json
{
"Stop": [
{
"hooks": [
{
"type": "prompt",
"prompt": "# ClickUp Acceptance Criteria Validation\n\nYou are validating that ClickUp task acceptance criteria have been met.\n\n## Context\n\n$ARGUMENTS\n\n## Instructions\n\nBefore stopping, check if any ClickUp tasks (format: #ABC123 or task IDs) were mentioned or worked on in this conversation.\n\n**If ClickUp tasks were found:**\n1. Use the ClickUp MCP tools to fetch the task details\n2. Review the acceptance criteria and checklist items in the task\n3. Validate that ALL acceptance criteria have been met by the work completed\n4. If any criteria are not met, explain what remains\n\n**If no ClickUp tasks found:**\nProceed without validation.\n\nRespond with JSON: {\"decision\": \"approve\" or \"block\", \"reason\": \"your explanation\"}",
"timeout": 60
}
]
}
]
}{
"riskFlags": {
"touchesBash": false,
"matchAllTools": false,
"touchesFileWrites": false
},
"typeStats": {
"prompt": 1
},
"eventStats": {
"Stop": 1
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 0,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 0
}
}