diff --git a/doc/CONTRIBUTING.md b/doc/CONTRIBUTING.md index 8a7bb5ef4..95cef86a4 100644 --- a/doc/CONTRIBUTING.md +++ b/doc/CONTRIBUTING.md @@ -4,6 +4,7 @@ Thank you for reaching out and trying to make Hush an even better software appli ## Table of Contents +0. [AI/LLM Usage Policty](#ai/llm-usage-policy) 0. [Types of contributions we're looking for](#types-of-contributions-were-looking-for) 0. [Ground rules & expectations](#ground-rules--expectations) 0. [How to contribute](#how-to-contribute) @@ -12,6 +13,21 @@ Thank you for reaching out and trying to make Hush an even better software appli 0. [Contribution review process](#contribution-review-process) 0. [Community](#community) +## AI/LLM Usage Policy + +> [!IMPORTANT] +> This project does **NOT** accept pull requests that are fully or predominantly AI-generated. AI tools may be utilized solely in an assistive capacity. The human submitting new code to the project must actually understand the code changes they are submitting. + +Code that is initially generated by AI and subsequently edited will still be considered AI-generated. AI assistance is permissible only when the majority of the code is authored by a human contributor, with AI employed exclusively for corrections or to expand on verbose modifications that the contributor has already conceptualized (e.g., generating repeated lines with minor variations). + +If AI is used to generate any portion of the code, contributors must adhere to the following requirements: + +1. Explicitly disclose the manner in which AI was employed, including the exact model and quantization used and if it was done via local AI, such as with llama.cpp or a SaaS provider. +2. Perform a comprehensive manual review prior to submitting the pull request. +3. Be prepared to explain every line of code they submitted when asked about it by a maintainer. +4. It is strictly prohibited to use AI to write your posts for you (bug reports, feature requests, pull request descriptions, Github discussions, responding to humans, ...). + + ## Types of contributions we're looking for There are many ways you can directly contribute to Hush: