From: Paolo Bonzini <pbonzini@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: qemu-devel <qemu-devel@nongnu.org>,
	"Hajnoczi, Stefan" <stefanha@redhat.com>,
	"P. Berrange, Daniel" <berrange@redhat.com>,
	"Alex Bennée" <alex.bennee@linaro.org>
Subject: Re: [PATCH] docs/code-provenance: add an exception for non-creative AI changes
Date: Fri, 26 Sep 2025 21:26:47 +0200	[thread overview]
Message-ID: <CABgObfYauCBr7YVUvGURRy0qGS8NaeLn=r23WFuq2hhzgWmJng@mail.gmail.com> (raw)
In-Reply-To: <CAFEAcA_6nf6zAK9=VZE9kCXUvYcZhxAgPUN=0gxtun7ip6b7ig@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2323 bytes --]
On Fri, Sep 26, 2025, 16:39 Peter Maydell <peter.maydell@linaro.org> wrote:
> I figure I'll state my personal opinion on this one. This isn't
> intended to be any kind of 'veto' on the question: I don't
> feel that strongly about it (and I don't think I ought to
> have a personal veto in any case).
>
> I'm not enthusiastic. The current policy is essentially
> "the legal risks are unclear and the project isn't willing
> to accept them". That's a straightforward rule to follow
> that doesn't require either the contributor or the reviewer
> or the project to make a possibly difficult judgement call on
> what counts as not in fact risky. As soon as we start adding
> exceptions then either we the project are making those
> judgement calls, or else we're pushing them on contributors
> or reviewers. I prefer the simple "'no' until the legal
> picture becomes less murky" rule we have currently.
>
In principle I agree. I am not enthusiastic either. There are however two
problems in the current policy.
First, the policy is based on a honor code; in some cases the use of AI can
be easily spotted, but in general it's anything but trivial especially in
capable hands where, for example, code is generated by AI but commit
messages are not. As such, the policy cannot prevent inclusion of AI
generated code, it only tells you who is to blame.
Second, for this specific kind of change it is, pretty much, impossible to
tell whether it's generated with AI or by a specialized tool or by hand. If
you provide a way for people to be honest about their tool usage, and allow
it at least in some cases, there's a nonzero chance they will be; if you
just tell them a hard no, and lying by omission has more than plausible
deniability, there's a relatively high chance that they will just stay
silent on the matter while still using the tool.
In other words, as much as I would also like a simple policy, I expect
fewer undiscovered violations with the exception in place—even beyond what
the exception allows. And given the stated goal of using proposals and
actual usage to inform future policy, this approach could serve that goal
better than plain prohibition.
That said, I am okay with having no exception if that's the consensus.
Thanks,
Paolo
> -- PMM
>
>
[-- Attachment #2: Type: text/html, Size: 3297 bytes --]
next prev parent reply	other threads:[~2025-09-26 19:29 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-25  7:56 [PATCH] docs/code-provenance: add an exception for non-creative AI changes Paolo Bonzini
2025-09-26 14:38 ` Peter Maydell
2025-09-26 19:26   ` Paolo Bonzini [this message]
2025-09-29  9:51     ` Daniel P. Berrangé
2025-09-29 11:52       ` Peter Maydell
2025-09-29 18:36   ` Daniel P. Berrangé
2025-09-29 18:28 ` Daniel P. Berrangé
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='CABgObfYauCBr7YVUvGURRy0qGS8NaeLn=r23WFuq2hhzgWmJng@mail.gmail.com' \
    --to=pbonzini@redhat.com \
    --cc=alex.bennee@linaro.org \
    --cc=berrange@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@redhat.com \
    /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;
as well as URLs for NNTP newsgroup(s).