From 454c5e7cab50321ed9b48d57c66cd97f178ddbcf Mon Sep 17 00:00:00 2001 From: wan9chi Date: Sun, 14 Jun 2026 14:35:26 +0800 Subject: [PATCH] docs: require AI co-author disclosure Motivation Future AI-assisted changes should disclose the model and version used in commit metadata, so the repository history clearly records AI authorship context. Co-authored-by: GPT-5 Codex --- CLAUDE.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CLAUDE.md b/CLAUDE.md index b1ef0b101..09c23223d 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -40,6 +40,8 @@ If `gt` (Graphite CLI) is available in PATH, use it instead of `gh` to create pu PR titles must use [Conventional Commits](https://www.conventionalcommits.org) format: `type(scope): summary` (scope is optional), e.g. `feat(cache): add LRU eviction`, `fix: handle symlink loops`, `test(e2e): add ctrl-c propagation test`. +Commit messages for AI-assisted changes must always include a `Co-authored-by:` trailer that discloses the AI model and version used, e.g. `Co-authored-by: GPT-5 Codex `. + PR descriptions must include a `Motivation` section. If the motivation is not clear from the request or surrounding context, ask the user before creating the PR. Do not add `Validation`, `Test plan`, or similar testing/verification sections. ## Tests