git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v2] SubmittingPatches: add section about AI

From
CWChuck Wolber <chuck@wolber.net>
Date
Oct 1, 2025, 18:59 UTC
Message-ID
<DD77TA1H1OOO.351R9WDH93UZ5@wolber.net>
In-Reply-To
<20251001140310.527097-1-christian.couder@gmail.com>
On Wed Oct 1, 2025 at 2:03 PM UTC, Christian Couder wrote:
Show 5 quoted lines
> To mitigate both risks, let's add an "Use of Artificial Intelligence"
> section to "Documentation/SubmittingPatches" with the goal of
> discouraging its blind use to generate content that is submitted to
> the project, while still allowing us to benefit from its help in some
> innovative, useful and less risky ways.

I love the intent here, but it does not seem like that came through in the proposed patch.

I think this patch opens the door to some concerning issues, including the potential for false accusations and inconsistent treatment of human (non-AI) generated contributions.

Sticking to a message of self-reliance (e.g. responsible AI use) and making some technical changes to mark AI content might be a better approach.

Show 5 quoted lines
> +The Developer's Certificate of Origin requires contributors to certify
> +that they know the origin of their contributions to the project and
> +that they have the right to submit it under the project's license.
> +It's not yet clear that this can be legally satisfied when submitting
> +significant amount of content that has been generated by AI tools.

The legal issues around AI will be resolved in time, but the future will not stop bringing us a steady stream of things that create legal ambiguity.

Creating one-off sections that cover _multiple_ topics _including_ legal ambiguity seems like it risks reducing clarity. To get the full picture, this patch (and patches like it in the future) require me to navigate multiple sections to understand all of the project's relevant legal concerns.

I also have two specific concerns with the wording:
1. It repeats what is said just a few paragraphs earlier in the document. I
understand _why_ it does this, but moving the essence of this topic up to the
DCO section avoids the repetition and avoids diluting the project's legal
guidance.
2. What am I supposed to do with "It's not yet clear"? This is worse than
telling me nothing. It introduces a vague question with no clear guidance. It
is _true_ that no clear guidance exists, but what are the consequences when it
_does_ exist? The worst case scenario is that we have to go back and
rework/remove AI generated patches. So why not just require something like a
declaration of AI content like the one proposed at declare-ai.org?
> +To avoid these issues, we will reject anything that looks AI
> +generated, that sounds overly formal or bloated, that looks like AI
> +slop, that looks good on the surface but makes no sense, or that
> +senders don’t understand or cannot explain.
That reads like a full stop rejection of all AI generated patch content.

What if AI were to generate a great patch whose technical quality is exemplary in every way? How is that any different from a great patch of exemplary technical quality submitted by a person who is unambiguosly evil?

But perhaps you intended it to mean a full stop rejection of content that _looks_ like it was generated by the primitive AI we have _today_? Even going with the interpretation you likely intended opens up a concerning double standard.

What if a patch "looks" AI generated, but in reality was wholly geneated by a human? Does this mean that patches generated by humans that fit the declared criteria would be treated as if they were AI generated?

What about a non-native speaker who uses AI in an attempt to bridge a language barrier? By definition they would lack the ability to judge the degree to which their patch suddenly meets your criteria.

How is any of that fair, and how could you even tell the difference?

And on a personal note, the subjective wording gives me a "walking on eggshells" feeling. It opens the door for false accusations, and gets us away from judging things _purely_ on their technical merit.

Would it not be more _consistent_ to continue saying what is already true? That your patches _must_ be remarkably high quality regardless of how they were created?

With the addition of a required AI declaration (again, check out declare-ai.org for an example of what that might look like), I think you cover all of the necessary bases. And sure, someone could lie. But they can lie about meeting the DCO as well. The consequences are the same - remove/rework.

> +We strongly recommend using AI tools carefully and responsibly.
Agreed, but I think you lost me here.

Taking your words at face value, the prior paragraph reads as if the Git project is declaring an outright ban on _all_ AI generated content (and I am nearly certain that is _not_ what you intended to say). If so, why bother continuing on with a PSA (Public Safety Announcement)? It reads like a non-alcoholic drink that has the words, "Drink Responsibly" printed on the side of the can.

Show 7 quoted lines
> +Contributors would often benefit more from AI by using it to guide and
> +help them step by step towards producing a solution by themselves
> +rather than by asking for a full solution that they would then mostly
> +copy-paste. They can also use AI to help with debugging, or with
> +checking for obvious mistakes, things that can be improved, things
> +that don’t match our style, guidelines or our feedback, before sending
> +it to us.

I think this is very useful guidance. And although it is timely, I think it stands a good chance of being timeless, even when AI becomes far more competent than it is today.

AI is not going away, and we need to find a way to use it productively _without_ losing our sense of self-reliance. If we fail to develop this ability when AI is hardly more skilled than an above average intern, full of hubris and zero real world experience, imagine how unqualified we will be when AI becomes competent enough to manipulate and mislead us?

Overall, I feel like an addition to the documentation is warranted, but this version makes me uncomfortable if not a little unwelcome. Making a techncial change to the required declarations and expanding on the theme of self-reliance and responsible use feels like a more productive way to address this issue.

Putting my "money where my mouth is", I am more than happy to suggest a revision to this patch if you would like. I wanted to avoid that right now because it seemed like a dialog was warranted first.

..Ch:W..
Previous: Christian CouderNext: brian m. carlson
Message 10 of 34 in “SubmittingPatches: forbid use of genAI to generate changes”
  1. SubmittingPatches: forbid use of genAI to generate changesJunio C Hamano, Jun 30, 2025
  2. brian m. carlsonJun 30, 2025
  3. Collin FunkJun 30, 2025
  4. Christian CouderJul 1, 2025
  5. Christian CouderJul 1, 2025
  6. Junio C HamanoJul 1, 2025
  7. Junio C HamanoJul 1, 2025
  8. Christian CouderJul 8, 2025
  9. SubmittingPatches: add section about AIChristian Couder, Oct 1, 2025
  10. Chuck WolberOct 1, 2025
  11. brian m. carlsonOct 1, 2025
  12. Ben KnobleOct 2, 2025
  13. Christian CouderOct 3, 2025
  14. Junio C HamanoOct 1, 2025
  15. Christian CouderOct 3, 2025
  16. Junio C HamanoOct 3, 2025
  17. rsbecker@nexbridge.comOct 3, 2025
  18. Christian CouderOct 8, 2025
  19. brian m. carlsonOct 1, 2025
  20. Christian CouderOct 3, 2025
  21. Elijah NewrenOct 3, 2025
  22. brian m. carlsonOct 3, 2025
  23. Junio C HamanoOct 6, 2025
  24. Elijah NewrenOct 8, 2025
  25. Junio C HamanoOct 12, 2025
  26. Christian CouderOct 8, 2025
  27. Junio C HamanoOct 13, 2025
  28. Junio C HamanoOct 23, 2025
  29. Elijah NewrenOct 8, 2025
  30. Christian CouderOct 8, 2025
  31. Michal SuchánekOct 8, 2025
  32. Christian CouderOct 8, 2025
  33. Collin FunkOct 9, 2025
  34. Christian CouderOct 8, 2025

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.