Skip to content

Upgrade contribution policy and AI usage#4989

Open
unsuman wants to merge 1 commit into
lima-vm:masterfrom
unsuman:update-contribution-policy
Open

Upgrade contribution policy and AI usage#4989
unsuman wants to merge 1 commit into
lima-vm:masterfrom
unsuman:update-contribution-policy

Conversation

@unsuman
Copy link
Copy Markdown
Member

@unsuman unsuman commented May 15, 2026

Fixes #4982

@unsuman unsuman added this to the v2.1.2 milestone May 15, 2026
Comment thread .github/PULL_REQUEST_TEMPLATE.md Outdated

## Linked Issue (Required in most cases)

<!-- Link the issue here. The issue must be approved by a maintainer ("yes" or ready-to-work label), unless your PR is an allowed exception. -->
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.

Suggested change
<!-- Link the issue here. The issue must be approved by a maintainer ("yes" or ready-to-work label), unless your PR is an allowed exception. -->
<!-- Link the issue here. If your issue is not approved by a maintainer, don't expect your PR to be merged. -->

It is ok to submit a PR ahead of approval.
They just have to keep in mind that they may end up in wasting their time, LLM token cost, etc.

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.

Probably too lengthy

Comment thread website/content/en/docs/community/contributing.md Outdated
Comment thread website/content/en/docs/community/contributing.md Outdated

**Not allowed:**

- Listing an AI tool as a co-author.
Copy link
Copy Markdown
Member

@AkihiroSuda AkihiroSuda May 15, 2026

Choose a reason for hiding this comment

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

We can allow this. Being an author in GitHub is different from being an author in academic papers.

Copy link
Copy Markdown
Member

@afbjorklund afbjorklund May 16, 2026

Choose a reason for hiding this comment

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

They will not get any copyright, though. Even after being listed as author, at least not with current laws.

Copyright The Lima Authors.


- Listing an AI tool as a co-author.
- Co-signing commits with an AI tool.
- Using `assisted-by`, `co-developed`, or similar commit trailers for AI tools.
Copy link
Copy Markdown
Member

@AkihiroSuda AkihiroSuda May 15, 2026

Choose a reason for hiding this comment

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

This contradicts with PULL_REQUEST_TEMPLATE, which recommends assited-by trailer

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.

And it is probably better to have the ads in the machine-readable trailer, than in the text...

    🤖 Generated with [Claude Code](https://claude.com/claude-code)

So using Assisted-by at least puts it all in the same place, and makes it easier to hide.

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.

I thought only to add the trailer in the PR desc but there are no downsides to adding it to commit messages as well

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.

No downsides?

@AkihiroSuda AkihiroSuda removed this from the v2.1.2 milestone May 15, 2026
@AkihiroSuda
Copy link
Copy Markdown
Member

Let me remove this from the v2.1.2 milestone, as it may take more time for discussion.

@resker
Copy link
Copy Markdown

resker commented May 16, 2026

You might also consider an agents.md at the root of the project even if only to guide how you do / don't want it to behave (and as you suggest economize on token cost). For context, I've observed this being used to good effect:

https://github.com/NVIDIA/aicr/blob/main/AGENTS.md

@afbjorklund
Copy link
Copy Markdown
Member

afbjorklund commented May 16, 2026

In the issue there were only two git rules being discussed, for Signed-off-by and for Assisted-by.

It would be better to list those explicitly here, preferably also with links to DCO and to "Linux" policy?

There were some other projects having other rules for Author and Co-Authored-By - but not Lima (yet).

It is probably not a bad idea to have a copy of the DCO in the repository? https://developercertificate.org/

@unsuman
Copy link
Copy Markdown
Member Author

unsuman commented May 16, 2026

https://github.com/NVIDIA/aicr/blob/main/AGENTS.md

Thanks, but maybe in a separate PR or issue.

Fixes lima-vm#4982

Signed-off-by: Ansuman Sahoo <anshumansahoo500@gmail.com>
@unsuman unsuman force-pushed the update-contribution-policy branch from 98c24a9 to 991780d Compare May 16, 2026 16:47
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.

Update contribution policy to tackle AI generated pull requests

4 participants