Skip to content

Add Generative AI disclosure policy to contribution guidelines and PR template#3640

Draft
shlokgilda wants to merge 9 commits intochaoss:mainfrom
shlokgilda:fix/issue-3371-ai-disclosure-policy
Draft

Add Generative AI disclosure policy to contribution guidelines and PR template#3640
shlokgilda wants to merge 9 commits intochaoss:mainfrom
shlokgilda:fix/issue-3371-ai-disclosure-policy

Conversation

@shlokgilda
Copy link
Collaborator

Description: Adds an AI disclosure policy to Augur, covering two files:

Notes for Reviewers: This is a draft for all maintainers to workshop. A few things worth discussing:

  • Wording of the three PR template sub-questions — is "What did you change after review?" the right framing?
  • Whether the "Engage as yourself" requirement is too prescriptive or about right
  • The enforcement section intentionally defers to the existing CHAOSS Code of Conduct rather than defining new consequences
  • I have added the references that I used to draft the policy in CONTRIBUTING.md. Is that the norm or no?
  • Commit trailers (Assisted-by:) and AGENTS.md are intentionally left out for now

References used: ada-url, Zulip, LLVM, Linux Foundation.

Signed commits

  • Yes, I signed my commits.

AI Disclosure: Used Claude to improve grammar.

… template

Signed-off-by: Shlok Gilda <gildashlok@hotmail.com>
@sgoggins sgoggins added the usability Usability related issues (bugs, features, etc) label Feb 2, 2026
Copy link
Contributor

@MoralCode MoralCode left a comment

Choose a reason for hiding this comment

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

Initial first pass review - i think we can maybe also refactor the may short middle sections into a different structure ( short paragraphs?) that says the same thing but may take up less space?

Unsure. will discuss over the coming days

Overall this is a great start!


## Related issues/PRs
- This is a bulleted list of any related issues/PRs; leave blank if there are none No newline at end of file
- This is a bulleted list of any related issues/PRs; leave blank if there are none
Copy link
Contributor

Choose a reason for hiding this comment

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

we should maybe have this be a comment so that we dont have this text appearing in every PR if it is not edited

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Good call, will wrap the placeholder text in comments so it doesn't clutter PRs.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I could wrap all placeholder texts in this file: "Changeset," "Notes," and "Related issues/PRs". Slightly out of scope of this PR but if it's okay, I can do it. LMK.

CONTRIBUTING.md Outdated

## Generative AI Policy

You can use AI tools to help with your contributions. **You are the author, and you are accountable for the result.**
Copy link
Contributor

Choose a reason for hiding this comment

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

i worry that people will read this first sentence and then be like "ok cool, its allowed" and then turn their brains off and not read the rest of the policy

Suggested change
You can use AI tools to help with your contributions. **You are the author, and you are accountable for the result.**
We allow contributions that utilize generative AI tools provided they follow our policy of responsible AI use. This policy boils down to: **You, the author, are responsible for ensuring any contributions under your name**. These policies are primarily designed to ensure that the Augur project remains sustainable and healthy into the future.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I get the concern about people reading the first line and tuning out. Your version is a bit wordy though. How about something like: "You can use AI tools to help with your contributions, subject to the requirements below. You are the author, and you are accountable for the result." Keeps it concise but signals there's more to read?

shlokgilda and others added 3 commits February 3, 2026 11:08
Co-authored-by: Adrian Edwards <17362949+MoralCode@users.noreply.github.com>
Signed-off-by: Shlok Gilda <gildashlok@hotmail.com>
Co-authored-by: Adrian Edwards <17362949+MoralCode@users.noreply.github.com>
Signed-off-by: Shlok Gilda <gildashlok@hotmail.com>
Co-authored-by: Adrian Edwards <17362949+MoralCode@users.noreply.github.com>
Signed-off-by: Shlok Gilda <gildashlok@hotmail.com>
@shlokgilda
Copy link
Collaborator Author

Will look at consolidating the shorter sections once the other changes land. Might be easier to evaluate the length/structure after the content is finalized.

Signed-off-by: Shlok Gilda <gildashlok@hotmail.com>
@MoralCode MoralCode added the devops Development Operations label Feb 8, 2026
Consolidates the AI disclosure section into the actual default PR
template (pull_request_template.md) and removes the unused
PULL_REQUEST_TEMPLATE/ directory that wasn't auto-populating.

Signed-off-by: Shlok Gilda <gildashlok@hotmail.com>
Copy link
Contributor

