You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What it does: blocks Claude Code's Stop event if files changed but no verification was logged in the last 5 min. Catches the very common failure mode where the model says all tests passing ✅ without actually running the tests.
Built over 12 months running Claude Code on 14 parallel projects. Pure bash + python3 stdlib, MIT, ~50 lines.
Included a hook generator tool for customizing the script to your stack (test command, build command, TTL window).
If there's a place to add this entry to the list once the README restructure lands, happy to PR it.
Curious — has anyone here built similar Stop hook guards? Would love to see what patterns are working in the community.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Sharing a small open-source hook in case it's useful to anyone in this directory: ianymu/claude-verify-before-stop
What it does: blocks Claude Code's
Stopevent if files changed but no verification was logged in the last 5 min. Catches the very common failure mode where the model saysall tests passing ✅without actually running the tests.Built over 12 months running Claude Code on 14 parallel projects. Pure bash + python3 stdlib, MIT, ~50 lines.
Included a hook generator tool for customizing the script to your stack (test command, build command, TTL window).
If there's a place to add this entry to the list once the README restructure lands, happy to PR it.
Curious — has anyone here built similar Stop hook guards? Would love to see what patterns are working in the community.
Beta Was this translation helpful? Give feedback.
All reactions