What's wrong with this entry?
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.
# Suppress session attribution in commits and PRs (remote mode only)
CLAUDE_CODE_SUPPRESS_SESSION_ATTRIBUTION=1 claude- 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
remotemode — no effect in interactive sessions
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.