[MODEL] Repeated unauthorized Co-Authored-By: Claude trailer despite prior user instruction — token refund request
Preflight Checklist
- [x] I have searched existing issues for similar behavior reports
- [x] This report does NOT contain sensitive information (API keys, passwords, etc.)
Type of Behavior Issue
Claude modified files I didn't ask it to modify
What You Asked Claude to Do
I asked Claude Code to make a series of UI improvements to my private repo
and to create PRs for them (detail-pane restructure, JSON tree viewer for
API response bodies, resizable workspace panes, etc.). I did not at any
point ask Claude to attribute itself as a co-author on commits, nor to
add a "Generated with Claude Code" footer to PR descriptions.
I had previously instructed Claude (in a prior session)
not to add Co-Authored-By: Claude trailers to commits.
What Claude Actually Did
- Made the requested code changes correctly.
- Created five PRs and, on every single commit, appended:
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
without asking and despite the prior instruction not to do so.
- Added "🤖 Generated with Claude Code" footers to every PR body, also
without asking.
- As a result, "claude" appeared in my repo's Contributors list on
GitHub, attributing itself to my project.
- When I pointed this out, the cleanup required:
- A
git filter-branchrewrite of every affected commit message on
main to strip the trailer
Expected Behavior
Claude Code should NOT add Co-Authored-By: Claude Opus 4.7 (or any Anthropic/Claude attribution
<noreply@anthropic.com>
trailer) to git commit messages unless the user explicitly asks for
it. Self-attribution should be opt-in, not opt-out.
- Claude Code should NOT add "🤖 Generated with Claude Code" footers
to PR descriptions by default. Same reason — opt-in only.
- When a user has previously instructed Claude not to add the trailer,
that instruction should persist across sessions automatically. The
user should not have to repeat the instruction in every new session.
- The default git commit workflow embedded in Claude Code's system
instructions should be revised so the trailer is not the default.
- Subscription tokens consumed by the cleanup work (history rewrite,
force-push, branch deletion, verification, and this issue itself)
should be refunded to my account, as none of that work was
requested — it was solely to repair damage Claude introduced.
Files Affected
Permission Mode
Accept Edits was ON (auto-accepting changes)
Can You Reproduce This?
Yes, every time with the same prompt
Steps to Reproduce
. Start a fresh Claude Code session in any git repo.
- Ask Claude to make any change and commit it ("update the README", "fix
this bug and commit", etc.).
- Observe that the commit message includes a
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> trailer
without having asked for it.
- Ask Claude to also create a PR. Observe that the PR body includes a
"🤖 Generated with Claude Code" footer without having asked.
Claude Model
Opus
Relevant Conversation
Impact
Critical - Data loss or corrupted project
Claude Code Version
2.1.143 (Claude Code)
Platform
Anthropic API
Additional Context
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