{"version":"2.1.328","anchor":"prompt-hook-failure-log-no-longer-includes-the-reason","canonical_anchor":"prompt-hook-failure-log-no-longer-includes-the-reason","heading":"Hook debug logs no longer print the hook's reason text","tier":"notice","area":"Hooks","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.328\/e\/prompt-hook-failure-log-no-longer-includes-the-reason","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.328","markdown":"### Hook debug logs no longer print the hook's reason text\n\nDebug logs for prompt and agent hooks now use fixed messages without the reason, and some move to the verbose level\n\n**What**\n\nHooks are your own checks that Claude Code runs at set points, and some ask a model whether a condition is met. Their debug log lines have changed:\n\n- \"Hooks: Prompt hook condition was not met\" no longer ends with the reason.\n\n- \"Hooks: Agent hook condition was not met\" no longer includes the reason.\n\n- \"Hooks: Prompt hook condition was met\" is now a fixed message without the reason.\n\n- \"Hooks: Processing prompt hook with prompt:\" now logs at verbose level and shows the processed prompt.\n\n- \"Hooks: Processing agent hook with prompt:\" now logs at verbose level.\n\n- \"Hooks: Got structured output:\" now logs at verbose level and prints the correct value.\n\n**Why**\n\nIf you read debug logs to see why a hook decided as it did, the reason text is no longer there. Some lines now show only when verbose logging is on.\n\n- Area: Hooks\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}