diff --git a/getting-started/ai-tools.rst b/getting-started/ai-tools.rst index 56ba24733..3585e3226 100644 --- a/getting-started/ai-tools.rst +++ b/getting-started/ai-tools.rst @@ -25,6 +25,15 @@ Disclosure of the use of AI tools in the PR description is appreciated, while not required. Be prepared to explain how the tool was used and what changes it made. +In commit messages, do not add a ``Co-authored-by`` trailer, or any other +attribution trailer, that names an AI tool. ``Co-authored-by`` should be +reserved for human contributors. Exceptions are for the bots and apps that +the core team has installed on the ``python`` GitHub organization, such as +``blurb-it[bot]`` and ``dependabot[bot]``. +If you disclose the use of AI tools, do it in the PR description instead. +Many AI coding tools add this trailer by default, so check your tool's +settings and your commits. + Whether you are using AI tools or not, keep the following principles in mind for the quality of your contribution: