{"version":"2.1.334","anchor":"hook-callback-block-reason-surfaces-as-output","canonical_anchor":"hook-callback-block-reason-surfaces-as-output","heading":"A blocking callback hook's reason now shows up as its output","tier":"notice","area":"Hooks","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.334\/e\/hook-callback-block-reason-surfaces-as-output","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.334","markdown":"### A blocking callback hook's reason now shows up as its output\n\nWhen a callback hook blocks an action and gives no system message, its reason is now used as the output\n\n**What**\n\nA hook is code that runs automatically at set moments and can block an action. When a hook of the callback type returns a decision to block and does not set a system message, Claude Code now uses the hook's reason as its output. Before, the output was the system message only, so in this case nothing was shown. The `WorktreeCreate` hook is an exception and keeps the old behaviour.\n\n**Why**\n\nThe reason a callback hook blocked something now becomes visible instead of being lost.\n\n- Area: Hooks\n- Names: `WorktreeCreate`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}