From e8c5c8b116869bbda7244e774cac71b9ee247075 Mon Sep 17 00:00:00 2001 From: yogeshprasad098 Date: Thu, 26 Nov 2026 22:13:37 -0800 Subject: [PATCH] docs: ask for no AI attribution in commits and pull requests Agent tools add Co-authored-by lines for themselves by default, and GitHub then lists the tool as a contributor. AGENTS.md and CONTRIBUTING now say to leave them out, and the pull request template stops asking for an AI notes block. --- .github/PULL_REQUEST_TEMPLATE.md | 9 --------- AGENTS.md | 4 ++++ CONTRIBUTING.md | 5 +++-- 3 files changed, 7 insertions(+), 11 deletions(-) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 31ef11d..e56f3a8 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -23,12 +23,3 @@ Not tested: - [ ] `CHANGELOG.md` has an entry under Unreleased saying what a user now sees, or nothing user-visible changed. - [ ] Docs are updated, or the change needs none. - [ ] A breaking change has `!` in the title and the migration above. - - diff --git a/AGENTS.md b/AGENTS.md index fa768a1..6088462 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -108,6 +108,10 @@ Run `./scripts/check.sh` once before saying the work is done. decided. - Conventional commits: `type(scope?): description`. Pull requests are squash merged with the PR title as the commit subject. +- No AI attribution in commits, squash merges, pull requests or issues: no + `Co-authored-by` or `Assisted-by` naming Claude, Cursor, Copilot or any + model, and no "Generated with" lines. GitHub lists a co-author as a + contributor, and only rewriting `main` removes it. Strip any a tool adds. - A pull request closes an issue: find or open it first and put `Closes #` in the body. The required `linked-issue` check fails without one, except for Markdown-only changes and pull requests from the maintainers diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 2cbf300..493c46c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -226,5 +226,6 @@ right to license that way. ## AI-assisted contributions AI tools are welcome. You remain responsible for every line you submit: read -it, test it, and be able to explain it. Agents should follow -[AGENTS.md](AGENTS.md). +it, test it, and be able to explain it. Commits and pull requests carry no AI +credit: remove the `Co-authored-by` lines, "Generated with" notes and similar +that tools add by default. Agents should follow [AGENTS.md](AGENTS.md).