From: "Daniel P. Berrangé" <berrange@redhat.com>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: "Peter Maydell" <peter.maydell@linaro.org>,
qemu-devel <qemu-devel@nongnu.org>,
"Hajnoczi, Stefan" <stefanha@redhat.com>,
"Alex Bennée" <alex.bennee@linaro.org>
Subject: Re: [PATCH] docs/code-provenance: add an exception for non-creative AI changes
Date: Mon, 29 Sep 2025 10:51:37 +0100 [thread overview]
Message-ID: <aNpWqRyp0E-68z1Q@redhat.com> (raw)
In-Reply-To: <CABgObfYauCBr7YVUvGURRy0qGS8NaeLn=r23WFuq2hhzgWmJng@mail.gmail.com>
On Fri, Sep 26, 2025 at 09:26:47PM +0200, Paolo Bonzini wrote:
> 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.
The policy is intentionally based on an honour code, because trust in
contributors intention is a fundamental foundation of a well functioning
OSS project. When projects start to view contributors as untrustworthy,
then IME they end up with burdensome processes (often pushed by corporate
demands), such as copyright assignment / CLA, instead of the lightweight
DCO (self-certification, honour based) process we have today.
The policy never intended for the project or our maintainers to take any
active steps to identify and block AI contributions from contributors
with ill-intent. That would be a sisyphean task IMHO.
We're in a situation where many organizations are strongly pushing their
employees to use AI tools where possible. In the absence of any written
policy, a project has effectively created an implicit policy that they
are willing to accept AI contributions.
Contributors have few sources of information on implications of AI in the
context of OSS projects, which are not written by companies with a vested
(biased) interest in maximising use of AI.
So the QEMU policy serves several purposes IMHO:
* Provides an interpretation of the DCO wrt LLM generated content
that reflects community rather than corporate viewpoint
* Provide cover to the project itself by stating our intent wrt
what we are willing to accept, pushing liability to the
contributor (as is the case with DCO in general)
* Gives contributors clear guidance on whether or not they can
submit AI generated content to QEMU
* Gives contributors a policy to point their employer to when
asked why they didn't use any AI tools in context of QEMU
> 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.
I find this to be a somewhat distastful view of our contributors, as it
is giving a strong implication that they are likely to act dishonestly
wrt our contribution policies. I don't think that is a fair reflection
of our contributors in general.
I'll never say never, as it is quite possible for any community to have
a malicious contributor, and someone may well do this just out of spite
to try and prove our policy "wrong" because of the high profile of this
policy.
I don't think we should design our contribution policies around the worst
of people though. Policies are a social contract and there is little we
can do to force compliance against a motivated person with ill-intent.
If we ever did identify someone willfully ignoring the policies (whether
on AI, or any other aspect), our main recourse is limited to no longer
accepting their work / participation in the project.
With regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
next prev parent reply other threads:[~2025-09-29 9:54 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
2025-09-29 9:51 ` Daniel P. Berrangé [this message]
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=aNpWqRyp0E-68z1Q@redhat.com \
--to=berrange@redhat.com \
--cc=alex.bennee@linaro.org \
--cc=pbonzini@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).