{"name":"CLAUDE_BG_GATEWAY_WITHHELD","slug":"claude-bg-gateway-withheld","family":"env","title":"Environment variables","noun":"environment variable","description":"`CLAUDE_BG_GATEWAY_WITHHELD` is now removed along with other background-session variables, so it does not carry into sessions started from there","description_source":"entry","described_by":{"version":"2.1.302","anchor":"claude-bg-gateway-withheld-scrubbed-from-the-env"},"presence":{"first_seen":"2.1.302","removed_in":null,"in_current_build":true,"newest_mined":"2.1.308","builds":7,"mined_builds":149,"first_cited":{"version":"2.1.302","released_at":"2026-10-16 16:48:28","spans":1}},"aliases":[],"entries":[{"version":"2.1.302","anchor":"claude-bg-gateway-withheld-scrubbed-from-the-env","heading":"Background sessions no longer pass on the withheld-gateway marker","line":"`CLAUDE_BG_GATEWAY_WITHHELD` is now removed along with other background-session variables, so it does not carry into sessions started from there","released_at":"2026-10-16 16:48:28","reason":"found in this entry's text, named in this entry"}],"entries_total":1,"docs":[],"docs_total":0,"gates":[],"related":[{"name":"CLAUDE_BG_AUTH_SNAPSHOT_PATH","slug":"claude-bg-auth-snapshot-path","description":"Bridge-spawned child sessions no longer inherit your credential environment variables."},{"name":"CLAUDE_BG_AUTO_MEMORY_OFF","slug":"claude-bg-auto-memory-off","description":"Claude Code now tracks auto-memory being off for a session and adds a notice that memory is still paused from earlier"},{"name":"CLAUDE_BG_BACKEND","slug":"claude-bg-backend","description":"With the daemon background backend, the display survives stdout disappearing instead of dying."},{"name":"CLAUDE_BG_CARRIED_PROMPTS_SHA256","slug":"claude-bg-carried-prompts-sha256","description":"Claude Code now passes `CLAUDE_BG_CARRIED_PROMPTS_SHA256` to background sessions alongside `CLAUDE_BG_WORKSPACE_TRUSTED`"},{"name":"CLAUDE_BG_CLAIM_AUTH","slug":"claude-bg-claim-auth","description":"Claude Code adds seven environment variable names for background sessions and terminal hosts to a list it keeps of such names"},{"name":"CLAUDE_BG_DISPATCHER_RATE_LIMIT_TIER","slug":"claude-bg-dispatcher-rate-limit-tier","description":"Two env vars let background dispatchers inherit your plan and rate tier without an API call."},{"name":"CLAUDE_BG_DISPATCHER_SUBSCRIPTION_TYPE","slug":"claude-bg-dispatcher-subscription-type","description":"Two env vars let background dispatchers inherit your plan and rate tier without an API call."},{"name":"CLAUDE_BG_ISOLATION","slug":"claude-bg-isolation","description":"Background worktree isolation now reads CLAUDE_BG_ISOLATION from a captured environment copy."},{"name":"CLAUDE_BG_MEMORY_TOGGLED_OFF","slug":"claude-bg-memory-toggled-off","description":"Background sessions now start from a cleaned environment, with login variables added back and some internal variables left out"},{"name":"CLAUDE_BG_POST_CLEAR_RESPAWN","slug":"claude-bg-post-clear-respawn","description":"Set to `1` by the background-session daemon when it respawns a background session whose session id changed since it was dispatched, as after a `\/clear`. When truthy at startup, two checks that otherwise apply to launches without `--resume` or `--continue` are skipped: validation of an inline `--agents` JSON string and the `--agent '<name>' not found` error."}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/claude-bg-gateway-withheld","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}