diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 3a54103a30..4f915752ce 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -55,6 +55,17 @@ When submitting your pull request, please make sure you: * Become familiar with the *Northern.tech AS Contributor statement* as described in the [*AUTHORS*](./AUTHORS) file. +### Use of AI/LLMs in contributions + +We allow the use of AI in source code and documentation contributions, subject to the following rules: + +- You must review, understand, and, if necessary, correct the source code output when using an LLM. + We don’t want submissions purely generated and submitted by automated AI systems without any human ensuring that it is correct and valid. + And we don’t want to put this review burden solely on our reviewers. +- We have the same expectation of quality for source code whether AI was used or not (including security, readability, maintainability, correctness, commit history, etc.). +- When AI is used as part of writing / editing some code, we consider the person using the AI as a tool, fact-checking / editing its output and ultimately submitting the code as a pull request to be the author. +- When using AI, your use must be in compliance with applicable laws and terms, such as the EU AI Act, as well as the terms of service and acceptable use policy of your AI provider. +- We may change these rules in the future as AI tools and regulation develop. ### Pull request title and description