Skip to content

docs: Update contribution guidelines to include LLM usage policies - #143

Open
stv0g wants to merge 1 commit into
masterfrom
llm-policy
Open

docs: Update contribution guidelines to include LLM usage policies#143
stv0g wants to merge 1 commit into
masterfrom
llm-policy

Conversation

@stv0g

@stv0g stv0g commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@stv0g
stv0g requested a review from al3xa23 July 31, 2026 06:52
@stv0g stv0g linked an issue Jul 31, 2026 that may be closed by this pull request
n-eiling
n-eiling previously approved these changes Jul 31, 2026

@n-eiling n-eiling 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.

Good idea to add some clarity. I left some comments.

I think the biggest issue other OSS projects have with AI is getting lots of generated issues and review comments. This guideline doesn't include guidance on this. Maybe something like "GitHub is the place where humans interact. PR descriptions, comments and issues should be written by and addressed to humans"?

Comment thread docs/node/development/contributing.md Outdated

- AI / LLM usage does not need to be declared in commit messages via `Co-authored-by`.
- AI / LLM usage should be disclosed in the pull request description.
- The use of these tools is only acceptable when done responsibly, and the resulting changes must remain reviewable by humans.

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.

What does this mean? Maybe specify:

  • PRs must be sized so a human can review them in one sitting.
  • The submitter must understand the change well enough to explain and defend it.

Comment thread docs/node/development/contributing.md Outdated
## LLM / AI Usage Guidelines

- AI / LLM usage does not need to be declared in commit messages via `Co-authored-by`.
- AI / LLM usage should be disclosed in the pull request description.

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.

Should? Why not must? What do you want this to include? This invites short used AI line.

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.

Changed to must

Comment thread docs/node/development/contributing.md Outdated
- AI / LLM usage should be disclosed in the pull request description.
- The use of these tools is only acceptable when done responsibly, and the resulting changes must remain reviewable by humans.
- Review comments must be addressed properly; pull requests that cannot be reviewed by humans, or that ignore reviewer feedback, may be closed or rejected.
- Keep the DCO in mind as well, since AI-generated contributions can create copyright and provenance risks. If in doubt, do not include generated code.

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.

This undercuts the point of this note. You invite AI contributions but then advise not to use them.
Maybe rephrase to something like

  • Signing off means you assert you have the right to submit the code, and that assertion is yours regardless of how the code was produce.

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.

Yes this is true. The main point of this is to put the liability onto the contributor.
I have rephrased it slightly.

Comment thread docs/node/development/contributing.md Outdated
- The use of these tools is only acceptable when done responsibly, and the resulting changes must remain reviewable by humans.
- Review comments must be addressed properly; pull requests that cannot be reviewed by humans, or that ignore reviewer feedback, may be closed or rejected.
- Keep the DCO in mind as well, since AI-generated contributions can create copyright and provenance risks. If in doubt, do not include generated code.
- All VILLAS-related commits made before June 2026 are, to the best of our knowledge, free of AI-generated code.

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 don't think this is true. I used a lot of AI code completion even when I was working more actively on VILLAS, and I assume other contributors did as well. I'd just remove this line.

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.

We discussed to a have a sort of a cut-off date here. Smaller AI-enabled edits like code completion, I would neglect for now. But I would like to have a commit/date after which larger AI-based edits have entered VILLAS

Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
@steffen-vogel-opalrt

Copy link
Copy Markdown
Contributor

@n-eiling I've tried to address your comments in 40df2b1

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

LLM Policy Update in Contribution Guideline

3 participants