Skip to content

Add author disclosure to PR template (incentivizing AI usage disclosure) - #119894

Open
AdriaandeJongh wants to merge 1 commit into
godotengine:masterfrom
AdriaandeJongh:did-you-use-ai-or-not-questionmark
Open

Add author disclosure to PR template (incentivizing AI usage disclosure)#119894
AdriaandeJongh wants to merge 1 commit into
godotengine:masterfrom
AdriaandeJongh:did-you-use-ai-or-not-questionmark

Conversation

@AdriaandeJongh

@AdriaandeJongh AdriaandeJongh commented May 30, 2026

Copy link
Copy Markdown
Contributor

What problem(s) does this PR solve?

The current PR template asks for disclosing AI, but is so lenient about it that at least half of the obviously-AI PRs from the last month or so don’t even bother mentioning it.

It is important for reviewers to know when AI is used or not, and if it was used: to what extent. Not being sure comes to the detriment of first time reviewers as half the time of a reviewer is spent on investigating the PR and author to determine AI usage. This is increasingly demotivating to reviewers. PRs that do not disclose the use of generative AI waste reviewer time with code that makes no sense. Code added by an agent that doesn’t care, can’t take responsibility for it, or can’t continue to maintain it, should not be added to the codebase. It is important for the health of Godot that human made contributions can be reviewed with the attention they deserve. AI use disclose, or non-use disclosure, is part of the solution. This PR makes it more explicit.

Additional information

Please do suggest any improvements you can think of.

Author disclosure

No generative AI was used to make this PR.

@AdriaandeJongh
AdriaandeJongh requested a review from a team as a code owner May 30, 2026 07:23
@AdriaandeJongh
AdriaandeJongh requested review from a team and allenwp and removed request for a team May 30, 2026 07:23
@AThousandShips AThousandShips added this to the 4.x milestone May 30, 2026
@Ivorforce

Ivorforce commented May 30, 2026

Copy link
Copy Markdown
Member

While i agree better info on this would really help, I'm concerned about the community effect:

  • It could be seen as a signal that Godot has "embraced" AI into their workflow.
  • The question as part of the template could be seen as mistrustful or defensive.

This is the reason we originally decided against this heavy handed approach.

I do agree that we already see enough low quality AI PRs that cast a bad rep onto new contributors as a whole, making review more difficult.
But if we go for this we should be aware of the downsides as well.

@Ivorforce

Ivorforce commented May 30, 2026

Copy link
Copy Markdown
Member

A potential way to mitigate point 1 might be to frame it in terms of "AI free" instead of "AI use", though this slightly misrepresents our own rules and slightly exacerbates point two (imo).

@AdriaandeJongh

Copy link
Copy Markdown
Contributor Author

Right! I’ll attempt to reword it with that in mind.

@scgm0

scgm0 commented May 30, 2026

Copy link
Copy Markdown
Contributor

I want to know what it means to use llm ai for code completion? In most cases, the completion results are similar to the previous smart completion.

@allenwp

allenwp commented May 31, 2026

Copy link
Copy Markdown
Contributor

Thanks for exploring this! One consideration is the amount of lines and the amount of words in the PR template: the more text, the less likely people will read it and the more likely people will simply delete it (maybe??)

I also found when testing the original PR that too many lines of text caused the PR template text to overflow the visible text box when working in my web browser so that some of the text would appear “below the fold”, so to speak.

So anyway, all that to say, an alternative may be to simply move the existing single line of text to be under this new heading. It’s succinct and clear and the new heading would force people to take the moment of time to read it and think what they need to write. My gut tells me that people don’t report because they’re not forced to write something and putting a heading will force them to. I’m not sure more text will solve the problem, but also I really don’t know why people may contribute and also not want to do their best to support the practices of the project they’re contributing to. This is not my expertise…

