{"name":"CLAUDE_BG_SOURCE","slug":"claude-bg-source","family":"env","title":"Environment variables","noun":"environment variable","description":"Agent descriptions are sanitised before display, websocket URLs are normalised, and mkdir accepts a mode.","description_source":"entry","described_by":{"version":"2.1.238","anchor":"assorted-smaller-changes"},"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.238","anchor":"assorted-smaller-changes","heading":"Assorted smaller changes","line":"Agent descriptions are sanitised before display, websocket URLs are normalised, and mkdir accepts a mode.","released_at":"2026-08-20 18:01:54","reason":"found in this entry's text"}],"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_GATEWAY_WITHHELD","slug":"claude-bg-gateway-withheld","description":"`CLAUDE_BG_GATEWAY_WITHHELD` is now removed along with other background-session variables, so it does not carry into sessions started from there"},{"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"}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/claude-bg-source","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}