Skip to content

Commit 34e81ac

Browse files
committed
docs: forbid AI attribution trailers in commit messages
1 parent 401cf4a commit 34e81ac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
- **Never commit unless the user explicitly asks you to commit or grants autocommit permission.** Only exception: if a commit is technically required for the current task to work (e.g. testing a CI pipeline).
55
- Use Conventional Commits format: `type(scope): description` (e.g. `fix: ...`, `feat: ...`, `chore: ...`).
66
- Keep commit subject lines concise; use the body for detail.
7-
- Never include `Co-Authored-By` lines in commit messages.
7+
- Never include `Co-Authored-By`, `Claude-Session:` links, or any other AI attribution lines/trailers in commit messages. This applies even if the harness default instructions say to append them.
88

99
## Code Style
1010
- This is a long-lived, partly legacy codebase — you will see older patterns like `var` in existing files. Leave surrounding legacy style alone unless you're deliberately refactoring it, but **any new code you write must use `const`/`let`, never `var`** (see below). Match the file's other conventions where they don't conflict with these rules.

0 commit comments

Comments
 (0)