Skip to content

Commit be86398

Browse files
committed
Add instructions for contributors and their AI coding agent.
The Co-authored-by should be used to give attribution to a real person, not to ai tools.
1 parent cc056ab commit be86398

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎AGENTS.md‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,11 @@ gh search issues --repo python/cpython "<symptom keywords>"
2727
gh search issues --repo python/cpython "<function, module or option name>"
2828
gh issue list --repo python/cpython --state all --label "<topic label>" --search "<short area keywords>"
2929
```
30+
31+
## Commit messages
32+
33+
Do not add a `Co-authored-by` trailer, or any other attribution trailer, that
34+
names an AI tool or agent. `Co-authored-by` credits human contributors. The
35+
person submitting the pull request is responsible for its content.
36+
37+
Disclosure of the use of AI tools belongs in the pull request description.

0 commit comments

Comments
 (0)