You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
GitArea: what it touches
ImprovementsKind: in v2.1.284,
ImprovementsSection of the release
Unclear Where the new session id comes from, and so which sessions are affected.
What
Claude Code can add a Claude-Session line to commit messages and a session link to pull requests. Before, this only happened in remote mode, using CLAUDE_CODE_REMOTE_SESSION_ID. It now also happens whenever Claude Code finds a session id from another lookup, and that id is used ahead of CLAUDE_CODE_REMOTE_SESSION_ID.
Why
More commits and pull requests may carry a link to a claude.ai session.
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
Confirmed sinceAnthropic's documentation has since written up CLAUDE_CODE_REMOTE_SESSION_ID, on Monitoring.By default, metrics and events from a cloud session carry the [standard attributes](#standard-attributes), including `session.id`, `ccr.session.id`, and `organization.id`, so you can filter by session or organization without extra configur…monitoring-usagesee the edit
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 doubtWhere the new session id comes from, and so which sessions are affected.
Anthropic's documentation agreesAnthropic's documentation has since written up CLAUDE_CODE_REMOTE_SESSION_ID, on Monitoring.