verify-before-stop

Block stopping when modified files carry debug artifacts or fail fast lint/type checks.

hook Stop claude-code mode: enforce

Block stopping when modified files carry debug artifacts or fail fast lint/type checks.

FieldValue
idverify-before-stop
modeenforce
logical_eventStop
command{repo_root}/hooks/verify-before-stop.sh
timeout60
harnesses["claude-code"]
Full hook config
config/hook-registry.json (entry)
{
"id": "verify-before-stop",
"description": "Block stopping when modified files carry debug artifacts or fail fast lint/type checks.",
"mode": "enforce",
"logical_event": "Stop",
"command": "{repo_root}/hooks/verify-before-stop.sh",
"timeout": 60,
"harnesses": [
"claude-code"
]
}

Command: .../hooks/verify-before-stop.sh


View source on GitHub