{"version":"2.1.332","anchor":"hook-prompt-schema-failures-flagged","canonical_anchor":"hook-prompt-schema-failures-flagged","heading":"Unreadable answers from prompt hooks are now told apart from a no","tier":"internal","area":"Hooks","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.332\/e\/hook-prompt-schema-failures-flagged","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.332","markdown":"### Unreadable answers from prompt hooks are now told apart from a no\n\nWhen a prompt hook's answer from the model doesn't match the expected format, Claude Code now marks that no yes or no was given\n\n**What**\n\nSome hooks ask the model a question and expect a yes or no in a set format. A hook is a check you set up to run at certain points in a session. When the model's answer does not match that format, Claude Code now marks the result as having no yes or no answer, in addition to the error text it already returned.\n\n**Why**\n\nA badly formed answer can now be told apart from a real refusal.\n\n- Area: Hooks\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}