Skip to content

Commit fbf04b2

Browse files
Process review comments
1 parent 0e5c0f5 commit fbf04b2

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

‎AI_POLICY.md‎

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,46 @@
11
# AI Contribution Policy
22

3-
Today, AI-assisted tools are being deployed in many coding environments. Some of the "lower-end" features like keyword-driven code completion can be useful aids; other tools make it very easy to generate contributions without the submitter fully understanding how the code works, or the consequences of specific implementation choices. These latter forms of AI assistance cause major overhead for project maintainers.
3+
Today, artificial intelligence (AI) tools are being deployed in many coding environments. In this policy, **AI-assisted** refers to the broader development workflow, including AI coding assistants, agentic development tools, and related services. **LLM-generated** refers specifically to content produced by the large language models (LLMs) used by many of these tools. Some of the "lower-end" features like keyword-driven code completion can be useful aids; other LLM-based tools make it very easy to generate contributions without the submitter fully understanding how the code works, or the consequences of specific implementation choices. These latter forms of AI assistance cause major overhead for project maintainers.
44

55
To protect the quality of the project and the sanity of our contributors, we have adopted the following policy regarding AI-generated content.
66

77
## 1. Accountability
88

99
**The human contributor is the sole party responsible for the contribution.**
1010

11-
If you submit a pull request that includes AI-generated code, documentation, or comments:
11+
If you submit a pull request that includes LLM-generated code, documentation, or comments:
1212

1313
- You must fully understand every line of code in the submission.
1414
- You must be able to explain the "why" behind the implementation during the review process.
15-
- You are responsible for verifying that the code is human readable, maintainable and logically correct.
15+
- You are responsible for verifying that the code is human-readable, maintainable and logically correct.
1616
- All code needs to be tested and verified.
1717

18-
"The AI generated it and it works for me" is never an acceptable answer to a reviewer's question. Copy-and-pasting to and from an AI chatbot during the process of code review is not acceptable (unless this is only for translation to and from English).
18+
"The AI generated it and it works for me" is never an acceptable answer to a reviewer's question. You must write review responses yourself. AI tools may assist with translation, meaning-preserving edits, or formatting, but you must verify the final wording. If unsure of an answer, say so rather than presenting an AI tool's output as your own.
1919

2020
Autonomous AI agents may not submit pull requests, nor comments in other pull requests, issues or discussions.
2121

2222
## 2. Disclosure
2323

24-
If AI was used to generate a significant portion of your contribution (i.e. beyond simple autocomplete), we require you to **disclose it** in the pull request description. Note that you should not use AI to create the pull request description itself (unless you’ve used it for translation) - as discussed above, we expect pull requests to be submitted by humans.
24+
If an LLM was used to generate a significant portion of your contribution, we require you to **disclose it** in the pull request description. You should clarify to what extent the code was polished by human intervention.
2525

26-
In a pull request, generated code needs to be announced as such and to what extent it was polished by human intervention.
26+
Note that you should not use AI to create the pull request description itself (unless you’ve used it for translation) - as discussed above, we expect pull requests to be submitted by humans.
2727

2828
## 3. Intentionality
2929

30-
We do not accept pull requests and Issues that result from running an AI tool over the codebase to find improvements without prior context or alignment with the project.
30+
We do not accept pull requests and issues that result from running an AI tool over the codebase to find improvements without prior context or alignment with the project.
3131

3232
- **Focused changes:** Do not submit pull requests that perform broad refactoring or cleanup suggested by AI unless a maintainer specifically requests it.
33-
- **Design First:** For any non-trivial change, we strongly recommend opening an **Issue** or **Discussion** first, or reach out to the Discord. Pull requests that arrive out of the blue with significant AI-generated logic that doesn't align with our roadmap or architecture will be closed.
33+
- **Design First:** For any non-trivial change, we strongly recommend opening an **Issue** or **Discussion** first, or reach out to the **Discord**. Pull requests that arrive out of the blue with significant AI-generated logic that doesn't align with our roadmap or architecture will be closed.
3434
- **Quality over Quantity:** We value one thoughtful, manually crafted pull request over ten AI-assisted fixes for nonexistent or trivial issues.
3535

36-
New contributors are discouraged from submitting pull requests with thousands of lines changed or added with the help of LLMs, because human code reviewers cannot attend such volumes at the risk of wasting precious time with potentially poorly generated code.
36+
New contributors are discouraged from submitting pull requests with thousands of lines changed or added with the help of AI, because human code reviewers cannot attend such volumes at the risk of wasting precious time with potentially poor LLM-generated code.
3737

3838
## 4. Prohibited Uses
3939

40-
The following are strictly prohibited and will result in immediate closure of a pull request or Issue and potentially a block from the organisation:
40+
The following are strictly prohibited and will result in immediate closure of a pull request or issue and potentially a block from the organization:
4141

42-
- **Automated Pull Request Descriptions:** Using AI to write pull requests descriptions that are vague, overly flowery, or fail to accurately describe the technical changes. We want to hear from *you* - the developer - why this change matters (see points 1 & 2).
43-
- **Unvetted Boilerplate:** Submitting large blocks of AI-generated boilerplate that hasn't been trimmed to what's actually necessary. If you don't understand what the code does, don't submit the pull request.
42+
- **Automated Pull Request Descriptions:** Using AI to write pull request descriptions that are vague, overly elaborate, or fail to accurately describe the technical changes. We want to hear from *you* - the developer - why this change matters (see points 1 & 2).
43+
- **Unvetted Boilerplate:** Submitting large blocks of LLM-generated boilerplate that haven't been trimmed to what's actually necessary. If you don't understand what the code does, don't submit the pull request.
4444
- **Hallucinated Features:** Submitting pull requests for features or bug fixes that don't exist, based on AI hallucinations about the project's capabilities.
4545

4646
## 5. Enforcement

0 commit comments

Comments
 (0)