All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4] docs/process: document AI-assisted patch tags
@ 2026-06-15 18:43 Andrew Cooper
  2026-06-15 19:17 ` Roger Pau Monné
  0 siblings, 1 reply; 2+ messages in thread
From: Andrew Cooper @ 2026-06-15 18:43 UTC (permalink / raw)
  To: Xen-devel
  Cc: Cody Zuschlag, Andrew Cooper, Anthony PERARD, Michal Orzel,
	Jan Beulich, Julien Grall, Roger Pau Monné,
	Stefano Stabellini

From: Cody Zuschlag <cody.zuschlag@gmail.com>

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>
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
---
CC: Anthony PERARD <anthony.perard@vates.tech>
CC: Michal Orzel <michal.orzel@amd.com>
CC: Jan Beulich <jbeulich@suse.com>
CC: Julien Grall <julien@xen.org>
CC: Roger Pau Monné <roger.pau@citrix.com>
CC: Stefano Stabellini <sstabellini@kernel.org>

v4:
 * Make it a well-formed patch
 * Remove reference to tools which don't work in the Xen tree
---
 docs/process/sending-patches.pandoc | 31 +++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/docs/process/sending-patches.pandoc b/docs/process/sending-patches.pandoc
index 798ecceb39d1..b924fa2b87b2 100644
--- a/docs/process/sending-patches.pandoc
+++ b/docs/process/sending-patches.pandoc
@@ -195,6 +195,28 @@ 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 [, ...]
+
+Where:
+
+* `AGENT_NAME` is the name of the AI tool or framework
+* `MODEL_VERSION` is the specific model version used
+
+Basic development tools (git, gcc, make, editors) should not be listed.
+Specialised but deterministic tools may optionally be listed, but their use
+should be clear from other context in the commit message.
+
+Example:
+
+    Assisted-by: Claude:claude-3-opus
+
 ### Signed-off-by:
 
 This mandatory tag specifies the author(s) of a patch (for each author a
@@ -209,6 +231,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`:
 

base-commit: efcb4c5e2f2734cd4cac38a9f01e03c5e54c8eb8
-- 
2.39.5



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

* Re: [PATCH v4] docs/process: document AI-assisted patch tags
  2026-06-15 18:43 [PATCH v4] docs/process: document AI-assisted patch tags Andrew Cooper
@ 2026-06-15 19:17 ` Roger Pau Monné
  0 siblings, 0 replies; 2+ messages in thread
From: Roger Pau Monné @ 2026-06-15 19:17 UTC (permalink / raw)
  To: Andrew Cooper
  Cc: Xen-devel, Cody Zuschlag, Anthony PERARD, Michal Orzel,
	Jan Beulich, Julien Grall, Stefano Stabellini

On Mon, Jun 15, 2026 at 07:43:48PM +0100, Andrew Cooper wrote:
> From: Cody Zuschlag <cody.zuschlag@gmail.com>
> 
> 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

Really, seeing how it managed to mangle an otherwise extremely simple
patch to the point that required manual fixup to apply I would
consider removing this Assisted-by.

The wording is verbatim from Linux, and Andrew is the one that has
adjusted the chunks plus removed the inapplicable references.

> Signed-off-by: Cody Zuschlag <cody.zuschlag@gmail.com>
> Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>

Acked-by: Roger Pau Monné <roger.pau@citrix.com>

Regards, Roger.


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

end of thread, other threads:[~2026-06-15 19:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-15 18:43 [PATCH v4] docs/process: document AI-assisted patch tags Andrew Cooper
2026-06-15 19:17 ` Roger Pau Monné

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.