From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3ED56CD4F3C for ; Wed, 20 May 2026 13:52:30 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1wPhL5-0004yx-SE; Wed, 20 May 2026 09:51:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1wPhKm-0004vw-3v for qemu-devel@nongnu.org; Wed, 20 May 2026 09:51:44 -0400 Received: from mail-dl1-x1242.google.com ([2607:f8b0:4864:20::1242]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1wPhKk-0004YY-BP for qemu-devel@nongnu.org; Wed, 20 May 2026 09:51:39 -0400 Received: by mail-dl1-x1242.google.com with SMTP id a92af1059eb24-12c19d23b19so6603217c88.0 for ; Wed, 20 May 2026 06:51:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1779285096; x=1779889896; darn=nongnu.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=DgoqhLjjLeSynuaVBaH/zkn2otTAtA892BxWe4zxdUU=; b=PfwqMTlFUosUd1eY1jL9g0c13mkwHbk+Pw7fWMA4aVdqKbjcgDzJzpR6dU9Vsnt61y ykNzHcbDnnWW3VysFg7B8K6QJsQrdoO9Tne3xoo3+AMXOcgtmixYI8e6B6VoXmn/pIuD dlXUJFCqt7yMyGeTSNUdUwYWKjrbCJs92F67TJluFJ41EBvfcOi6xJYfYaG1rcFEnyWC 7xfp/LKLQp+0c4QrvUMmYLNdrUjATvSZRHeKci5bbS7M6ng0NMK5O0dmh5i9CrEx0HhA UZFxoZYn/KXLd+8rAVm7pT+zgUP68hVeyQYr++r4DnHDUuKzbrKLWe1XytR1HRHMG4ua Anfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779285096; x=1779889896; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=DgoqhLjjLeSynuaVBaH/zkn2otTAtA892BxWe4zxdUU=; b=hG9jM+7A4D6I8gLCnqHUzxlimj7KFcwTppb9/sDIPTIq6ukVh4Z8DxYiDxMTPa5o7S a834rpYXddsFISwHC2EYQeUe5x96ozgTZp40b8Mb5d3s486+8TxaRZeKjeemmrtf9pRA PaOxU6yPapZ5jWNewPCr+54FaJgA/xzokXLMnismUhi24d7OdDUc4ommHw2eR7G3kZNi Nfa/RUxCaQjVwaT4n1vXfo0cIV1eQwuiKHBYyBYFPbNmWqwlt7F9wO8gRzCh8FHqFHml Uwb8gqIwgZjnC6Ll/8JOYIDZLajncgVneBy3vlQxozjtMt6LvGfcKUZd7Ug5s6bGe+tU Gdtg== X-Gm-Message-State: AOJu0YxN7BxhQMoYM7dp0TPTfZsh55KCN93IalYD1gLKAcJVBdryMSZc QJptvs8tGyGEgUlFPntG0vIHVHG5/SMP229WDcBKjE2HYtHDm4ztqF+d X-Gm-Gg: Acq92OFchC87ZIU/o0bd40bLVofPJZ+yGSZpJ1hKfx5Ebpu9rgUNT1YaBva+NO8r4ny GOZnBA7mXnogEmTqfJ7IfMPd4cnr0wKL62IbiLaMmL9Qavy2Jqasec1M76Av+NFiQNnpV1UTl48 /n1r6fpQ0ykHvQboUkl2ds58wYcoBgo894ACnRgMzqM/5tppqgeDDfSA/LWb2h2YcfpICQXcMJh 4LJXbutkIscMn6LEePyc4hWddscfph0eXqxKC3qhEjAqiItZ4342bsXVnPm7k10iBzBpWP0jxci V1uVAtpXW/TO9NWgzchSfDQ13/9jAwLckn2rP5TdYsRdVnSxCsBENxEN0Lix6hb+KWuAsA9s+1D 1xpUWvUQVjCKmRX+FoPfU/qDidR2yj0NymRsaShyY8iVgTjDBIZvRhhiEJYLDH3rrFyykOJA1Cb iMe0+lYOwlcXwSQZ0coWxD3bjauBVYQnTHsACiHH/cwVkKMw4f8zRXG8RFXec= X-Received: by 2002:a05:7022:689f:b0:12d:de3e:be88 with SMTP id a92af1059eb24-13504943e5emr9029939c88.36.1779285095893; Wed, 20 May 2026 06:51:35 -0700 (PDT) Received: from localhost ([64.186.250.142]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-134cc33a618sm28715254c88.12.2026.05.20.06.51.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 May 2026 06:51:35 -0700 (PDT) Date: Wed, 20 May 2026 21:51:32 +0800 From: Chao Liu To: Alex =?utf-8?Q?Benn=C3=A9e?= Cc: qemu-devel@nongnu.org, Cleber Rosa , John Snow Subject: Re: [RFC PATCH v3 01/11] AGENTS.md: introduce a very basic guide for AI agents Message-ID: References: <20260515163055.1792262-1-alex.bennee@linaro.org> <20260515163055.1792262-2-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20260515163055.1792262-2-alex.bennee@linaro.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::1242; envelope-from=chao.liu.zevorn@gmail.com; helo=mail-dl1-x1242.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org On Fri, May 15, 2026 at 05:30:44PM +0800, 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 > > --- > 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. > + I tested the agent rule with Codex and GPT-5.5 model, and it works. Tested-by: Chao Liu Thanks, Chao > +## 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. > +- **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. > 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 > -- > 2.47.3 > >