What
Hooks 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:
- "Hooks: Prompt hook condition was not met" no longer ends with the reason.
- "Hooks: Agent hook condition was not met" no longer includes the reason.
- "Hooks: Prompt hook condition was met" is now a fixed message without the reason.
- "Hooks: Processing prompt hook with prompt:" now logs at verbose level and shows the processed prompt.
- "Hooks: Processing agent hook with prompt:" now logs at verbose level.
- "Hooks: Got structured output:" now logs at verbose level and prints the correct value.
Why
If 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.