- 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>
17 lines
283 B
JSON
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
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|