From 388bce328ac9eb77df2b941b8872bee43c5b0939 Mon Sep 17 00:00:00 2001 From: Vladimir Sitnikov Date: Sun, 30 Aug 2026 00:09:06 +0300 Subject: [PATCH] docs: require an `Assisted-by:` commit trailer for AI-assisted work Sixteen commits on master since March 2026 name a tool in a trailer, in two capitalizations of the key and four spellings of the model. Fifteen of them use `Co-authored-by:`, which in this same history carries nine human names. Git and GitHub read every name in that trailer as an author of the commit, so the field now does two different jobs and a reader cannot tell them apart. Adopt `Assisted-by:` for the disclosure the ASF generative tooling guidance asks for, matching the Linux kernel, Fedora, Rocky Linux, Mesa, Zephyr, and OpenInfra, and keep the author fields for people. The section is one sentence because every sentence in this file steers an agent. The wording is the one that passed the test matrix in the pull request; prose added around it changed what agents wrote, so the rationale lives in the pull request instead. Assisted-by: Claude Code (claude-opus-5) --- AGENTS.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index 565e4252f80..157ba35f7c4 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -15,3 +15,9 @@ code targets JDK 17. To test under a specific JDK pass build parameters: - `-PjdkTestVendor=` / `-PjdkTestImplementation=` — pin the vendor / VM implementation (jdkTestVersion is enough for most cases) List every available build parameter with `./gradlew parameters`. + +## Commit messages + +Always end commit messages, including drafts, with `Assisted-by: ()`, +never `Co-Authored-By:`. Keep existing trailers and add yours when amending someone +else's commit.