From 0af47c2d70e460113c9b6ca0a8b5f1ea3d4b8cad Mon Sep 17 00:00:00 2001 From: Gal Elharar Date: Mon, 23 Nov 2026 11:50:23 +0200 Subject: [PATCH 1/4] docs: require AI attribution Document the required trailer for AI-assisted commits and align the CodeRabbit pre-merge check. Assisted-by: Codex --- .coderabbit.yaml | 9 +++++---- AGENTS.md | 14 ++++++++++++++ CONTRIBUTING.md | 15 +++++++++++++++ 3 files changed, 34 insertions(+), 4 deletions(-) diff --git a/.coderabbit.yaml b/.coderabbit.yaml index 6d524095..0d9f0276 100644 --- a/.coderabbit.yaml +++ b/.coderabbit.yaml @@ -714,10 +714,11 @@ reviews: - name: "ai-attribution" instructions: | - If AI tools were used (mentioned in PR or commits), verify - attribution trailers: Assisted-by, Generated-by, or - Made-with (e.g., Made-with: Cursor) are acceptable. - Flag use of Co-Authored-By for AI tools. + Require every AI-assisted commit to include an attribution trailer: + Assisted-by, Generated-by, or Made-with. If AI assistance is + mentioned in the PR or commit messages, verify that each relevant + commit has one of these trailers. Do not accept Co-Authored-By for + AI tools. mode: "error" # ── Domain-specific gates (ai-workflows) ────────────────── diff --git a/AGENTS.md b/AGENTS.md index 0f21d0fb..568a7ead 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -221,6 +221,20 @@ Bump each discovered consuming package's `SKILL.md` version (PATCH increment). Include the version bump in the same commit as the behavioral change. Do not make a separate commit for the version bump. +### AI attribution + +Every commit containing AI-generated or AI-assisted changes must include an +attribution trailer: + +```text +Assisted-by: Codex +``` + +Acceptable trailer keys are `Assisted-by`, `Generated-by`, and `Made-with`. +Use the name of the tool that assisted the change. Do not use +`Co-Authored-By` for AI tools. Add the trailer to every relevant commit, not +only to the pull-request description. + ## Installation Install with `./install.sh ` (targets: `cursor`, `claude`, `gemini`, diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index af714d1f..c4403233 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -370,6 +370,21 @@ during execution (e.g., `design/decomposition-review.md`). See Include the version bump in the same commit as the behavioral change. Do not make a separate commit for the version bump. +### AI attribution + +Every commit containing AI-generated or AI-assisted changes must include an +attribution trailer: + +```text +Assisted-by: Codex +``` + +Acceptable trailer keys are `Assisted-by`, `Generated-by`, and `Made-with`. +Use the name of the tool that assisted the change and add the trailer to every +relevant commit. Do not use `Co-Authored-By` for AI tools; that trailer is +reserved for human contributors. A pull-request description does not replace +the required commit trailer. + ### Git tags Tags are created automatically when version bumps merge to main via From 4309bddb75dd3d8d1cf31994a58a8a429ab556f0 Mon Sep 17 00:00:00 2001 From: Gal Elharar Date: Mon, 23 Nov 2026 12:08:13 +0200 Subject: [PATCH 2/4] docs: require named AI attribution tools Require the AI-attribution trailer value to identify the assisting tool and reject generic values such as AI. Assisted-by: Codex --- .coderabbit.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.coderabbit.yaml b/.coderabbit.yaml index 0d9f0276..94cbf1fd 100644 --- a/.coderabbit.yaml +++ b/.coderabbit.yaml @@ -717,8 +717,9 @@ reviews: Require every AI-assisted commit to include an attribution trailer: Assisted-by, Generated-by, or Made-with. If AI assistance is mentioned in the PR or commit messages, verify that each relevant - commit has one of these trailers. Do not accept Co-Authored-By for - AI tools. + commit has one of these trailers and that its value identifies the + assisting tool, such as Codex, Claude, or Cursor. Reject generic + values such as AI. Do not accept Co-Authored-By for AI tools. mode: "error" # ── Domain-specific gates (ai-workflows) ────────────────── From d9340732c290ef636ab6c729f480f2e9bceb99b2 Mon Sep 17 00:00:00 2001 From: Gal Elharar Date: Mon, 23 Nov 2026 12:36:44 +0200 Subject: [PATCH 3/4] docs: clarify AI attribution examples Assisted-by: Codex --- AGENTS.md | 4 +++- CONTRIBUTING.md | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 568a7ead..01bf1f33 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -224,12 +224,14 @@ Do not make a separate commit for the version bump. ### AI attribution Every commit containing AI-generated or AI-assisted changes must include an -attribution trailer: +attribution trailer, e.g.: ```text Assisted-by: Codex ``` +Any other AI tool may be named in the trailer. + Acceptable trailer keys are `Assisted-by`, `Generated-by`, and `Made-with`. Use the name of the tool that assisted the change. Do not use `Co-Authored-By` for AI tools. Add the trailer to every relevant commit, not diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c4403233..484a3874 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -373,12 +373,14 @@ Do not make a separate commit for the version bump. ### AI attribution Every commit containing AI-generated or AI-assisted changes must include an -attribution trailer: +attribution trailer, e.g.: ```text Assisted-by: Codex ``` +Any other AI tool may be named in the trailer. + Acceptable trailer keys are `Assisted-by`, `Generated-by`, and `Made-with`. Use the name of the tool that assisted the change and add the trailer to every relevant commit. Do not use `Co-Authored-By` for AI tools; that trailer is From f9f466d6c7f96b4e7411f18afebea8b457709a1b Mon Sep 17 00:00:00 2001 From: Gal Elharar Date: Mon, 23 Nov 2026 15:07:58 +0200 Subject: [PATCH 4/4] docs: keep existing ai attribution check Assisted-by: Codex --- .coderabbit.yaml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.coderabbit.yaml b/.coderabbit.yaml index 94cbf1fd..6d524095 100644 --- a/.coderabbit.yaml +++ b/.coderabbit.yaml @@ -714,12 +714,10 @@ reviews: - name: "ai-attribution" instructions: | - Require every AI-assisted commit to include an attribution trailer: - Assisted-by, Generated-by, or Made-with. If AI assistance is - mentioned in the PR or commit messages, verify that each relevant - commit has one of these trailers and that its value identifies the - assisting tool, such as Codex, Claude, or Cursor. Reject generic - values such as AI. Do not accept Co-Authored-By for AI tools. + If AI tools were used (mentioned in PR or commits), verify + attribution trailers: Assisted-by, Generated-by, or + Made-with (e.g., Made-with: Cursor) are acceptable. + Flag use of Co-Authored-By for AI tools. mode: "error" # ── Domain-specific gates (ai-workflows) ──────────────────