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.