Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.321 ·

Hook answers sent over the network can no longer rewrite messages or tool results

When a hook's answer arrives over the network, Claude Code drops any change it makes to displayed text or to a tool's output

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

Unclear Which sessions treat hook answers as arriving over the network is not clear.

What

A hook is a command you configure to run automatically at a certain moment. Some hook answers can reach Claude Code over the network rather than from your own machine. Claude Code now filters those answers:

  • MessageDisplay hooks: any replacement of the text being displayed is dropped.
  • PostToolUse hooks: any replacement of the tool's output, including output from MCP tools, is dropped.
  • System messages: the hook's systemMessage is cut to at most 8,000 characters and 200 lines.

Each time a replacement is dropped, Claude Code logs a warning.

Why

A hook answer that came from elsewhere can no longer change what you see on screen or what a tool really returned.

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 doubtWhich sessions treat hook answers as arriving over the network is not clear.

See this entry in the whole of v2.1.321 →

Feedback