Repository navigation
Simplify AI policy to tool-neutral expectations #152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,38 +1,34 @@ | ||
| # 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. | ||
|
BenWestgate marked this conversation as resolved.
Resolved
|
||
| 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. | ||
|
BenWestgate marked this conversation as resolved.
Resolved
|
||
| **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. | ||
|
BenWestgate marked this conversation as resolved.
Resolved
|
||
| Do not include agents as authors or co-authors of your commits for these reasons. | ||
|
BenWestgate marked this conversation as resolved.
Resolved
|
||
| 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 | ||
| Use whatever tools help you, AI included. This project has no rules about | ||
| which tools you may use for what. | ||
|
|
||
| The expectations are the same for every contribution, however it was made: | ||
|
|
||
| - Do your best. | ||
| - If you open an issue, you should be able to describe the problem in your | ||
| own words. | ||
| - If you open a pull request, you must be able to explain the changes in your | ||
| own words when asked. | ||
| - A human author must choose the work, understand the change, and be | ||
| responsible for the contribution. Understanding means knowing what the | ||
| change does, why, and what it affects well enough to defend it in review, | ||
| not memorizing every implementation detail. If you can't defend it, don't | ||
| submit it. | ||
| - Do not include agents as authors or co-authors of your commits. | ||
| - Respect reviewers' time. Review is the bottleneck. Unverified or low-effort | ||
| issues, pull requests and comments may be closed without detailed review. | ||
|
|
||
| Saying which tools you used, and how, is welcome when it helps review. It is | ||
| not required. | ||
|
|
||
| Changes to share generation, recovery or checksums get a security review | ||
| however they were written. | ||
|
|
||
| Questions or proposed changes to this policy can be raised in an issue. | ||
|
|
||
| This policy follows Linus Torvalds' [reply to Laurent Pinchart] on 13 October | ||
| 2026 and the Linux kernel's [tool-generated content guidelines]. | ||
|
|
||
| [reply to Laurent Pinchart]: https://www.theregister.com/ai-and-ml/2026/10/14/linux-kernel-devs-drop-obligatory-confession-of-ai-tool-usage/5303140 | ||
| [tool-generated content guidelines]: https://docs.kernel.org/process/generated-content.html | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.