Claude Code Stop Hook: Block Early Exit Without Loops
A command Stop hook runs npm test, blocks with a specific reason while the test fails, and exits 0 once the check passes, keeping the unattended run working unt
A command Stop hook runs npm test, blocks with a specific reason while the test fails, and exits 0 once the check passes, keeping the unattended run working unt