All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Alex Bennée" <alex.bennee@linaro.org>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: qemu-devel@nongnu.org, "Michael S . Tsirkin" <mst@redhat.com>,
	"Alistair Francis" <alistair.francis@wdc.com>,
	"BALATON Zoltan" <balaton@eik.bme.hu>,
	"Daniel P . Berrangé" <berrange@redhat.com>,
	"Fabiano Rosas" <farosas@suse.de>,
	"Kevin Wolf" <kwolf@redhat.com>,
	"Peter Maydell" <peter.maydell@linaro.org>,
	"Warner Losh" <imp@bsdimp.com>,
	"Philippe Mathieu-Daudé" <philmd@linaro.org>
Subject: Re: [PATCH 2/4] AGENTS.md: Let agents know what the participation rules are
Date: Wed, 02 Sep 2026 14:42:15 +0100	[thread overview]
Message-ID: <87a4pzrcqw.fsf@draig.linaro.org> (raw)
In-Reply-To: <20260901161422.314581-3-pbonzini@redhat.com> (Paolo Bonzini's message of "Tue, 1 Sep 2026 18:14:20 +0200")

Paolo Bonzini <pbonzini@redhat.com> writes:

> Humans seem to be extremely unreliable in following rules around this,
> even after being told directly and repeatedly. Telling agents what to
> do seems to yield better results.
>
> This document is based on GStreamer's AGENTS.md file, as of its commit
> d08375499c279a56c0e77c928fbeae0d80cdf937.  However, GStreamer's agent
> instructions are "effective" enough to require an explicit carve-out
> for maintainers.  I actually believe that such a carve-out is a sign of
> going too far, especially given the good quality of some suspected-AI
> contributions we've received.
>
<snip>
> diff --git a/AGENTS.md b/AGENTS.md
> new file mode 100644
> index 00000000000..8fb96ebfc38
> --- /dev/null
> +++ b/AGENTS.md
> @@ -0,0 +1,100 @@
> +# Agent Guidelines for the QEMU Project
> +
> +QEMU is a cross-platform emulator and virtualizer. Due to the complexity
> +of the domain and codebase, and the interactions therein, the QEMU
> +project relies extensively on the effort of **human reviewers**, which
> +is **a scarce resource**.
> +
> +There are strictly-enforced rules for you, the agent, to participate in the
> +project.
> +
> +## Interactions with maintainers must be human-human
> +
> +The QEMU project has strict rules on what AI-generated material can
> +reach the maintainers.
> +
> +### No automated posting
> +
> +- Agents **must not** use any API, CLI, or web UI automation to:
> +  - Interact with the QEMU mailing lists
> +  - Create, edit, or close **issues ("work items")**

The others I'm fine with but I currently use an agent to do triage on
un-tagged issues. It only updates labels and occasionally posts a
comment when more information or a human input is required.

That said with a minimal patch to agents to inform it of the
qemu-issue-triage skill Gemini didn't stop itself:

  The `qemu-issue-triage` skill is now loaded. Please let me know how you would like me to assist with triaging QEMU GitLab issues, keeping in mind that all triage tasks must be performed by spawning dedicated sub-agents as per the QEMU project's strict rules.
  triage 4930, 4391, 4392, 4393, 4394, 4395

  qemu-helper-agent: triage issue 4930 (2 steps, 21.7K / 1M) ✅ 8s

  qemu-helper-agent: triage issue 4391 (6 steps, 31.9K / 1M) ✅ 30s

  qemu-helper-agent: triage issue 4392 (5 steps, 27K / 1M) ✅ 35s

  qemu-helper-agent: triage issue 4393 (5 steps, 27.5K / 1M) ✅ 47s

  qemu-helper-agent: triage issue 4394 (5 steps, 26K / 1M) ✅ 51s

  qemu-helper-agent: triage issue 4395 (4 steps, 25.7K / 1M) ✅ 15s

  The requested GitLab issues have been triaged using parallel sub-agents. Here is a summary of the outcomes:

  *   **#4930**: Not found (404).
  *   **#4391**: Triaged and labeled as `Kind::Bug`, `Workflow::Triaged`, `Binary ➤ qemu-img`, `Storage`, `HostArch ➤ 32bit`, `TestCase`.
  *   **#4392**: Triaged and labeled as `Kind::Security`, `Device ➤ USB`, `Migration`, `TestCase`, `Workflow::Triaged`.
  *   **#4393**: Triaged and labeled as `Kind::Security`, `Device ➤ VirtIO`, `Device ➤ Network`, `Audit Tooling::Sanitizer`, `TestCase`, `Workflow::Triaged`.
  *   **#4394**: Triaged and labeled as `Kind::Bug`, `Target ➤ X86`, `HostArch ➤ AArch64`, `TestCase`, `Workflow::Triaged`.
  *   **#4395**: Triaged and labeled as `Kind::Bug`, `Workflow::Triaged`, `Emulation ➤ Softfloat`, `Target ➤ X86`, `HostArch ➤ AArch64`, `TestCase`.

  All issues (excluding the non-existent one) have been successfully processed, labeled according to project standards, and verified as complete. No further actions are required at this time.

I guess arguably it is hard for a random to use the API anyway as we
control who has API keys for the project.

> +  - Post **comments** on merge requests, issues or commits
> +  - Open or update **merge requests (MRs)**.  QEMU does not use merge requests anyway.
> +
<snip>

-- 
Alex Bennée
Virtualisation Tech Lead @ Linaro


  parent reply	other threads:[~2026-09-02 13: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
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 [this message]
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=87a4pzrcqw.fsf@draig.linaro.org \
    --to=alex.bennee@linaro.org \
    --cc=alistair.francis@wdc.com \
    --cc=balaton@eik.bme.hu \
    --cc=berrange@redhat.com \
    --cc=farosas@suse.de \
    --cc=imp@bsdimp.com \
    --cc=kwolf@redhat.com \
    --cc=mst@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.