-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
docs: introduce AI Policy #20002
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
Merged
Merged
docs: introduce AI Policy #20002
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Low quality contributions from new contributors using AI tools are increasingly becoming a problem. * Reviewers are putting in more effort into PRs than submitters * Submitters are unable to explain their changes * Submitters are falsifying testing data (via LLM hallucinations) * If mentor comments are fed into an AI, the outcome demotivates mentors and is an inefficient use of their time, as their comments provide no lasting educational value. If the burden from these contributions increases, it will lead to maintainer burnout, or removing mentorship opportunities for new contributors. ---- This policy aims to give maintainers a low-effort framework to handle suspected AI-based contributions, allowing mentorship to be redirected towards new human contributors, or established contributors who are trusted to use AI responsibly to augment their work. The restriction: **3 pull requests** was selected because: * The first issue: 'Fix Android Studio Warnings' should not count * Two additional merged pull requests display commitment to the repository and ensure that the developer is able to write code without AI tools. It is assumed that they will be more familiar with project norms and will be able to effectively correct any AI-produced output This policy is light-touch for established contributors: we do not yet have a problem with AI tool usage here and do not want unnecessary processes. I expect that I will enable Gemini & Android Studio integration in 2026, and do not want to throw the baby out with the bathwater. Documenting AI usage will be useful for future enforcement if necessary, as well as building trust in contributors, and informing reviewers of 'risky' areas of the code. "Trivial AI usage" is intentionally left vague, but is expected to include: * rewording sentences & spelling/grammar improvements * code reorganization * minor refactorings * variable names * KDoc creation * producing trivial utility functions Use of AI here is very likely to be correct. Disclosure of tool use is left to the submitter's discretion to reduce unnecessary process. Most GitHub comments should not be using AI. This is defined as "should not" as there are reasonable exceptions, such as mass-translating Crowdin strings when verifying translations Fixes 19741 Assisted-by: GPT-5.2 [Rewording/grammar]
Haz3-jolt
approved these changes
Jan 4, 2026
Contributor
|
Read through this a few times, and I think it's really solid. Should give newcomers a good idea since the guidelines for ai usage were pretty vague before this. |
mikehardy
approved these changes
Jan 6, 2026
Member
mikehardy
left a comment
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 - pretty well thought out at this point, integrated nicely in contrib doc
BrayanDSO
approved these changes
Jan 6, 2026
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Preview:
Low quality contributions from new contributors using AI tools are increasingly becoming a problem.
If the burden from these contributions increases, it will lead to maintainer burnout, or removing mentorship opportunities for new contributors.
Fixes
Approach
Introduce an AI policy (as a living document, subject to change)
This policy aims to give maintainers a low-effort framework to handle suspected AI-based contributions, allowing mentorship to be redirected towards new human contributors, or established contributors who are trusted to use AI responsibly to augment their work.
The restriction: 3 pull requests was selected because:
This policy is light-touch for established contributors: we do not yet have a problem with AI tool usage here and do not want unnecessary processes.
I expect that I will enable Gemini & Android Studio integration in 2026, and do not want to throw the baby out with the bathwater.
Documenting AI usage will be useful for future enforcement if necessary, as well as building trust in contributors, and informing reviewers of 'risky' areas of the code.
"Trivial AI usage" is intentionally left vague, but is expected to include:
Use of AI here is very likely to be correct. Disclosure of tool use is left to the submitter's discretion to reduce unnecessary process.
Most GitHub comments should not be using AI. This is defined as "should not" as there are reasonable exceptions, such as mass-translating Crowdin strings when verifying translations
How Has This Been Tested?
N/A
Learning (optional, can help others)
Assisted-bysuggestionChatGPT said the commit message was too long and too critical 😅
Checklist