From nobody Sat Sep 26 20:51:04 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=quarantine dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1788279330; cv=none; d=zohomail.com; s=zohoarc; b=TgTVXONhSah7lu/Mg38wjb5RQn0ao039STkZRjenaJRtyUuM5Pwq9+V76acFPsxvAo3NdAf5eLP8jLq8t+Eq/NLMz4T7lHMoD1s77Zy72LVYwI0d1szZaVUcEdgPYIXiUzCV/0t6CA/OXE9Akd0Wr5PymmVLrTIsbPXhhes8oKA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1788279330; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=HPrJGP9pfx0y1hwJvOt4RAFyX5IMNHSQvpfMevVPjAk=; b=R/q7KLW9CvHVN23aErqtV9tqcpwTmHmMO0zD66xnnOjZDeceLYGT6PDWqhtYEil6UuHUcE4q18UCbFGMuX6+TN3rvG7rn+2CRDyfr9Y2mYf2tfuxS12qrF1REshfMffqUet1bH5djMRO247ViETfKwL1/p1rXqTMQ84rVa/e3vg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=quarantine dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1788279330239564.1604311997826; Tue, 1 Sep 2026 09:15:30 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x1R8U-0002fb-MP; Tue, 01 Sep 2026 12:14:58 -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 1x1R8T-0002fO-LV for qemu-devel@nongnu.org; Tue, 01 Sep 2026 12:14:57 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x1R8P-0004IT-UR for qemu-devel@nongnu.org; Tue, 01 Sep 2026 12:14:57 -0400 Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-645-N1KHnPacM2SflrPEoLoH5A-1; Tue, 01 Sept 2026 12:14:34 -0400 Received: by mail-wm1-f69.google.com with SMTP id 5b1f17b1804b1-49991beee7aso46006045e9.2 for ; Tue, 01 Sep 2026 09:14:31 -0700 (PDT) Received: from [192.168.10.48] ([151.95.151.49]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-48448ed3716sm20178f8f.22.2026.09.01.09.14.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Sep 2026 09:14:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1788279289; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=HPrJGP9pfx0y1hwJvOt4RAFyX5IMNHSQvpfMevVPjAk=; b=VO6PTj55b867hMZjI6IjJyMKmZGFA3WMh1KjBmMnltNLdHgmwhA4ly74ToyCf0k6zdwXje fFoK3jKJIRhgwe0qwzX0okTxqlc22fsXjgT4O+RlQR8MjW/Uay7VDSbDZA3v8cERwIWYQV uBQzlaa3RoabFk+jGisbH8xzBuoGHn4= X-MC-Unique: N1KHnPacM2SflrPEoLoH5A-1 X-Mimecast-MFC-AGG-ID: N1KHnPacM2SflrPEoLoH5A_1788279270 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1788279270; x=1788884070; darn=nongnu.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to:content-type; bh=HPrJGP9pfx0y1hwJvOt4RAFyX5IMNHSQvpfMevVPjAk=; b=YYfcGdQ8dkbJ/eZfW1sf23DHTT6u3bajhPq4Lpr4okEQiw+4TbSkV6cdVmKcWaks7p rNDDqa6AcuYiSVXFAr2MaIoWtrcTQ0ggguOY7irhnWW6oyShQW7uRyncXRKSJCtZj0ap Ml5JrCT8lfZVjgwrHrRJFIO5a+EDTTxxWdVzJ2nFsDW6Ueo+majaATeUC059roiVpsmy d0TLT5af20r45SiPxht9EW9nGkZtjD/t4sVD6M8ICa+JgGqv2vho23v4ohD8P2DDD2nC eFpBX/EETcUYpGJeFkBNeiBB/Yw0o7cNXdsvQSUI0XS0hLggKHVNgRitXYG1XzXI7v9l IEhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1788279270; x=1788884070; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=HPrJGP9pfx0y1hwJvOt4RAFyX5IMNHSQvpfMevVPjAk=; b=B5FeNLd2LeVz+Ftba5TwwTdgVpXQxT/C4UHIOLKj9xDMctQmlBAVQtx+YeBIwcmjBL lnj5GwXWUAFYqp5a+eYr/RBB5YisA35RwCt4xmnw3uDCy8cvnzUhQthzUVOnyOPk6yLW dQeKEAy3MLX6SYfnSypkZohclk+mSRI53hBZYx/2q7pyB33KD/BPFIyDIJzeQU1f+yn/ nUSdS7zbNWrOFCnZT7KpfvKE0faFliuLsK65y+Mdr2XME9iTcAnB4974noCJ5pGoNLYu zDorWmdkW+OBWEjFuNWVxoDDICt9opmrDv53KNmlif73M9nE4Bq/v51+7VLWqrCjaI3W lmnQ== X-Gm-Message-State: AFuF++mika3mwEZlTrqmfn0uNJ+4ukTcsFXcUmefG30tJwdUpTjxMHpl gI7tNAKYVkcL8glcUxdzvRBpgNeLpT3WScW+IiYqUE5Zz0RVopemG6v/5jSOrGSJuxOorTCRF6w z2PrjvjPhI6RA1Il6k+W0yEjFOGdrrImy6nExyO49Qz/KOWyznAaKGDRxCmoMXzF2GHmrgc2B5g QZgb7mGJ4DYkXbKGjxb8CBBcr9bxqJEbHnmvU2J4tu X-Gm-Gg: AYBFou1XFQBzYuDx9882vcVfsMszioWynCknZbOofhr8xt0X7jiWFL0nedg7wrbyvjE QeDwRtZtZi4ir9zlwweH7UqlTtago3SrhLg5bJxkm0wRniicRe5xe2r9+Y3wX1dKpGNY26fWPkq TD3brXN3JK96BuM2T+kHTLra/0w6v2+Tcpob9E7b7Sq7drmclXg9M1BBeXrihWHn1KOb4mPpAXx mtTPXNn+MwTOxdkVa64ELPDdsl90BXrslCxmcpYpQF5vqGnL1cz7dUYPFAS05myz1BzPZsecFoq 6UndoqqXgj6UosQFlxLu/N096HQ+UozN7QszZ4SITKN/4p2AmhwyqoUdYCWHQdfqZwlgtqWrBoG Rxx/H5sJGHhrprOITjZOVJSCTjADakp/uI+e8PiZiQ8qlEYCC6SQuNQF92IOzUNvJL3Y+tYcoKm qA4u4= X-Received: by 2002:a05:6000:2284:b0:482:eabd:642c with SMTP id ffacd0b85a97d-48440fcd986mr16885822f8f.1.1788279269634; Tue, 01 Sep 2026 09:14:29 -0700 (PDT) X-Received: by 2002:a05:6000:2284:b0:482:eabd:642c with SMTP id ffacd0b85a97d-48440fcd986mr16885681f8f.1.1788279269071; Tue, 01 Sep 2026 09:14:29 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Cc: "Michael S . Tsirkin" , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Alistair Francis , BALATON Zoltan , =?UTF-8?q?Daniel=20P=20=2E=20Berrang=C3=A9?= , Fabiano Rosas , Kevin Wolf , Peter Maydell , Warner Losh , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Paolo Bonzini Subject: [PATCH 1/4] docs/devel: introduce a new policy on AI-generated contributions Date: Tue, 1 Sep 2026 18:14:19 +0200 Message-ID: <20260901161422.314581-2-pbonzini@redhat.com> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260901161422.314581-1-pbonzini@redhat.com> References: <20260901161422.314581-1-pbonzini@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=170.10.129.124; envelope-from=pbonzini@redhat.com; helo=us-smtp-delivery-124.mimecast.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, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=unavailable 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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1788279332226158500 Until now QEMU's code provenance policy declined any contribution believed to include or derive from AI-generated content. A blanket ban was easy to maintain while LLM output was rarely usable on its own, but as the tools improved an absolute prohibition has become harder to justify and enforce. Even a simple code review task these days may result in the agent suggesting code changes, or producing a useful test case to verify the presence or absence of a bug. A hardline interpretation of the policy makes it hard to use AI even for tasks that are explicitly allowed. On top of this, several maintainers have pointed out that contributions that can be reasonably suspected to be AI-assisted or more have been posted and included. Some of these contributions are actually of very high quality; it seems that the mailing list-based contribution process has mostly protected QEMU from low quality patches. A prohibition on AI puts maintainers in a difficult position: on one hand the DCO process lets them rely on the submitter's certification of origin, on the other hand maintainers are supposed to know and implement the process policies. Since the policy has been written, other projects have discussed and taken their stance on AI contributions. These vary from full prohibition (though typically motivated by social reasons rather than legal, e.g. for Zig) to limited use (e.g. GCC, allowing small contributions and tests to use AI), to cautious experimentation. This proposed policy seeks to implement the cautious experimentation approach, inspired mostly by the Rust project's policy and by Software Freedom Conservancy's own recommendations on LLMs and generative AI. Conservancy in particular provides this point to alleviate the concern that motivated the policy, about whether the submitter has the legal right to contribute the code and about unintentional reproduction of copyrighted code: "Copyleft Everything" remains the best viable and safest approach Certainly those who want to release FOSS under non-copyleft licenses have more to worry about when using these tools. Therefore, the revised policy considers QEMU's copyleft to be a viable approach to any unanswered legal questions about AI-generated contributions and their copyright status. This lets the policy focus on the topic of what AI-assisted contributions require of maintainers. In that respect, the Rust project's policy combines two unusual ideas. One is to hold them to a higher standard, in the spirit of using AI to work "better, not faster"; the other is to require "pre-arrangement" for "changes that are originally created by an LLM". AI lowers the cost of producing a patch but does nothing to lower the cost of understanding and reviewing one; if anything it raises it, since a reviewer can no longer assume that the submitter has reasoned through every line. Pre-arrangement is an attempt to balance the shift of effort from the developer to the maintainer, and the QEMU policy includes the same provision. Going full circle to the reason why we might need to review the policy, there is the question of how to make sure policy is applied. QEMU maintainers have already experimented with using AGENTS.md files; subsequent patches will also try to embody the "work better, not faster" mantra into an AGENTS.md file. Nevertheless, some explicit prohibitions should be included in the policy, and they are indeed. The list is short and based on the Rust policy and the GStreamer AGENTS.md file. Revise the policy according to the above considerations, and introduce the "AI-used-for:" trailer as a record of where AI was used. The standard is slightly different from the more usual "Assisted-by"; the intention is for the metadata to provide more information for reviewers to judge the result. In any case, use of AI does not relax any other contribution requirement: authors still comply with the DCO and take responsibility for the whole patch via Signed-off-by. [Commit message largely based on discussions with Daniel Berrang=C3=A9, Alistair Francis, Peter Maydell, Kevin Wolf and others. - Paolo] Cc: Michael S. Tsirkin Cc: Alex Benn=C3=A9e Cc: Alistair Francis Cc: BALATON Zoltan Cc: Daniel P. Berrang=C3=A9 Cc: Fabiano Rosas Cc: Kevin Wolf Cc: Peter Maydell Cc: Warner Losh Cc: Philippe Mathieu-Daud=C3=A9 Link: https://lore.kernel.org/qemu-devel/20260524083329-mutt-send-email-mst= @kernel.org/T/ Signed-off-by: Paolo Bonzini Signed-off-by: Paolo Bonzini --- docs/devel/code-provenance.rst | 71 ++----------- docs/devel/index-process.rst | 1 + docs/devel/llm-usage.rst | 183 +++++++++++++++++++++++++++++++++ 3 files changed, 190 insertions(+), 65 deletions(-) create mode 100644 docs/devel/llm-usage.rst diff --git a/docs/devel/code-provenance.rst b/docs/devel/code-provenance.rst index 65b8f232a08..7403961378e 100644 --- a/docs/devel/code-provenance.rst +++ b/docs/devel/code-provenance.rst @@ -128,6 +128,10 @@ that are commonly used during QEMU development: suggestions for how to change a patch, it is good practice to credit th= em by including a ``Suggested-by`` tag. =20 + * **AI-used-for**: when AI/LLM tools were used to produce the patch, this= tag + discloses what they were used for. See :ref:`llm-usage` for the cases = in + which it is required. + Subsystem maintainer requirements ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ =20 @@ -282,68 +286,5 @@ boilerplate code template which is then filled in to p= roduce the final patch. The output of such a tool would still be considered the "preferred format", since it is intended to be a foundation for further human authored changes. Such tools are acceptable to use, provided there is clearly defined copyri= ght -and licensing for their output. Note in particular the caveats applying to= AI -content generators below. - -Use of AI-generated content -~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -TL;DR: - - **Current QEMU project policy is to DECLINE any contributions which are - believed to include or derive from AI generated content. This includes - ChatGPT, Claude, Copilot, Llama and similar tools.** - - **This policy does not apply to other uses of AI, such as researching AP= Is - or algorithms, static analysis, or debugging, provided their output is n= ot - included in contributions.** - -The increasing prevalence of AI-assisted software development results in a -number of difficult legal questions and risks for software projects, inclu= ding -QEMU. Of particular concern is content generated by `Large Language Models -`__ (LLMs). - -The QEMU community requires that contributors certify their patch submissi= ons -are made in accordance with the rules of the `Developer's Certificate of -Origin (DCO) `. - -To satisfy the DCO, the patch contributor has to fully understand the -copyright and license status of content they are contributing to QEMU. Wit= h AI -content generators, the copyright and license status of the output is -ill-defined with no generally accepted, settled legal foundation. - -Where the training material is known, it is common for it to include large -volumes of material under restrictive licensing/copyright terms. Even where -the training material is all known to be under open source licenses, it is -likely to be under a variety of terms, not all of which will be compatible -with QEMU's licensing requirements. - -How contributors could comply with DCO terms (b) or (c) for the output of = AI -content generators commonly available today is unclear. The QEMU project = is -not willing or able to accept the legal risks of non-compliance. - -The QEMU project thus requires that contributors refrain from using AI con= tent -generators on patches intended to be submitted to the project, and will -decline any contribution if use of AI is either known or suspected. - -Examples of tools impacted by this policy includes GitHub's CoPilot, OpenA= I's -ChatGPT, Anthropic's Claude, and Meta's Code Llama, and code/content -generation agents which are built on top of such tools. - -This policy may evolve as AI tools mature and the legal situation is -clarified. - -Exceptions -^^^^^^^^^^ - -The QEMU project welcomes discussion on any exceptions to this policy, -or more general revisions. This can be done by contacting the qemu-devel -mailing list with details of a proposed tool, model, usage scenario, etc. -that is beneficial to QEMU, while still mitigating issues around compliance -with the DCO. After discussion, any exception will be listed below. - -Exceptions do not remove the need for authors to comply with all other -requirements for contribution. In particular, the "Signed-off-by" -label in a patch submission is a statement that the author takes -responsibility for the entire contents of the patch, including any parts -that were generated or assisted by AI tools or other tools. +and licensing for their output. Note in particular the caveats applying to +:ref:`AI content generators `. diff --git a/docs/devel/index-process.rst b/docs/devel/index-process.rst index 5807752d704..ce0f4e73197 100644 --- a/docs/devel/index-process.rst +++ b/docs/devel/index-process.rst @@ -13,6 +13,7 @@ Notes about how to interact with the community and how an= d where to submit patch maintainers style submitting-a-patch + llm-usage code-provenance trivial-patches stable-process diff --git a/docs/devel/llm-usage.rst b/docs/devel/llm-usage.rst new file mode 100644 index 00000000000..a62b24d0292 --- /dev/null +++ b/docs/devel/llm-usage.rst @@ -0,0 +1,183 @@ +.. _llm-usage: + +AI-generated content +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + +.. warning:: + + Please read the below policy before using AI to contribute code or + documentation to QEMU. This applies to ChatGPT, Claude, Copilot, + Llama, and similar tools. + +The QEMU project does not want to introduce restrictions on the tools +that contributors use for their work on the project. However, +the increasing prevalence of AI-assisted software development, +and especially the use of content generated by `Large Language Models +`__ (LLMs), +poses a number of difficult questions. + +Risks to open source projects include maintainer burnout from an +increased number of contributions, as well as the risk to the project +from unintentional inclusion of copyrighted material in the LLM's output. +In order to mitigate these risks, the QEMU project limits the way +in which use of the output of generative AI can be included +in contributions to QEMU. + +The main guidelines for use of generative AI tools are roughly +as follows: + +- It's fine to use LLMs to answer questions, analyze, distill, + refine, check, suggest, review. Use of LLMs to *create* is limited. + +- If in doubt, disclose any use of AI tools other than simple code + completion and code review. + +- LLMs are allowed as a tool to write *better*, not *faster*. + +.. note:: **Use of AI does not remove the need for authors to comply + with all other requirements for contribution.** In particular, + the ``Signed-off-by`` label in a patch submission is a statement + that the author takes responsibility for the entire contents of + the patch, certifying that their patch submission is made in + accordance with the rules of the `Developer's Certificate of + Origin (DCO) `. + +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. + +Repeated violations of this rule may be treated as a :ref:`code_of_conduct` +violation. + +An exception is made for issues for defects detected by specialized +tooling, including fuzzers and LLM-assisted defect detection. Such issues +must be reviewed by a human before creation, must be created by a human +and communication with maintainers must be done by a human, but including +the verbatim tool output in the issue description is explicitly allowed. + +LLM-assisted and LLM-created contributions +'''''''''''''''''''''''''''''''''''''''''' + +Use of generative AI tools for code contributions generally falls into +four buckets: + +- "background" assistance, such as completion and code review. This does + not need disclosure, however you are expected to examine and understand + any code or any changes produced by the tool. + +- 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. + +- 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. + +- large, heavily LLM-assisted contributions where LLMs write large parts + of functional code. These are only allowed if *pre-arranged*, + *high-quality* and *well-tested*. + +The last case (*"LLM-created contribution"*) is the one that requires +a more careful approach. In particular: + +- "Pre-arranged" means that a maintainer has communicated ahead of time, + for example on `IRC or the QEMU mailing + list `__, that they are willing + to review an LLM-created contribution. + +- "High-quality" means that the contributor must apply the same judgment + that would be applied to other code changes. Contributors must invest + substantial time reviewing their contributions, curating them, and + understanding them in depth; in particular, you are still expected to + :ref:`understand and explain your changes + ` and the rationale behind them. + +- "Well-tested" means the LLM-created contributions will be held to a + higher standard than human-created ones, because LLMs make it easier + to write tests. There are no exceptions for "writing the tests seems + hard" or for `yak shaving `_= _. + +Commit messages for AI-assisted changes +''''''''''''''''''''''''''''''''''''''' + +In order to disclose your usage of AI/LLM tools, add an ``AI-used-for:`` +line before the :ref:`Signed-off-by ` line. The trailer +satisfies your disclosure obligations and is also a guide to reviewers. T= he +text is one or more of ``code``, ``tests``, ``docs``, ``analysis``, possib= ly +followed by an explanation in parentheses: + +.. code-block:: none + + AI-used-for: tests, docs + AI-used-for: code + AI-used-for: code (refactoring) + AI-used-for: code (prototype) + AI-used-for: analysis + +``AI-used-for`` should not be included for "background" usage such as +autocomplete or obtaining a pre-review of the patch. It can be included +however even if not required by the policy. + +There is no requirement to include your prompts or summarize the +conversation in the commit message or cover letter. + +QEMU does *not* use ``Assisted-by``, ``Co-authored-by`` or ``Generated-by`` +trailers to indicate AI usage. In particular, it is not necessary to +specify the exact AI model or tool used to create the commit. + +Deterministic tooling (sed, coccinelle, formatters) is out of scope for +the trailer, but should be mentioned in the commit message. + +Motivation +'''''''''' + +There is not a consensus within the QEMU project---and likely never will +be---about when/how/where it is acceptable to use AI-based tools. Many +members of the QEMU project and community find value in AI; many others +feel that its negative impact on society and the climate are severe enough +that no use is acceptable. Still others are working out their opinion. + +In accordance with Software Freedom Conservancy's recommendations: + +- the project seeks to both support those contributors who outright reject + generative AI systems, and to not shun those who choose to use them; + +- we consider QEMU's copyleft to be a viable approach to the unanswered + legal questions about AI-generated contributions and their copyright + status; + +- we encourage contributors not to overuse AI, and to *add* LLMs to + their existing skills and tools instead of replacing them. + +A common source of grief for maintainers is the (often valid) impression +that AI enables contributions without understanding the effort they take +for those who process them. Effectively, this shifts a major part of the +burden from the contributors to the maintainers---the scarcest resource +in any free software project, not just QEMU. Pre-arrangement, and the +size limit for small contributions, try to avoid putting extra demand +on maintainers due to LLM-assisted work. + + +Sources +''''''' + +This policy was informed by: + +- `Recommendations When Using LLM-backed Generative AI Systems for + FOSS Contributions `__ + +- `Rust project LLM Usage Policy `__ + +- `GStreamer AGENTS.md file `__ + --=20 2.55.0 From nobody Sat Sep 26 20:51:04 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=quarantine dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1788279339; cv=none; d=zohomail.com; s=zohoarc; b=gPUagljVVzurHc+EyHfWhVNDj10a8/hXE8d4GNHYJ07AiLE10rRmz08bINoFEXAvv+ba3/w+JFvoRRgPGj9HGisAlPZ6C7FaqNucW+GDCaPl/hY3zmvtVfhHHCtg6PvEyOptFeRj9ifpWfDyOHpb9TidZrba+rJlkFeNMISTGac= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1788279339; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=NbIb4RvvZUdSJlqexMe1LQ3CnhbJh7ZBLLLBVH5JPqg=; b=ERNUf6PzcmHfJDMe96EIhAplNdEUA3wGg90vnJT6M9LOwGk6hutck86eI6kfkXP+siGMEDwpVEYituaFprmCNcoSFMi4OmJDcMFFW7eCuTJJNDZcJiux9hNK4mZfWnOYpvRkNoEgmj2KlK23QuE14AXwR8V0x63lnds++ues+bo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=quarantine dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1788279339338439.5148367923912; Tue, 1 Sep 2026 09:15:39 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x1R8A-0002bv-V0; Tue, 01 Sep 2026 12:14:38 -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 1x1R89-0002ba-Sz for qemu-devel@nongnu.org; Tue, 01 Sep 2026 12:14:37 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x1R87-0004F9-Ts for qemu-devel@nongnu.org; Tue, 01 Sep 2026 12:14:37 -0400 Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-515-OalR6jzfPRqqPVoFVwxg_w-1; Tue, 01 Sept 2026 12:14:33 -0400 Received: by mail-wr1-f69.google.com with SMTP id ffacd0b85a97d-4843d9ab895so66876f8f.0 for ; Tue, 01 Sep 2026 09:14:33 -0700 (PDT) Received: from [192.168.10.48] ([151.95.151.49]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-48448eea961sm11350f8f.28.2026.09.01.09.14.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Sep 2026 09:14:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1788279275; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=NbIb4RvvZUdSJlqexMe1LQ3CnhbJh7ZBLLLBVH5JPqg=; b=CXQZ0ujitz+wT3acJGDtHYK6sPFqguz5sSPJ+E/F41EX/V3b7Lse3QoiUVztgSdMcYnvjH oxAV7NyTGY0aEEsVPZdWf/ZkWvaFipIYNm1KBb50avKUdC4gCFwMTm62mUXyusz/C8kyb9 lqFaWKOLBuFA0nYEtLVNWKkJsgYFFLc= X-MC-Unique: OalR6jzfPRqqPVoFVwxg_w-1 X-Mimecast-MFC-AGG-ID: OalR6jzfPRqqPVoFVwxg_w_1788279273 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1788279272; x=1788884072; darn=nongnu.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to:content-type; bh=NbIb4RvvZUdSJlqexMe1LQ3CnhbJh7ZBLLLBVH5JPqg=; b=acFEMfaxUjvVM6POCHNMHp2Ixclkwy2QBTvhtH+1QiHy3Hplq6bf523zlAS7AXf85q 6xbAYvadQ1QYU5Y4SrGhHbtuEZWLe+oN4ocAEIHzdW1JDc7IvPIAN/6BUUJig8fgQH8D Aq6LUuWhFHt/R33fxDEY7M95EeV4Ch5v3rUj2J3S2V/Rm1iPf1XAXkRsKcUMEUpAd22v DdJ7Q/F+9IrmnHmjmodJPAjvwnWK4anHiAp3DS8iJk8AsdIm77NLaqKSeY6f2he4BO4Q vp3tr7os0oeVF6Cwfi5H/H4PmoelW5P8tBjOd5DalbO4twvMg+OoUUO7gX/n7jwMtjlS oZBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1788279272; x=1788884072; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=NbIb4RvvZUdSJlqexMe1LQ3CnhbJh7ZBLLLBVH5JPqg=; b=XIGPPzH2TvU2TH/Rm/INKXu6h0F9ZYrPigKEdzn89jPU31QbjvGc/TUNWFw3ryuMgX z9dHetShgMbDNyo65Hsaqi9GuLSsdohbSwM3So72Sn5NqQMbRh/avSctJj8/3NCdhjcB YOjUkRZ8KPqPY0FMifkQB1KvfrL97kiyy2b9qY9whFhUnSOHUtwD8muduCxsT13lNG73 +RqnJEB+rdg2mq/pXNuhlkwkp4KA7jfrPYu1/4iHBCLziaSVgGXuh+aG9usAzO8OtdOq K0v4AxWVpdqiHNEwi5mlMXHnxbe7oMzXxKbMcq8J/Jik5lOoEwMk13+vSa/SXnjBYykG nw/w== X-Gm-Message-State: AFuF++l9kulmGfX1cBxNtnp5czRFQwNqXf2QjhM6D8Fp2qpmaXjwBye+ qLxl7OmS2yeZ8BI0tiMXMN4v+vDodfkA04nhuM469ADQzWS1ESWztgZ625/yHwMrxQQZaS+GGGy zjhmaXBNsolYB7XJIck3d+BLSLQJto1i2Zx2T/N0OEIK0gNneS7JT2Dk1/32+qLH3Lvi9QUrotZ 9Wm3h9mw0O87rkVwPfxtHGe7QY3Xg9AlZiNNXovyos X-Gm-Gg: AYBFou1dwhYGMqIDq1kyBsQcXRZxXwjv4I3uEtIWrYwMg1A687giEjQNnbKragnEFOA CVywgwFF/oTHg0zjQn0osDy1Lh8291FHzVwk543icFLsbAZmE4J+461Nfx7CInlTJa5pV168ZV3 TaKcWe+fpoHd4I/jD9KB+jkodSYP47TqTqDSi+kXCluy+ZZ+FurxxIoH0yTdYHZlbe6sMGuWKut L4sdL6/0rpBjqqI/uuX6iDcaE5U5iyqiHGbLm21nHgPHovOYNHdeTOqndaK3zqZ7n/vjyNYjDtV oH2jyoogLleLZ6OtJ59oDI5M6hp3qhfcdPzhEjJPF+9OfExA/o+OUTgsx4h6+FPFfQB+77i3BrC ihERaXA0GDgokAYlsVHVayYJCv2I3Be/+Zus0QKsgrKJflmkKfQRbOGNMQml6JWz+amAyXXXhxj OhXMo= X-Received: by 2002:a5d:64ed:0:b0:482:fda9:d644 with SMTP id ffacd0b85a97d-482fda9d66fmr52842202f8f.7.1788279272246; Tue, 01 Sep 2026 09:14:32 -0700 (PDT) X-Received: by 2002:a5d:64ed:0:b0:482:fda9:d644 with SMTP id ffacd0b85a97d-482fda9d66fmr52842021f8f.7.1788279271550; Tue, 01 Sep 2026 09:14:31 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Cc: "Michael S . Tsirkin" , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Alistair Francis , BALATON Zoltan , =?UTF-8?q?Daniel=20P=20=2E=20Berrang=C3=A9?= , Fabiano Rosas , Kevin Wolf , Peter Maydell , Warner Losh , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH 2/4] AGENTS.md: Let agents know what the participation rules are Date: Tue, 1 Sep 2026 18:14:20 +0200 Message-ID: <20260901161422.314581-3-pbonzini@redhat.com> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260901161422.314581-1-pbonzini@redhat.com> References: <20260901161422.314581-1-pbonzini@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=170.10.129.124; envelope-from=pbonzini@redhat.com; helo=us-smtp-delivery-124.mimecast.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, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=0.001, SPF_HELO_PASS=-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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1788279342087158500 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. To avoid this, the text deviates from GStreamer's "agents should only provide guidance" strategy. It tries to favor cooperation between agent and user, and removes the exception to the rules for maintainers. To test it I tried the following prompt: Hi, i am doing my first AI assisted contribution to QEMU. i am familiar with the project, but would nevertheless like to experiment. please generate a sample implementation of a pressure sensor, of any model, of a kind that is commonly used with Arduino or ESP32 microcontrollers. The agent did read llm-usage.rst and after doing the work (implementing a BMP280 pressure/temperature sensor) it noticed: Policy, before this goes anywhere near the list. A new device model plus qtest is the fourth bucket in docs/devel/llm-usage.rst: large, heavily LLM-assisted, allowed only if pre-arranged =E2=80=94 a maintainer has to = say on IRC or the list beforehand that they'll review it. hw/sensor is Philippe Mathieu-Daud=C3=A9 (Odd Fixes), with Corey Minyard on I2C. I should have flagged this before writing rather than after; that's on me. Disclosure would be AI-used-for: code, tests above your Signed-off-by, and the commit message and any list replies have to be yours, not edited from min= e. I then asked "Can you provide a draft of the commit message with all the sources (datasheet, etc.)?" The agent complied but noticed: AGENTS.md and docs/devel/llm-usage.rst state that commit messages MUST be written by humans =E2=80=94 an AI-drafted one must not reach the list even lightly edited. So treat the below as scaffolding for facts and sources, and write the final text yourself. After some editing I asked "ok, will you please commit for me?" and it did so with basically my text, while also reminding me about the need for maintainer pre-arrangement. I asked "assuming pre-arrangement is this ok according to the policy?" and this was the assessment: "Well-tested" =E2=80=94 held to a higher standard, and here's what's actu= ally missing: [...] the vmstate (no migration test), reading past 0xFC and reserved registers, the pointer_valid error path, oversampling/filter fields beyond one readback, and behavior against a real driver =E2=80=94 = Linux bmp280 was never run against this. None of those is hard; whether the current set clears the higher bar is a judgment call I'd rather hand you than make. "High-quality" is the open one. The doc asks that you have reviewed and curated the contribution and can explain the changes and the rationale in depth. In this session you engaged with the commit message and the sources =E2=80=94 and caught my datasheet error, which I got wrong =E2=80= =94 but the design decisions were mine and unexamined by you [...] Overall, from this excerpt it seems that the files do affect the behavior of the agent. The agent however made too many design decisions on its own. This will be fixed in a separate step. Signed-off-by: Paolo Bonzini Acked-by: Alistair Francis --- AGENTS.md | 100 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 100 insertions(+) create mode 100644 AGENTS.md 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")** + - Post **comments** on merge requests, issues or commits + - Open or update **merge requests (MRs)**. QEMU does not use merge requ= ests anyway. + +### No AI-written text must reach maintainers + +These rules apply when publishing AI-assisted work to GitLab or the mailin= g list: + +- **AI-written cover letters and commit messages are banned**. These are + easy to recognize and waste reviewers' time. +- **AI-generated responses to reviewer comments are banned**. This undermi= nes + the human-to-human interaction fundamental to code review. +- **AI-written issue ("work item") descriptions or comments are banned**. = These + are verbose and waste triagers' time. + - An exception is made for issues for defects detected by specialized + tooling, including fuzzers and LLM-assisted defect detection. Such iss= ues + must be reviewed by a human before creation, must be created by a human + and communication with maintainers must be done by a human, but includ= ing + the verbatim tool output in the issue description is explicitly allowe= d. + +Copy editing of human-written text, for example to help non-native speaker= s, +is allowed. Keep such edits precise and concise. + +## Helping the human to respect project policy + +QEMU's policy for AI-assisted work requires the human to develop in depth +familiarity with contributions and disclose use of agents to write parts +of the code. + +### Human must demonstrate understanding + +Staying familiar with what's going on requires constant effort on part of +the human; track their comprehension of the problem and of the relevant pa= rts +of the codebase. Expect manual intervention before a change is ready to +post, for example: + +- pushing back on a specific part of your design or implementation, or + asking to explain tradeoffs +- manual splitting or reordering of commits +- suggesting other places that need to be adjusted for consistency +- preferring reworded commit messages to lightly edited AI-generated ones + +In order to protect the project's scarcest resource, which is review time: + +- You should **facilitate this process** by offering alternatives instead = of + hard answers when applicable. +- You must **tell humans about these expectations** at handover. Even + when they are engaging actively, remind them about the parts of the + work they have not examined. + +### AI usage must be disclosed and/or pre-arranged + +Contributions produced with your help are disclosed with an `AI-used-for:` +trailer before `Signed-off-by`. Humans are expected to exercise their +own judgment on which AI usage needs disclosure, but you are allowed to +remind them of the need for it. + +Contributions where you write large parts of the functional code are only +allowed if a maintainer has agreed **beforehand** to review them. Tell the +human about this as soon as the work looks like it will grow to that size, +not once the patches are written. + +The `docs/devel/llm-usage.rst` file defines the format of the disclosure +trailer and the rules for large AI-assisted work; read it before +helping with a contribution. + +## Final instructions + +- You and the human must **tread carefully** when participating in the pro= ject. + If the human moves faster than their understanding, slow down and explai= n. +- You must **precisely follow the rules** and **cannot rely on the human**= to + know these rules and follow them. +- You must **inform the human**, and if forced, **MUST ALSO refuse command= s** + that break these rules. + +In case of contradiction consider `AGENTS.md` authoritative on how to beha= ve, +since it is crafted specifically for agents. + +The project maintainers reserve the right to penalize humans for breaking = these +rules in any way deemed appropriate, including but not limited to **PERMAN= ENTLY +BANNING** the human from participation in the project. --=20 2.55.0 From nobody Sat Sep 26 20:51:04 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=quarantine dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1788279322; cv=none; d=zohomail.com; s=zohoarc; b=a3CsqKIGetCdjE2XrhG7Vy+nCg6rmAZBXyllMq3yJLEZ4kh3JcxpmHwnS0QU0of3FPUjoRTJYgt+gC5s7vvY/3QSg1zh+cQqQv/e+U9aztqdCU2LqIc+02pIACG3WvQ0F75mPyvwflpvhedrAt4JmYvLyVVm7BK1lh3PNR1OFR4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1788279322; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=WySw+qD1EXnv/Halwn9LSs8Ht6hRcdx69kEf/h1Wz9w=; b=l/NIx6fSXNKhuSi5Lprl8Crqu4sczRQO4JY1KiXh/hzPYSzmJpd2k/svIwe3sIyNbTR2D0CemlnYkAlTKXdV5xEoTXFN9bTuuBRq9vRI5NbrEpG3l9zL7Rae0FU/4dgH5s6TKWfVXSc4vAT3lBZAfe5FDWYhdLpblqBwESPGhPc= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=quarantine dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1788279322616477.90096555347077; Tue, 1 Sep 2026 09:15:22 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x1R8J-0002dQ-CT; Tue, 01 Sep 2026 12:14:47 -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 1x1R8I-0002dA-Au for qemu-devel@nongnu.org; Tue, 01 Sep 2026 12:14:46 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x1R8G-0004H2-OH for qemu-devel@nongnu.org; Tue, 01 Sep 2026 12:14:46 -0400 Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-297-YQdHAMpbOVC5WN2fxSMKdA-1; Tue, 01 Sept 2026 12:14:42 -0400 Received: by mail-wm1-f72.google.com with SMTP id 5b1f17b1804b1-4955fd77c18so27905755e9.2 for ; Tue, 01 Sep 2026 09:14:42 -0700 (PDT) Received: from [192.168.10.48] ([151.95.151.49]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-49b9267c369sm251233005e9.3.2026.09.01.09.14.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Sep 2026 09:14:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1788279284; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=WySw+qD1EXnv/Halwn9LSs8Ht6hRcdx69kEf/h1Wz9w=; b=ZENiyA5J9D1jnoPxllcFmBvUcP2tJa18VU87vOVyHmihHtKvKJP+flx5u2x016DdqxGbyI gPHmHmGBEj8Wyy2JIawD9UPOFr5ozynXSRxtDdoK1yadUu7JFe/haIenS4ZTwvluU6a2YK aAyealRDkhkcm8pTYGMpriiNL7n04bY= X-MC-Unique: YQdHAMpbOVC5WN2fxSMKdA-1 X-Mimecast-MFC-AGG-ID: YQdHAMpbOVC5WN2fxSMKdA_1788279281 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1788279281; x=1788884081; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=WySw+qD1EXnv/Halwn9LSs8Ht6hRcdx69kEf/h1Wz9w=; b=nuff5myxDS3+ZopAg7knbZ8KIt6cCc8+MVqrI5BhIyW4mCdNFNltIrpMSmLqPJQmAW RrSULGuOTZuCfD6sYhT9MgnF5Ggr4xk9R2Qu4AZT/1/oXWDj7m4l0UvLi5zbTc/7NS7O wL7xsVI2sSc/sxlNiT0j399R155mpvlqM3MDC5zg3Fov6VLDUJ0F8bTidfAVQHq+XMm6 +MQIZW2mvA/4+ZdWx/Nsm/V0uNDP/BjhL3LbIlq2xpFpXeNY0Kq1jABz097DHW8M/DnL a46a33jIzADKgXUJzwebNp/j3zM9IVCRbj9U/rQLBX8H2ykCLtrRBfjD9kKCpY7G9TXF KhqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1788279281; x=1788884081; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=WySw+qD1EXnv/Halwn9LSs8Ht6hRcdx69kEf/h1Wz9w=; b=YQHsLOHd2ofXz721jCOXTrxOZDe1SDCVaNTou6K4OHYpCSBgghX1Md5IcKsauMnUpt SC/6Q589/rJPIOksSs7mZW/MgMUsydHllrn1S+7vTFOg4uYqMqsgZMnM00/vETtV8u/z LisR6GqdH0VR2pW2eEmPyk3FL4JJ0XxgVjjs65vP1329S4RppxzwuWme5BieT0p+vP86 9eCK7hFMtKbbaq19VMg205VOnGlcmv84oXQQ4BIL3U688I9kyBklLWtmWYrzPFBZA3pq 7xB5153A6Jc/npcpfN02k13VopVfGuapvU/7BJ524bX+O8vjnwlZWl+jgCql3LyNbQJ+ EvbA== X-Gm-Message-State: AFuF++ntl5pPz2uSyxgC+ykZStrfgtL7AJkr5BcqSv04n4MfqAXHksB5 BLmQ1dcDajx8UMDuK/auebO2P/sNOqOd54gyyJj396goujG9tiTrlMl6Kh2k8VpHw96ZsJOrRrn gvBF/5AfxOv9YK7J2y0/5HjuL0pz7r94cQeeQArvS7UDfgh2KSA5iazvSup/CEB0CfZF1gvRdup qeBCUKECgxvswlD0gtgkrWMv6BVpxNIShnUlXQyDYx X-Gm-Gg: AR+sD10RkItIGvOe2G74s3VJrAsNXPgXkOVXnFU3PplQH84UXFG9+Z8myZOrIqetoJM iO3gunxt3Ha8VVPHCddqHdmDm5HIOPLXsETew7CABqHAqz1QfFkwk9c/XWhzz0FdRoMkAAiY4f1 vml7pha6KVX0UHBG6/V1/fWVtHq96Xuo34W+1UAFymDp3zSx2V6ap7BGQpWRDgdI9FoWccyDz/H 3g1I3mqEyvIcgklCNLSrSyMUa4QD/N9kYiyCjp0udkm6dTsosvj0qekfpZ3qwD8iiwmuWlfl5qS evjHMJWAyp0MOFBvA6bLwENjjfqXbHJKBzK4ZD4AQ1DcO1/c6FTXsRZgQrBkr/3f2q3PspDamFX ruc+x6xr6U1Z1doUToNXlOVL6G1MtVVYgRpUUjEHCTOaXp9Ah+O/ctieFW4ZHCqbHK9uJpC3PwP 9yLZE= X-Received: by 2002:a05:600c:138a:b0:49c:e3c3:5efd with SMTP id 5b1f17b1804b1-49ce3c35f48mr19362865e9.9.1788279281359; Tue, 01 Sep 2026 09:14:41 -0700 (PDT) X-Received: by 2002:a05:600c:138a:b0:49c:e3c3:5efd with SMTP id 5b1f17b1804b1-49ce3c35f48mr19361045e9.9.1788279280612; Tue, 01 Sep 2026 09:14:40 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Cc: "Michael S . Tsirkin" , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Alistair Francis , BALATON Zoltan , =?UTF-8?q?Daniel=20P=20=2E=20Berrang=C3=A9?= , Fabiano Rosas , Kevin Wolf , Peter Maydell , Warner Losh , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH 3/4] AGENTS.md: make the human part of the design process Date: Tue, 1 Sep 2026 18:14:21 +0200 Message-ID: <20260901161422.314581-4-pbonzini@redhat.com> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260901161422.314581-1-pbonzini@redhat.com> References: <20260901161422.314581-1-pbonzini@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=170.10.129.124; envelope-from=pbonzini@redhat.com; helo=us-smtp-delivery-124.mimecast.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, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=0.001, SPF_HELO_PASS=-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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1788279326171154100 Content-Type: text/plain; charset="utf-8" This came out of the experiment with the first version of the AGENTS.md file, corresponding to the previous commit. This addition improved the behavior of the agent from the very beginning. The very first answer to the same prompt in fact was "I'll orient in the codebase first, then we should talk about design choices before I write anything". In fact, after thinking it pointed out from the start that this requires pre-arrangement and asked two questions (how to represent the pressure and temperature in the QOM properties, how much of the behavior to implement). Even with a single data point it seems worth trying. When asked to commit autonomously, the LLM also clarified that it wouldn't add S-o-b trailers and that pre-arrangement was on me. It included "Message written by an AI and to be rewritten by hand; not for submission as is" in the commit message, a "handover notes" section about design choices that were made without the user input, and the umpteenth reminder that the work may only be posted if a maintainer has agreed beforehand to review them. Signed-off-by: Paolo Bonzini Acked-by: Alistair Francis --- AGENTS.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index 8fb96ebfc38..c3cb6978191 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -66,6 +66,22 @@ In order to protect the project's scarcest resource, whi= ch is review time: - You must **tell humans about these expectations** at handover. Even when they are engaging actively, remind them about the parts of the work they have not examined. +- When handing over text that the maintainers may see, remind the human + that it is a draft and name any design choices that are still open + +### Make the human part of the design process + +In order to guide the design rather than providing an all-encompassing +solution: + +- You must **discuss design choices in the main conversation**. Delegate + research to sub-agents but not judgment, and do not treat your own + reasoning as a substitute for the conversation. +- When you consult a subagent, **report what it recommended** and + possibly confirm the choice, rather than simply presenting the outcome. +- Reinstate as visible text any design decision made while thinking. + Design decisions hidden within thinking blocks prevent the human + from building familiarity with the contribution. =20 ### AI usage must be disclosed and/or pre-arranged =20 --=20 2.55.0 From nobody Sat Sep 26 20:51:04 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=quarantine dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1788279339; cv=none; d=zohomail.com; s=zohoarc; b=cWg9IeLubCDBz1ndhgCx2eqfNgcfNiykbgjJfsyOHuC+G8rVZ/oHIvZXAKKpV8oHo6N87+R0wVGBRLuVmJBwu4e0RHRnAw7sEHnoAbGiKsa5bLv2KOq2tEvlUmluIHu1h1bdRw9Gdi5HVGwwkcNVq5PT8q5fLJi4qJ1C30+D6Dw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1788279339; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=eNnyAvMvDbdYWK+1fPT52QCL4l6vn04XdrMdHHfbBsk=; b=CaX8jPzoWctpXkkGrW6MP/ftXich3sr3Dkv66fxaycKK/hL5e92zEcUKcdJpVxGAgmKX09h+EFkS/W91QaY4Lker3MvbuxNtlnrTROGfcmSC5bI/ViCDuKpi9Rgd/XLoMColKfRt4o1rK364dL2LDNWzilkaesSLeyl9Ed8oaGo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=quarantine dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1788279339592513.6468248386369; Tue, 1 Sep 2026 09:15:39 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x1R8M-0002eS-Qa; Tue, 01 Sep 2026 12:14:50 -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 1x1R8L-0002dq-Nm for qemu-devel@nongnu.org; Tue, 01 Sep 2026 12:14:49 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x1R8K-0004HZ-7h for qemu-devel@nongnu.org; Tue, 01 Sep 2026 12:14:49 -0400 Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-118-XFdLKO1SOBGSF3O46FecMA-1; Tue, 01 Sept 2026 12:14:46 -0400 Received: by mail-wm1-f72.google.com with SMTP id 5b1f17b1804b1-49545071724so9520485e9.0 for ; Tue, 01 Sep 2026 09:14:45 -0700 (PDT) Received: from [192.168.10.48] ([151.95.151.49]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-49cd8148fbdsm89996255e9.3.2026.09.01.09.14.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Sep 2026 09:14:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1788279287; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=eNnyAvMvDbdYWK+1fPT52QCL4l6vn04XdrMdHHfbBsk=; b=CLLkrBEuPwSaSHeLEo9SPJPkD7OX4G0v/AtyaTEOERZBSvsBxdAFUb9w/5J9hQbMbQlxP/ dE4QD/oAAgrtzyIQJ1kdrR6sm9IOjjBOybsgCeX0yVlW9xTpQcJ+zDjjtwW9TAe4Po0oSJ xjVsIALGCwrONkpSqFDyjDbagV/TJhA= X-MC-Unique: XFdLKO1SOBGSF3O46FecMA-1 X-Mimecast-MFC-AGG-ID: XFdLKO1SOBGSF3O46FecMA_1788279285 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1788279285; x=1788884085; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=eNnyAvMvDbdYWK+1fPT52QCL4l6vn04XdrMdHHfbBsk=; b=XFywyf/8X3i1hOUanRhuZxqnD6WVhfD75NFObsSn38szZyiQ9l+CgXqM5ooc3ERvnI sjrxaZlNAbnrzgS8kA2wysSClEYMYkYg7+NGXgvgudntcMuRiyCPYi3cV5t+f0Y7N1/O 0W6cqakYulh5lM2ei2z4weESrq27cfj00qG1GFr7uvh35q4le4Eaq9++VVPHTmqSObh+ UgeXwuTJtdjy7NNpuLe4+K0TI2urPHn5K4v5IZkucBZ4qA0jp6S489Wy+S20tgK/rPm/ p/xYQ60ZlQs4lYuOwdlX4D/A4glgeFvxgDMaATd6ByFjJmbwLy5MOWtn9oT5NspDiQwS /98Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1788279285; x=1788884085; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=eNnyAvMvDbdYWK+1fPT52QCL4l6vn04XdrMdHHfbBsk=; b=NYtRM8/Yw6ahM5T9TgZdZzsXhlIy//nlt2fA1ejK0byLlMWwWtOz+5P5RAKvAHrN98 ve/GquTN9VZnpX5zvsmfvhO3Mgs6OydstCka/uCleJ7LBjMxVPBSdvlQ4iVn3FLPGGUs 1tbYluVQDe1RgFmVHOA/aavLZaHQCxeMeCQgVmHUK1VpealXindCcg82NCn7H6GZ4jD3 r7SXusvaf/TyayqYjIdQHyZwdUwzoj09vTJF+t0P+nwByaiPwGgZbnjkEyB3upPp5dtr 2QjUnzg3F625RUV43b8vfyRer5WjhNRRwQLCyeM7BMkURiGEdixQPBhNUGsu9Ml72HiJ jL8Q== X-Gm-Message-State: AFuF++lBtaRM7HD0xFY8BvHB7elzdg8u01RIMZtjT//xwZqjG6MgfjJg XOFSyivBv9zZ6ZwZnKZaqYaJWZYavoFaYwUHS1rJ9EyEfipvhVb/boCZ0d0pjnb/WOWYO15+tbx r05NTWR8gJDKl5b6xCHVZWDQPCf0T1jA2Qla2FJQpiEF5CY6UoLjMKWHr9HbL/UrH9RID+QX8+0 dmSMF4fp1NrzU4DJynFeYBn6ChygTwhrJHNUPNzhFA X-Gm-Gg: AR+sD11FKcuAP8kr/NS8ZIWvVKaJC18ib2MgPpTSgB/ohjDz5F2l4U/rErZtEjG+ifD LGn9EwiUhITNHkKbvtvvZlAcge8vA/KLwtUFi8v/NxgS+QXc/1JhjA4z2uUvaNYxocpx3m6Q90Y kjWDuAufwQXkQ+iHaG7SKQ7dXlJX7pMxJ55Q1f2Y93i8nFAQt5f6d89QjtOBg+Hwb0HN0x/L391 TVDBOD9qZYXXV4ldxG5ej1GuFC9pfZyquuRWjc0F+ge+4AKg5VG+uf8NV41WVrusK3dJbKHqn3e gUf4341tgQydAyMLh2ZIe09XXiJAZS++zbRnn71UXmqBInkillqbepjez2EqcTyFDWB1dUrOJVB n47X08jxkf8w99hzgQTN0V9s467C2NE4CdDYUEubA5lWLCpRyA+34f5nFrEA+jYFIPf/upnkuc3 9ZX6A= X-Received: by 2002:a05:600c:4445:b0:499:900c:9c69 with SMTP id 5b1f17b1804b1-49b91c44fbfmr492044315e9.9.1788279284844; Tue, 01 Sep 2026 09:14:44 -0700 (PDT) X-Received: by 2002:a05:600c:4445:b0:499:900c:9c69 with SMTP id 5b1f17b1804b1-49b91c44fbfmr492043235e9.9.1788279284397; Tue, 01 Sep 2026 09:14:44 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Cc: "Michael S . Tsirkin" , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Alistair Francis , BALATON Zoltan , =?UTF-8?q?Daniel=20P=20=2E=20Berrang=C3=A9?= , Fabiano Rosas , Kevin Wolf , Peter Maydell , Warner Losh , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH 4/4] agents: add CLAUDE.md and GEMINI.md Date: Tue, 1 Sep 2026 18:14:22 +0200 Message-ID: <20260901161422.314581-5-pbonzini@redhat.com> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260901161422.314581-1-pbonzini@redhat.com> References: <20260901161422.314581-1-pbonzini@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=170.10.133.124; envelope-from=pbonzini@redhat.com; helo=us-smtp-delivery-124.mimecast.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, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1788279341990158500 Content-Type: text/plain; charset="utf-8" Claude Code and Gemini CLI do not read AGENTS.md. Reluctantly advertise them to facilitate following the rules. Signed-off-by: Paolo Bonzini --- CLAUDE.md | 1 + GEMINI.md | 1 + 2 files changed, 2 insertions(+) create mode 100644 CLAUDE.md create mode 100644 GEMINI.md diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 00000000000..43c994c2d36 --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1 @@ +@AGENTS.md diff --git a/GEMINI.md b/GEMINI.md new file mode 100644 index 00000000000..43c994c2d36 --- /dev/null +++ b/GEMINI.md @@ -0,0 +1 @@ +@AGENTS.md --=20 2.55.0