From a1d8036c5cb7731a5488cbdc695eb3c0a27bf4cb Mon Sep 17 00:00:00 2001 From: "Dr. Jens Harbott" Date: Fri, 26 Jun 2026 12:00:49 +0200 Subject: 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 --- doc/source/contributor/contributing.rst | 41 +++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) (limited to 'doc') diff --git a/doc/source/contributor/contributing.rst b/doc/source/contributor/contributing.rst index 821d6ab88..d24c3b71f 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 -- cgit v1.2.3