Skip to content

Get rid of LLM disclosure checkboxes - #160785

Open
jyn514 wants to merge 1 commit into
rust-lang:mainfrom
jyn514:no-checkboxes
Open

Get rid of LLM disclosure checkboxes#160785
jyn514 wants to merge 1 commit into
rust-lang:mainfrom
jyn514:no-checkboxes

Conversation

@jyn514

@jyn514 jyn514 commented Aug 9, 2026

Copy link
Copy Markdown
Member

These had a bunch of issues:

  • They're extra work every time someone opens a PR
  • They didn't show up at all if people used gh pr create
  • They had "bad vibes" -- reviewers often don't want to think about LLMs, and adding a checkbox makes them very "in-your-face" for the reviewer.
  • Every PR now shows "1 of 2 tasks", which is useless noise.
  • The hovered PR description is now useless.

Replace them with an HTML comment that says "remember to disclose if you used an LLM". This seems ok and low-noise for now.
If we find that people are ignoring the comment,
we could edit the triagebot welcome message to include a reminder and a link to the policy (cc @Kobzol, i believe you'd planned to do this already).

  • I did not use an LLM to create a change in this PR.
  • I used an LLM to create a change in this PR, and I have explained below how it was used.

These had a bunch of issues:
- They're extra work every time someone opens a PR
- They didn't show up at all if people used `gh pr create`
- They had "bad vibes" -- reviewers often don't want to think about
  LLMs, and adding a checkbox makes them very "in-your-face" for the reviewer.
- Every PR now shows "1 of 2 tasks", which is useless noise.
- The hovered PR description is now useless.

Replace them with an HTML comment that says "remember to disclose if you used an LLM".
This seems ok and low-noise for now.
If we find that people are ignoring the comment,
we could edit the triagebot welcome message to include a reminder and a link to the policy.
@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Aug 9, 2026
@rustbot

rustbot commented Aug 9, 2026

Copy link
Copy Markdown
Collaborator

r? @Mark-Simulacrum

rustbot has assigned @Mark-Simulacrum.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

Why was this reviewer chosen?

The reviewer was selected based on:

  • Fallback group: @Mark-Simulacrum, @jieyouxu
  • @Mark-Simulacrum, @jieyouxu expanded to Mark-Simulacrum, jieyouxu

If you do not check a box, a reviewer may ask you whether an LLM was involved.
If you used an LLM to generate code, please disclose that according to our [guidelines][disclosure guidelines].
LLM contributions are not banned, but are held to a higher standard of review and correctness.
If you do not want your disclosure to be part of the permanent git history, add `<!-- homu-ignore:start` before it.

@asquared31415 asquared31415 Aug 9, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Is the tooling smart enough to not parse the homu-ignore when it's within a comment?

View changes since the review

@theemathas

Copy link
Copy Markdown
Contributor

A potential problem is: If a PR doesn't mention LLMs, we're left guessing whether it's a human who has seen the instructions, or if it's an LLM that hasn't seen the instructions.

@jyn514

jyn514 commented Aug 9, 2026

Copy link
Copy Markdown
Member Author

yes. that’s why the penalty is “a reviewer might ask you whether your PR is LLM-generated”, not “close the PR on sight”.

If you do not check a box, a reviewer may ask you whether an LLM was involved.
If you used an LLM to generate code, please disclose that according to our [guidelines][disclosure guidelines].
LLM contributions are not banned, but are held to a higher standard of review and correctness.
If you do not want your disclosure to be part of the permanent git history, add `<!-- homu-ignore:start` before it.

@joshtriplett joshtriplett Aug 9, 2026

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.

Could we just drop this line instead, please? The disclosure is useful information.

View changes since the review

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

people should have control over what they put in a permanent record.

Please read our [LLM policy] before opening a PR,
and check one of the boxes above to indicate whether you've used an LLM.
If you do not check a box, a reviewer may ask you whether an LLM was involved.
If you used an LLM to generate code, please disclose that according to our [guidelines][disclosure guidelines].

@nnethercote nnethercote Aug 9, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

s/code/any part of this PR, including the PR description/ ?

Point being that the prohibition is on code, comments, docs, and the PR description.

View changes since the review

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Also, the disclosure guidelines don't mention or link to the LLM policy. They briefly mention requiring a mentor, but the general tone makes it sound like LLM-generated contributions are by default accepted.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Oh, I see now the policy is linked to from the parent page (https://rustc-dev-guide.rust-lang.org/llm-guidance.html). But if someone doesn't navigate back to that parent page, the overall tenor of the discussion seems misleading.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

let’s please not turn this into a review of the dev guide by proxy. open an issue or PR there if you want to suggest changes.

s/code/any part of this PR, including the PR description/ ?

👍 i’ll write something up

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

Labels

S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants