Skip to contentSkip to conversation

docs: clarify tag sequence in sending-patches

PATCH In review Juergen Gross 3 participants 4 messages Sep 18

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs: clarify tag sequence in sending-patches

Make clear what an "Assisted-by: tag tag relates to in sending-patches.pandoc.

Add the possibility to clarify how AI was used.

---
 docs/process/sending-patches.pandoc | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)
docs/process/sending-patches.pandoc +17 -1
index b924fa2b87..2506a686bb 100644
@@ -213,9 +213,25 @@ 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.
 
+Note that an `Assisted-by:` tag relates to the next tag mentioning a
+natural person. So if you used AI to write a patch, the `Assisted-by:` tag
+should be just before your `Signed-off-by:` tag, while if AI was used to
+find an issue the patch is fixing, the `Assisted-by:` tag should be
+before the `Reported-by:` tag naming the reporter of the issue.
+
+The `Assisted-by:` tag can be followed by an optional comment mentioning
+in which part of the process AI was used, e.g.:
+
+    Assisted-by: Chat-GPT # commit message
+
+This allows even to list multiple different AI models used for different
+use cases, including the use of AI for finding an issue and the creating
+a patch for fixing it.
+
 Example:
 
-    Assisted-by: Claude:claude-3-opus
+    Assisted-by: sashiko-bot # finding the issue
+    Assisted-by: Claude:claude-3-opus # patch creation
 
 ### Signed-off-by:
 
Signature · 1 line
2.55.0
#3 lore raw
Quoted 6 lines · Jan Beulich
Quoted 2 lines · Juergen Gross

Make clear what an "Assisted-by: tag tag relates to in sending-patches.pandoc.

I guess when committing I'll take the liberty to replace the redundant "tag" with the missing closing double quote.

Oh, sure, sorry for that typo. I blame it on doing this on the train. :-)

Quoted 6 lines
Quoted 4 lines

Add the possibility to clarify how AI was used.

Thanks,

Juergen