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.268 ·

Trace context now propagated for remote-relayed turns

Claude Code now attaches trace context to messages relayed across sessions when running in remote mode

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

Unclear What traceContext is used for, or what consumes it, is not stated.

What

Claude Code now extracts and propagates a trace_context (a traceparent value) and an event UUID when a turn is merged across sessions. This is sent as anthropic/ccr-turn-event-uuid and anthropic/ccr-turn-linked-event-uuids request headers.

When building the internal message for an incoming user message, a new traceContext field is now attached to it as well, computed via a new helper.

This behavior only applies when CLAUDE_CODE_REMOTE is set, and part of it is further gated to a specific dynamic-scope MCP server configuration.

Why

This helps trace and correlate related turns and messages when Claude Code is operating in a remote/cross-session mode, which is useful for debugging and observability but has no direct effect on typical local usage.

Read from
Names in the bundleCLAUDE_CODE_REMOTE
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, 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
Added since A small documentation edit on Configure cloud environments touched a line naming CLAUDE_CODE_REMOTE after this was published. * **No cloud-only scoping**: hooks run in both local and cloud sessions. To skip local execution, exit early unless the `CLAUDE_CODE_REMOTE` environment variable is `true`, the way the [dependency install script](#install-dependencies-with… cloud-environments 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 doubtWhat traceContext is used for, or what consumes it, is not stated.
Anthropic's documentation agreesA small documentation edit on Configure cloud environments touched a line naming CLAUDE_CODE_REMOTE after this was published.

See this entry in the whole of v2.1.268 →

Feedback