{"version":"2.1.317","anchor":"program-use-case-id-env-var-and-federated-possum-gate","canonical_anchor":"program-use-case-id-env-var-and-federated-possum-gate","heading":"New CLAUDE_CODE_PROGRAM_USE_CASE_ID setting labels requests with a use case","tier":"use","area":"Environment Variables","scope":"org","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.317\/e\/program-use-case-id-env-var-and-federated-possum-gate","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.317","markdown":"### New `CLAUDE_CODE_PROGRAM_USE_CASE_ID` setting labels requests with a use case\n\nSet `CLAUDE_CODE_PROGRAM_USE_CASE_ID` and Claude Code can attach that use case ID to its requests, if the host accepts it\n\n**Unclear.** It is not clear whether the host feature check is switched on, so the ID may not be sent.\n\n**What**\n\nClaude Code reads a new environment variable, `CLAUDE_CODE_PROGRAM_USE_CASE_ID`, a setting you give it before it starts. When set, Claude Code attaches the ID to its requests only if:\n\n- the value has the expected format\n\n- the host supports the feature\n\n- the host has not refused that ID\n\nIf the host refuses the ID, Claude Code fetches its startup information again.\n\n**Why**\n\nThis gives a way to label requests with the program or use case they come from.\n\n- Flag `tengu_federated_possum`: Not enough to say (read for one account on one subscription tier against v2.1.317; this account: no value returned, anonymous baseline: no value returned, compiled default: off) These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.\n- Area: Environment Variables\n- Names: `CLAUDE_CODE_PROGRAM_USE_CASE_ID`\n- Tier: Use it now\n- Useful: 5\/5\n- Signal: 4\/5\n- Scope: org\n- Heads-up: no"}