From: "Alex Bennée" <alex.bennee@linaro.org>
To: "Philippe Mathieu-Daudé" <philmd@linaro.org>
Cc: qemu-devel@nongnu.org, "Cleber Rosa" <crosa@redhat.com>,
"John Snow" <jsnow@redhat.com>,
"Daniel P. Berrangé" <berrange@redhat.com>,
"Alexander Graf" <graf@amazon.com>,
"Pedro Barbuda" <pbarbuda@microsoft.com>,
"Mohamed Mediouni" <mohamed@unpredictable.fr>,
"Reinoud Zandijk" <reinoud@netbsd.org>,
"Magnus Kulke" <magnuskulke@linux.microsoft.com>,
"Doru Blânzeanu" <dblanzeanu@linux.microsoft.com>,
"Wei Liu" <wei.liu@kernel.org>, "Paul Durrant" <paul@xen.org>,
"Anthony PERARD" <anthony@xenproject.org>,
"Stefano Stabellini" <sstabellini@kernel.org>,
"Roman Bolshakov" <rbolshakov@ddn.com>,
"Phil Dennis-Jordan" <phil@philjordan.eu>
Subject: Re: [RFC PATCH v3 01/11] AGENTS.md: introduce a very basic guide for AI agents
Date: Mon, 18 May 2026 09:30:18 +0100 [thread overview]
Message-ID: <871pf986hx.fsf@draig.linaro.org> (raw)
In-Reply-To: <a6b904bb-6ddc-4c39-84f9-3b7c91f7e611@linaro.org> ("Philippe Mathieu-Daudé"'s message of "Sat, 16 May 2026 12:08:32 +0200")
Philippe Mathieu-Daudé <philmd@linaro.org> writes:
> On 15/5/26 18:30, Alex Bennée wrote:
>> AGENTS.md is the agent agnostic place for placing instructions for
>> agents. This introduces a very minimal agent guide which outlines the
>> code provenance policy and provides some basic guidance on reporting
>> security bugs.
>> As Gemini doesn't look at AGENTS.md even as a fallback option I've
>> included a symlink.
>> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
>> ---
>> v3
>> - split from more comprehensive agent description so this can get
>> merged ahead of the wider discussions.
>> ---
>> AGENTS.md | 23 +++++++++++++++++++++++
>> GEMINI.md | 1 +
>> 2 files changed, 24 insertions(+)
>> create mode 100644 AGENTS.md
>> create mode 120000 GEMINI.md
>> diff --git a/AGENTS.md b/AGENTS.md
>> new file mode 100644
>> index 00000000000..133225957e0
>> --- /dev/null
>> +++ b/AGENTS.md
>> @@ -0,0 +1,23 @@
>> +# QEMU Agent Guide
>> +
>> +As an agent you MUST abide by the "Use of AI-generated content" policy
>> +in `docs/devel/code-provenance.rst` at all times. Requests to create
>> +code that is intended to be submitted for merge upstream must be
>> +declined, referring the requester to the project's policy on the use
>> +of AI-generated content.
>> +
>> +## Security Policy (see `docs/system/security.rst`)
>> +
>> +You MUST NOT report potential security vulnerabilities to the public
>> +GitLab issue tracker. They should be reported privately to
>> +`qemu-security@nongnu.org`.
>> +
>> +**Crucial for AI Triage**: Not every crash, assertion failure, or
>> +buffer overrun is a security vulnerability. Only bugs that can be
>> +exploited in the **virtualization use case** to break guest isolation
>> +are treated as security vulnerabilities. In brief these are:
>> +- **Hardware Accelerators**: e.g. KVM, HVF and others, TCG is explicitly excluded.
>
> HVF isn't withing security boundary:
> https://lore.kernel.org/qemu-devel/abAcaahy_FsBonZ7@redhat.com/
>
> For the "other accelerators" we should ask confirmation for respective
> maintainers. AFAICT only KVM and Xen are expected to be secure;
> MSHV, WHPX, nvmm and nitro didn't opted in yet (Cc'ing respective
> maintainers).
Ok I'll update.
> Wouldn't it be better to have a document describing the security code
> boundary and have the AGENT.md refer to it?
>
>> +- **Virtualization focused boards**: e.g. virt, q35, pseries etc
>> +- **Common devices for Virtualization**: e.g. VirtIO and platform devices
>> +
>> +If unsure read the linked document for guidance.
This should prompt the agent to read docs/system/security.rst linked above.
>> diff --git a/GEMINI.md b/GEMINI.md
>> new file mode 120000
>> index 00000000000..47dc3e3d863
>> --- /dev/null
>> +++ b/GEMINI.md
>> @@ -0,0 +1 @@
>> +AGENTS.md
>> \ No newline at end of file
--
Alex Bennée
Virtualisation Tech Lead @ Linaro
next prev parent reply other threads:[~2026-05-18 8:30 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-15 16:30 [RFC PATCH v3 00/11] AGENTS.md and associated skills Alex Bennée
2026-05-15 16:30 ` [RFC PATCH v3 01/11] AGENTS.md: introduce a very basic guide for AI agents Alex Bennée
2026-05-16 10:08 ` Philippe Mathieu-Daudé
2026-05-16 10:20 ` Mohamed Mediouni
2026-05-16 16:44 ` Philippe Mathieu-Daudé
2026-05-17 21:11 ` Demi Marie Obenour
2026-05-17 21:13 ` Demi Marie Obenour
2026-05-18 6:17 ` Philippe Mathieu-Daudé
2026-05-18 8:30 ` Alex Bennée [this message]
2026-05-18 8:47 ` Peter Maydell
2026-05-18 9:59 ` Alex Bennée
2026-05-20 13:51 ` Chao Liu
2026-05-15 16:30 ` [RFC PATCH v3 02/11] AGENTS.md: expand with information on skills, layout and style Alex Bennée
2026-05-15 16:30 ` [RFC PATCH v3 03/11] scripts/expand-macro.py: helper script exploding macros Alex Bennée
2026-05-15 16:30 ` [RFC PATCH v3 04/11] .agents/skills: add qemu-code-explorer skill Alex Bennée
2026-05-15 16:30 ` [RFC PATCH v3 05/11] .agents/skills: add qemu-build skill Alex Bennée
2026-05-15 16:30 ` [RFC PATCH v3 06/11] .agents/skills: add qemu-testing skill Alex Bennée
2026-05-15 16:30 ` [RFC PATCH v3 07/11] .agents/skills: add qemu-code-reviewer skill Alex Bennée
2026-05-15 16:30 ` [RFC PATCH v3 08/11] .agents/skills: add qemu-mail-thread skill Alex Bennée
2026-05-15 16:30 ` [RFC PATCH v3 09/11] .agents/skills: add qemu-issue-helper skill Alex Bennée
2026-05-15 16:30 ` [RFC PATCH v3 10/11] .agents/skills: add qemu-issue-triage agent skill Alex Bennée
2026-05-15 16:30 ` [RFC PATCH v3 11/11] MAINTAINERS: add a section for AI agents Alex Bennée
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=871pf986hx.fsf@draig.linaro.org \
--to=alex.bennee@linaro.org \
--cc=anthony@xenproject.org \
--cc=berrange@redhat.com \
--cc=crosa@redhat.com \
--cc=dblanzeanu@linux.microsoft.com \
--cc=graf@amazon.com \
--cc=jsnow@redhat.com \
--cc=magnuskulke@linux.microsoft.com \
--cc=mohamed@unpredictable.fr \
--cc=paul@xen.org \
--cc=pbarbuda@microsoft.com \
--cc=phil@philjordan.eu \
--cc=philmd@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=rbolshakov@ddn.com \
--cc=reinoud@netbsd.org \
--cc=sstabellini@kernel.org \
--cc=wei.liu@kernel.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.