gitk: discourage AI contributions
PATCH 1/1 gitk: discourage AI contributions
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.
---
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/[email protected]/T/#md44580584f30c9b3e3c9e23250baf08b7fd7fb0c
README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
README.md +4 -3
@@ -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 [email protected] and CC [email protected]. 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 =======
Signature · 1 line
2.55.0.704.g7397dd7565
[+cc Johannes Schindelin]
Quoted 11 lines · Johannes Sixt
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 <[email protected]>---
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?
Quoted 3 lines
-- Hannes
[1] https://lore.kernel.org/git/[email protected]/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:
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
Quoted 1 line · Weijie Yuan
[+cc Johannes Schindelin]
Please directly ignore my previous reply. Sorry for the noise.
Thanks.
README.md are also accepted. · line 89
Quoted 4 lines · Johannes Sixt
README.md +4
-0+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.
Signature · 2 lines
brian m. carlson (they/them) Toronto, Ontario, CA