[MODEL] Repeated unauthorized Co-Authored-By: Claude trailer despite prior user instruction — token refund request

Resolved 💬 2 comments Opened Jun 27, 2026 by akramhusseini Closed Jul 1, 2026

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

  1. Made the requested code changes correctly.
  2. 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.

  1. Added "🤖 Generated with Claude Code" footers to every PR body, also

without asking.

  1. As a result, "claude" appeared in my repo's Contributors list on

GitHub, attributing itself to my project.

  1. When I pointed this out, the cleanup required:
  • A git filter-branch rewrite 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
<noreply@anthropic.com>
(or any Anthropic/Claude attribution
trailer) to git commit messages unless the user explicitly asks for
it. Self-attribution should be opt-in, not opt-out.

  1. Claude Code should NOT add "🤖 Generated with Claude Code" footers

to PR descriptions by default. Same reason — opt-in only.

  1. 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.

  1. The default git commit workflow embedded in Claude Code's system

instructions should be revised so the trailer is not the default.

  1. 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.

  1. Ask Claude to make any change and commit it ("update the README", "fix

this bug and commit", etc.).

  1. Observe that the commit message includes a

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> trailer
without having asked for it.

  1. 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_

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