diff --git a/.copier-answers.yml b/.copier-answers.yml index f693810..2c2c3fb 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier -_commit: v0.23.1 +_commit: v0.24.0 _src_path: . copyright_holder: Stephen Kent copyright_license: MIT diff --git a/.github/commit-check.toml b/.github/commit-check.toml index 8649562..d6b3547 100644 --- a/.github/commit-check.toml +++ b/.github/commit-check.toml @@ -2,8 +2,8 @@ conventional_commits = false subject_max_length = 72 subject_min_length = 1 -# Reject LLM session URL trailers -message_pattern = '(?ims)(?!.*^[\w-]+-session:\s)' +# Reject LLM session URL trailers and promotional "Generated with" lines +message_pattern = '(?ims)(?!.*^(?:[\w-]+-session:\s|\W*generated (?:with|by) \S))' ai_attribution = "disclose" ai_disclosure_trailers = ["Assisted-by"] # Assisted-by: values must not be email addresses or URLs diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index fd17661..90f51d5 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -27,9 +27,13 @@ and that you have the right to submit it under that license. A contributor is always the author of their contributions. You must read, review, and understand everything you submit, including LLM-generated code or text, and be able to explain it on request. +Contributions must be submitted by a person, not autonomously by a bot or +LLM agent. If a commit contains code or text largely generated by an LLM, add an `Assisted-by: :` trailer to its message. This can be done automatically with `git commit --trailer="Assisted-by: :"`. Do not use `Co-authored-by:` for LLM attribution. LLMs are tools, not authors. +Do not include LLM session URLs, or promotional lines such as +"Generated with [...]."