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

Headless: telemetry init deferred and a parked-spare mode

In print mode, telemetry setup now waits unless CLAUDE_CODE_ENABLE_TELEMETRY is set, and a new parked-spare state skips session-start hooks

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

Unclear The finding does not say what a parked spare process is, how one is created, or when the held-back MCP servers are connected.

What

In print mode, where Claude Code handles a request without its interactive screen, telemetry (the collection of usage and performance data) is now set up straight away only when CLAUDE_CODE_ENABLE_TELEMETRY is set or one other internal condition holds. Otherwise its setup is deferred through a host callback named telemetry_init, and that callback is skipped if the process is shutting down. Other startup housekeeping has moved into a separate idle_startup_work callback.

A process can now also be a "parked spare" (spareClaimState() === "parked"). In that state:

  • Session-start hooks, which are commands you configure to run when a session begins, are skipped.
  • MCP servers (outside tools connected through the Model Context Protocol) configured at neither project nor local scope are held back from the first round of connections.

The run also now waits on earlyRemoteLink.

Why

If you set CLAUDE_CODE_ENABLE_TELEMETRY, telemetry still starts immediately. Without it, telemetry setup happens later in the run instead of at startup. If you rely on session-start hooks, note that they do not run while a process is parked.

Read from
Names in the bundleCLAUDE_CODE_ENABLE_TELEMETRY
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_ENABLE_TELEMETRY, on Monitoring. To export telemetry from those sessions, set `CLAUDE_CODE_ENABLE_TELEMETRY` and the `OTEL_*` variables, using the same keys as the [administrator configuration](#administrator-configuration) example, in one of two places: monitoring-usage 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 doubtThe finding does not say what a parked spare process is, how one is created, or when the held-back MCP servers are connected.
Anthropic's documentation agreesAnthropic's documentation has since written up CLAUDE_CODE_ENABLE_TELEMETRY, on Monitoring.

See this entry in the whole of v2.1.281 →

Feedback