Skip to content

[BUG] Claude code session should not be a part of the commit message by default when using claude code web #40733

Description

@vibecoder-1z3r0

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

During my latest claude code web session, I noticed that the claude session via https://claude.ai/code/session_[id] was in every commit message. Looks like this is a part of some template in new claude code web sessions.

This is not OK, and is forcing me to have to re-write my commit history to remove the session ID from commits to a public repo.

What Should Happen?

No identifying information for a claude code session should be in the git commit history.

Error Messages/Logs

Steps to Reproduce

Start a claude code web session.
Have claude commit code.
Look at the commit history.

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

No response

Claude Code Version

claude 2.1.87 (Claude Code)

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Other

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:claude-code-webClaude Code on the web. claude.com/codebugSomething isn't workingplatform:webIssue specifically occurs on the webstaleIssue is inactive

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions