From a028b3c5b09d090cd07468230205f2a945e5e5ec Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 19 Oct 2026 21:06:15 +0000 Subject: [PATCH 1/2] Simplify AI policy to tool-neutral expectations Drop the "don't use AI for X" rules (no AI-written comments, no agent-driven pull requests, "could have written it yourself") in favour of the expectations Linus Torvalds set out on 13 October 2026: do your best and understand what you submit, whatever tools you use. Keep the rule that a human is the responsible author, matching the kernel's rule that only humans add Signed-off-by. Disclosure becomes optional, as the kernel is deprecating its Assisted-by tag. Also point questions at this repository instead of bitcoin-core/meta and fix the broken policy link in CONTRIBUTING.md. Claude-Session: https://claude.ai/code/session_01CyYhzPMXTLB9GFMVWHDhtv --- CONTRIBUTING.md | 2 +- docs/developer/AI_POLICY.md | 50 ++++++++++++++++--------------------- 2 files changed, 22 insertions(+), 30 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 5e947759..a0ab1f96 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -11,7 +11,7 @@ Getting Started New contributors are very welcome and needed. If you use AI tools while contributing, please read and follow the [AI -policy](/doc/AI_POLICY.md). +policy](docs/developer/AI_POLICY.md). In-depth reviewing and testing are the bottleneck of the project, and are the most effective way anyone can start to contribute. It will teach you much more diff --git a/docs/developer/AI_POLICY.md b/docs/developer/AI_POLICY.md index fde44c48..49bf9abe 100644 --- a/docs/developer/AI_POLICY.md +++ b/docs/developer/AI_POLICY.md @@ -1,38 +1,30 @@ # 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. +Use whatever tools help you, AI included. This project has no rules about +which tools you may use for what. -A high bar is held for all contributions to this project. +The expectations are the same for every contribution, however it was made: -**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. +- Do your best. +- Understand what you submit. You must be able to explain and defend every + change in your own pull request, commits and replies to review. If you + can't, don't submit it. +- A human is responsible. The person who opens an issue or pull request is + its author and answers for it. Don't list tools, AI or otherwise, as authors + or co-authors. +- Respect reviewers' time. Review is the bottleneck. Unverified or low-effort + issues, pull requests and comments may be closed without detailed review. -If you are opening an issue, you should be able to describe the problem in your own words. +Saying which tools you used, and how, is welcome when it helps review. It is +not required. -You should only open a pull request if you: +Changes to share generation, recovery or checksums get a security review +however they were written. -- 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 +Questions or proposed changes to this policy can be raised in an issue. -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 policy follows Linus Torvalds' [reply to Laurent Pinchart] on 13 October +2026 and the Linux kernel's [tool-generated content guidelines]. -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 +[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 From 447554e7545711bb34ee8c8f344b70c15c052a27 Mon Sep 17 00:00:00 2001 From: Ben Westgate Date: Tue, 20 Oct 2026 04:33:50 +0000 Subject: [PATCH 2/2] Restore own-words and human-author lines to AI policy Per review: keep "should be able to describe the problem in your own words" for issues and "must be able to explain the changes" for pull requests (without requiring a hand-written body), restore the human author who chooses the work and answers for it, and say understanding means being able to defend the change, not knowing every detail. Claude-Session: https://claude.ai/code/session_01CyYhzPMXTLB9GFMVWHDhtv --- docs/developer/AI_POLICY.md | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/docs/developer/AI_POLICY.md b/docs/developer/AI_POLICY.md index 49bf9abe..ff24b0d0 100644 --- a/docs/developer/AI_POLICY.md +++ b/docs/developer/AI_POLICY.md @@ -6,12 +6,16 @@ which tools you may use for what. The expectations are the same for every contribution, however it was made: - Do your best. -- Understand what you submit. You must be able to explain and defend every - change in your own pull request, commits and replies to review. If you - can't, don't submit it. -- A human is responsible. The person who opens an issue or pull request is - its author and answers for it. Don't list tools, AI or otherwise, as authors - or co-authors. +- 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.