{"version":"2.1.333","anchor":"prompt-hook-failures-flagged-modelgavenoyes","canonical_anchor":"prompt-hook-failures-flagged-modelgavenoyes","heading":"Prompt hooks that fail now report that no yes-or-no answer was given","tier":"internal","area":"Hooks","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/prompt-hook-failures-flagged-modelgavenoyes","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### Prompt hooks that fail now report that no yes-or-no answer was given\n\nWhen a prompt hook fails from an API error, refusal, output limit or abort, its result now says the model gave no yes-or-no answer\n\n**Unclear.** What Claude Code does differently with a hook result that carries this marker is not known.\n\n**What**\n\nA prompt hook is a check that runs at a set point in a session and asks a model to answer yes or no. When such a hook fails for one of these reasons, its result now carries a marker saying the model gave no yes-or-no answer:\n\n- an API error\n\n- a refusal\n\n- the model hitting its maximum output length\n\n- the hook being stopped\n\nPreviously these failures came back as plain errors. The hook's own transcript is also trimmed, dropping some messages.\n\n**Why**\n\nThe marker separates a hook that never reached an answer from a hook that deliberately blocked something.\n\n- Area: Hooks\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}