Skip to content

Commit b3afb91

Browse files
lemireanonrig
andauthored
adding an AI Tool Policy (#1063)
* adding an AI Tool Policy * erasing word * Update AIToolPolicy.md Co-authored-by: Yagiz Nizipli <yagiz@nizipli.com> * Update .github/ISSUE_TEMPLATE/1-bug-report.yml Co-authored-by: Yagiz Nizipli <yagiz@nizipli.com> * Update README.md Co-authored-by: Yagiz Nizipli <yagiz@nizipli.com> * rename --------- Co-authored-by: Yagiz Nizipli <yagiz@nizipli.com>
1 parent 8d7763b commit b3afb91

File tree

4 files changed

+56
-1
lines changed

4 files changed

+56
-1
lines changed

.github/ISSUE_TEMPLATE/1-bug-report.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ body:
77
Thank you for reporting an issue.
88
99
Please fill in as much of the following form as you're able.
10+
11+
Contributors are encouraged to read our AI Usage Policy, see AI_USAGE_POLICY.md.
1012
- type: input
1113
attributes:
1214
label: Version

.github/ISSUE_TEMPLATE/2-feature-request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ body:
55
- type: markdown
66
attributes:
77
value: |
8-
Thank you for suggesting an idea to make Node.js better.
8+
Thank you for suggesting an idea to make ada better.
99
1010
Please fill in as much of the following form as you're able.
1111
- type: textarea

AI_USAGE_POLICY.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# AI Usage Policy
2+
3+
Contributors can use whatever tools they would like to
4+
craft their contributions, but there must be a **human in the loop**.
5+
**Contributors must read and review all LLM-generated code or text before they
6+
ask other project members to review it.** The contributor is always the author
7+
and is fully accountable for their contributions. Contributors should be
8+
sufficiently confident that the contribution is high enough quality that asking
9+
for a review is a good use of scarce maintainer time, and they should be **able
10+
to answer questions about their work** during review.
11+
12+
We expect that new contributors will be less confident in their contributions,
13+
and our guidance to them is to **start with small contributions** that they can
14+
fully understand to build confidence. We aspire to be a welcoming community
15+
that helps new contributors grow their expertise, but learning involves taking
16+
small steps, getting feedback, and iterating. Passing maintainer feedback to an
17+
LLM doesn't help anyone grow, and does not sustain our community.
18+
19+
This policy includes, but is not limited to, the following kinds of
20+
contributions:
21+
22+
- Code, usually in the form of a pull request
23+
- Issues or security vulnerabilities
24+
- Comments and feedback on pull requests
25+
26+
## Extractive Contributions
27+
28+
The reason for our "human-in-the-loop" contribution policy is that processing
29+
patches, PRs, RFCs, and comments is not free -- it takes a lot of
30+
maintainer time and energy to review those contributions! Sending the
31+
unreviewed output of an LLM to open source project maintainers *extracts* work
32+
from them in the form of design and code review, so we call this kind of
33+
contribution an "extractive contribution".
34+
35+
36+
## Copyright
37+
38+
Artificial intelligence systems raise many questions around copyright that have
39+
yet to be answered. Our policy on AI tools is similar to our copyright policy:
40+
Contributors are responsible for ensuring that they have the right to
41+
contribute code under the terms of our license, typically meaning that either
42+
they, their employer, or their collaborators hold the copyright. Using AI tools
43+
to regenerate copyrighted material does not remove the copyright, and
44+
contributors are responsible for ensuring that such material does not appear in
45+
their contributions. Contributions found to violate this policy will be removed
46+
just like any other offending contribution.
47+
48+
## Reference
49+
50+
- [LLVM AI Tool Use Policy](https://discourse.llvm.org/t/rfc-llvm-ai-tool-policy-human-in-the-loop/89159)

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,9 @@ CMake project, after having installed ada on your system.
301301

302302
## Contributing
303303

304+
Contributors are encouraged to read our [AI Tool Policy](AI_USAGE_POLICY.md).
305+
306+
304307
### Building
305308

306309
Ada uses cmake as a build system, but also supports Bazel. It's recommended you to run the following

0 commit comments

Comments
 (0)