From b1c0f5cc9f7a1aee4006ce2de9f6fb0f05d6ed70 Mon Sep 17 00:00:00 2001 From: "Daniel Szoke (via Pi Coding Agent)" Date: Tue, 26 May 2026 12:07:42 +0200 Subject: [PATCH] meta(agents): Update AI commit attribution guidance 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. Co-Authored-By: GPT-5 Codex --- AGENTS.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 42421cc3ff0d..baa0ca7f2174 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -44,12 +44,16 @@ Single package: `cd packages/ && yarn test` ## Commit Attribution -AI commits MUST include: +AI commits MUST include a `Co-Authored-By` line with the appropriate committer email when known: ``` -Co-Authored-By: +Co-Authored-By: +Co-Authored-By: +Co-Authored-By: ``` +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. + ## Git Workflow Uses **Git Flow** (see `docs/gitflow.md`).