What
Hooks are commands you set up to run automatically at certain moments, and Claude Code runs them in a separate background process. When that process closes, Claude Code now reports that "the hooks worker ended", adding the close code when there is one. Before, a close was reported the same way as a crash, as "the hooks worker died", with a vague reason.
Failure reports now also say what kind of event caused them:
close_event, when the process closederror_event, when it reported an errorbare_event, when it sent an event with no details
Why
This makes it easier to tell a normal shutdown of the hooks process from a crash when something goes wrong with your hooks.
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 whether a close of the hooks process could actually happen in earlier builds.