From: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
To: linux@treblig.org
Cc: corbet@lwn.net, workflows@vger.kernel.org, kees@kernel.org,
josh@joshtriplett.org, linux-doc@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [RFC PATCH] docs: submitting-patches: (AI?) Tool disclosure tag
Date: Thu, 24 Jul 2025 15:07:17 -0400 [thread overview]
Message-ID: <20250724-alluring-fuzzy-tanuki-6e8282@lemur> (raw)
In-Reply-To: <20250724175439.76962-1-linux@treblig.org>
On Thu, Jul 24, 2025 at 06:54:39PM +0100, linux@treblig.org wrote:
> From: "Dr. David Alan Gilbert" <linux@treblig.org>
>
> It seems right to require that code which is automatically
> generated is disclosed in the commit message.
I'm not sure that's the case. There is a lot of automatically generated
content being added to the kernel all the time -- such as auto-formatted code,
documentation, and unit tests generated by non-AI tooling. We've not required
indicating this usage before, so I'm not sure it makes sense to start doing it
now.
Furthermore, merely indicating the tool doesn't really say anything about how
it was used (e.g. what version, what prompt, what context, etc.) If anything,
this information needs to live in the cover letter of the submission. I would
suggest we investigate encouraging contributors to disclose this there, e.g.:
| ---
| This patch series was partially generated with "InsensitiveClod o4 Hokus"
| and then heavily modified to remove the parts where it went completely off
| the deep end.
I am also not opposed to having a more standard cover letter footer that would
allow an easier way to query this information via public-inbox services, e.g.:
| generated-by: insensitive clod o4 hokus
However, I don't really think this belongs in the commit trailers.
-K
next prev parent reply other threads:[~2025-07-24 19:07 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-24 17:54 linux
2025-07-24 19:07 ` Konstantin Ryabitsev [this message]
2025-07-24 20:45 ` Kees Cook
2025-07-24 21:06 ` Laurent Pinchart
2025-07-24 21:12 ` Dr. David Alan Gilbert
2025-07-24 21:20 ` Kees Cook
2025-07-24 23:45 ` Steven Rostedt
2025-07-24 23:54 ` Kees Cook
2025-07-25 0:55 ` Dr. David Alan Gilbert
2025-07-25 1:06 ` Sasha Levin
2025-07-25 1:20 ` Dr. David Alan Gilbert
2025-07-25 1:52 ` Sasha Levin
2025-07-25 2:02 ` Steven Rostedt
2025-07-25 2:39 ` Sasha Levin
2025-07-25 11:29 ` Dr. David Alan Gilbert
2025-07-25 11:37 ` Laurent Pinchart
2025-07-25 11:49 ` Dr. David Alan Gilbert
2025-07-25 17:45 ` Al Viro
2025-07-25 22:40 ` Sasha Levin
2025-07-25 23:29 ` Dr. David Alan Gilbert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250724-alluring-fuzzy-tanuki-6e8282@lemur \
--to=konstantin@linuxfoundation.org \
--cc=corbet@lwn.net \
--cc=josh@joshtriplett.org \
--cc=kees@kernel.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@treblig.org \
--cc=workflows@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox