Skip to content

Commit 11ffc93

Browse files
authored
Merge pull request #41 from hartsock/codex/add-coauthor-conventions
[codex] add coauthor conventions
2 parents 1a81228 + 5fe4491 commit 11ffc93

2 files changed

Lines changed: 34 additions & 0 deletions

File tree

AGENTS.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# gitxtend - Agent Instructions (general)
2+
3+
Mirror of `CLAUDE.md` for non-Claude agents (Codex, Gemini, local
4+
models, etc.). When the two files disagree, `CLAUDE.md` is canonical for
5+
Claude sessions and this file is canonical for everyone else.
6+
7+
## Model attribution
8+
9+
- If an LLM materially contributes to a commit, identify it with a
10+
`Co-authored-by` trailer in the commit message.
11+
- Use the model/tool identity the session is actually running under. Do not
12+
credit a generic "AI Assistant".
13+
- Known trailers:
14+
- `Co-authored-by: Codex <codex@openai.com>`
15+
- `Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>`
16+
- If multiple LLMs contribute to the same commit, include one trailer per
17+
contributing model.

CLAUDE.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# gitxtend - Agent Instructions (Claude)
2+
3+
This file is loaded by Claude Code on every session in this repository.
4+
Read it once at session start; the constraints below apply for the rest
5+
of the session unless there is explicit human authorization to deviate.
6+
7+
## Model attribution
8+
9+
- If an LLM materially contributes to a commit, identify it with a
10+
`Co-authored-by` trailer in the commit message.
11+
- Use the model/tool identity the session is actually running under. Do not
12+
credit a generic "AI Assistant".
13+
- Known trailers:
14+
- `Co-authored-by: Codex <codex@openai.com>`
15+
- `Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>`
16+
- If multiple LLMs contribute to the same commit, include one trailer per
17+
contributing model.

0 commit comments

Comments
 (0)