npx claudepluginhub cogni-work/insight-wave --plugin cogni-researchDefined in hooks/hooks.json
{
"PreToolUse": [
{
"hooks": [
{
"name": "block-entity-writes",
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/block-entity-writes.sh",
"enabled": true,
"timeout": 5,
"description": "Blocks Write/Edit to entity directories (00-sub-questions, 01-contexts, 02-sources, 03-report-claims) - forces create-entity.sh usage"
}
],
"matcher": "Write|Edit"
}
],
"PostToolUse": [
{
"hooks": [
{
"name": "review-loop-guard",
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/review-loop-guard.sh",
"enabled": true,
"timeout": 10,
"description": "Enforces max 3 review iterations. Counts review verdict files and signals forced acceptance when limit reached."
}
],
"matcher": "Task"
}
]
}"Validates primitive I/O via validate-primitive-io.sh: PreToolUse blocks/modifies Read tools; PostToolUse checks Write tools. Involves file writes."