From 79124dcfa19f29234f049649eb0c8c75b764f612 Mon Sep 17 00:00:00 2001 From: Lloyd Smith Date: Thu, 28 May 2026 19:38:12 -0400 Subject: [PATCH 1/2] Add AI policy --- .github/.github/AI_POLICY.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/.github/AI_POLICY.md diff --git a/.github/.github/AI_POLICY.md b/.github/.github/AI_POLICY.md new file mode 100644 index 0000000..5e74049 --- /dev/null +++ b/.github/.github/AI_POLICY.md @@ -0,0 +1,31 @@ +We support using AI (i.e., LLMs) as tools for coding. However, you remain +responsible for any code you publish and we are responsible for any code we +merge and release. We hold a high bar for all contributions to our projects. + +**AI should not be used to generate comments when communicating with +maintainers**. We expect comments on our projects to be written by humans. We +may hide any comments that we believe are AI generated. + +If you are opening an issue, we expect you to describe the problem in your own +words. + +If you are opening a pull request, we expect you to be able to explain the +proposed changes in your own words. This includes the pull request body and +responses to questions. **Do not copy responses from the AI when replying to +questions from maintainers.** + +Due to the foundational nature of our projects, we require a human in the loop +who understands the work produced by AI. **We do not allow autonomous agents to +be used for contributing to our projects**. We will close any pull requests that +we believe were created autonomously. + +If you wish to include context from an interaction with AI in your comments, it +must be in a quote block (e.g., using `>`) and disclosed as such. It must be +accompanied by human commentary explaining the relevance and implications of the +context. Do not share long snippets. + +We understand that AI is useful when communicating as a non-native English +speaker. If you are using AI to edit your comments for this purpose, please take +the time to ensure it reflects your own voice and ideas. If using AI for +translation, we recommend writing in your native language and including the AI +translation in a quote block. From 6a7052ce9bf8de6f45e290528b9b54a790ad4ca1 Mon Sep 17 00:00:00 2001 From: Lloyd Smith Date: Thu, 28 May 2026 19:41:29 -0400 Subject: [PATCH 2/2] Add pull request template Add pull request template from django-stubs, which references the AI Policy: https://github.com/typeddjango/django-stubs/blob/master/.github/pull_request_template.md --- .github/.github/pull_request_template.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/.github/pull_request_template.md diff --git a/.github/.github/pull_request_template.md b/.github/.github/pull_request_template.md new file mode 100644 index 0000000..85a0a92 --- /dev/null +++ b/.github/.github/pull_request_template.md @@ -0,0 +1,15 @@ +# I have made things! + + +## Related issues + + +## AI Policy +- [ ] I have read and agree to the [AI Policy](https://github.com/typeddjango/django-stubs/blob/master/.github/AI_POLICY.md), removed any "Co-Authored-By" lines attributing coding agents, and manually reviewed the final result