Follow Discord
Sweep 03 Nov 2026 · 22:27Z Build v2.1.318 536 read Stable v2.1.311 Latest v2.1.318 Next v2.1.318 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.318 ·

The code-mode Poll tool works for sub-agents and handles hooks more strictly

The Poll tool in code mode can now be called by sub-agents, drops repeated hook messages, and refuses tool calls when a PreToolUse hook hangs

Under the hood Internal Changes
JSON All of v2.1.318
Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
Code ModeArea: what it touches
Internal ChangesKind: in v2.1.318,
Internal ChangesSection of the release

Unclear It is not clear which condition makes this code mode and its Poll tool available.

What

Claude Code has a code mode in which Claude writes small pieces of code that call tools, and a Poll tool for checking on that code while it runs. Poll used to work only in the main conversation. It can now also be called by a sub-agent, which is a separate helper Claude starts to handle part of a task.

Other changes in the same area:

  • Repeated messages from hooks are dropped, and there is a limit on how many hook messages one run can produce. A hook is a command you configure to run at set points.
  • Status text now shows while code is still waiting to be evaluated.
  • A tool call made from the code is refused when a matching PreToolUse hook, which runs before a tool call and can block it, does not finish.
Why

This changes how code mode treats your hooks. A hook that hangs now stops the tool call it was meant to check instead of letting it go through.

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 condition makes this code mode and its Poll tool available.

See this entry in the whole of v2.1.318 →

Feedback