Unclear It is not clear exactly which tool calls this covers or whether it is switched on for everyone.
What
A PostToolUse hook is a command you configure to run automatically after Claude Code uses a tool. For tool calls made from scripts, these hooks used to run only when the tool succeeded. Now:
- When the tool fails, the error also goes through
PostToolUsehooks, and they can rewrite the error text. - If that first pass was stopped early or changed the output, a second pass runs using only managed hooks, the ones set by an administrator.
- If a managed hook rewrites a failure into something that does not fit what the tool normally returns, Claude Code logs a message and keeps the original error text.
Why
Hooks can now react to failures and change what the model is told about them, not only successes.
Names in the bundlePostToolUse
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
It is not clear exactly which tool calls this covers or whether it is switched on for everyone.