Skip to content
7 changes: 7 additions & 0 deletions content/learn/contribute/policies/_index.md
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
+++
79 changes: 79 additions & 0 deletions content/learn/contribute/policies/ai.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
+++
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. LLMs 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 copyrightable works 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 vulnerabilites
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,
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, though it is recommended by the community to use non-LLM machine translation
options, as they tend to be less verbose while still getting the point across.

## Copyrightable AI Generated Contributions
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 not copyrightable, those same works
cannot be licensed to others, and thus AI-generated code and assets would not legally be
licensed under MIT or Apache.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The way this is worded appears wrong to me. A work that isn't copyrightable (and not an infringement of copyright) is public domain. I'd assume public domain code contributions would not generally be excluded from being contributed to bevy (there is code that would be public domain, typically code that has an explicit copyright waiver, or with 0BSD/CC0). Yes, you cannot apply a license to them, but you also do not need to apply a license to them to distribute them.
If the answer to the question is "No they aren't copyrightable (and aren't derivative of the input dataset)", then there should be no issue. The issue arrises if they are copyrightable (they'd probably be copyright of the creator of the model), or they are derivative of the input set (which would infringe 3rd party copyright). I think this should be better worded to reflect those cases rather than calling out the one case that would be legally fine.
Note that I am not taking a stance on what legal outcome it is, and I agree with erring on the side of caution, but I think it should refer to the actual legally problematic case, and I don't think this does.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very fair: we can be clearer here. The concern here is not that they are public domain (which is compatible with our licensing). The concern is that they are infringing on the works the model was trained on.


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 repos 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
LLMs 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 is does not include cases where the prediction generates things like entire function blocks.
44 changes: 44 additions & 0 deletions content/learn/contribute/policies/code_of_conduct.md
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.
2 changes: 1 addition & 1 deletion content/learn/contribute/reference/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ title = "Reference"
template = "docs.html"
redirect_to = "/learn/contribute/reference/triage"
[extra]
weight = 4
weight = 5
+++
6 changes: 6 additions & 0 deletions content/learn/contribute/reference/triage.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ 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].

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
Expand Down Expand Up @@ -118,6 +122,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.

Expand Down Expand Up @@ -167,3 +172,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
Loading