@MoralCode MoralCode left a comment

Choose a reason for hiding this comment

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

added some feedback since i saw there were new commits here

CONTRIBUTING.md Outdated

1. **Disclose AI use.** Complete the AI disclosure section in the PR template. This is mandatory. If no AI was used, check the "No generative AI" box — that's a valid answer, and it helps us distinguish from incomplete templates.

2. **Review before submitting.** Read and test all AI-generated code or text before asking maintainers to review it. If you can't explain why a change works, it's not ready for a maintainer to review. If your changes are too long for you to read and review, that is a good indication that they are also too long for maintainers to read.
Copy link
Contributor

Choose a reason for hiding this comment

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

maybe a better way to title this is "human in the loop"/human responsibility

CONTRIBUTING.md Outdated
Comment on lines 91 to 93
Reviewing contributions takes real time and energy. Submitting unreviewed AI output shifts that burden onto maintainers — this is sometimes called an "extractive contribution."

Disclosure matters because:
Copy link
Contributor

Choose a reason for hiding this comment

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

the transition from unreviewed to undisclosed here seems strange

CONTRIBUTING.md Outdated

- **Respect.** Discovering a PR was unreviewed AI output after spending time on it feels like a waste. Telling us upfront lets us calibrate.
- **Research.** Augur measures open source community health. Understanding how AI tools are used in our own community is directly relevant to our mission.
- **Honesty.** Citing your tools is the same principle as citing Stack Overflow. It builds trust.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
- **Honesty.** Citing your tools is the same principle as citing Stack Overflow. It builds trust.
- **Honesty.** Citing your sources is the difference between plagiarism and reusing/adapting ideas. You should cite the tools you use, whether that is Stack Overflow or an AI tool. It also helps build trust.

Comment on lines 100 to 104

This applies to all contributions: code, issues, PR comments, documentation.

**Disclose:** code generation, test generation, documentation drafting, AI-assisted code review, substantial refactoring suggestions.

Copy link
Contributor

Choose a reason for hiding this comment

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

this seems a bit redundant with what has already been said above

Suggested change
This applies to all contributions: code, issues, PR comments, documentation.
**Disclose:** code generation, test generation, documentation drafting, AI-assisted code review, substantial refactoring suggestions.

CONTRIBUTING.md Outdated

**Disclose:** code generation, test generation, documentation drafting, AI-assisted code review, substantial refactoring suggestions.

This policy covers generative AI tools specifically. Non-generative tools like spell check, grammar correction, syntax highlighting, and basic IDE autocomplete are not in scope.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
This policy covers generative AI tools specifically. Non-generative tools like spell check, grammar correction, syntax highlighting, and basic IDE autocomplete are not in scope.
This policy covers generative AI tools, especially (but not only) when used for contributing code, issues, PR comments, and documentation. Non-generative tools like spell check, grammar correction, syntax highlighting, and basic/deterministic IDE autocomplete are not in scope.

Copy link
Contributor

Choose a reason for hiding this comment

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

this combines the deleted part above to be more concise without repeating stuff.

CONTRIBUTING.md Outdated

### Quality standards

AI-assisted contributions are held to the **same bar** as everything else. Good code is good code regardless of how it was written. Bad code gets rejected regardless of how it was written.
Copy link
Contributor

Choose a reason for hiding this comment

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

we should probbaly soften this language so we arent accusing anyone with a closed PR of having "bad code"

…ment guidelines

Signed-off-by: Shlok Gilda <gildashlok@hotmail.com>
Signed-off-by: Shlok Gilda <gildashlok@hotmail.com>
@shlokgilda
Copy link
Collaborator Author

Pushed an update addressing the new feedback:

  • Renamed "What we require" → "Your Responsibility"
  • Reordered requirements so "Review your own work" comes first, then "Disclose"
  • Rewrote "Why we ask" around the honesty/citation framing
  • Removed "Quality standards" section (redundant) and consolidated "What counts" into one paragraph
  • Softened enforcement language. No more "bad code gets rejected"

Also added a general ## Contribution Guidelines section above the AI policy based on our earlier conversation about setting baseline expectations for all contributions. Figured this was a good place to land it since we're already touching CONTRIBUTING.md.

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

Labels

devops Development Operations usability Usability related issues (bugs, features, etc)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Proposal: Add generative AI disclosure checkbox next to the DCO checkbox in the PR template

3 participants