-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
[docs] Add AI-assisted contribution policy #17043
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: trunk
Are you sure you want to change the base?
Conversation
PR TypeDocumentation Description
|
| Relevant files | |||||
|---|---|---|---|---|---|
| Documentation |
|
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
|||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR introduces an explicit AI-assisted contribution policy and aligns the pull request template with that policy so contributors can transparently disclose AI usage. The goal is to keep maintainers and contributors on the same page about acceptable AI use, disclosure expectations, and accountability.
Changes:
- Add an "AI-assisted contributions" section to
CONTRIBUTING.mdcovering human accountability, disclosure, no autonomous agents, and copyright responsibility. - Update
.github/PULL_REQUEST_TEMPLATE.mdto include an "AI assistance" section with required checkboxes and fields for tool names and generated content.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| CONTRIBUTING.md | Adds a concise AI-assisted contribution policy detailing expectations for human review, disclosure, agent usage, quality, and copyright. |
| .github/PULL_REQUEST_TEMPLATE.md | Extends the PR template with an AI assistance disclosure section aligned with the new CONTRIBUTING policy. |
47ade44 to
b02b482
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like it 👍
We should add a "AI-generated" (or something) label in GitHub, so we can just add that to PR's that violate the policy and they will close with wording similar to what LLVM does:
"This PR doesn't appear to comply with our policy on tool-generated content,
and requires additional justification for why it is valuable enough to the
project for us to review it. Please see our developer policy on
AI-generated contributions: LINK HERE"
|
GitHub is also looking into changes to help with this: |
We need an explicit AI contribution policy so we're all on the same page
I don't think we're actually seeing a lot of AI slop right now, but that can change.
💥 What does this PR do?
Adds an AI-assisted contribution policy to CONTRIBUTING.md and updates the PR template to include AI disclosure fields.
Policy covers:
PR template adds:
🔧 Implementation Notes
Policy is inspired by the LLVM Project AI Tool Use Policy
Kept the policy short and enforceable rather than comprehensive.
🤖 AI assistance
💡 Additional Considerations
🔄 Types of changes