Expand accepted Assisted-by formats and add CI enforcement#687
Open
mtjhrc wants to merge 2 commits into
Open
Conversation
We previously only allowed using: Assisted-by: Claude Code:claude-opus-4.6 Update the guidlines to also other well formated alternatives: Assisted-by: Claude Code / claude-opus-4.6 Assisted-by: Copilot (GPT-5.4) Also allows a similar Generated-By tag: Generated-by: OpenCode:claude-opus-4.6 This also explicitly codifies you can use `auto` or `unknown` in case you don't know the actual model name. This can be used when you are using automatic selection in tools like Cursor or Github Copilot. Signed-off-by: Matej Hrica <mhrica@redhat.com>
Add a script to enforce rules mentioned in CONTRIBUTING.md. Main motivation for this is banning Co-Authored-By: Claude. This also checks for other ill-formated Assisted-By forms and generates a warning. Assisted-by: OpenCode:claude-opus-4.6 Signed-off-by: Matej Hrica <mhrica@redhat.com>
f2c94d7 to
8e59ad8
Compare
jakecorrenti
approved these changes
May 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Previously only
AGENT:MODELwas documented as valid. This relaxesthe format to also accept
AGENT / MODELandAGENT (MODEL), andintroduces
Generated-byfor fully AI-generated code.auto/unknownare now explicitly allowed when the model name isn't known.
A new CI check is added to enforce the policy on every PR:
Co-authored-byfor known AI tools (e.g. Claude, Copilot)Assisted-by/Generated-bytrailers"Generated with [Claude Code]" footer Claude Code appends by default)
Fixes: #681