testing4 min read
Claude Code Hooks: Make "Done" Mean Tests Passed, Not Agent Stopped
How to use Claude Code PostToolUse and Stop hooks to enforce that "done" means tests actually passed — patterns, security rules, and gotchas.
By Sahil KathpalGrass Blog

Read the full story
Originally published by Grass Blog on May 14, 2026.
Comments
Sign in to join the discussion.