All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3] docs/process: document AI-assisted patch tags
@ 2026-05-27 17:45 Cody Zuschlag
  2026-05-27 21:39 ` Stefano Stabellini
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Cody Zuschlag @ 2026-05-27 17:45 UTC (permalink / raw)
  To: xen-devel
  Cc: andrew.cooper3, anthony.perard, michal.orzel, jbeulich, julien,
	roger.pau, sstabellini, Cody Zuschlag

Add documentation for the Assisted-by tag to clarify how
AI-assisted tooling may be disclosed in Xen patches.

The guidance follows the Linux kernel documentation.

Assisted-by: ChatGPT:gpt-5.5
Signed-off-by: Cody Zuschlag <cody.zuschlag@gmail.com>
---
Changes in v3:
- Align wording more closely with Linux kernel guidance.
- Use verbatim Linux wording where practical.
- Use MUST NOT wording for AI agents adding Signed-off-by tags.

Changes in v2:
- Drop unintended executable bit change.

 docs/process/sending-patches.pandoc | 30 +++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/docs/process/sending-patches.pandoc b/docs/process/sending-patches.pandoc
index 798ecceb..79e24af1 100644
--- a/docs/process/sending-patches.pandoc
+++ b/docs/process/sending-patches.pandoc
@@ -195,6 +195,27 @@ E.g.:
 
     Requested-by: Jane Doe <jane.doe@example.org>
 
+### Assisted-by:
+
+When AI tools contribute to Xen development, proper attribution
+helps track the evolving role of AI in the development process.
+Contributions should include an `Assisted-by:` tag in the
+following format:
+
+    Assisted-by: AGENT_NAME:MODEL_VERSION [TOOL1] [TOOL2]
+
+Where:
+
+* `AGENT_NAME` is the name of the AI tool or framework
+* `MODEL_VERSION` is the specific model version used
+* `[TOOL1] [TOOL2]` are optional specialized analysis tools used
+  (e.g., coccinelle, sparse, smatch, clang-tidy)
+
+Basic development tools (git, gcc, make, editors) should not be listed.
+
+Example:
+
+    Assisted-by: Claude:claude-3-opus coccinelle sparse
+
 ### Signed-off-by:
 
 This mandatory tag specifies the author(s) of a patch (for each author a
@@ -209,6 +230,15 @@ E.g.:
 The author must be a natural person (not a team or just a company) and the
 `Signed-off-by:` tag must include the real name of the author (no pseudonym).
 
+AI agents MUST NOT add `Signed-off-by:` tags. Only humans can legally
+certify the Developer Certificate of Origin (DCO). The human submitter
+is responsible for:
+
+* Reviewing all AI-generated code
+* Ensuring compliance with licensing requirements
+* Adding their own `Signed-off-by:` tag to certify the DCO
+* Taking full responsibility for the contribution
+
 By signing the patch with her/his name the author explicitly confirms to have
 made the contribution conforming to the `Developer's Certificate of Origin`:
 
-- 
2.45.0



^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-06-02 10:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-27 17:45 [PATCH v3] docs/process: document AI-assisted patch tags Cody Zuschlag
2026-05-27 21:39 ` Stefano Stabellini
2026-05-29 14:57 ` Anthony PERARD
2026-06-01  9:37 ` Roger Pau Monné
2026-06-02 10:05 ` Jan Beulich

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.