Skip to content

AGENTS: add author-identity git rule - #841

Merged
ptr727 merged 1 commit into
developfrom
fix/agents-author-identity
Jul 14, 2026
Merged

AGENTS: add author-identity git rule#841
ptr727 merged 1 commit into
developfrom
fix/agents-author-identity

Conversation

@ptr727

@ptr727 ptr727 commented Jul 14, 2026

Copy link
Copy Markdown
Owner

What

Adds the fleet author-identity git rule to AGENTS.md, inserted in the "Git and Commit Rules" section immediately after the existing signing-rule bullet ("All commits must be cryptographically signed").

Why

A fleet governance audit found this repo's AGENTS.md already carried the signing rule and the default-to-staging rule, but was missing the author-identity rule that the canonical template defines. This change restores consistency across the fleet.

The new bullet requires every agent-authored commit to use the committing account's own GitHub noreply identity (ptr727@users.noreply.github.com for this single-maintainer fleet), never a private, personal, or invented address. It explains the concrete failure modes: a private email trips GitHub's email-privacy push protection (GH007), and an unrecognized/invented author pollutes history. It also clarifies that identity is distinct from signing, while noting the ad-hoc identities that produce a wrong author are typically also unsigned.

Notes

  • Canonical wording inserted verbatim, adjusted only to match this repo's - bullet/separator style.
  • CRLF line endings preserved (per .editorconfig); zero mixed endings; ASCII-only.
  • Targets develop per the release-repo flow. No promotion to main in this PR.

Add the fleet author-identity rule to the git-governance section,
immediately after the signing bullet. Commits must use the committing
account's own GitHub noreply identity (ptr727@users.noreply.github.com
for this fleet), never a private, personal, or invented address. A wrong
identity trips GitHub's email-privacy push protection (GH007) or pollutes
history with an unrecognized author.

This brings AGENTS.md into line with the canonical template, which already
carried the signing and default-to-staging rules alongside this one.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 14, 2026 17:55

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a missing fleet governance git rule to AGENTS.md so agent-authored commits use a correct, non-private author identity and avoid GH007 push protection failures.

Changes:

  • Document that agent-authored commits must use the committing account's GitHub noreply address for both author and committer.
  • Clarify that identity configuration is distinct from commit signing, and call out concrete failure modes of misconfigured identity.

@ptr727
ptr727 merged commit 71465d8 into develop Jul 14, 2026
15 checks passed
@ptr727
ptr727 deleted the fix/agents-author-identity branch July 14, 2026 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants