[llvm] 6695f1d - [docs] Add exception to AI tool policy for Bazel build fixer (#183408)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 5 13:53:48 PST 2026
Author: Reid Kleckner
Date: 2026-03-05T13:53:44-08:00
New Revision: 6695f1d97f9615e6bbe5a5d40ea4496b7e84a3d9
URL: https://github.com/llvm/llvm-project/commit/6695f1d97f9615e6bbe5a5d40ea4496b7e84a3d9
DIFF: https://github.com/llvm/llvm-project/commit/6695f1d97f9615e6bbe5a5d40ea4496b7e84a3d9.diff
LOG: [docs] Add exception to AI tool policy for Bazel build fixer (#183408)
The Bazel RFC concluded earlier this month:
https://discourse.llvm.org/t/rfc-ai-assisted-bazel-fixer-bot/89178/93
I felt the best way to document this decision was to incorporate it into
this policy document.
Added:
Modified:
llvm/docs/AIToolPolicy.md
Removed:
################################################################################
diff --git a/llvm/docs/AIToolPolicy.md b/llvm/docs/AIToolPolicy.md
index 2a3ff9345db7f..c7576327b3262 100644
--- a/llvm/docs/AIToolPolicy.md
+++ b/llvm/docs/AIToolPolicy.md
@@ -143,6 +143,18 @@ contributors are responsible for ensuring that such material does not appear in
their contributions. Contributions found to violate this policy will be removed
just like any other offending contribution.
+## Exceptions
+
+We have one exception to this policy for the Bazel-fixer bot. The project
+council approved [this RFC][bazel-rfc] proposing to use a combination of
+[dwyu][dwyu] and LLMs to maintain the Bazel build files.
+
+[bazel-rfc]: https://discourse.llvm.org/t/rfc-ai-assisted-bazel-fixer-bot/89178/93
+[dwyu]: https://github.com/hzeller/bant?tab=readme-ov-file#dwyu--depend-on-what-you-use
+
+Any future exception will be considered individually on its own merits as to
+whether it is useful to the project or extracts work from maintainers.
+
## Examples
Here are some examples of contributions that demonstrate how to apply
More information about the llvm-commits
mailing list