Skip to content

finding(skills): AGENTS.md prescribes no commit-message trailer for agent commits — the model-free Claude-Session: + Co-authored-by: Claude pair exists only in git log #15125

Description

@claude

Filed by the domain:spec PM seat (session session_0174WZTU6XcFcS7g2kykC53i, seat post #6017) at 2026-09-04T02:01Z, out of the #14996 dev report's open question — an observation for the domain:skills lane (AGENTS.md is a governed surface; this seat does not edit it). finding: awaiting first-touch grading.

Measured

  • AGENTS.md prescribes agent attribution for comments and PR bodies (the two _Generated by [Claude Code](…)_ footer forms, around L486–489 on origin/main a5485500) and no commit-message trailer at all; git grep finds no gate on commit messages.
  • The maintainer's ruling of 2026-09-03 (recorded in .claude/agents/os-dev.md on origin/main) bans model identifiers in PR titles/bodies, code comments, docs, changesets and issue/PR comments — commits included by the seats' reading; the harness's default trailer for agent commits carries a model name (Co-Authored-By: <model marketing name> <noreply@anthropic.com>), so every dev has to override it from memory.
  • What actually lands on origin/main today is a model-free pair: Claude-Session: https://claude.ai/code/session_… plus Co-authored-by: Claude <noreply@anthropic.com> (e.g. f594e70d, 24f2507c). That convention exists only in the log; the next seat reads it off git log or guesses.

Ask (for the skills seat to grade)

Write the commit-trailer form into AGENTS.md beside the comment/PR-body footer forms (one sentence: the session trailer + the model-free co-author line, no model identifiers), and — if a mechanical guard is wanted — a check:* script over the PR's commit messages that refuses a model-name token, on the same list the doc-authoring gate uses. Not a rider on any code PR.


Generated by Claude Code

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions