Skip to content

Commit 4941c31

Browse files
Byroncodex
andcommitted
Add AI-disclusure and quality requirements to the contribution guidelines.
Co-authored-by: GPT 5.5 <codex@openai.com>
1 parent 5a294a6 commit 4941c31

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

CONTRIBUTING.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,35 @@ The following is a short step-by-step rundown of what one typically would do to
99
- Feel free to add yourself to AUTHORS file.
1010
- Create a pull request.
1111

12+
## Quality expectations
13+
14+
Contributions must be made with care and meet the quality bar of the surrounding code.
15+
That means a change should not leave GitPython worse than it was before: it should be
16+
readable, maintainable, tested where practical, documented and consistent with the
17+
existing style and behavior.
18+
A contribution that works only narrowly but lowers the quality of the
19+
codebase may be declined, and the pull request closed without warning.
20+
21+
## AI-assisted contributions
22+
23+
If AI edits files for you, disclose it in the pull request description and commit
24+
metadata. Prefer making the agent identity part of the commit, for example by using
25+
an AI author such as `$agent $version <ai-agent@example.invalid>` or a co-author via
26+
a `Co-authored-by: <agent-identity>` trailer.
27+
28+
Agents operating through a person's GitHub account must identify themselves. For
29+
example, comments posted by an agent should say so directly with phrases like
30+
`AI agent on behalf of <person>: ...`.
31+
32+
Fully AI-generated comments on pull requests or issues must also be disclosed.
33+
Undisclosed AI-generated comments may lead to the pull request or issue being closed.
34+
35+
AI-assisted proofreading or wording polish does not need disclosure, but it is still
36+
courteous to mention it when the AI materially influenced the final text.
37+
38+
Automated or "full-auto" AI contributions without a human responsible for reviewing
39+
and standing behind the work may be closed.
40+
1241
## Fuzzing Test Specific Documentation
1342

1443
For details related to contributing to the fuzzing test suite and OSS-Fuzz integration, please

0 commit comments

Comments
 (0)