From e65f33a1fb77637511dc127b2fa5c6d477917a89 Mon Sep 17 00:00:00 2001 From: August Simonelli Date: Tue, 4 Aug 2026 11:14:45 +1000 Subject: [PATCH] :book: docs: add AI policy referencing Linux Foundation gen AI guidelines (#1547) * docs: add AI policy referencing Linux Foundation generative AI guidelines Signed-off-by: august simonelli * docs: add AI policy and guidance to CONTRIBUTING.md Signed-off-by: august simonelli * docs: add AI Policy and Guidance to CONTRIBUTING.md table of contents Flagged by CodeRabbit review on #1547. Assisted-by: Claude Sonnet 4.6 Co-authored-by: Claude Sonnet 4.6 Signed-off-by: august simonelli * fix: address review feedback on AI policy docs - Reference AI_POLICY.md instead of duplicating the LF URL in CONTRIBUTING.md - Fix extra spaces in AI_POLICY.md heading - Fix leading whitespace and indentation in AI_POLICY.md Signed-off-by: august simonelli --------- Signed-off-by: august simonelli Signed-off-by: august simonelli Co-authored-by: Claude Sonnet 4.6 --- AI_POLICY.md | 8 ++++++++ CONTRIBUTING.md | 24 ++++++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 AI_POLICY.md diff --git a/AI_POLICY.md b/AI_POLICY.md new file mode 100644 index 000000000..1e155cc39 --- /dev/null +++ b/AI_POLICY.md @@ -0,0 +1,8 @@ +--- +### AI Policy + +This project follows the Linux Foundation's policy on the use of generative AI tools for contributions. + +https://www.linuxfoundation.org/legal/generative-ai + +--- diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 38b174eb8..492266a33 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -5,6 +5,7 @@ - [Certificate of Origin](#certificate-of-origin) - [DCO Sign Off](#dco-sign-off) - [Code of Conduct](#code-of-conduct) + - [AI Policy and Guidance](#ai-policy-and-guidance) - [Contributing a patch](#contributing-a-patch) - [Setting up your dev environment, coding, and debugging](#setting-up-your-dev-environment-coding-and-debugging) - [Prerequisites](#prerequisites) @@ -48,6 +49,29 @@ This can be done with the `--signoff` option to `git commit`. See the [Git docum The Open Cluster Management project has adopted the CNCF Code of Conduct. Refer to our [Community Code of Conduct](CODE_OF_CONDUCT.md) for details. +## AI Policy and Guidance + +### AI-Assisted Contributions + +AI tools are welcome in this project. We use them ourselves. What matters is the quality of what you submit and your ownership of it. + +**You are responsible for everything you submit.** If you used AI to help write code, documentation, or a commit message, you must understand, review, and test it before opening a PR. + +**Respond to reviewers yourself.** When engaging with maintainers during review, do not use AI to generate your responses. + +**Disclose AI usage** in your PR description if AI tools played a significant role. + +**Please note:** We reserve the right to close low-quality or unreviewed AI-generated submissions without extensive feedback. + +*This guidance was shaped by the practices of the OCM community and other open source projects (thank you!) and will evolve. Contributions and suggestions are always welcome.* + +*This section was drafted with the assistance of AI, in keeping with the very guidance it describes.* + +*This project follows the Linux Foundation's policy on generative AI contributions — see [AI_POLICY.md](AI_POLICY.md) for details.* + +**We continue reviewing legal requirements and always have alignment with the CNCF rules and guidelines; this is an evolving space and may change without notice.** + + ## Contributing a patch 1. Submit an issue describing your proposed change to the repository in question. The repository owners will respond to your issue promptly.