What
Two 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.
Details
- The values feed the subscription-tier resolution used for max/pro/team/enterprise gating elsewhere in the CLI.
- This is live plumbing, not dead code: the reader has callers at the subscription and rate-tier resolution functions.
Evidence
CLAUDE_BG_DISPATCHER_SUBSCRIPTION_TYPE
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
One source agreesOne thing we can check says the same as this entry.
The name it cites is new in this build
New in this build: CLAUDE_BG_DISPATCHER_RATE_LIMIT_TIER