Skip to content

docs: require AI attribution footer on comments, not commits#30919

Closed
andig wants to merge 1 commit into
masterfrom
docs/agents-ai-footer
Closed

docs: require AI attribution footer on comments, not commits#30919
andig wants to merge 1 commit into
masterfrom
docs/agents-ai-footer

Conversation

@andig

@andig andig commented Jun 16, 2026

Copy link
Copy Markdown
Member

Document the AI attribution policy so it is unambiguous: AI-authored GitHub comments, reviews and PR/issue descriptions carry the Claude Code footer, while commit messages stay clean. This replaces the previous blanket "no generator footers" note, which conflicted with it.

  • new AGENTS.md § "AI Attribution"
  • footer required on comments, reviews and PR/issue bodies
  • commit messages omit it (and still carry no co-author trailers)

🤖 Generated with Claude Code

AI-authored GitHub comments, reviews and PR/issue descriptions carry the
Claude Code footer; commit messages stay clean. Replaces the previous
blanket no-generator-footers note that conflicted with this.

@sourcery-ai sourcery-ai Bot 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.

Hey - I've left some high level feedback:

  • Consider clarifying what counts as "authored by an AI agent" (e.g., fully generated vs. partially edited by a human) so contributors know when the footer is required.
  • It may be helpful to state whether the footer should be added when editing an existing human-authored comment/PR description that an AI later modifies, or only for newly created AI-authored content.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- Consider clarifying what counts as "authored by an AI agent" (e.g., fully generated vs. partially edited by a human) so contributors know when the footer is required.
- It may be helpful to state whether the footer should be added when editing an existing human-authored comment/PR description that an AI later modifies, or only for newly created AI-authored content.

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@naltatis

Copy link
Copy Markdown
Member

@andig why would we want to add this in PR description? As of right now I expect the majority of PRs to be AI-generated or assisted.

@andig

andig commented Jun 16, 2026

Copy link
Copy Markdown
Member Author

I would prefer to be honest: if I have Claude post in my name then I'm responsible. It still posts things that I do not 100% understand but felt obliged to move forward (see #30878 (comment) for example). This is still AI-generated content and I'd prefer to make that transparent.

@andig andig closed this Jun 17, 2026
@andig andig deleted the docs/agents-ai-footer branch June 17, 2026 18:59
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