skills/.claude/hooks.json
dan 020458c9b8 fix: review-gate Stop hook output format and test harness
- Change exit code to 2 (Claude Code blocking signal)
- Output JSON to stderr with decision: block and reason fields
- Add integration test harness for live Claude testing
- Update unit tests for new JSON output format
- Add hooks.json example for Stop hook

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-10 08:23:46 -08:00

17 lines
283 B
JSON

{
"hooks": {
"Stop": [
{
"matcher": "",
"hooks": [
{
"type": "command",
"command": "/home/dan/proj/skills/skills/review-gate/scripts/review-gate check",
"timeout": 30
}
]
}
]
}
}