Re: [PATCH] Add ai-policy.html
Andrea Pinski <[email protected]> Sun, 2 Aug 2026 02:17:55 -0700
| Newsgroups | gmane.comp.gcc.patches |
|---|---|
| Message-ID | <CALvbMcBQjBnKBo8KQc11rMH++DRD3Et5bbBZOxw8LyLFffikXw@mail.gmail.com> |
On Wed, Jul 29, 2026 at 11:55 AM Jonathan Wakely <[email protected]> wrote: > > --- > > As announced by the steering committee. Would be nice if linked from https://gcc.gnu.org/contribute.html . I will prepare a patch next week unless someone else beats me to it. Thanks, Andrea > > Pushed to wwwdocs. > > htdocs/ai-policy.html | 112 ++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 112 insertions(+) > create mode 100644 htdocs/ai-policy.html > > diff --git a/htdocs/ai-policy.html b/htdocs/ai-policy.html > new file mode 100644 > index 00000000..4f72b27e > --- /dev/null > +++ b/htdocs/ai-policy.html > @@ -0,0 +1,112 @@ > +<!DOCTYPE html> > +<html lang="en"> > + > +<head> > +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> > +<meta name="description" content="GCC project AI policy"> > +<meta name="keywords" content="GCC, AI, LLM, policy"> > +<title>GNU Compiler Collection - AI Policy</title> > +<link rel="stylesheet" type="text/css" href="https://gcc.gnu.org/gcc.css"> > +</head> > + > +<!-- prevent server-side mhtml script from adding copyright footer --> > +<set-var LICENSE " "> > + > +<body> > +<h1>GNU Compiler Collection - AI Policy</h1> > + > +<h2>Community First</h2> > + > +<p> > +First, all contributors should be treated > +<a href="https://gcc.gnu.org/conduct.html">with respect and kindness</a>. > +There are strongly held and widely varying opinions regarding large language > +models (LLMs) and everyone should be presumed to be contributing in good faith. > +We welcome all contributors to the community even if they have not yet followed > +our policies; we should guide such contributors on how to do so. > +</p> > + > +<h2>Acceptable Contributions</h2> > + > +<p> > +For the time being, the GNU Compiler Collection (GCC) policy is to decline any > +<a href="https://www.gnu.org/prep/maintain/maintain.html#Legally-Significant">legally > +significant</a> > +contributions which include LLM-generated content > +or are derived from LLM-generated content. > +</p> > + > +<p> > +The GCC maintainers are free to accept > +<a href="https://www.gnu.org/prep/maintain/maintain.html#Legally-Significant">legally > +insignificant</a> > +contributions generated by an LLM as long as they meet > +<a href="https://gcc.gnu.org/contribute.html">the usual prerequisites</a> > +for any contribution and the contribution is clearly marked. > +</p> > + > +<p> > +As an exception, the GCC maintainers are free to accept > +<a href="https://www.gnu.org/prep/maintain/maintain.html#Legally-Significant"><em>legally > +significant</em></a> > +contributions to <strong>test cases</strong>, > +generated in whole or in part by an LLM. > +</p> > + > +<p> > +This policy does not apply to code which does not primarily belong to > +the GCC project, but is imported from other projects for convenience > +or to satisfy prerequisites (e.g. libsanitizer). > +</p> > + > +<h2>Transparency & Accountability</h2> > + > +<p> > +The commit message for any contribution of LLM-generated content must > +include an “Assisted-by:�€? tag. > +</p> > + > +<p> > +All contributions must be submitted by a human who understands the > +changes and is prepared to answer questions about them. The decision > +to include the contribution in the project must also be made by a > +human. Only a human may provide the “Signed-off-by:�€? tag certifying > +the <a href="https://developercertificate.org/">Developer Certificate of Origin > +(DCO)</a>. An LLM may not commit code to the project repository. > +</p> > + > +<h2>Personal Use</h2> > + > +<p> > +This policy does not apply to a contributor's other uses of AI > +including the use of these tools to enable them to work with their own > +computing devices e.g. screen readers, text-to-speech, direct > +translations, spelling or grammar assistance, where the contributor > +verifies the output of the tool. > +</p> > + > +<p> > +This policy does not apply to a contributor's use of AI for the > +purposes of research, analysis, bug discovery and reporting (output > +should not be sent verbatim without due consideration), patch review > +(supporting human review, not replacing it) and debugging, so long as > +the output is not included in the contributions to the project. If > +the output is included in the contributions to the project then this > +policy would apply. > +</p> > + > +<h2>Next Steps</h2> > + > +<p> > +This policy is expected to evolve with the community or as the overall > +GNU Project position is updated. At the latest the policy will be > +reviewed at the start of 2027. > +</p> > + > +<p> > +This work is marked > +<a href="https://creativecommons.org/publicdomain/zero/1.0/">CC0 1.0 Universal</a> > +</p> > + > +</body> > +</html> > -- > 2.55.0 >