{"name":"CLAUDE_BRIDGE_REATTACH_SEQ","slug":"claude-bridge-reattach-seq","family":"env","title":"Environment variables","noun":"environment variable","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.","description_source":"code","described_by":{"bundle":"2.1.286","author":"claude-opus-5-5"},"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.118","anchor":"bug-fixes","heading":"","line":null,"released_at":"2026-04-22 23:48:56","reason":"found in this entry's text"}],"entries_total":1,"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_SESSION","slug":"claude-bridge-reattach-session","description":"One resolver now decides whether Remote Control starts and in which mode, weighing flags, settings and env vars."}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/claude-bridge-reattach-seq","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}