You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
HooksArea: what it touches
ImprovementsKind: in v2.1.284,
ImprovementsSection of the release
What
Hooks are your own commands that Claude Code runs at set moments, such as before a tool runs. When a hook fails or writes to its error stream, the debug log now shows:
a stdout: section with its normal output
a stderr: section with its error output
status code N at the end when it failed, giving its exit code
Failed hooks are logged at error level, others at debug level. A hook that fails without printing anything is now logged too. Before, the log showed only one kind of output, and only when there was some.
Why
Broken hooks are easier to debug: error output is no longer hidden behind normal output, and you can see the exit code. This appears in the debug log only, not on screen.