Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.247 Home All releases olderv2.1.246 v2.1.248newer
Claude Code v2.1.247

UserPromptSubmit hooks now run over the prompt text that actually wins

You'll notice
Useful4 Signal3
Hooks

Prompt-submit hooks now run over the final prompt text, and cancellations report as cancelled not failed.

UserPromptSubmit
What

Hooks you configure for prompt submission are now run as part of the plugin prompt chain instead of standalone. Results are cached per input text and only committed once the chain settles, so a prompt rewritten upstream gets the hooks run over the final text rather than a discarded draft. Cancellation from the abort signal, or a hook cancelled without timing out, is now reported as a cancellation instead of a failure.

Details
  • A chain that drops the prompt with no run to attribute it to now produces a message prefixed Prompt dropped by a hook:.
  • A new failure covers the case where the hooks never saw the submitted text at all.
  • Applies to everyone; there is no gate on this path.
Evidence

Prompt blocked: the UserPromptSubmit hooks did not run over the submitted text.

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

See this entry in the whole of v2.1.247 →