Git development
 help / color / mirror / Atom feed
From: Patrick Steinhardt <ps@pks.im>
To: Scott Chacon <schacon@gmail.com>
Cc: Junio C Hamano <gitster@pobox.com>,
	Scott Chacon <scott@gitbutler.net>,
	git@vger.kernel.org
Subject: Re: [RFC PATCH 1/1] SubmittingPatches: allow responsible AI assistance
Date: Fri, 9 Oct 2026 12:22:13 +0200	[thread overview]
Message-ID: <asjAVQD6mFnes00l@pks.im> (raw)
In-Reply-To: <CAP2yMa+o7zv=8bzHUa8FRkTaU46BQ3w_ZAr6zQ=rFC_a4cg2yA@mail.gmail.com>

On Thu, Oct 08, 2026 at 03:53:11PM +0200, Scott Chacon wrote:
> On Thu, Oct 8, 2026 at 12:44 AM Junio C Hamano <gitster@pobox.com> wrote:
> > Scott Chacon <scott@gitbutler.net> writes:
[snip]
> > It looks, at least to me, that there is not much that can be
> > meaningfully enforced by reviewers and followed by contributors in
> > the above text.  It seems to be little more than "the world would be
> > a wonderful place if everybody behaved this way."
> >
> > A violation of "concise and relevant" seems to be the recent trend
> > of much AI-generated slop, so it may be a good suggestion to give
> > today.  But would we need to update it once the trend of text
> > generated by AI tools becomes "concise and relevant" nonsense that
> > merely sounds plausible?  What if an "AI-assisted" contributor lacks
> > common sense to tell between plausible-sounding nonsense and a
> > well-written description?  What if reviewers get too many such
> > "contributions" and cannot allocate enough review bandwidth to sift
> > good contributions from plausible-sounding nonsense?
> 
> This is a fair point, but you'll get unreviewed crap either way. I'm
> sure you already are. However, I don't think people who submit
> complete bullshit are reading the SubmittingPatches file in the first
> place, so I'm not sure that opening this wording up a little is going
> to make much of a difference here.
> 
> My recent patch series converting the sha1dc is a possible example. I
> don't understand all of the code it wrote. I read through it, but
> there are some crazy tables and complex math in there. The first pass
> did a weird Rust to C machine translation rather than reimplement it
> in more idiomatic C, so I had it rewrite that - so there was some
> approach guidance, but again, I wasn't hand crafting the code. I did,
> however, spend a lot of time and resources testing and benchmarking it
> on multiple architectures so that I was reasonably confident that it
> was fast and correct.
> 
> But I hesitated to submit it at all because I knew the policy. I only
> sent it so that if someone at GitHub or OpenAI or whatever wanted to
> use it in an internal fork so they could save a ton of CPU, this would
> be a way to get the implementation. I was aware that, although I
> believe the patch is quite reasonable and valuable, due to the
> conservative AI policies of this project, it would not seriously be
> considered no matter what.

I would argue that this is a good thing though. We want people to thing
twice before submitting code that they don't fully understand, don't we?
Otherwise we will get even more slop than we already get.

> My point with this change is to open the possibility for AI assisted
> change that is reasonable, similar to the Linux kernel's approach.

We already are accepting AI-generated code. So if the change would have
the effect that people _don't_ think twice anymore about sending their
AI generated code to the mailing list then I think that's a net-negative
change.

The bottleneck of the Git project has never really been the amount of
code that people can write, but the number of developers that we have
reviewing it. And you can feel that this bottleneck is getting tighter
now with AI -- over the last couple months I have spent way more time
reviewing stuff, and the number of times that I noticed too late that
I'm reviewing slop is going up steadily. I guess for Junio that must be
even worse.

So I think loosening our AI policy shouldn't go without finding
solutions for this problem first, because otherwise I feel like we are
just going to make a preexisting problem significantly worse.

Patrick

  reply	other threads:[~2026-10-09 10:22 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-07 14:29 [RFC PATCH 0/1] SubmittingPatches: allow responsible AI assistance Scott Chacon
2026-10-07 14:29 ` [RFC PATCH 1/1] " Scott Chacon
2026-10-07 21:42   ` brian m. carlson
2026-10-08  4:49     ` Scott Chacon
2026-10-08  5:29       ` Luca Milanesio
2026-10-08  5:53       ` Kristoffer Haugsbakk
2026-10-08 16:15       ` brian m. carlson
2026-10-07 22:44   ` Junio C Hamano
2026-10-08 13:53     ` Scott Chacon
2026-10-09 10:22       ` Patrick Steinhardt [this message]
2026-10-09 20:39         ` Junio C Hamano
2026-10-08 18:10 ` [RFC PATCH 0/1] " D. Ben Knoble

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=asjAVQD6mFnes00l@pks.im \
    --to=ps@pks.im \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=schacon@gmail.com \
    --cc=scott@gitbutler.net \
    /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