From fba140ac142a2688dbe2a8c09255b4a1c27dda8e Mon Sep 17 00:00:00 2001 From: wookie184 Date: Fri, 12 Jun 2026 22:32:52 +0200 Subject: [PATCH] Add AI usage disclosure guideline --- .../guides/pydis-guides/contributing/commit-messages.md | 2 ++ .../guides/pydis-guides/contributing/contributing-guidelines.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/pydis_site/apps/content/resources/guides/pydis-guides/contributing/commit-messages.md b/pydis_site/apps/content/resources/guides/pydis-guides/contributing/commit-messages.md index ba476b659..a8c32b9ca 100644 --- a/pydis_site/apps/content/resources/guides/pydis-guides/contributing/commit-messages.md +++ b/pydis_site/apps/content/resources/guides/pydis-guides/contributing/commit-messages.md @@ -9,6 +9,8 @@ Commits should be as narrow in scope as possible. Commits that span hundreds of lines across multiple unrelated functions and/or files are very hard for maintainers to follow. After about a week they'll probably be hard for you to follow, too. +If using AI tools to assist with writing code, it is good to disclose this in the commit message, for example using the [`Assisted-by` trailer](https://docs.kernel.org/process/coding-assistants.html#attribution) as recommended by the Linux kernel project. + Please also avoid making minor commits for fixing typos or linting errors. [Don’t forget to lint before you push!](https://soundcloud.com/lemonsaurusrex/lint-before-you-push) diff --git a/pydis_site/apps/content/resources/guides/pydis-guides/contributing/contributing-guidelines.md b/pydis_site/apps/content/resources/guides/pydis-guides/contributing/contributing-guidelines.md index d1e4250d1..2af99fe67 100644 --- a/pydis_site/apps/content/resources/guides/pydis-guides/contributing/contributing-guidelines.md +++ b/pydis_site/apps/content/resources/guides/pydis-guides/contributing/contributing-guidelines.md @@ -20,6 +20,8 @@ Whenever the assets are images, audio or even code, they must have a license com 5. **Follow the [Python Discord Code of Conduct](https://pydis.com/coc).** We aim to foster a welcoming and friendly environment on our open source projects. We take violations of our Code of Conduct very seriously, and may respond with moderator action. +6. **Disclose usage of AI.** +If you use AI tools to assist with your contributions, disclose this in the pull request description.