Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.304 ·

New CLAUDE_CODE_ATTRIBUTION_PROJECT environment variable passed to spawned sessions

Claude Code now always passes a CLAUDE_CODE_ATTRIBUTION_PROJECT environment variable along, empty when it is not set

Under the hood No documentation found Internal Changes
JSON All of v2.1.304
Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
ProjectsArea: what it touches
Internal ChangesKind: in v2.1.304,
Internal ChangesSection of the release

Unclear What reads CLAUDE_CODE_ATTRIBUTION_PROJECT once it is passed on, and so what setting it changes for a reader, is not known.

What

When Claude Code builds the list of environment variables it passes on to processes it starts, it now always includes CLAUDE_CODE_ATTRIBUTION_PROJECT. An environment variable is a named value that a program can read from its surroundings. If you have not set this one, it is passed along with an empty value.

Why

This gives sessions started by Claude Code a way to carry a project label for attribution, meaning a record of which project the work belongs to.

Read from
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 doubtWhat reads `CLAUDE_CODE_ATTRIBUTION_PROJECT` once it is passed on, and so what setting it changes for a reader, is not known.
The name it cites is new in this buildNew in this build: CLAUDE_CODE_ATTRIBUTION_PROJECT

See this entry in the whole of v2.1.304 →

Feedback