All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] gitk: discourage AI contributions
@ 2026-08-23  9:25 Johannes Sixt
  2026-08-23 13:10 ` Weijie Yuan
  2026-08-26 21:55 ` brian m. carlson
  0 siblings, 2 replies; 4+ messages in thread
From: Johannes Sixt @ 2026-08-23  9:25 UTC (permalink / raw)
  To: Git Mailing List, brian m. carlson; +Cc: Junio C Hamano

Since the provenance of code generated by AI cannot be tracked with
confidence, which would be necessary to sign off a contribution, tell
contributors not to use AI.

Signed-off-by: Johannes Sixt <j6t@kdbg.org>
---
 Following a recent brief discussion[1] it looks like I should not
 accept code for Gitk that was generated by AI even if the submitter
 understands all of it. Should I discourage AI contributions outright
 like this or would it overshoot the mark?

 -- Hannes

 [1] https://lore.kernel.org/git/aooRdiVdjovWSFiG@fruit.crustytoothpaste.net/T/#md44580584f30c9b3e3c9e23250baf08b7fd7fb0c

 README.md | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md
index 2e30746..c402788 100644
--- a/README.md
+++ b/README.md
@@ -79,13 +79,14 @@ are also accepted.
 All commits must be signed off (use `git commit --signoff`) and should
 have commit messages prefixed with `gitk:`.
 
-Email Patches
--------------
-
 Send patches to git@vger.kernel.org and CC j6t@kdbg.org. See the Git
 project's [patch submission guidelines](https://git-scm.com/docs/SubmittingPatches)
 for detailed instructions on creating and sending patches.
 
+Please do not submit work that originated from AI, because this project
+is down-streamed to the Git project, which has a rather
+[strict AI guideline](https://git-scm.com/docs/SubmittingPatches#ai).
+
 License
 =======
 
-- 
2.55.0.704.g7397dd7565


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

* Re: [PATCH] gitk: discourage AI contributions
  2026-08-23  9:25 [PATCH] gitk: discourage AI contributions Johannes Sixt
@ 2026-08-23 13:10 ` Weijie Yuan
  2026-08-26  6:55   ` Weijie Yuan
  2026-08-26 21:55 ` brian m. carlson
  1 sibling, 1 reply; 4+ messages in thread
From: Weijie Yuan @ 2026-08-23 13:10 UTC (permalink / raw)
  To: Johannes Sixt
  Cc: Git Mailing List, brian m. carlson, Junio C Hamano,
	Johannes Schindelin

[+cc Johannes Schindelin]

On Sun, Aug 23, 2026 at 11:25:42AM +0200, Johannes Sixt wrote:
> Since the provenance of code generated by AI cannot be tracked with
> confidence, which would be necessary to sign off a contribution, tell
> contributors not to use AI.
> 
> Signed-off-by: Johannes Sixt <j6t@kdbg.org>
> ---
>  Following a recent brief discussion[1] it looks like I should not
>  accept code for Gitk that was generated by AI even if the submitter
>  understands all of it. Should I discourage AI contributions outright
>  like this or would it overshoot the mark?
> 
>  -- Hannes
> 
>  [1] https://lore.kernel.org/git/aooRdiVdjovWSFiG@fruit.crustytoothpaste.net/T/#md44580584f30c9b3e3c9e23250baf08b7fd7fb0c

I followed the discussion between Brian and Junio, and I have no
intention of further expanding the discussion about the legal and
technical issues surrounding the use of AI/LLM. However, I would like to
point out that several of dscho's recent commits seem to carry an
Assisted-by trailer, and, unless I missed something (possibly), nobody
appears to have raised the issue or strongly objected to it. Of course,
I believe dscho also fully understood the code he submitted.

(This is getting a little away from the DCO legal issue that Junio and
Brian were discussing.)

So how do we distinguish between "Generated" and "Assisted"? Perhaps the
LLM merely assisted him with some investigative work rather than
actually writing any code.

Meanwhile, in the Linux kernel community, probably the most prominent
user of the DCO, within it, Linus also expressed his views [1] on the
use of LLMs a few weeks ago, while the Linux Foundation has published
guidance on the legal issues surrounding the use of AI. [2]

Although I know that the Git and Linux kernel communities do not follow
exactly the same rules, Jonathan Corbet updated the kernel's
requirements for disclosing LLM use a couple of days ago, namely:

Assisted-by: LLM [TOOL1] [TOOL2]

Perhaps this gives us a way to tell whether a patch contains content
generated by an LLM. (But if we want to ban it entirely, please
disregard this part.)

Thanks,
Weijie

Emm, I´m not sure which thread would be the right place to continue this
discussion, sorry.

[1] https://lore.kernel.org/all/CAHk-=wi4zC+Ze8e+p3tMv8TtG_80KzsZ1syL9anBtmEh5Z40vg@mail.gmail.com/
[2] https://www.linuxfoundation.org/legal/generative-ai

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

* Re: [PATCH] gitk: discourage AI contributions
  2026-08-23 13:10 ` Weijie Yuan
@ 2026-08-26  6:55   ` Weijie Yuan
  0 siblings, 0 replies; 4+ messages in thread
From: Weijie Yuan @ 2026-08-26  6:55 UTC (permalink / raw)
  To: Johannes Sixt
  Cc: Git Mailing List, brian m. carlson, Junio C Hamano,
	Johannes Schindelin

On Sun, Aug 23, 2026 at 09:10:54PM +0800, Weijie Yuan wrote:
> [+cc Johannes Schindelin]

Please directly ignore my previous reply. Sorry for the noise.

Thanks.

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

* Re: [PATCH] gitk: discourage AI contributions
  2026-08-23  9:25 [PATCH] gitk: discourage AI contributions Johannes Sixt
  2026-08-23 13:10 ` Weijie Yuan
@ 2026-08-26 21:55 ` brian m. carlson
  1 sibling, 0 replies; 4+ messages in thread
From: brian m. carlson @ 2026-08-26 21:55 UTC (permalink / raw)
  To: Johannes Sixt; +Cc: Git Mailing List, Junio C Hamano

[-- Attachment #1: Type: text/plain, Size: 371 bytes --]

On 2026-08-23 at 09:25:42, Johannes Sixt wrote:
> +Please do not submit work that originated from AI, because this project
> +is down-streamed to the Git project, which has a rather
> +[strict AI guideline](https://git-scm.com/docs/SubmittingPatches#ai).
> +

I think this seems like the right thing to do.
-- 
brian m. carlson (they/them)
Toronto, Ontario, CA

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 325 bytes --]

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

end of thread, other threads:[~2026-08-26 21:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-23  9:25 [PATCH] gitk: discourage AI contributions Johannes Sixt
2026-08-23 13:10 ` Weijie Yuan
2026-08-26  6:55   ` Weijie Yuan
2026-08-26 21:55 ` brian m. carlson

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.