A hook is a command of your own that Claude Code runs at set moments, for example just before a tool runs. When a hook fails, cancels something, stops Claude or defers a tool, Claude Code now shows the message in one layout: a headline, then the reason. The headlines replace the older "hook returned blocking error", "hook error" and "hook warning" wording:
<hook> hook failed<hook> hook reported a problem<hook> hook stopped Claude<hook> hook deferred <tool>
Long hook output is trimmed in a different way than before. When a PreToolUse hook (one that runs before a tool call and can block it) exits with code 127, an extra hint is added to the message. The goal status text now reads "Goal couldn't be achieved".
What you see when a hook goes wrong now reads differently. Anything you have that looks for the old wording, such as a script or a saved search, will no longer find it.