chore: add .mailmap to fold the Claude co-author identity#107
Merged
Conversation
A few early commits (e.g. PR #100) carried a `Co-Authored-By: Claude … <noreply@anthropic.com>` trailer, which made GitHub's contributors graph list a spurious "claude" contributor. .mailmap canonicalizes that identity to the maintainer so shortlog / blame / the GitHub contributors graph no longer show it. No history is rewritten; tags, releases (v0.9.0) and PyPI are untouched. Future attribution is separately disabled via ~/.claude/settings.json (includeCoAuthoredBy: false).
hyoshi
added a commit
that referenced
this pull request
May 16, 2026
The .mailmap was added (#107) to drop the spurious "claude" contributor, but GitHub does not remap Co-authored-by trailer attribution via .mailmap, so it did not achieve its purpose. The single legacy co-author trailer on #100 is accepted as-is; future attribution is prevented at the source via ~/.claude/settings.json (includeCoAuthoredBy: false + attribution commit/pr empty). Removing the dead file.
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
GitHub's contributors graph listed a
claudecontributor. Cause: a few early commits (e.g. PR #100) carried aCo-Authored-By: Claude … <noreply@anthropic.com>trailer; GitHub counts co-authors. No commit is authored by Claude.Fix (non-destructive)
Add
.mailmapmapping<noreply@anthropic.com>→ the maintainer's canonical identity.git shortlog/blameand the GitHub contributors graph all honor .mailmap, so the spurious contributor disappears with no history rewrite — tags, the v0.9.0 GitHub Release, and PyPI are completely untouched.Verified locally:
git check-mailmap "Claude Opus 4.7 (1M context) <noreply@anthropic.com>"→Hirokazu Yoshinaga <…@users.noreply.github.com>;git shortlog -sne --allno longer lists claude/anthropic.Future prevention
~/.claude/settings.json→includeCoAuthoredBy: false(separate, user-global) so new commits/PRs never add the trailer.