What
When Claude Code resumes a session running in the cloud (a CCR session, started with --sdk-url), it can now open its remote connection while the rest of startup is still running.
- A new environment variable,
CLAUDE_CODE_CCR_EARLY_REMOTE_CONNECT, turns this on.CLAUDE_CODE_CCR_EARLY_HYDRATE_PREFETCHstill triggers early loading of session data. Either one, plus--sdk-urland a resume, startsstartEarlyRemoteWork, which replacesstartEarlyHydrateReadsand returns both the data reads and a remote link. Nothing starts early when no auth headers are present. - Both variables were added to the lists of environment variables that are passed through to child processes.
- The SSE transport (the streaming connection that carries events) has a new
deferDeliveryoption. When set, incoming frames and close events are held and then replayed bystartDelivery(), passing each held frame's worker attestation policy reading along in order. The early path usesdeferDelivery: !0; the main path usesdeferDelivery: !1. - The remote IO layer accepts an
earlyRemoteLinkand reuses the already-connected transport and client instead of building its own, callingstartDelivery()rather thanconnect(). This is valid only for a process that owns its remote IO. - A new
takeWorkerAttestationPolicyrecords the attestation policy and reports any fault, and the idle tracker is no longer set up at declaration.
Why
A resumed cloud worker can register and open its stream sooner, which should shorten a cold resume, and holding events means an early request is not lost before the session is ready. Nothing changes unless the host sets one of the environment variables.
Names in the bundleCLAUDE_CODE_CCR_EARLY_REMOTE_CONNECT
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
The finding calls `CLAUDE_CODE_CCR_EARLY_HYDRATE_PREFETCH` both existing and new, so whether it first appears in this build is unclear.
The name it cites is new in this build
New in this build: CLAUDE_CODE_CCR_EARLY_REMOTE_CONNECT