Skip to content

Commit ed0c4cf

Browse files
meta(agents): Update AI commit attribution guidance (#21166)
Clarify that AI commits should use the committer email associated with the agent instead of assuming Anthropic-only attribution. Document known OpenAI and Cursor committer emails, and allow omitting the attribution line only when no committer email is known. This will prevent stuff like this from happening <img width="814" height="127" alt="image" src="https://github.com/user-attachments/assets/286705c1-5810-46c1-8ef2-063605655e01" /> Co-authored-by: GPT-5 Codex <codex@openai.com>
1 parent 515f551 commit ed0c4cf

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

AGENTS.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,16 @@ Single package: `cd packages/<name> && yarn test`
4444

4545
## Commit Attribution
4646

47-
AI commits MUST include:
47+
AI commits MUST include a `Co-Authored-By` line with the appropriate committer email when known:
4848

4949
```
50-
Co-Authored-By: <agent model name> <noreply@anthropic.com>
50+
Co-Authored-By: <Claude model name> <noreply@anthropic.com>
51+
Co-Authored-By: <OpenAI/ChatGPT model name> <codex@openai.com>
52+
Co-Authored-By: <Cursor agent name> <cursoragent@cursor.com>
5153
```
5254

55+
Use the Cursor email for Cursor, even when it runs a Claude or OpenAI model. Omit the line only when there is no known committer email address for the agent.
56+
5357
## Git Workflow
5458

5559
Uses **Git Flow** (see `docs/gitflow.md`).

0 commit comments

Comments
 (0)