| 1 | # AI Policy |
| 2 | |
| 3 | The use of AI (i.e., LLMs) for coding is welcome. However, there is a high bar for any contribution to this project, |
| 4 | and as such, contributors are responsible for any code they publish. Furthermore, unchecked use of AI tooling has |
| 5 | anecdotally lead to _more_ work required on the maintainers' side, ironically. |
| 6 | |
| 7 | **AI should not be used to entirely generate comments when communicating with maintainers.** We expect comments on |
| 8 | our projects to be written by humans. Comments we believe are entirely AI-generated may be hidden without notice. |
| 9 | |
| 10 | **If you are opening an issue, we expect you to at least describe the problem in your own words.** Issues must still |
| 11 | follow the specified template. Issues that are unproductive and appear to be entirely AI-driven may be closed without |
| 12 | notice. |
| 13 | |
| 14 | **If you are opening a pull request, you are expected to explain the proposed changes in your own words, as well as to |
| 15 | respond to questions.** You are also expected to have tested the changes if applicable, and follow the PR template and |
| 16 | checklist. The PR template should not be filled out entirely by AI, and should be reviewed by a human. Furthermore, |
| 17 | **do not copy responses from AI when replying to questions from maintainers.** Pull requests that violate these polices |
| 18 | may be closed without notice. |
| 19 | |
| 20 | If you wish to include context from an interaction with AI in your comments/discussions, it must be in a quote block |
| 21 | (e.g., using `>`) and disclosed as such. It must be accompanied by human commentary explaining the relevance and |
| 22 | implications of the context. Do not share long snippets/walls of text. |
| 23 | |
| 24 | It is also acknowledged that AI is very useful for communicating if one is not fluent in English. If you are using AI to |
| 25 | edit your comments for this purpose (e.g. grammar, spelling), please take the time to make it so it still reflects your |
| 26 | own voice and ideas. If you're using AI tooling for translation purposes, then it's recommended to write in your native |
| 27 | language and include the translation in a quote block. |
| 28 | |
| 29 | This policy was inspired by [ripgrep's AI policy](https://github.com/BurntSushi/ripgrep/blob/4857d6fa67db69a95cd4b6f2adda5d807d4d0119/AI_POLICY.md) |
| 30 | and [uv's AI policy](https://github.com/astral-sh/.github/blob/c5187e200db51bfe11d56e13053d29bd3793fdd8/AI_POLICY.md). |