Skip to content

Commit 5af778a

Browse files
docs: doc expectations of ai-assisted contributions (bazel-contrib#3051)
A lot of this should go without saying, but I want to have a written reference we can refer to and so it's clear to potential contributors. The two basic points it makes is that AI-assisted contributions are allowed, but they're treated no different than regular contributions, so all the usual expectations apply. --------- Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
1 parent b0671ed commit 5af778a

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

CONTRIBUTING.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,25 @@ 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 allowed. However, the human author
324+
submitting the pull request is responsible for the contributed code as if they
325+
had written it entirely themselves. This means:
326+
327+
* **Understanding the code:** You must be able to explain what the code does
328+
and why it's implemented that way. This includes discussing its
329+
implications, and any trade-offs made during its development, just as if you
330+
had written it entirely yourself.
331+
* **Vetting the correctness and functionality:** You are responsible for
332+
thoroughly testing and verifying that the code is correct, functional, and
333+
meets all project requirements and standards.
334+
335+
If the human PR author cannot fulfill these responsibilities, the `rules_python`
336+
maintainers will not spend time reviewing or merging the PR. The goal is to
337+
ensure that all contributions, regardless of their origin, maintain the quality
338+
and integrity of the project and do not place an undue burden on maintainers.
339+
321340
## FAQ
322341

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

0 commit comments

Comments
 (0)