From 686c6d13dc1c31092b22c6c481e16a7329e935ea Mon Sep 17 00:00:00 2001 From: "Dr. Jens Harbott" Date: Fri, 26 Jun 2026 12:00:49 +0200 Subject: [PATCH] Adopt an AI policy From the experience we have made so far, a lot of AI based contributions tend to cause more work rather than they bring benefit. So we caution people to avoid this when possible. The wording of the policy was adapted from the Zuul project [0]. [0] https://review.opendev.org/c/zuul/zuul/+/993998 Co-Authored-By: James E. Blair Signed-off-by: Dr. Jens Harbott Change-Id: I5fcd5bea33c4f4c87b6f6cf0a96514e8d2da3af3 (cherry picked from commit a1d8036c5cb7731a5488cbdc695eb3c0a27bf4cb) --- README.rst | 6 ++-- doc/source/contributor/contributing.rst | 41 +++++++++++++++++++++++++ 2 files changed, 45 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index 3170ec7265..034c15f883 100644 --- a/README.rst +++ b/README.rst @@ -152,15 +152,17 @@ Getting Involved Need a feature? Find a bug? Let us know! Contributions are much appreciated and should follow the standard `Gerrit -workflow `__. +workflow `__. -- We communicate using the #openstack-kolla irc channel. +- We communicate using the #openstack-kolla IRC channel on OFTC. - File bugs, blueprints, track releases, etc on `Launchpad `__. - Attend weekly `meetings `__. - Contribute `code `__. +- Please respect our `AI policy + `__. Notices ======= diff --git a/doc/source/contributor/contributing.rst b/doc/source/contributor/contributing.rst index 821d6ab882..d24c3b71f6 100644 --- a/doc/source/contributor/contributing.rst +++ b/doc/source/contributor/contributing.rst @@ -18,6 +18,47 @@ The source repository for this project can be found at: https://opendev.org/openstack/kolla +.. _aicontent: + +AI-Generated Content +~~~~~~~~~~~~~~~~~~~~ + +In general, please do not submit AI generated content to the Kolla +project, but some exceptions apply. + +The OpenInfra foundation has created a policy for AI Generated content +at https://openinfra.org/legal/ai-policy which provides useful +background to the Kolla project's policy, but the Kolla project policy +differs somewhat. + +As a free software project, we are concerned with the copyright +ownership of the project's source code. Because most commercially +available LLMs are not able to indicate whether their output may +include training data incompatible with Kolla's licences, accepting +substantial contributions generated by them increases the risk to the +project. And because LLM-generated output is not considered +copyrightable in the United States and other regions, that further +increases the risk to the project. + +In many cases, the code and documentation output from LLMs is not of +sufficient quality for easy incorporation into Kolla. A community of +contributors and reviewers with deep understanding of the project is +healthier in the long run. Contributions generated by LLMs without +that understanding creates more work for the maintainers. + +Nevertheless, if you use an LLM to create a very small patch (one that +would likely not be subject to copyright protection even if generated +by a human), that's fine, but you must annotate it with the +`Assisted-By` or `Generated-By` labels. + +In short: + +* Please do not submit substantial AI-generated content (code or docs) +* Very small/limited use may be okay if it's not copyrightable +* Make sure you fully understand the code or docs you are changing +* If you don't, engage with humans in the Kolla community +* Any AI-Generated content must have `Assisted-By` or `Generated-By` labels + .. _communication: Communication