Follow Discord
Sweep 03 Nov 2026 · 22:27Z Build v2.1.318 536 read Stable v2.1.311 Latest v2.1.318 Next v2.1.318 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.317 ·

New CLAUDE_CODE_PROGRAM_USE_CASE_ID setting labels requests with a use case

Set CLAUDE_CODE_PROGRAM_USE_CASE_ID and Claude Code can attach that use case ID to its requests, if the host accepts it

Use it now Notable No documentation found New Features
JSON All of v2.1.317
Use it nowTier: how much it should matter to you
5Useful: my rating, 1 to 5
4Signal: worth watching, 1 to 5
Environment VariablesArea: what it touches
New FeaturesKind: in v2.1.317,
What probably matters to youSection of the release

Unclear It is not clear whether the host feature check is switched on, so the ID may not be sent.

What

Claude 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:

  • the value has the expected format
  • the host supports the feature
  • the host has not refused that ID

If the host refuses the ID, Claude Code fetches its startup information again.

Why

This gives a way to label requests with the program or use case they come from.

Read from
Feature flag
tengu_federated_possum Not enough to say

Nothing here resolved what this flag was doing on this version, so nothing here should be read as on or off.

This account: no value returned · anonymous baseline: no value returned · compiled default in v2.1.317: 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.

Read once, for one account on one subscription tier, against v2.1.317. It isn't a statement about your account. What a flag value here can and cannot tell you

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not clear whether the host feature check is switched on, so the ID may not be sent.
The name it cites is new in this buildNew in this build: CLAUDE_CODE_PROGRAM_USE_CASE_ID

See this entry in the whole of v2.1.317 →

Feedback