diff --git a/AI_POLICY.md b/AI_POLICY.md new file mode 100644 index 00000000000..45356542264 --- /dev/null +++ b/AI_POLICY.md @@ -0,0 +1,59 @@ +# AI Usage Policy + +This project has strict rules for AI usage: + +* **All AI usage in any form must be disclosed.** You must state +the tool you used (e.g. Claude Code, Cursor, Amp) along with +the extent that the work was AI-assisted. +* **The human-in-the-loop must fully understand all code.** If you +can't explain what your changes do and how they interact with the +greater system without the aid of AI tools, do not contribute +those changes. +* **Issues and discussions can use AI assistance but must have a full +human-in-the-loop.** This means that any content generated with AI +must have been reviewed *and edited* by a human before submission. +AI is very good at being overly verbose and including noise that +distracts from the main point. The author must do their research and +trim this down. +* **No AI-generated media is allowed (art, images, videos, audio, etc.).** +Text and code are the only acceptable AI-generated content, per the +other rules in this policy. +* **Bad AI drivers may be blocked** People who produce bad contributions +that are clearly AI (slop) may be blocked from making future contributions. +We love to help junior developers learn and grow, but if you're interested +in that, don't use AI and we'll help you. We're sorry that bad AI +drivers have ruined this for you. + +## There are Humans Here + +Please remember that this project is maintained by humans. + +Every discussion, issue, and pull request is read and reviewed by +humans (and sometimes machines, too). It is a boundary point at which +people interact with each other and the work done. It is rude and +disrespectful to approach this boundary with low-effort, unqualified +work, since it puts the burden of validation on the maintainer. + +In a perfect world, AI would produce high-quality, accurate work +every time. But today, that reality depends on the driver of the AI. +And today, many drivers of AI do not use it well. So, until that +changes, we need to have strict rules to protect maintainers. + +## AI is Welcome Here + +This project is accepting of AI assistance, and many maintainers use +AI tools as a productive part of their workflow. As a project, we +welcome AI as a tool! + +**Our reason for the strict AI policy is not due to an anti-AI stance**, but +instead due to the number of poor contributions written by AI. It's misuse +of the tools, not the tools themselves, that is the problem. + +This section is included to be transparent about the project's usage of +AI for people who may disagree with it, and to address the misconception +that this policy is anti-AI in nature. + +## Credits + +This policy is adapted and modified from the [Ghostty Project](https://github.com/ghostty-org/ghostty/blob/main/AI_POLICY.md). +