{"version":"2.1.251","anchor":"background-sessions-can-inherit-plan-and-rate-limit-tier-fro","canonical_anchor":"background-sessions-can-inherit-plan-and-rate-limit-tier-fro","heading":"Background sessions can inherit plan and rate-limit tier from the environment","tier":"use","area":"Sessions","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.251\/e\/background-sessions-can-inherit-plan-and-rate-limit-tier-fro","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.251","markdown":"### Background sessions can inherit plan and rate-limit tier from the environment\n\nTwo env vars let background dispatchers inherit your plan and rate tier without an API call.\n\n**What**\n\nTwo environment variables, `CLAUDE_BG_DISPATCHER_SUBSCRIPTION_TYPE` and `CLAUDE_BG_DISPATCHER_RATE_LIMIT_TIER`, now let a background dispatcher process learn its parent session's plan and rate tier without an API call. Both are read only when `CLAUDE_CODE_SESSION_KIND` is set to `bg`; in any other session kind they come back undefined and tier lookup falls back to the normal path.\n\n**Details**\n\n- The values feed the subscription-tier resolution used for max\/pro\/team\/enterprise gating elsewhere in the CLI.\n- This is live plumbing, not dead code: the reader has callers at the subscription and rate-tier resolution functions.\n\n**Evidence**\n\n`CLAUDE_BG_DISPATCHER_SUBSCRIPTION_TYPE`\n\n- Area: Sessions\n- Names: `CLAUDE_BG_DISPATCHER_SUBSCRIPTION_TYPE`, `CLAUDE_BG_DISPATCHER_RATE_LIMIT_TIER`, `CLAUDE_CODE_SESSION_KIND`, `CLAUDE_CODE_SESSION_`\n- Tier: Use it now\n- Useful: 2\/5\n- Signal: 3\/5"}