Skip to content

docs: strengthen agent disclosure to cover commits and per-round comments#3071

Merged
mnriem merged 1 commit into
github:mainfrom
mnriem:mnriem/docs-agent-disclosure-commits
Jun 19, 2026
Merged

docs: strengthen agent disclosure to cover commits and per-round comments#3071
mnriem merged 1 commit into
github:mainfrom
mnriem:mnriem/docs-agent-disclosure-commits

Conversation

@mnriem

@mnriem mnriem commented Jun 19, 2026

Copy link
Copy Markdown
Collaborator

Summary

Strengthens the agent disclosure guidance in AGENTS.md so it covers the full PR lifecycle, not just the initial submission. Motivated by PRs where a one-time AI-disclosure paragraph in the PR body does not reflect the agent-authored commits and replies added during review rounds.

Renames "Responding to PR Review Comments""Agent Disclosure for PRs, Comments, and Commits" and expands it into three parts:

  • Commits — require an Assisted-by: <agent> (autonomous|supervised) trailer on every agent-authored commit; ban hiding agent authorship behind the operator's git identity; preserve tool-generated Co-authored-by: trailers (e.g. Copilot Autofix).
  • Comments — keep existing rules and make disclosure per review round; a PR-body disclosure does not cover later comments/commits.
  • Anti-patterns — explicitly forbid replying "Done" / pushing a fix seconds after a review trigger without disclosure, and claiming "reviewed, tested, and understood by me" for commits authored and pushed automatically.

The section now opens by stating disclosure is continuous, not a one-time event.

Scope / limitations

This hardens the norm for agents that read this repo's AGENTS.md (in-repo cloud agents, Copilot coding agent, maintainer sessions). It does not enforce anything on external forks' local agents — that still requires CI / commit-trailer enforcement, which is intentionally out of scope here.

Testing

Documentation-only change; no code or tests affected.

AI Disclosure

  • I did use AI assistance (describe below)

Drafted with GitHub Copilot CLI (model: Claude Opus 4.8) under my direct review and supervision.

…ents

Expand the AGENTS.md PR-review section into a continuous disclosure
policy. Disclosure is no longer a one-time PR-body event:

- Commits: require an Assisted-by: (autonomous|supervised) trailer on
  every agent-authored commit; ban hiding agent authorship behind the
  operator's git identity; preserve tool-generated Co-authored-by lines.
- Comments: re-state agent identity each review round.
- Anti-patterns: forbid replying "Done"/pushing fixes seconds after a
  review trigger without disclosure, and claiming human review for
  automated commits.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings June 19, 2026 19:17

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates AGENTS.md to clarify that AI/agent disclosure is ongoing across the full PR lifecycle (not just a one-time PR-body note), and expands guidance to explicitly cover commit trailers, per-round comment disclosure, and anti-patterns that obscure agent authorship.

Changes:

  • Renames the section to “Agent Disclosure for PRs, Comments, and Commits” and states disclosure is continuous.
  • Adds explicit commit guidance requiring an Assisted-by: trailer including agent + (autonomous|supervised), and preserves tool-generated Co-authored-by: trailers.
  • Adds per-review-round comment disclosure requirements and documents anti-patterns to avoid.
Show a summary per file
File Description
AGENTS.md Expands and restructures agent disclosure guidance to cover commits, per-round comments, and disallowed practices.

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 1/1 changed files
  • Comments generated: 0

@mnriem mnriem requested a review from Copilot June 19, 2026 19:18
@mnriem mnriem merged commit 4ef8f62 into github:main Jun 19, 2026
11 checks passed
@mnriem mnriem deleted the mnriem/docs-agent-disclosure-commits branch June 19, 2026 19:19

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot's findings

  • Files reviewed: 1/1 changed files
  • Comments generated: 0 new

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