Skip to content

Commit 83d760d

Browse files
committed
docs: add generative ai contribution guidelines
Initial language
1 parent 7bcbb83 commit 83d760d

File tree

4 files changed

+45
-0
lines changed

4 files changed

+45
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Guidelines for Using Generative AI in Contributions
2+
3+
This document defines rules for contributions where an AI system is the primary author of the code (i.e., most of the pull request was generated by AI).
4+
It applies to all Coder repositories is supplementary to the existing contributing guidelines, not a replacement.
5+
6+
For minor AI-assisted edits, suggestions, or completions where the human contributor is clearly the primary author, these rules do not apply — standard contributing guidelines are sufficient.
7+
8+
## Disclosure
9+
10+
Contributors must **disclose AI involvement** in the pull request description whenever these guidelines apply.
11+
12+
## Human Ownership & Attribution
13+
14+
- All pull requests must be opened under **real user accounts**.
15+
- Contributors are personally accountable for the content of their PRs, regardless of how it was generated.
16+
- Default to draft PRs until work has been tested and reviewed.
17+
18+
## Verification & Evidence
19+
20+
All AI-assisted contributions require **manual verification**.
21+
Contributions without verification evidence will be rejected.
22+
23+
- Test your changes yourself. Don’t assume AI is correct.
24+
- Provide screenshots showing that the change works as intended.
25+
- For visual/UI changes: include before/after screenshots.
26+
- For CLI or backend changes: include terminal or api output.
27+
28+
# Why These Rules Exist
29+
30+
Traditionally, maintainers assumed that producing a pull request required more effort than reviewing it.
31+
With AI-assisted tools, the balance has shifted: generating code is often faster than reviewing it.
32+
33+
Our guidelines exist to safeguard maintainers’ time, uphold contributor accountability, and preserve the overall quality of the project.

docs/about/contributing/CONTRIBUTING.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,11 @@ Breaking changes can be triggered in two ways:
236236
[`release/breaking`](https://github.com/coder/coder/issues?q=sort%3Aupdated-desc+label%3Arelease%2Fbreaking)
237237
label to a PR that has, or will be, merged into `main`.
238238
239+
### Generative AI
240+
241+
Using AI to help with contributions is acceptable, but only if the [AI Contribution Guidelines](./AI_CONTRIBUTING.md)
242+
are followed. If most of your PR was generated by AI, please read and comply with these rules before submitting.
243+
239244
### Security
240245
241246
> [!CAUTION]

docs/images/icons/ai_intelligence.svg

Lines changed: 1 addition & 0 deletions
Loading

docs/manifest.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,12 @@
6464
"description": "Security vulnerability disclosure policy",
6565
"path": "./about/contributing/SECURITY.md",
6666
"icon_path": "./images/icons/lock.svg"
67+
},
68+
{
69+
"title": "AI Contributions",
70+
"description": "Guidelines for AI-generated contributions.",
71+
"path": "./about/contributing/AI_CONTRIBUTING.md",
72+
"icon_path": "./images/icons/ai_intelligence.svg"
6773
}
6874
]
6975
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy