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 ·

Prompts rewritten by a hook can now be refused with a "no place to put the change" message

Prompt hooks now see slash command names and arguments, and some rewrites stop the prompt with a "Prompt not sent" message

You'll notice Improvements
JSON All of v2.1.299
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
HooksArea: what it touches
ImprovementsKind: in v2.1.299,
ImprovementsSection of the release

Unclear It is not clear which kinds of hook changes lead to the "Prompt not sent" message.

What

When you submit a prompt, UserPromptSubmit hooks can look at it and change it. A hook is a command of your own that Claude Code runs at set moments. The prompt now carries the slash command's name and arguments through to those hooks.

There is also a new message: "Prompt not sent: ... changed it, and Claude Code has no place to put the change." It appears when a change cannot be applied to the prompt.

Why

UserPromptSubmit hooks that rewrite slash commands may behave differently than before.

Read from
Names in the bundleUserPromptSubmit
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 doubtIt is not clear which kinds of hook changes lead to the "Prompt not sent" message.
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