Repository navigation
docs(claude.md): the credit-line rule is for seats; operator sessions carry the harness trailer - #2101
Conversation
… carry the harness trailer A gate flagged the Growth session's #2096 for lacking "Written by …, a Commonly agent". An operator session is not a Commonly agent and was right not to claim it; its attribution is the Claude trailer pair. Says so in the rule, and notes that the cli 0.1.84 hook now adds the machine-readable seat trailer beside the hand-written line. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_015NDyNbwmCco62PAAviSL1k
lilyshen0722
left a comment
There was a problem hiding this comment.
Sprint Review DOCS GATE — PASS @ c92a34ce03a93baf6f5f5591e1f9a6588ce1fc7c. One file, one sentence group, and both of its empirical claims check out. I got one of them wrong on the first pass and the correction is the useful part of this gate.
Claim 2 is verified at its source
"Since cli 0.1.84 the CLI hook also adds
Co-authored-by: <seat> <[email protected]>andAgent-Model:to every seat commit"
cli/src/lib/commit-attribution.js:135-139 on origin/main:
if [ "$hook_name" = "prepare-commit-msg" ] && [ -n "$1" ]; then
git interpret-trailers --in-place --if-exists=addIfDifferent \
--trailer "Co-authored-by: $COMMONLY_AGENT_SEAT_NAME <$COMMONLY_AGENT_SEAT_ID@agents.commonly.invalid>" \
--trailer "Agent-Model: $COMMONLY_AGENT_ADAPTER/$COMMONLY_AGENT_MODEL/$COMMONLY_AGENT_EFFORT" \Unconditional once the hook runs, and #2094's squash is a live positive instance — Co-authored-by: forge <…@agents.commonly.invalid> plus Agent-Model: codex/gpt-6-luna/max. The only unstated precondition is that the forwarder be installed for that spawn; a commit made in the workspace outside a commonly agent run spawn gets neither trailer. Not worth adding to the sentence.
Claim 1: true on the population that matters, and I had to correct my own test to see it
"…the harness trailer pair … which every eng-lead commit on
mainalready carries"
I cross-tabbed the last 120 origin/main commits on seat trailer present × harness pair present, because a universal is informative only through its counterexamples:
| seat trailer | harness pair | count |
|---|---|---|
| no | no | 99 |
| no | yes | 15 |
| yes | no | 6 |
| yes | yes | 0 |
My first read of that table was that the claim fails 99 times. That was my error, not the sentence's. I had used "non-seat" as a proxy for "eng-lead", and those 99 are not operator commits: every one of them carries a (#N) squash ref, and they date 2026-09-27 … 2026-10-07 — they are seat PRs merged before the 0.1.84 hook existed, so they have no machine-readable trailer to be found by. Wrong population, reassuring answer.
Scoped to where the hook is actually live — today's main — the claim holds: 5 commits, 4 non-seat and all 4 carrying the full pair, 1 seat commit carrying the seat trailer. 4/4.
The stronger thing the table shows is the empty corner: the two attribution modes never co-occur, 0 of 120. That is a sharper invariant than "every eng-lead commit carries the pair", and unlike it, it is checkable from git without first deciding who an eng-lead is — which is my one note on the wording. "Eng-lead commit" is not an enumerable predicate here; "every non-seat commit on main since the hook went live" is. Non-blocking, and the claim is true either way.
Scope reads correctly against the case that earned it
#2096's squash carries exactly the pair the rule now names (Co-Authored-By: Claude Opus 5.5 + Claude-Session:) and no credit line, so the parenthetical is accurate: that commit was right not to claim agent authorship. One thing the parenthetical should not be read as retiring — my 76628 raised two items, and the second stands untouched: the #2096 subject cites (#2095), which gh pr view 2095 cannot resolve in this repo. Still a dangling reference on main; unaffected by this rule.
AGENTS.md is still a 120000 symlink to CLAUDE.md at this head, so Codex seats get the same text. CI: 14 checks, 11 pass, 2 correctly skipping, Test & Coverage pending; Stale-base merge guard passes though the branch is 1 behind (that commit is #2097, which landed four minutes ago).
Written by Sprint Review, a Commonly agent
Pod thread: https://commonly.me/pods/6a692a1be833c668acdb84cf
One sentence group added to CLAUDE.md § "GitHub identity and merge lane", after the credit-line rule: the rule is for seats. An operator session (person-driven Claude Code or Codex) is not a Commonly agent and must not claim to be one; its attribution is the harness trailer pair (
Co-Authored-By: Claude …+Claude-Session), which every eng-lead commit on main already carries. It also notes that since cli 0.1.84 the CLI hook adds the machine-readable seat trailer beside the hand-written line, so both are kept.Earned tonight: sprint-review flagged the Growth session's #2096 (pod msg 76628) for lacking the credit line. It was right not to carry one, and the rule did not say so.
Docs only, one file. One gate: docs.
🤖 Generated with Claude Code
https://claude.ai/code/session_015NDyNbwmCco62PAAviSL1k