{"name":"CLAUDE_BRIDGE_REATTACH_SESSION","slug":"claude-bridge-reattach-session","family":"env","title":"Environment variables","noun":"environment variable","description":"One resolver now decides whether Remote Control starts and in which mode, weighing flags, settings and env vars.","description_source":"entry","described_by":{"version":"2.1.224","anchor":"remote-control-autostart-decision-is-resolved-in-one-place"},"presence":{"first_seen":"2.1.138","removed_in":null,"in_current_build":true,"newest_mined":"2.1.308","builds":149,"mined_builds":149,"first_cited":null},"aliases":[],"entries":[{"version":"2.1.296","anchor":"stream-json-startup-failure-is-reported-as-a-synthetic-assis","heading":"Programs driving Claude Code over stream-json get a message when startup fails","line":"When Claude Code fails to start under `--input-format` stream-json, it can answer with a \"Claude Code didn't start\" message and a result","released_at":"2026-10-09 16:58:10","reason":"found in this entry's text"},{"version":"2.1.281","anchor":"session-scoped-add-dirs-carried-across-relaunch-via-claude-r","heading":"Session-scoped add-dirs carried across relaunch via CLAUDE_RELAUNCH_SESSION_ADD_DIRS","line":"Extra directories you add during a session now survive when Claude Code relaunches itself","released_at":"2026-09-23 17:01:17","reason":"found in this entry's text"},{"version":"2.1.281","anchor":"offer-claim-ui-strings-plus-a-web-setup-nudge","heading":"Offer-claim UI strings plus a \/web-setup nudge","line":"The offer message gains a link to the offer and a tip to run \/web-setup to connect GitHub for cloud sessions","released_at":"2026-09-23 17:01:17","reason":"found in this entry's text"},{"version":"2.1.224","anchor":"remote-control-autostart-decision-is-resolved-in-one-place","heading":"Remote-control autostart decision is resolved in one place","line":"One resolver now decides whether Remote Control starts and in which mode, weighing flags, settings and env vars.","released_at":"2026-08-07 01:36:32","reason":"named in this entry, found in this entry's text"},{"version":"2.1.118","anchor":"bug-fixes","heading":"","line":null,"released_at":"2026-04-22 23:48:56","reason":"found in this entry's text"}],"entries_total":5,"docs":[],"docs_total":0,"gates":[],"related":[{"name":"CLAUDE_BRIDGE_REATTACH_GROUPING","slug":"claude-bridge-reattach-grouping","description":"Part of the Remote Control reattach handoff Claude Code puts in a child process's environment when it relaunches or respawns a session that had a bridge session. Holds that bridge session's grouping ID. The new process uses it as the reattached session's grouping ID, only when `CLAUDE_BRIDGE_REATTACH_SESSION` is also set and the reattach is not vetoed, and removes it from its environment after reading."},{"name":"CLAUDE_BRIDGE_REATTACH_NO_BACKFILL","slug":"claude-bridge-reattach-no-backfill","description":"Part of the Remote Control reattach handoff Claude Code puts in a child process's environment when it relaunches or respawns a session that had a bridge session. Claude Code sets it to `1` when the conversation's recorded bridge state says not to backfill history. When it is truthy (`1`, `true`, `yes`, `on`) and `CLAUDE_BRIDGE_REATTACH_SESSION` is set, the new process reattaches with history channels suppressed. It is removed from the environment after reading."},{"name":"CLAUDE_BRIDGE_REATTACH_OUTBOUND_ONLY","slug":"claude-bridge-reattach-outbound-only","description":"One resolver now decides whether Remote Control starts and in which mode, weighing flags, settings and env vars."},{"name":"CLAUDE_BRIDGE_REATTACH_OWNER_ACCT","slug":"claude-bridge-reattach-owner-acct","description":"Resuming a session under a different account starts fresh instead of replaying the old history."},{"name":"CLAUDE_BRIDGE_REATTACH_OWNER_ORG","slug":"claude-bridge-reattach-owner-org","description":"Part of the Remote Control reattach handoff Claude Code puts in a child process's environment when it relaunches or respawns a session that had a bridge session. Holds the organization UUID of the conversation's recorded owner, alongside the account UUID in `CLAUDE_BRIDGE_REATTACH_OWNER_ACCT`. When both the handoff and the current login have an account, the new process compares account and organization; on a mismatch it vetoes the reattach and mints a fresh bridge session with history channels suppressed. It is removed from the environment after reading."},{"name":"CLAUDE_BRIDGE_REATTACH_SEQ","slug":"claude-bridge-reattach-seq","description":"Part of the Remote Control reattach handoff Claude Code puts in a child process's environment when it relaunches or respawns a session that had a bridge session. Holds the last message sequence number of the bridge session named by `CLAUDE_BRIDGE_REATTACH_SESSION`, as a decimal integer, and is only written when greater than `0`. The new process parses it as the sequence number to reattach at, only when `CLAUDE_BRIDGE_REATTACH_SESSION` is set, and removes it from the environment after reading."}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/claude-bridge-reattach-session","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}