Skip to content

Commit e197cd1

Browse files
committed
ai policy edits
1 parent 1d92a5c commit e197cd1

1 file changed

Lines changed: 37 additions & 6 deletions

File tree

‎docs/AI_POLICY.md‎

Lines changed: 37 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,62 @@
11
# AI Policy
22

3+
## Overview
4+
35
While not agreeing that generative LLMs are "AI", we understand that is what most people are calling it, and so use the term in the same way for purpose of aiding contributors in finding our policy.
46

57
The areas below provide more details, but at a high level:
68

79
- Code must be understood, however it is created.
810
- Communication between humans should be human.
911
- Be kind, respect the intent and the individual.
12+
- Contribute value; do not extract it.
13+
14+
## Motivation
15+
16+
hyper top [tenets](./TENETS.md) are **Open** and **Correct**.
17+
18+
To remain **Open**, we actively mentor new contributors, expecting them to be people interested in learning and improving. [Mentoring LLMs](https://nomeatproxy.com/) is not an effective use of our time. We respect reviewers' right to choose how they gift their time.
19+
20+
hyper is the bedrock for a lot of the Internet, handling billions of requests per second. It must be **Correct**. We value engineering rigor over velocity. LLMs may allow for improving correctness, but the damage of being incorrect is likely never worth being incorrect faster.
21+
22+
In general, we believe the world needs **better** software, not _more_ software.
23+
24+
## Details
1025

11-
## Code must be understood
26+
### Code must be understood
1227

13-
Creators of a pull request should try to understand the code submitted. We recognize that even before LLMs, various experience levels meant differing levels of understanding of the programmer. Still, intent matters.
28+
Creators of a pull request should try to understand the code submitted. We recognize that even before LLMs, various experience levels meant differing levels of understanding of the programmer. (Less experienced contributors may want to consider simpler contributions to start.) Still, intent matters.
1429

1530
[Reviewers](./COLLABORATORS.md) accepting code **must** understand the code. While LLM agents may be able to identify problems in code, they never really consider if the change _should_ be made.
1631

1732
Do not include AI agents as a commit author.
1833

19-
## Text meant for humans
34+
### Text meant for humans
2035

21-
All text meant for humans to read should be written by a human. This includes issues, pull request descriptions, and comments (in code or PRs).
36+
All text meant for humans to read should be written by a human. This includes issues, pull request descriptions, documentation, and comments (in code or PRs). People should be allowed to [choose when they read LLM prose](https://seanmonstar.com/micro/20260917-reading-llms-worsens-writing/), contributors should not force it on others. AI disclosures do not override this.
37+
38+
Likewise, reviewers should leave comments they've written themselves. LLM agents should not run reviews directly on a pull request. While using an LLM agent locally in your review process is a personal decision, anything found should be understood by the reviewer before leaving a handwritten comment about it.
2239

2340
LLMs may help with translation, and while we don't encourage such use, if you do resort to them: write the full thought in the original language, and have the LLM provide a direct translation.
2441

25-
## Enforcement is based on respect
42+
### Enforcement is based on respect
2643

2744
We do not desire to police people's personal tool usage. While templates may ask for author acceptance of the policy, failure to do so does not mean we automatically refuse to engage. We try to understand why not, given the time and energy we have. We also realize that an actual bug may be in there somewhere.
2845

29-
[Be kind](./CODE_OF_CONDUCT.md). Even when someone disregards this policy, there's no need to be unkind back.
46+
[Be kind](./CODE_OF_CONDUCT.md). Even when someone disregards this policy, there's no need to be unkind back. Note that closing an issue or pull request is not in itself unkind.
3047

3148
Respecting this policy is another way to be kind. Do not assume that just because some tokens were spent and the code now exists that we must accept it. If collaborators close an issue or pull request, respect the decision. If you'd like to contribute again, try to learn from the principles in this policy.
49+
50+
### Extractive contributions
51+
52+
As the cost of producing a pull request has gone down, we have to consider the cost of reviewing a pull request. Some pull requests cost the project more to _review_ than it took to contribute. But beyond that cost, they may even be submitted to _extract_ value for the submitter from the project, instead of helping the project. For example, extremely large changes without prior trust, or appearing to submit a smattering of pull requests to many projects to increase a personal merge rate.
53+
54+
Since our goal is to focus on keeping hyper **Open** and **Correct**, we may choose not to spend the limited time and energy on pull requests generated with little care for our policies.
55+
56+
## References
57+
58+
The following other policies were considered as preparing this one. While we may have decided on different details, they are excellent in their own right.
59+
60+
- [Rust's LLM usage policy](https://forge.rust-lang.org/policies/llm-usage.html)
61+
- [LLVM AI Tool Use Policy](https://github.com/llvm/llvm-project/blob/347dc1321ed50578bb09da6fa10ccec581d8a2b6/llvm/docs/AIToolPolicy.md)
62+
- [Mycelium's policy that contributions must not _look_ LLM generated](https://github.com/hawkw/mycelium/blob/b77e854/CONTRIBUTING.md#ai-policy)

0 commit comments

Comments
 (0)