Skip to content

Commit 13daf60

Browse files
authored
chore(docs): require contributors to disclose their use of AI (#11988)
* note on contributions assisted by AI * fixes * nit
1 parent c34a33e commit 13daf60

File tree

1 file changed

+25
-2
lines changed

1 file changed

+25
-2
lines changed

CONTRIBUTING.md

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,31 @@ around bugs and participate in reviewing PRs.
3333

3434
### Contributions Related to Spelling and Grammar
3535

36-
At this time, we will not be accepting contributions that only fix spelling or grammatical errors in documentation, code or
37-
elsewhere.
36+
At this time, we will not be accepting contributions that only fix spelling or grammatical errors in documentation, code or elsewhere.
37+
38+
### Contributions Assisted by AI
39+
40+
If you are using any kind of AI assistance while contributing to Foundry,
41+
**this must be disclosed in the pull request**, along with the extent to
42+
which AI assistance was used (e.g. docs only vs. code generation).
43+
44+
If PR responses are being generated by an AI, disclose that as well.
45+
46+
As a small exception, trivial tab-completion doesn't need to be disclosed,
47+
so long as it is limited to single keywords or short phrases.
48+
49+
An example disclosure:
50+
51+
> This PR was written primarily by Claude Code.
52+
53+
Or a more detailed disclosure:
54+
55+
> I consulted ChatGPT to understand the codebase but the solution
56+
> was fully authored manually by myself.
57+
58+
Failure to disclose this makes it difficult to determine how much scrutiny to apply to the contribution as it is unclear how much the contributor themselves understands the code they propose to merge.
59+
60+
If you do not disclose your use of AI assistance and reviewers suspect your contribution to be AI generated, it will likely be refused on those grounds.
3861

3962
### Asking for help
4063

0 commit comments

Comments
 (0)