{"version":"2.1.304","anchor":"new-claude-code-attribution-project-env-var-is-forwarded","canonical_anchor":"new-claude-code-attribution-project-env-var-is-forwarded","heading":"New CLAUDE_CODE_ATTRIBUTION_PROJECT environment variable passed to spawned sessions","tier":"internal","area":"Projects","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.304\/e\/new-claude-code-attribution-project-env-var-is-forwarded","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.304","markdown":"### New CLAUDE_CODE_ATTRIBUTION_PROJECT environment variable passed to spawned sessions\n\nClaude Code now always passes a CLAUDE_CODE_ATTRIBUTION_PROJECT environment variable along, empty when it is not set\n\n**Unclear.** What reads `CLAUDE_CODE_ATTRIBUTION_PROJECT` once it is passed on, and so what setting it changes for a reader, is not known.\n\n**What**\n\nWhen 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.\n\n**Why**\n\nThis 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.\n\n- Area: Projects\n- Names: `CLAUDE_CODE_ATTRIBUTION_PROJECT`\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}