diff --git a/AGENTS.md b/AGENTS.md index 0f21d0fb..01bf1f33 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -221,6 +221,22 @@ 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, 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 +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..484a3874 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -370,6 +370,23 @@ 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, 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 +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