Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/mostlyobvious/dotfiles.
Something went wrong. Try again.
Make the Claude stop-check blocking with autofix master
* Move the Stop hook into .claude/hooks/check-on-stop.sh. On a failed `make check` it exits 2, which makes Claude Code block the stop and feed the check output back to the agent to fix, instead of only reporting it; a passing check exits 0 and lets the turn end. * It re-runs until green — interrupt to break out, or guard on the hook input's stop_hook_active to cap it at one attempt.
Author Paweł Pacana Date (Jul 25, 2026, 11:48 AM UTC) Commit dad4f192 dad4f1920bf5d20101c539830016ef5a1b31c69b Parent a7e0c91f a7e0c91f9f29f956889aef6b36e1e8e70d151633