From 5fe44918474e6e7a8936d614c627c7860a5e1ceb Mon Sep 17 00:00:00 2001 From: Shawn Hartsock Date: Fri, 5 Jun 2026 06:25:13 -0400 Subject: [PATCH] add coauthor conventions Co-authored-by: Codex --- AGENTS.md | 17 +++++++++++++++++ CLAUDE.md | 17 +++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 AGENTS.md create mode 100644 CLAUDE.md diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 0000000..6dea3d6 --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,17 @@ +# gitxtend - Agent Instructions (general) + +Mirror of `CLAUDE.md` for non-Claude agents (Codex, Gemini, local +models, etc.). When the two files disagree, `CLAUDE.md` is canonical for +Claude sessions and this file is canonical for everyone else. + +## Model attribution + +- If an LLM materially contributes to a commit, identify it with a + `Co-authored-by` trailer in the commit message. +- Use the model/tool identity the session is actually running under. Do not + credit a generic "AI Assistant". +- Known trailers: + - `Co-authored-by: Codex ` + - `Co-authored-by: Claude Opus 4.8 (1M context) ` +- If multiple LLMs contribute to the same commit, include one trailer per + contributing model. diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 0000000..4ba940e --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1,17 @@ +# gitxtend - Agent Instructions (Claude) + +This file is loaded by Claude Code on every session in this repository. +Read it once at session start; the constraints below apply for the rest +of the session unless there is explicit human authorization to deviate. + +## Model attribution + +- If an LLM materially contributes to a commit, identify it with a + `Co-authored-by` trailer in the commit message. +- Use the model/tool identity the session is actually running under. Do not + credit a generic "AI Assistant". +- Known trailers: + - `Co-authored-by: Codex ` + - `Co-authored-by: Claude Opus 4.8 (1M context) ` +- If multiple LLMs contribute to the same commit, include one trailer per + contributing model.