-
Notifications
You must be signed in to change notification settings - Fork 390
Add the Bevy Org's AI Policy #2204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
3beb7ec
d57703b
be75541
6dd1db3
075c914
d896d37
7af64b4
e2a29c8
78035f0
e3668ca
7c7634e
6e39236
9d093fb
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
+++ | ||
title = "Policies" | ||
template = "docs.html" | ||
redirect_to = "/learn/contribute/policies/ai" | ||
[extra] | ||
weight = 4 | ||
+++ |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
+++ | ||
title = "AI Policy" | ||
insert_anchor_links = "right" | ||
[extra] | ||
weight = 1 | ||
+++ | ||
|
||
In recent times, there have been a growing number of contributions that are fully or | ||
partially produced by generative AI (e.g. large language models and friends) which exhibit | ||
characteristics that result in undue extra work for other contributors and maintainers. | ||
While we've seen PRs and issues with these characteristics produced entirely by | ||
humans, generative AI tools have significantly lowered the level of effort required to produce | ||
"plausibly-worthwhile" contributions that are otherwise entirely unmergable or | ||
incorrectly report bugs, and so have become a major source of burdensome PRs and | ||
issues. | ||
|
||
Whether AI generated code are subject to copyright protection is also a hot-button legal topic that is | ||
still being openly debated and litigated. How this impacts the legal aspects of maintaining | ||
a FOSS project is currently an unresolved question. | ||
|
||
This policy is established as a response targeted at the problem of an | ||
increasing frequency of burdensome PRs/issues and to address the potential legal issues | ||
currently surrounding the intersection of AI generated code and the FOSS contribution model. | ||
|
||
## AI Generated Communications | ||
|
||
The unsolicited use of automated systems to communicate issues, bugs, or security vulnerabilities | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. "automated systems" is not a good phrase here IMO, it excludes things like fuzzers and linters. i would explicitly say "generative AI" or "LLMs" throughout. (the other two places you say "automated systems" are further qualified and probably don't need changes, but this one is unqualified.) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Interestingly I think that automated systems is fine here: the key term is "unsolicited". There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. oh interesting - so you wouldn't want e.g. an academic lab to post the output of a fancy dynamic fuzzer they built? that's reasonable i suppose. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not without asking us first, no :) We'd say yes, but asking first is much more polite! There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This reasoning clashes with what @james7132 says above:
looks like James would find it okay to have a lab post the results of their academic fuzzer without asking as long as they clearly state what's happening? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah, I slightly disagree with James here, but it's not critical. Automated bots that are clearly marked as such and are trying to be helpful are both rare and not very obnoxious. |
||
about Bevy Organization projects under the guise of a human is considered unacceptable | ||
and a Code of Conduct violation. Any individual contributor, operator of automated systems, | ||
Comment on lines
+27
to
+29
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. does this apply to communication that is clearly marked as AI-generated? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If unsolicited, yes. I think we should cut "under the guise of". There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The "under the guise of" was explicitly included to avoid capturing automated systems that do not pretend to be humans. There are systems like GitGuardian that does a useful service but makes zero effort to hide that it's a crawler bot. Under the proposed situation, so long as the fuzzer results are presented either by a human, or by a clearly demarked bot account, it shouldn't be an issue. It's only when it files issues or PRs as if it were a human, and then subsequently wastes valuable volunteer time with the expectations that said bot would continue to engage as if it were a human where it becomes a major problem. |
||
or company they may represent may be barred from future contributions and banned from regular | ||
communication channels if these communications were found to be submitted in bad faith. | ||
|
||
This policy applies to all regular channels of communication used by members of the | ||
Bevy Organization, including but not limited to GitHub Issues, GitHub Pull Requests, Discord, | ||
other social media platforms, etc. | ||
|
||
We recognize that English may not be the primarily language for all contributors and that | ||
machine translation is an indispensable tool for proper collaboration, and thus not subject to | ||
the above policy. The community recommends that you instruct the LLM to produce a concise output | ||
or use non-LLM machine translation options, as they tend to be less verbose while still getting | ||
the point across. | ||
|
||
## AI Generated Contributions and Copyright | ||
|
||
At the current time of writing (August 11th, 2025), the US Copyright Office has | ||
[stated publicly][us-copyright-office-response] that "human authorship is a | ||
pre-requisite to copyright protection". A [more recent report][us-copyright-office-report] | ||
from the same institution shows a much more contested legal space, both within the US and | ||
internationally. In the case that AI generated works are protected under copyright, those works | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. IANAL, but I believe this suggests there is no problem with an non-derivative ruling, which I don't think is true. Maybe reword this to say that it would be bad if it was copyright by someone else than the user and/or it was derivative? |
||
would be considered derivatives of the input dataset, and thus use AI-generated code and assets | ||
may constitute copyright infringement or may be subject to licensing terms incompatible | ||
with the FOSS licenses used by the Bevy Organization. | ||
|
||
Erring on the side of caution in light of a openly debated legal topic, | ||
all[^1] forms of AI-generated contributions cannot be merged into repositories maintained | ||
by the Bevy Organization. This includes both code and non-code game assets (e.g. textures, | ||
audio, etc). | ||
|
||
Any triage team member suspecting a pull request to be made primarily through the use of | ||
large language models or other generative tools should mark the PR as `S-Nominated-to-Close` , | ||
upon which a maintainer can then review the PR for closure. To help identify these cases, | ||
pull requests subject to this policy have characteristics such as (but not limited to): | ||
|
||
- Needlessly or overly verbose descriptions or responses. | ||
- Not internally coherent or even self-contradictory. | ||
- Demonstrates misunderstanding of important aspects of what the code is doing | ||
or the purpose of the change. | ||
|
||
Any contributor, operator of automated systems, or company they may represent found to | ||
have repeatedly submitted contributions with majority AI-generated code or assets may be | ||
subject to: | ||
|
||
- Blanket rejection of all future contributions to Bevy Organization projects. | ||
- Retroactive removal of any potentially suspect AI-generated code and asset contributions. | ||
- Further Code of Conduct actions if these contributions were found to be submitted in bad faith. | ||
|
||
This policy may be revisited when the legal debate has settled. | ||
|
||
[us-copyright-office-response]: https://www.copyright.gov/rulings-filings/review-board/docs/a-recent-entrance-to-paradise.pdf | ||
[us-copyright-office-report]: https://www.copyright.gov/ai/Copyright-and-Artificial-Intelligence-Part-2-Copyrightability-Report.pdf | ||
|
||
[^1]: Trivial LLM generated content such as variable renames or autocompleted function calls, often branded "predictions" or "suggestions", that is indistinguishable from traditional methods such as a regex search/replace or an LSP autocompletion is by definition not detectable and can be treated like other regular IDE tools such as Intellisense. | ||
This does not include cases where the prediction generates things like entire function blocks. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
+++ | ||
title = "Code of Conduct" | ||
insert_anchor_links = "right" | ||
[extra] | ||
weight = 1 | ||
+++ | ||
|
||
_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)._ | ||
|
||
## Our Pledge | ||
|
||
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. | ||
|
||
We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community. | ||
|
||
## Our Standards | ||
|
||
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. | ||
|
||
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. | ||
|
||
* Please avoid using overtly sexual aliases or other nicknames that might detract from a friendly, safe and welcoming environment for all. | ||
* Please be kind and courteous. There’s no need to be mean or rude. | ||
* 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. | ||
* 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. | ||
* 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. | ||
* 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. | ||
* 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. | ||
* Likewise any spamming, trolling, flaming, baiting or other attention-stealing behavior is not welcome. | ||
|
||
## Moderation | ||
|
||
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. | ||
|
||
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). | ||
2. Remarks that maintainers find inappropriate, whether listed in the code of conduct or not, are also not allowed. | ||
3. Maintainers will first respond to such remarks with a warning. | ||
4. If the warning is unheeded, the user will be “kicked,” i.e., kicked out of the communication channel to cool off. | ||
5. If the user comes back and continues to make trouble, they will be banned, i.e., indefinitely excluded. | ||
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. | ||
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. | ||
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. | ||
|
||
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. |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -91,6 +91,12 @@ Some reasons to apply `D-Trivial` include: | |
2. Moving a file from one location to another. | ||
3. Small changes to documentation or error messages. | ||
|
||
Some reasons to apply `S-Nominated-to-Close` include: | ||
|
||
1. The PR shows inconsistencies and verbosity to suggest that the code was [AI generated][ai-policy]. | ||
james7132 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
2. The PR has serious flaws and has not attracted any support from reviewers. | ||
3. The PR is no longer needed. | ||
|
||
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. | ||
|
||
## Closing PRs and Issues | ||
|
@@ -118,6 +124,7 @@ There are several paths for PRs to be closed: | |
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. | ||
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. | ||
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. | ||
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. | ||
|
||
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. | ||
|
||
|
@@ -167,3 +174,4 @@ Members of the Triage Team within the Bevy organization have permissions to labe | |
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! | ||
|
||
[Discord]: https://discord.gg/bevy | ||
[ai-policy]: /learn/contribute/policies/ai |
Uh oh!
There was an error while loading. Please reload this page.