Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.299 ·

Hook outcomes record why there was no verdict

Blocking hook errors now carry a noVerdict reason, a missing Git Bash blocks, and SDK messages gain a prompt_submit_outcome object

Group of 2 You'll notice Internal Changes
JSON All of v2.1.299
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
SDKArea: what it touches
Internal ChangesKind: in v2.1.299,
ImprovementsSection of the release

Unclear Whether this field is always sent is not confirmed.

What

A hook is a user-set command that runs at certain moments, for example when you submit a prompt. When a hook fails, Claude Code now records more about why.

  • A hook that fails because there is no Git Bash is now blocked, and the log says "no Git Bash". Before, there were only two block reasons.
  • Blocking errors now carry a noVerdict of hook_timed_out or hook_failed.
  • The SDK system message format has a new internal prompt_submit_outcome object. Its kinds are blocked_by_hook, stopped_by_hook, dropped_by_hook, not_passed_on and no_verdict. no_verdict carries a no_verdict_kind such as remote_run_failed or hook_timed_out. The object also has prompt_kept and reason, and covers plugin 'code module' outcomes.

Why

Programs built on Claude Code can tell why a UserPromptSubmit hook ended a prompt without matching message text. On Windows, a hook that cannot run because Git Bash is missing now blocks.

Read from
Names in the bundleprompt_submit_outcomeUserPromptSubmit
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Confirmed since Anthropic's documentation has since written up UserPromptSubmit, on Intercept and control agent behavior with hooks. * `UserPromptSubmit` and [`UserPromptExpansion`](/docs/en/hooks#userpromptexpansion): Claude Code blocks the prompt with a message naming the hook and the timeout, and the session continues. Before v2.1.208, Claude Code ended the query wit… agent-sdk/hooks see the edit
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtWhether this field is always sent is not confirmed.
Anthropic's documentation agreesAnthropic's documentation has since written up UserPromptSubmit, on Intercept and control agent behavior with hooks.
Anthropic's release notes agreeFixed Edit and Retry in Cowork and claude.ai cloud sessions failing on a message stopped while its UserPromptSubmit or mod prompt.submit…

See this entry in the whole of v2.1.299 →

Feedback