Skip to content

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

Closed
mnriem wants to merge 1 commit into
mainfrom
mnriem/docs-agent-disclosure-commits
Closed

docs: strengthen agent disclosure to cover commits and per-round comments#7
mnriem wants to merge 1 commit into
mainfrom
mnriem/docs-agent-disclosure-commits

Conversation

@mnriem

@mnriem mnriem commented Jun 19, 2026

Copy link
Copy Markdown
Owner

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>
@mnriem mnriem closed this Jun 19, 2026
@mnriem mnriem deleted the mnriem/docs-agent-disclosure-commits branch June 19, 2026 19:19
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.

1 participant