From: "Michael S. Tsirkin" <mst@redhat.com>
To: Paolo Bonzini <bonzini@gnu.org>
Cc: Alistair Francis <Alistair.Francis@wdc.com>,
"pbonzini@redhat.com" <pbonzini@redhat.com>,
"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
"alex.bennee@linaro.org" <alex.bennee@linaro.org>,
"philmd@linaro.org" <philmd@linaro.org>,
"peter.maydell@linaro.org" <peter.maydell@linaro.org>,
"kwolf@redhat.com" <kwolf@redhat.com>,
"balaton@eik.bme.hu" <balaton@eik.bme.hu>,
"farosas@suse.de" <farosas@suse.de>,
"berrange@redhat.com" <berrange@redhat.com>,
"imp@bsdimp.com" <imp@bsdimp.com>
Subject: Re: [PATCH 1/4] docs/devel: introduce a new policy on AI-generated contributions
Date: Wed, 2 Sep 2026 05:41:35 -0400 [thread overview]
Message-ID: <20260902053207-mutt-send-email-mst@kernel.org> (raw)
In-Reply-To: <e0a10f28-9b6e-4555-b31b-ec3ea111f536@gnu.org>
On Wed, Sep 02, 2026 at 09:09:59AM +0200, Paolo Bonzini wrote:
> Thanks for the review!
>
> On 9/2/26 03:38, Alistair Francis wrote:
> > > +Prohibited use of AI
> > > +''''''''''''''''''''
> > > +
> > > +The following items **MUST** be written by humans:
> > > +
> > > +- cover letters and commit messages
> > > +
> > > +- responses to reviewer comments
> > > +
> > > +- issue descriptions or comments
> > > +
> > > +Light copy editing of human-written text with an AI is allowed.
> >
> > What about translations? Not everyone can write English well and I see
> > translations being useful.
>
> Difficult choice. I can see that it's useful, but we've never been
> hardliners for English grammar, and translation may cause agent-ese to slip
> in.
And it does! My suggestion:
- demand that contributor writes text in english.
if someone is speaking to us through an LLM due to a complete
lack of english .... do we really want that?
- add text in AGENTS.md along the lines of:
When asked to fix up english syntax/grammar, DO NOT MAKE style or
wording changes beyond correctness. Limit your text changes to solely
fixing correctness issues or coding style violations. Also, if the
meaning is ambiguous, do not pick a possible meaning, instead insert a
question for the user and prompt the user to clarify.
> I am not a native speaker but I wouldn't use this possibility, so I'm
> not the best person to decide.
>
> That said, if somebody asked the agent for help translating, it would
> probably do it anyway.
>
> > > - small LLM-assisted bugfixes (as a rule of thumb, below 10 lines of
> > > code) are allowed with disclosure. Splitting a submission in multiple
> > > parts is **not** a valid way to bypass this rule; repeated, frequent
> > > posting of such fixes must follow the rule for full contributions.
> >
> > Maybe add something like (fell free to edit):
> >
> > """
> > When submitting LLM generated bug fixes the human should clearly
> > describe what the bug is, how it is triggered and how it impacted them.
> > The idea her is that we don't want people pointing an LLM at the source
> > and generating "bug fixes" for issues that users aren't seeing. This
> > can result in reviewer burnout.
>
> I left that out because the document is already very long. My suspicion is
> that the agent is able to infer most of it thanks to the "understanding"
> part of AGENTS.md, and reviewer burnout is covered by forbidding repeated
> posting of this kind of fix.
>
> > > - use of LLMs to help generating parts of a larger patch---a test
> > > case, a parser, boilerplate code for a new API, a tool to help
> > > performing mechanical changes, etc. These are generally allowed, but
> > > disclosure is recommended.
> >
> > disclosure should just be required here as well.
>
> I think it depends in general. Sometimes there is really just one way to
> write code in this bucket, and in that case disclosure is superfluous (see
> for example the "impl<T: ToMigrationState> ToMigrationState for Mutex<T>"
> block in rust/migration/src/migratable.rs). The AGENTS.md file will cause
> the agent to recommend it anyway.
>
> Paolo
next prev parent reply other threads:[~2026-09-02 9:42 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-01 16:14 [RFC PATCH v2 0/4] docs/devel, AGENTS.md: a completely new policy on AI-generated contributions Paolo Bonzini
2026-09-01 16:14 ` [PATCH 1/4] docs/devel: introduce a " Paolo Bonzini
2026-09-02 1:38 ` Alistair Francis
2026-09-02 7:09 ` Paolo Bonzini
2026-09-02 9:41 ` Michael S. Tsirkin [this message]
2026-09-02 10:08 ` Daniel P. Berrangé
2026-09-02 12:01 ` Peter Maydell
2026-09-03 1:39 ` Alistair Francis
2026-09-03 7:09 ` Paolo Bonzini
2026-09-02 16:09 ` Daniel P. Berrangé
2026-09-03 10:05 ` Paolo Bonzini
2026-09-01 16:14 ` [PATCH 2/4] AGENTS.md: Let agents know what the participation rules are Paolo Bonzini
2026-09-02 1:44 ` Alistair Francis
2026-09-02 16:26 ` Daniel P. Berrangé
2026-09-02 17:45 ` Paolo Bonzini
2026-09-02 13:42 ` Alex Bennée
2026-09-02 13:47 ` Daniel P. Berrangé
2026-09-02 13:56 ` Michael S. Tsirkin
2026-09-02 14:08 ` Daniel P. Berrangé
2026-09-02 15:15 ` Michael S. Tsirkin
2026-09-02 13:48 ` Michael S. Tsirkin
2026-09-01 16:14 ` [PATCH 3/4] AGENTS.md: make the human part of the design process Paolo Bonzini
2026-09-02 1:44 ` Alistair Francis
2026-09-01 16:14 ` [PATCH 4/4] agents: add CLAUDE.md and GEMINI.md Paolo Bonzini
2026-09-02 1:47 ` Alistair Francis
2026-09-02 4:45 ` Philippe Mathieu-Daudé
2026-09-02 9:46 ` Michael S. Tsirkin
2026-09-02 9:56 ` Paolo Bonzini
2026-09-02 10:06 ` Michael S. Tsirkin
2026-09-02 10:12 ` Daniel P. Berrangé
2026-09-02 13:04 ` Michael S. Tsirkin
2026-09-02 14:30 ` Paolo Bonzini
2026-09-02 15:54 ` [RFC PATCH v2 0/4] docs/devel, AGENTS.md: a completely new policy on AI-generated contributions Peter Maydell
2026-09-02 17:50 ` Alex Bennée
2026-09-03 11:29 ` BALATON Zoltan
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=20260902053207-mutt-send-email-mst@kernel.org \
--to=mst@redhat.com \
--cc=Alistair.Francis@wdc.com \
--cc=alex.bennee@linaro.org \
--cc=balaton@eik.bme.hu \
--cc=berrange@redhat.com \
--cc=bonzini@gnu.org \
--cc=farosas@suse.de \
--cc=imp@bsdimp.com \
--cc=kwolf@redhat.com \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=philmd@linaro.org \
--cc=qemu-devel@nongnu.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.