Skip to content

Add Co-Authored-By trailer and commit message pattern detection - #7

Merged
MoralCode merged 1 commit into
mainfrom
co-author-and-message-detection
Feb 15, 2026
Merged

MoralCode merged 1 commit into
mainfrom
co-author-and-message-detection

Conversation

@andrew

@andrew andrew commented Feb 15, 2026

Copy link
Copy Markdown
Contributor

Rename utils.go to detection.go to better reflect its purpose. Add two new detection signals that work without the GitHub API: Co-Authored-By trailer parsing and commit message pattern matching.

Co-Authored-By trailer detection matches by email domain for Anthropic (noreply@anthropic.com), Cursor (cursoragent@cursor.com), and Aider (noreply@aider.chat). Commit message pattern detection catches aider: prefixed messages and the "Generated with Claude Code" footer.

Closes #2

Rename utils.go to detection.go to better reflect its purpose. Add two
new detection signals that don't require the GitHub API: parsing
Co-Authored-By trailers for known AI tool emails (Anthropic, Cursor,
Aider) and matching commit message patterns (aider: prefix, Generated
with Claude Code footer).

Closes #2

Signed-off-by: Andrew Nesbitt <andrewnez@gmail.com>
@andrew
andrew force-pushed the co-author-and-message-detection branch from 55851ed to 2082e55 Compare February 15, 2026 13:25
@MoralCode

Copy link
Copy Markdown
Contributor

LGTM!

@MoralCode
MoralCode merged commit 14bafb6 into main Feb 15, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

Ecosyste.ms notes

2 participants