Anyway, the original PR that I authored to change the template was highly scrutinized, but personally I’m not too picky on the details because this template isn’t like engine code that will ship to games with millions of players and difficult to change the behaviour of. We can change this easily and at the drop of a hat.

@Cykyrios

Cykyrios commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Maybe this new section could link to the AI-assisted contributions section of the contributing docs? This would help make it clear that people who open AI-generated PRs without disclosure purposely ignored Godot's AI policy.

@EdwardChanCH

Copy link
Copy Markdown
Contributor

I also found when testing the original PR that too many lines of text caused the PR template text to overflow the visible text box when working in my web browser so that some of the text would appear “below the fold”, so to speak.

As a new volunteer, I agree. I started to Ctrl + A Backspace after reading the original <!-- instructions --> a couple times, so I did not even notice #118855 until I saw all the new PRs having the same headings (I initially thought they were AI-generated spam PRs). Adding an AI usage section at the bottom may have little effect if people overlook it.

I think the <!-- instructions --> can skip the explanations, and instead redirect people to relevant doc pages. Using single-line <!-- --> could also save some space.

Maybe this new section could link to the AI-assisted contributions section of the contributing docs? This would help make it clear that people who open AI-generated PRs without disclosure purposely ignored Godot's AI policy.

Adding onto that, a checkbox, like in Godot Proposal, may be more straightforward:

AI disclosure

[ ] Yes, this pull request follows the AI-assisted contribution guidelines:
https://contributing.godotengine.org/en/latest/pull_requests/pull_request_guidelines.html#ai-assisted-contributions

... and feels less like defending my integrity with "No generative AI was used to make this PR". People who use AI and read the (new) guidelines will know to report their AI usage beneath the checkbox.

@Ivorforce

Ivorforce commented Jun 3, 2026

Copy link
Copy Markdown
Member

I also found when testing the original PR that too many lines of text caused the PR template text to overflow the visible text box when working in my web browser so that some of the text would appear “below the fold”, so to speak.

As a new volunteer, I agree. I started to Ctrl + A Backspace after reading the original <!-- instructions --> a couple times, so I did not even notice #118855 until I saw all the new PRs having the same headings (I initially thought they were AI-generated spam PRs). Adding an AI usage section at the bottom may have little effect if people overlook

I think this is uniquely a 'contributed before' problem. Contributors who are used to delete the template will adjust fast enough. New contributors should honor the template. We'd be willing to close pull requests that ignore the template.

Maybe this new section could link to the AI-assisted contributions section of the contributing docs? This would help make it clear that people who open AI-generated PRs without disclosure purposely ignored Godot's AI policy.

Adding onto that, a checkbox, like in Godot Proposal, may be more straightforward:

AI disclosure

[ ] Yes, this pull request follows the AI-assisted contribution guidelines:
https://contributing.godotengine.org/en/latest/pull_requests/pull_request_guidelines.html#ai-assisted-contributions

This is a decent idea but imo, it strongly exacerbate my point (1) where this framing might be interpreted as "AI is welcome here" to contributors who don't read the guidelines.

@allenwp

allenwp commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

I should also mention that there is another existing PR that is similar to this one that's worth considering: #119242

I've added a comment to #118624 that links to this PR because that discussion explored the advantages and disadvantages of having more headings added to the template.

Personally, I've never been a part of discovering or reviewing a PR that contains AI-assisted content. Instead, my reviews are focused on those that are close to being merged. So I actually have no experience or expertise on the specific subject of AI-assisted contributions.

Besides my comment about how less text may have a higher likelihood of being read than more text, I expect I don't have anything else to contribute to this discussion due to my lack of experience or expertise on the subject of AI-assisted PRs. I'll let others chime in on this PR or #119242.

@charjr

charjr commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

A potential way to mitigate point 1 might be to frame it in terms of "AI free" instead of "AI use"

Just throwing one in:

Disclosure of Ownership

  • I made this PR independently, without use of generative AI in any capacity.
  • I made most of this PR, with partial assistance by generative AI, detailed below:

