Paths Subjects Questions Quizzes Pricing Search
Intermediate Open Pro

Gating a Turn on a Test Run, Not a Tool Call

You want a guardrail that operates at the level of "Claude thinks it's finished responding," not at the level of any individual tool call: before Claude is allowed to end its turn, the guardrail should run the test suite, and if it fails, block the turn from ending and feed the failure back so Claude keeps working instead of reporting done.

Which hook event is the right one to register this on?

Share this question

← Back to Settings, Permissions & Hooks practice

We use cookies for product analytics to improve OmniAtlas. See our Privacy Policy.