Unclear What makes an agent's hooks count as unable to run is not stated.
What
An agent here is a named setup that defines how Claude behaves, and it can include hooks, which are commands Claude Code runs automatically at certain moments. Two places now check whether an agent's hooks are able to run:
apply_flag_settings: a request to switch to such an agent is refused, with a message that the agent switch was not applied.- Headless runs: a run with no interactive screen stops at startup with exit code 1 when given such an agent.
Separately, the get_settings response, used by programs that drive Claude Code, now includes a field named served_settings_retrying.
Why
An agent whose hooks cannot run is now blocked up front, rather than running silently without them.
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
What makes an agent's hooks count as unable to run is not stated.