By lacking the "I blindly shovelled slop in your direction" option, it's implicitly rejected.

Contributors that fail to tick either box or tick the second box without detailing the assistance would be politely prompted to add/fill this section in. Code review would be postponed until the PR is ready.

@AdriaandeJongh
AdriaandeJongh force-pushed the did-you-use-ai-or-not-questionmark branch from 3a33863 to 1ef236b Compare June 13, 2026 12:59
@AdriaandeJongh AdriaandeJongh changed the title Add AI (non-) usage disclosure section to PR template Add author disclosure section to PR template (so that AI usage must be disclosed) Jun 13, 2026
@AdriaandeJongh
AdriaandeJongh force-pushed the did-you-use-ai-or-not-questionmark branch from 1ef236b to 5a80da0 Compare June 13, 2026 13:13
@AdriaandeJongh

AdriaandeJongh commented Jun 13, 2026

Copy link
Copy Markdown
Contributor Author

I updated this PR with a version in which the title is about author disclosure and the invisible comment is about AI use, thus avoiding the "AI is welcome here"-trap (I think).

I should also mention that there is another existing PR that is similar to this one that's worth considering: #119242

Ah yeah, I totally missed this PR. Slightly different approaches...

@Ivorforce Ivorforce left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the new framing! Better than my suggestion. It can also be used to disclose whether any code was copied, or another PR salvaged, which I think is appropriate since it's pretty relevant license wise.

Comment thread .github/PULL_REQUEST_TEMPLATE.md Outdated
@AdriaandeJongh
AdriaandeJongh force-pushed the did-you-use-ai-or-not-questionmark branch from 5a80da0 to e5dac1f Compare June 13, 2026 14:20

@Ivorforce Ivorforce left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's worth trying the effect of this.

We've been rolling with @allenwp's #118855 for a month now and I personally quite like not having to search for the solved problems anymore.
If this does the same for AI disclosures, it will probably be worth it.

Need 1 or 2 more approvals to consider this mergable i'd say.

@charjr

charjr commented Jun 13, 2026

Copy link
Copy Markdown
Contributor

Not a maintainer, but I approve. I appreciate that the wording focuses more on disclosing human authorship.

Will this section be considered mandatory?

@AdriaandeJongh

Copy link
Copy Markdown
Contributor Author

Will this section be considered mandatory?

Good question! As a template, it can be removed by contributors so it is not technically mandatory. However, it can be made mandatory by triage teams and reviewers, in a way that any PR that fails to disclose authorship can be closed. But this also burdens maintainers, so... idk, I wouldn't force it, at least not for now. I think this added section can make it more appealing and attractive to reviewers to focus on and review PRs which indicate no AI usage, which is I think a more positive spin.

@AdriaandeJongh AdriaandeJongh changed the title Add author disclosure section to PR template (so that AI usage must be disclosed) Add author disclosure to PR template (incentivizing AI usage disclosure) Jun 13, 2026
@Strideh

This comment has been minimized.

@Ivorforce

This comment has been minimized.

@AdriaandeJongh

Copy link
Copy Markdown
Contributor Author

@allenwp do you approve of this PR? Any remaining thoughts and feedback?

@akien-mga with the upcoming new AI policy, would this PR be nice to get in? any feedback?

@allenwp

allenwp commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

@allenwp do you approve of this PR? Any remaining thoughts and feedback?

I truly know nothing about AI usage and have zero experience dealing with AI authored PRs, so I don't feel at all comfortable making a call on this. This PR has changes that are very similar to my first attempt at an updated PR template, which was overall poorly received, so I must leave it up to others who are more familiar with the AI subject to decide if it's better or worse than the current template. Maybe AThousandShips or the folks who are currently working on the new AI policy would be best to review this to ensure that it's well-supporting the newly refined policies and communications.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants