Skip to content

Commit

Permalink
feat: Add initial policy on LLM-generated contributions
Browse files Browse the repository at this point in the history
  • Loading branch information
twpayne committed Dec 11, 2024
1 parent dac078f commit bddbf7f
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
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

0 comments on commit bddbf7f

Please sign in to comment.