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

Claude Code v2.1.271 ·

New turn_handoff protocol for handing off in-progress turns to cloud workers

A new turn_handoff protocol lets a session hand an in-progress turn with unrun tool calls off to a managed cloud worker

Group of 4 Nothing to try yet Notable In Development
JSON All of v2.1.271
Nothing to try yetTier: how much it should matter to you
5Useful: my rating, 1 to 5
5Signal: worth watching, 1 to 5
Turn HandoffArea: what it touches
In DevelopmentKind: in v2.1.271,
What probably matters to youSection of the release

What

  • New turn_handoff request and response let a session client transfer an in-progress turn (one whose last assistant message has tool calls that haven't run yet) to a worker process, which validates and runs the calls and continues the turn.
  • The worker replies as accepted or duplicate, or with typed errors such as turn_handoff_disabled, invalid_handoff, unsupported_tool, or recovered_by_restart.
  • A new turn_handoff_available system event is emitted once a worker can accept a handoff, carrying the tools it will accept, a worker_epoch, and an optional relay_marker flag, so a client learns the capability from the event stream instead of probing the worker.
  • This applies to managed cloud worker sessions: admission is computed from sdkUrl and CLAUDE_CODE_REMOTE_SESSION_ID being set and CLAUDE_CODE_ENVIRONMENT_KIND being unset.
  • A tengu_turn_handoff_run telemetry event was added to track handoff usage.

Why

This lets a turn keep going across a worker restart or handoff in managed cloud sessions, rather than losing an in-progress tool call.

Read from
What the documentation says
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 CLAUDE_CODE_REMOTE_SESSION_ID, on Customize sessions in self-hosted environments. | `CLAUDE_CODE_REMOTE_SESSION_ID` | Session ID in the tagged `cse_...` form. This is the same session the [lifecycle hooks](#lifecycle-hooks) see as `CLAUDE_RUNNER_SESSION_ID` in `session_...` form; the UUID variables match across both, an… self-hosted-environments-configuration see the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up CLAUDE_CODE_REMOTE_SESSION_ID, on Customize sessions in self-hosted environments.

See this entry in the whole of v2.1.271 →

Feedback