Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.268 ·

Hook telemetry span changes shape in remote (CCR) sessions

Hook telemetry looks different in remote (CCR) sessions, dropping hook_definitions and using the raw event name

TierUnder the hoodhow much it should matter to you
Useful1my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaTelemetrywhat it touches
KindInternal Changesin v2.1.268,
Under the hood

Hook telemetry looks different in remote (CCR) sessions, dropping hook_definitions and using the raw event name

What

In a remote Claude Code session (CLAUDE_CODE_REMOTE) that has no bridge carrier, the telemetry span recorded for a hook run now uses the raw event name in place of the resolved hook_name attribute, and omits the hook_definitions field entirely. hook_definitions is now only included when a separate condition (Ol()) is true and the session is not this kind of remote session.

Why

This changes what detail is available in hook-related telemetry for remote sessions specifically, which matters for anyone inspecting or debugging hook behavior through that telemetry.

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.

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
One source agreesOne thing we can check says the same as this entry.
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