Skip to content

Commit f056f5c

Browse files
docs: Add section on AI-assisted contributions
This commit adds a new section to CONTRIBUTING.md outlining the policy for AI-assisted contributions. It emphasizes that the human PR author is responsible for understanding, vetting, and discussing the code, and that failure to do so may result in the PR not being reviewed.
1 parent cbe6d38 commit f056f5c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

CONTRIBUTING.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,16 @@ Not breaking changes:
318318
* Changing internal details, such as renaming an internal file.
319319
* Changing a rule to a macro.
320320

321+
## AI-assisted Contributions
322+
323+
Contributions assisted by AI tools are welcome. However, the human author submitting the Pull Request (PR) bears full responsibility for the contributed code. This means:
324+
325+
* **Understanding the Code:** You must be able to explain what the code does and why it's implemented that way.
326+
* **Vetting for Correctness and Functionality:** You are responsible for thoroughly testing and verifying that the code is correct, functional, and meets all project requirements and standards.
327+
* **Cogent Discussion:** You must be able to discuss the code, its implications, and any trade-offs made during its development, just as if you had written it entirely yourself.
328+
329+
If the human PR author cannot fulfill these responsibilities, the `rules_python` maintainers will not spend time reviewing or merging the PR. The goal is to ensure that all contributions, regardless of their origin, maintain the quality and integrity of the project and do not place an undue burden on maintainers.
330+
321331
## FAQ
322332

323333
### Installation errors when during `git commit`

0 commit comments

Comments
 (0)