mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-07-26 16:18:47 +02:00
39 lines
2.0 KiB
Markdown
39 lines
2.0 KiB
Markdown
# AI Policy
|
|
|
|
Using AI (i.e. LLMs) as tools for coding is welcome, provided that such use adheres to the following policy, adds value, and does not waste the community's time.
|
|
|
|
A high bar is held for all contributions to this project.
|
|
|
|
**AI should not be used to generate comments when communicating with maintainers and other contributors**.
|
|
Comments are expected to be written by humans.
|
|
Comments that are believed to be written by AI may be moderated.
|
|
|
|
If you are opening an issue, you should be able to describe the problem in your own words.
|
|
|
|
You should only open a pull request if you:
|
|
|
|
- know the language the code is written in
|
|
- could have written the code yourself
|
|
- understand the existing surrounding code and the effect of the suggested changes
|
|
|
|
You must also be able to explain the pull request changes in your own words.
|
|
This includes the pull request body and responses to questions.
|
|
**Do not copy responses from the AI when replying to questions from reviewers.**
|
|
|
|
This project requires a human author in the loop who understands the work produced by AI.
|
|
**Pull requests should not be opened or driven by autonomous agents**.
|
|
A human author must choose the work, understand the change, and be responsible for the contribution.
|
|
Do not include agents as authors or co-authors of your commits for these reasons.
|
|
Pull requests that appear in violation of this can be closed without notice.
|
|
|
|
If you wish to include context from an interaction with AI in your comments, it must be disclosed as such.
|
|
It must be accompanied by human commentary explaining the relevance and implications of the context.
|
|
|
|
Questions or proposed changes to this policy can be discussed in [bitcoin-core/meta].
|
|
|
|
This policy was adapted from [ripgrep's AI policy], which was adapted from [uv's AI policy].
|
|
|
|
[bitcoin-core/meta]: https://github.com/bitcoin-core/meta
|
|
[ripgrep's ai policy]: https://github.com/BurntSushi/ripgrep/blob/f0cec341ab95c25c691ad3d5754d4bd9eedde21f/AI_POLICY.md
|
|
[uv's ai policy]: https://github.com/astral-sh/.github/blob/c5187e200db51bfe11d56e13053d29bd3793fdd8/AI_POLICY.md
|