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.179 ·

CLAUDE_CODE_SUPPRESS_SESSION_ATTRIBUTION Environment Variable

Entry
JSON All of v2.1.179
EntryKind: in v2.1.179,
New FeaturesSection of the release
What

In remote sessions, Claude now adds a Claude-Session: attribution line to git commit messages and PR bodies. This new env var lets you suppress that attribution.

Usage
# Suppress session attribution in commits and PRs (remote mode only)
CLAUDE_CODE_SUPPRESS_SESSION_ATTRIBUTION=1 claude
Details
  • When attribution is active (remote session, no suppression), commit messages get a Claude-Session: <session-id> trailer
  • PR bodies get the session ID appended as a paragraph
  • Only applies in remote mode — no effect in interactive sessions
Evidence

Attribution suppression check (search for "CLAUDE_CODE_SUPPRESS_SESSION_ATTRIBUTION") and header format (search for "Claude-Session:")

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.179 →

Feedback