Skip to content
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
2 changes: 1 addition & 1 deletion .copier-answers.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/commit-check.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: <tool>:<model>` trailer to its message. This can be done
automatically with `git commit --trailer="Assisted-by: <tool>:<model>"`.

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 [...]."
Loading