Unclear It is not clear that setting on_failure changes anything yet, since nothing was found that acts on it.
What
Hooks are commands you configure to run automatically at certain points, for example before a tool runs.
- Hook commands accept a new
on_failurefield, set tocontinueorblock. It can be left out, and an invalid value falls back toblock. What reads this field at runtime was not traced, so its effect is not confirmed. - The signature Claude Code uses to compare cloud hooks now includes
onFailure, unless it isblock. Before, it only left outcloud. - When a headless cloud session (one running on Anthropic's servers without the interactive screen) is launched, its launch report now includes
builtin_tools_count, the number of built-in tools passed in.
Why
The new field suggests hook authors may be able to choose whether a failing hook stops the action or lets it continue. Until it is confirmed to have an effect, treat block as the behaviour you get.
Names in the bundleon_failure
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 that setting on_failure changes anything yet, since nothing was found that acts on it.