{"version":"2.1.334","anchor":"remote-bridge-gains-a-gate-that-cuts-refused-uploads-tengu","canonical_anchor":"remote-worker-client-drops-the-worker-socket-heartbeat-path","heading":"Remote sessions drop the worker-socket path and shut down when refused","tier":"notice","area":"Remote Control","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.334\/e\/remote-bridge-gains-a-gate-that-cuts-refused-uploads-tengu","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.334","markdown":"### Remote sessions drop the worker-socket path and shut down when refused\n\nThe remote-session worker loses its worker-socket path, gains a gated cut for refused uploads, and now exits cleanly when the server refuses the session\n\n**Unclear.** What happens to an upload when it is cut is not known.\n\n**What**\n\nRemote sessions (CCR) and Remote Control send their events through a background worker that talks to the server. That worker changed in several ways:\n\n- The `workerSocket` stream opener is gone. In the previous build it was chosen from `CLAUDE_CODE_CCR_WORKER_SOCKET` or a hosted `workerSocketVersions` list. The `streamOpener`, `workerSocket` and `keepsRequestId` options were removed, along with `renewStream`, and the heartbeat and POST handoff no longer go through the worker socket.\n\n- `cutsRefusedUploads` is a new option controlled by the `tengu_snuggly_mist` gate, whose built-in fallback is off. Event uploads reset a count of refusals in a row when they succeed and cut refused uploads when refused. For `tengu_snuggly_mist`, the flag server returned off for this site's account and for the anonymous baseline, and no reading has been taken under this release yet.\n\n- `sessionRefused` is a new state for when the server refuses the session. It stops state and turn reports, and further requests return early.\n\n- `refusedSessionExit` is a new exit hook the runner registers at startup. When the session is refused, it is called with exit code 1, stops the session with a shutdown reason, and reports the error as `session_not_active`.\n\nThe other related gates for heartbeats, reconnects, stream events and the upload hold marker are still read, and all fall back to off. The reader capabilities now include an entry for hosted sessions.\n\n**Why**\n\nA remote or SDK session the server refuses now shuts down with an error instead of lingering and sending reports. The opt-in socket route set by `CLAUDE_CODE_CCR_WORKER_SOCKET` no longer exists.\n\n- Flag `tengu_snuggly_mist`: Off in both readings (read for one account on one subscription tier against v2.1.334; this account: off, anonymous baseline: off, compiled default: off) These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.\n- Flag `tengu_ccr_upload_hold_marker`: Not enough to say (read for one account on one subscription tier against v2.1.334; this account: no value returned, anonymous baseline: no value returned, compiled default: off) These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.\n- Area: Remote Control\n- Names: `tengu_snuggly_mist`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no\n- Present in the build but not switched on"}