{"name":"CLAUDE_CODE_HOST_GATEWAY_LINEAGE","slug":"claude-code-host-gateway-lineage","family":"env","title":"Environment variables","noun":"environment variable","description":"New CLAUDE_CODE_HOST_GATEWAY_LINEAGE variable keeps child processes of a Desktop-hosted gateway session treated as host-managed","description_source":"entry","described_by":{"version":"2.1.281","anchor":"claude-code-host-gateway-lineage-new-env-var-that-marks-s"},"presence":{"first_seen":"2.1.281","removed_in":null,"in_current_build":true,"newest_mined":"2.1.283","builds":3,"mined_builds":126,"first_cited":{"version":"2.1.281","released_at":"2026-09-23 17:01:17","spans":5}},"aliases":[],"entries":[{"version":"2.1.281","anchor":"claude-code-host-gateway-lineage-new-env-var-that-marks-s","heading":"CLAUDE_CODE_HOST_GATEWAY_LINEAGE : new env var that marks sessions spawned by a Claude Desktop gateway","line":"New CLAUDE_CODE_HOST_GATEWAY_LINEAGE variable keeps child processes of a Desktop-hosted gateway session treated as host-managed","released_at":"2026-09-23 17:01:17","reason":"found in this entry's text, named in this entry"},{"version":"2.1.281","anchor":"background-session-child-environment-auth-and-new-variables","heading":"Background-session child environment: auth and new variables handled explicitly","line":"Background sessions now start from a cleaned environment, with login variables added back and some internal variables left out","released_at":"2026-09-23 17:01:17","reason":"found in this entry's text"}],"entries_total":2,"docs":[],"docs_total":0,"gates":[],"related":[{"name":"CLAUDE_CODE_HOST_AUTH_ENV_VAR","slug":"claude-code-host-auth-env-var","description":null},{"name":"CLAUDE_CODE_HOST_AUTH_REFRESH_TIMEOUT_MS","slug":"claude-code-host-auth-refresh-timeout-ms","description":null},{"name":"CLAUDE_CODE_HOST_CREDS_FILE","slug":"claude-code-host-creds-file","description":"A trailing slash in your host credentials file path no longer changes whether the rule matches."},{"name":"CLAUDE_CODE_HOST_PLATFORM","slug":"claude-code-host-platform","description":null},{"name":"CLAUDE_CODE_HOST_SCHEDULED_RUN","slug":"claude-code-host-scheduled-run","description":"Scheduled-run tasks can now report why they fired, but only if the host explicitly opts in via CLAUDE_CODE_HOST_SCHEDULED_RUN=1"},{"name":"CLAUDE_CODE_HOST_SESSION_ID","slug":"claude-code-host-session-id","description":"Claude Code now recognizes a CLAUDE_CODE_HOST_SESSION_ID environment variable"}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/claude-code-host-gateway-lineage","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}