Skip to content
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

feat: Add initial policy on LLM-generated contributions #4011

Merged
merged 1 commit into from
Dec 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 19 additions & 1 deletion .github/CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
# Code of Conduct

[Contributor Covenant Code Of Conduct](https://www.contributor-covenant.org/version/2/1/code_of_conduct/).
chezmoi follows the [Contributor Covenant Code Of
Conduct](https://www.contributor-covenant.org/version/2/1/code_of_conduct/) with
the following additions for LLM (Large Language Model)-generated contributions:

* You may use any tools you wish to generate content for chezmoi.

* You must review the content for correctness and legal obligations before
contributing it.

* If you contribute un-reviewed LLM-generated content with the admission that
you do not understand the content then you will receive a warning. If you post
any un-reviewed LLM-generated content after the warning then you will be
banned without recourse.

* If you contribute un-reviewed LLM-generated content without any admission that
you used an LLM then you will immediately be banned without recourse.

Example LLMs include, but are not limited to, ChatGPT, Claude, Gemini, GitHub
Copilot, and Llama.
8 changes: 8 additions & 0 deletions assets/chezmoi.io/docs/developer-guide/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Developer guide

!!! warning

If you use an LLM (Large Language Model, like ChatGPT, Claude, Gemini, GitHub Copilot,
or Llama) to make a contribution then you must say so in your contribution and
you must carefully review your contribution for correctness before sharing it.
If you share un-reviewed LLM-generated content then you will be immediately
banned. See `CODE_OF_CONDUCT.md` for more information.

chezmoi is written in [Go](https://golang.org) and development happens on
[GitHub](https://github.com). chezmoi is a standard Go project, using standard
Go tooling. chezmoi requires Go 1.22 or later.
Expand Down