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 setting checked against claude.ai Project IDs

Claude Code now recognises CLAUDE_CODE_ATTRIBUTION_PROJECT and drops a value that is not a valid claude.ai Project ID from saved jobs

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

Unclear What Claude Code does with the Project ID once it is set is not shown.

What

Claude Code now recognises an environment variable called CLAUDE_CODE_ATTRIBUTION_PROJECT. An environment variable is a named value set in your shell before Claude Code starts. It appears in the lists of variables Claude Code passes along and in the shell setup it writes out.

When a job is saved, its environment is filtered before it is written to the job's state.json file. If the value of CLAUDE_CODE_ATTRIBUTION_PROJECT does not look like a claude.ai Project ID, it is dropped with the reason "not a claude.ai Project ID".

Why

The variable links a session to a claude.ai Project, and a malformed value is thrown away rather than stored. If you set it, use the exact Project ID, or it will not be kept with saved jobs.

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 Claude Code does with the Project ID once it is set is not shown.
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