Skip to content

Commit 9f90862

Browse files
james7132mockersfalice-i-cecileNiklasEicart
authored
Add the Bevy Org's AI Policy (#2204)
Co-authored-by: François Mockers <[email protected]> Co-authored-by: Alice Cecile <[email protected]> Co-authored-by: Niklas Eicker <[email protected]> Co-authored-by: Carter Anderson <[email protected]>
1 parent c807e3e commit 9f90862

File tree

5 files changed

+180
-1
lines changed

5 files changed

+180
-1
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
+++
2+
title = "Policies"
3+
template = "docs.html"
4+
redirect_to = "/learn/contribute/policies/ai"
5+
[extra]
6+
weight = 4
7+
+++
Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
+++
2+
title = "AI Policy"
3+
insert_anchor_links = "right"
4+
[extra]
5+
weight = 1
6+
+++
7+
8+
In recent times, there have been a growing number of contributions that are
9+
fully or partially produced by generative AI (e.g. large language models and
10+
friends) which exhibit characteristics that result in undue extra work for other
11+
contributors and maintainers. While we've seen PRs and issues with these
12+
characteristics produced entirely by humans, generative AI tools have
13+
significantly lowered the level of effort required to produce
14+
"plausibly-worthwhile" contributions that are otherwise entirely unmergable or
15+
incorrectly report bugs, and so have become a major source of burdensome PRs and
16+
issues.
17+
18+
Whether AI generated code is subject to copyright protection is also a
19+
hot-button legal topic that is still being openly debated and litigated. How
20+
this impacts the legal aspects of maintaining a FOSS project is currently an
21+
unresolved question.
22+
23+
This policy is established as a response targeted at the problem of an
24+
increasing frequency of burdensome PRs/issues and to address the potential legal
25+
issues currently surrounding the intersection of AI generated code and the FOSS
26+
contribution model.
27+
28+
## AI Generated Communications
29+
30+
The unsolicited use of automated systems to communicate issues, bugs, or
31+
security vulnerabilities about Bevy Organization projects under the guise of a
32+
human is considered unacceptable and a Code of Conduct violation. Any individual
33+
contributor, operator of automated systems, or company they may represent may be
34+
barred from future contributions and banned from regular communication channels,
35+
especially if these communications were found to be submitted in bad faith.
36+
37+
This policy applies to all regular channels of communication used by members of
38+
the Bevy Organization, including but not limited to GitHub Issues, GitHub Pull
39+
Requests, Discord, other social media platforms, etc.
40+
41+
We recognize that English may not be the primarily language for all contributors
42+
and that machine translation is an indispensable tool for proper collaboration.
43+
Therefore machine translation is not subject to the above policy. The community
44+
recommends that you instruct the LLM to produce a concise output or use non-LLM
45+
machine translation options, as they tend to be less verbose while still getting
46+
the point across.
47+
48+
## AI Generated Contributions and Copyright
49+
50+
At the current time of writing (August 11th, 2025), the US Copyright Office has
51+
[stated publicly][us-copyright-office-response] that "human authorship is a
52+
pre-requisite to copyright protection". A
53+
[more recent report][us-copyright-office-report] from the same institution shows
54+
a much more contested legal space, both within the US and internationally.
55+
Unanswered open questions in the space include, but are not limited to:
56+
57+
- In the case that AI generated works are protected under copyright, would AI
58+
generated works be considered derivatives of any input to the model, including
59+
but not limited to: the model's training dataset, the dataset used for fine
60+
tuning the model, any data fetched during retrieval augmented generation
61+
(RAG), or extra context provided to the model in the prompt?
62+
- If AI generated works are considered derivative works, do the FOSS licenses
63+
currently in use by the Bevy Organization have the language and legal
64+
framework to provide the same guarantees and protections to both the licensor
65+
and licensee?
66+
- In the case that AI generated works are protected under copyright, who owns
67+
the copyright to the generated work? Is it the user that requested the
68+
generation? The owner of the LLM model or service? Who holds the rights to
69+
license out the generated work for use in open source projects? Is the
70+
copyright transferable through the same legal framework that exists for works
71+
that were not AI generated?
72+
- If there is a minimum threshold of human contribution to a combined work
73+
derived from AI-generated works for it to be considered copyrightable, where
74+
does that threshold lie, and is it consistently applicable to all types of
75+
contributions that Bevy Organization accepts?
76+
- Does the local law in various countries and jurisdictions around the world
77+
provide consistent answers to all of the questions above?
78+
79+
Until there are well established answers to these questions, the use and/or
80+
distribution of AI-generated code and assets may constitute copyright
81+
infringement or may be subject to licensing terms incompatible with the FOSS
82+
licenses used by the Bevy Organization.
83+
84+
Erring on the side of caution in light of a openly debated legal topic, all[^1]
85+
forms of AI-generated contributions cannot be merged into repositories
86+
maintained by the Bevy Organization. This includes both code and non-code game
87+
assets (e.g. textures, audio, etc).
88+
89+
Any triage team member suspecting a pull request to be made primarily through
90+
the use of large language models or other generative tools should mark the PR as
91+
`S-Nominated-to-Close` , upon which a maintainer can then review the PR for
92+
closure. To help identify these cases, pull requests subject to this policy have
93+
characteristics such as (but not limited to):
94+
95+
- Needlessly or overly verbose descriptions or responses.
96+
- Not internally coherent or even self-contradictory.
97+
- Demonstrates misunderstanding of important aspects of what the code is doing
98+
or the purpose of the change.
99+
100+
Any contributor, operator of automated systems, or company they may represent
101+
found to have repeatedly submitted contributions with majority AI-generated code
102+
or assets may be subject to:
103+
104+
- Blanket rejection of all future contributions to Bevy Organization projects.
105+
- Retroactive removal of any potentially suspect AI-generated code and asset
106+
contributions.
107+
- Further Code of Conduct actions if these contributions were found to be
108+
submitted in bad faith.
109+
110+
This policy may be revisited when the legal debate has settled.
111+
112+
\[^1\]: Trivial LLM generated content such as variable renames or autocompleted
113+
function calls, often branded "predictions" or "suggestions", that is otherwise
114+
indistinguishable from traditional methods such as a regex search/replace or an
115+
LSP autocompletion is by definition not detectable and can be treated like other
116+
regular IDE tools such as Intellisense. This does not include cases where the
117+
prediction generates things like entire function blocks.
118+
119+
[us-copyright-office-report]: https://www.copyright.gov/ai/Copyright-and-Artificial-Intelligence-Part-2-Copyrightability-Report.pdf
120+
[us-copyright-office-response]: https://www.copyright.gov/rulings-filings/review-board/docs/a-recent-entrance-to-paradise.pdf
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
+++
2+
title = "Code of Conduct"
3+
insert_anchor_links = "right"
4+
[extra]
5+
weight = 1
6+
+++
7+
8+
_This Code of Conduct is based on the [Rust Code of Conduct](https://www.rust-lang.org/policies/code-of-conduct), which is adapted from the [Node.js Policy on Trolling](http://blog.izs.me/post/30036893703/policy-on-trolling) and the [Contributor Covenant](https://www.contributor-covenant.org)._
9+
10+
## Our Pledge
11+
12+
We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
13+
14+
We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
15+
16+
## Our Standards
17+
18+
In this community we strive to go the extra step to look out for each other. Don’t just aim to be technically unimpeachable, try to be your best self. In particular, avoid flirting with offensive or sensitive issues, particularly if they’re off-topic; this all too often leads to unnecessary fights, hurt feelings, and damaged trust; worse, it can drive people away from the community entirely.
19+
20+
And if someone takes issue with something you said or did, resist the urge to be defensive. Just stop doing what it was they complained about and apologize. Even if you feel you were misinterpreted or unfairly accused, chances are good there was something you could’ve communicated better — remember that it’s your responsibility to make your fellow Rustaceans comfortable. Everyone wants to get along and we are all here first and foremost because we want to talk about cool technology. You will find that people will be eager to assume good intent and forgive as long as you earn their trust.
21+
22+
* Please avoid using overtly sexual aliases or other nicknames that might detract from a friendly, safe and welcoming environment for all.
23+
* Please be kind and courteous. There’s no need to be mean or rude.
24+
* Respect that people have differences of opinion and that every design or implementation choice carries a trade-off and numerous costs. There is seldom a right answer.
25+
* Please keep unstructured critique to a minimum. If you have solid ideas you want to experiment with, make a fork and see how it works.
26+
* We will exclude you from interaction if you insult, demean or harass anyone. That is not welcome behavior. We interpret the term “harassment” as including the definition in the [Citizen Code of Conduct](https://github.com/stumpsyn/policies/blob/master/citizen_code_of_conduct.md); if you have any lack of clarity about what might be included in that concept, please read their definition. In particular, we don’t tolerate behavior that excludes people in socially marginalized groups.
27+
* Private harassment is also unacceptable. No matter who you are, if you feel you have been or are being harassed or made uncomfortable by a community member, please contact the maintainers immediately. Whether you’re a regular contributor or a newcomer, we care about making this community a safe place for you and we’ve got your back.
28+
* Do not make casual mention of slavery or indentured servitude and/or false comparisons of one's occupation or situation to slavery. Please consider using or asking about alternate terminology when referring to such metaphors in technology.
29+
* Likewise any spamming, trolling, flaming, baiting or other attention-stealing behavior is not welcome.
30+
31+
## Moderation
32+
33+
These are the policies for upholding [our community’s standards of conduct](#our-standards). If you feel that a thread needs moderation, please contact the maintainers.
34+
35+
1. Remarks that violate the community standards of conduct, including hateful, hurtful, oppressive, or exclusionary remarks, are not allowed. (Cursing is allowed, but never targeting another user, and never in a hateful manner).
36+
2. Remarks that maintainers find inappropriate, whether listed in the code of conduct or not, are also not allowed.
37+
3. Maintainers will first respond to such remarks with a warning.
38+
4. If the warning is unheeded, the user will be “kicked,” i.e., kicked out of the communication channel to cool off.
39+
5. If the user comes back and continues to make trouble, they will be banned, i.e., indefinitely excluded.
40+
6. Maintainers may choose at their discretion to un-ban the user if it was a first offense and they offer the offended party a genuine apology.
41+
7. If a maintainer bans someone and you think it was unjustified, please take it up with that maintainer, or with a different maintainer, in private. Complaints about bans in-channel are not allowed.
42+
8. Maintainers are held to a higher standard than other community members. If a maintainer creates an inappropriate situation, they should expect less leeway than others.
43+
44+
The enforcement policies in the code of conduct apply to all official venues, including Discord channels, GitHub repositories, the Twitter community and all other forums.

content/learn/contribute/reference/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ title = "Reference"
33
template = "docs.html"
44
redirect_to = "/learn/contribute/reference/triage"
55
[extra]
6-
weight = 4
6+
weight = 5
77
+++

content/learn/contribute/reference/triage.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,12 @@ Some reasons to apply `D-Trivial` include:
9191
2. Moving a file from one location to another.
9292
3. Small changes to documentation or error messages.
9393

94+
Some reasons to apply `S-Nominated-to-Close` include:
95+
96+
1. The PR is no longer needed.
97+
2. The PR has serious flaws and has not attracted any support from reviewers.
98+
3. The PR shows signs that it was AI generated, which is a volation of our [AI Policy][ai-policy].
99+
94100
Remember that difficulty labels are for expertise required to either solve an issue or review a pull request. By labeling an issue as `D-Trivial`, you are marking it as a good first issue for new contributors to the Bevy project.
95101

96102
## Closing PRs and Issues
@@ -118,6 +124,7 @@ There are several paths for PRs to be closed:
118124
6. In the case of PRs where some members of the community, other than the author, are in favor, and some are opposed, any two relevant SMEs or Maintainers may act in concert to close the PR.
119125
7. For a PR that has been sitting for a while and became bitrotten, check with the original author if they intend to continue working on it. If not, or without a response, the PR can be labeled with `S-Adopt-Me`, and closed. Tracking adoption progress will happen in a linked issue.
120126
8. Inactive `X-Controversial` can be closed if relevant SMEs or Maintainers have decided there's no more interest for it. If it's still interesting and controversial, a decision must be made.
127+
9. Majority AI-Generated PRs cannot be merged as per the Bevy org's [AI policy][ai-policy]. Please mark these PRs as `S-Nominated-to-Close` for maintainers to make a final decision.
121128

122129
When closing a PR, check if it has an issue linked. If it does not, you should strongly consider creating an issue and linking the now-closed PR to help make sure the previous work can be discovered and credited.
123130

@@ -167,3 +174,4 @@ Members of the Triage Team within the Bevy organization have permissions to labe
167174
If that applies to you, then feel free to ask a Maintainer on [Discord] or email <[email protected]>. Everyone is welcome to do this. We generally accept membership requests, so don't hesitate if you are interested!
168175

169176
[Discord]: https://discord.gg/bevy
177+
[ai-policy]: /learn/contribute/policies/ai

0 commit comments

Comments
 (0)