How Archestra Stopped AI Bot Spam in Their GitHub Repo Using Git's --author Flag
Original: We stopped AI bot spam in our GitHub repo using Git's -author flag View original →
The Problem: AI Bot Spam at Scale
Open-source maintainers increasingly face a new kind of contributor noise. For Archestra, the numbers were stark: a single bounty issue accumulated 253 AI-generated bot comments, a feature request spawned 27 untested pull requests, and one team member spent half their week removing spam. Legitimate contributors were buried.
The Solution
Step 1 — Onboarding verification: Before gaining repository access, contributors must complete an ethical AI usage agreement and CAPTCHA verification. GitHub's "limit to prior contributors" setting then blocks unvetted accounts from commenting or opening PRs.
Step 2 — Git's --author flag: Git distinguishes between a commit's author and its committer. By using the --author flag with a user's noreply email format ([email protected]), the team can create commits attributed to an external contributor without giving that person direct push access.
The workflow: once a user completes onboarding, a GitHub Action retrieves their ID via the API, the team creates a commit authored under their account, and that person becomes recognized as a prior contributor — unlocking commenting and PR permissions going forward.
The Insight
Repository metrics like contributor count and PR volume do not reflect quality. The real target is not AI-assisted contributions — it's unverified, mass-generated AI output. This approach creates a practical boundary between the two, without blocking AI tools entirely.
Related Articles
Linus Torvalds has warned that AI-powered vulnerability discovery tools are flooding the Linux kernel security mailing list with duplicate reports, creating what he calls 'unnecessary pain and pointless work.' He argues that AI-detected bugs are by definition not secret, and urges researchers to contribute patches rather than bare reports.
HN reacted because fake stars are no longer just platform spam; they distort how AI and LLM repos look credible. The thread converged on a practical answer: read commits, issues, code, and real usage instead of treating stars as proof.
HN treated Ghostty’s GitHub exit as more than a forge move. What hit people was the subtext: when even a maintainer with deep GitHub history decides the relationship is no longer worth it, reliability and focus stop sounding like background complaints.
Comments (0)
No comments yet. Be the first to comment!