comaps/Governance
19
42
Fork
You've already forked Governance
2

Attempt to adapt Forgejo AIAgreement #136

Open
gedankenstuecke wants to merge 10 commits from 20251211-forgejo-aiagreement into main
pull from: 20251211-forgejo-aiagreement
merge into: comaps:main
comaps:main
comaps:zyphlar-patch-2
comaps:ai_usage
comaps:patepelo-spending
comaps:yannikbloscheck-structure
comaps:oleg-rswll-update-contributors-doc
comaps:oleg-rswll-governance-structure
comaps:zyphlar-patch-1
comaps:github_owner
comaps:oleg-rswll-word-update
comaps:oleg-rswll-patch-1

Based on the feedback in #135, I've gone ahead and tried incorporating the Forgejo AIAgreement and expanded it a bit about the background/motivation and necessary license bits.

Based on the feedback in #135, I've gone ahead and tried incorporating the Forgejo AIAgreement and expanded it a bit about the background/motivation and necessary license bits.
AI_USAGE.md Outdated
@ -18,0 +29,4 @@
3. The accountability of using AI in a contribution lies with the person that makes that contribution.
4. All communication, that includes: commit messages, pull request messages, documentation, code comments and issues (and comments on issues/pull requests), that is intended to be read by people to understand your thoughts and work must not have been generated with AI. We exclude machine translation and tooling that helps with grammar and spelling check.
5. Using general AI for review is forbidden. If the change contains changes to the UX it has to be approved by a human reviewer.
6. It is not allowed to use AI in an autonomous-looking way to contribute in Forgejo. This also applies when someone engages in 'vibe coding' or uses so-called 'agent mode'.
Owner
Copy link

Change to CoMaps, but also what does "autonomous looking way" mean? It's unclear what is or isn't allowed overall; we start by saying AI use in code is the committer's responsibility but then we say basically vibecoding is forbidden. Does this mean the only AI usage allowed is narrow AI suggestions or fixes and not "when AI creates a code change (feature, bug fix, tests, refactor) with a human that describes what needs to be implemented."?

Change to CoMaps, but also what does "autonomous looking way" mean? It's unclear what is or isn't allowed overall; we start by saying AI use in code is the committer's responsibility but then we say basically vibecoding is forbidden. Does this mean the only AI usage allowed is narrow AI suggestions or fixes and not "when AI creates a code change (feature, bug fix, tests, refactor) with a human that describes what needs to be implemented."?
Author
Member
Copy link

Will fix the project, good catch.

I interpret 6 to be: You can't just let your "agent" submit PRs on your behalf, you need to have actively engage with the output of the LLM/bot. If you have an "AI" that does all the writing of code for you, you need to have read, understood and edited it to actually work as expected.

Will fix the project, good catch. I interpret 6 to be: You can't just let your "agent" submit PRs on your behalf, you need to have actively engage with the output of the LLM/bot. If you have an "AI" that does all the writing of code for you, you need to have read, understood and edited it to actually work as expected.
Author
Member
Copy link

Also see forgejo/discussions#366 (comment) for a detailed explanation of how the rule ended in the Forgejo agreement :)

Also see https://codeberg.org/forgejo/discussions/issues/366#issuecomment-5897575 for a detailed explanation of how the rule ended in the Forgejo agreement :)
zyphlar marked this conversation as resolved

LGTM. Thank you @jeanbaptisteC and @gedankenstuecke for pulling this.

LGTM. Thank you @jeanbaptisteC and @gedankenstuecke for pulling this.
patepelo approved these changes 2025年12月11日 22:13:41 +01:00
Dismissed

Why not change destination branch to merge directly in the main branch?

Why not change destination branch to merge directly in the main branch?
Author
Member
Copy link

I wanted to suggest it as an improvement to your open WIP work, so that its easier to merge the versions. But if you're happy with it as is, happy to change the destination!

I wanted to suggest it as an improvement to your open WIP work, so that its easier to merge the versions. But if you're happy with it as is, happy to change the destination!
jeanbaptisteC changed target branch from ai_usage to main 2025年12月11日 22:21:08 +01:00
map-per left a comment
Owner
Copy link

LGTM

LGTM
@ -0,0 +30,4 @@
2. If at any point you used AI's work in your contribution you should make an effort to verify that you can submit this under the license of the repository.
3. The accountability of using AI in a contribution lies with the person that makes that contribution.
4. All communication, that includes: commit messages, pull request messages, documentation, code comments and issues (and comments on issues/pull requests), that is intended to be read by people to understand your thoughts and work must not have been generated with AI. We exclude machine translation and tooling that helps with grammar and spelling check.
5. Using general AI for review is forbidden. If the change contains changes to the UX it has to be approved by a human reviewer.

I would say every change (aka pull request) needs to be approved by human reviewer. Not just UX related ones.

I would say every change (aka pull request) needs to be approved by human reviewer. Not just UX related ones.
Author
Member
Copy link

The reasoning for the UX specific mention in forgejo (from here: forgejo/discussions#366 (comment)) was this:

Reviewing code is one part of the review for a PR. Reviewing the changes by pulling the changes locally and launching Forgejo and having a reviewer experience the change is the second part. AI cannot replace this and changes that impact UX should therefore not be reviewed by AI as they are not the consumers of that change.

I left one hole open where AI could be used for review: narrow AI for specific predefined tasks that don't affect UX, something that people would have previously called machine learning (and still should be calling it). One silly example (that could have been implemented without machine learning) is detecting when a code change is made in the wrong area, such as adding new translations to the legacy locale directory.

But I agree that we can for our use case remove that "loophole"

The reasoning for the UX specific mention in forgejo (from here: https://codeberg.org/forgejo/discussions/issues/366#issuecomment-5897575) was this: > Reviewing code is one part of the review for a PR. Reviewing the changes by pulling the changes locally and launching Forgejo and having a reviewer experience the change is the second part. AI cannot replace this and changes that impact UX should therefore not be reviewed by AI as they are not the consumers of that change. > > I left one hole open where AI could be used for review: narrow AI for specific predefined tasks that don't affect UX, something that people would have previously called machine learning (and still should be calling it). One silly example (that could have been implemented without machine learning) is detecting when a code change is made in the wrong area, such as adding new translations to the legacy locale directory. But I agree that we can for our use case remove that "loophole"
yannikbloscheck marked this conversation as resolved
Author
Member
Copy link

I've made one more change not suggested so far, but that I think fits our spirit:

We adapted forgejo's guidance as it's CC BY licensed, so it only seems fair that we release our adapted version under the same terms, even if it's not required due to the lack of virality.

I've made one more change not suggested so far, but that I think fits our spirit: We adapted forgejo's guidance as it's CC BY licensed, so it only seems fair that we release our adapted version under the same terms, even if it's not required due to the lack of virality.

What is the case for App Store review replies for example?

What is the case for App Store review replies for example?
Author
Member
Copy link

To me that falls under All communication, that includes: commit messages, pull request messages, documentation, code comments and issues (and comments on issues/pull requests), that is intended to be read by people to understand your thoughts and work must not have been generated with AI. We exclude machine translation and tooling that helps with grammar and spelling check.

To me that falls under `All communication, that includes: commit messages, pull request messages, documentation, code comments and issues (and comments on issues/pull requests), that is intended to be read by people to understand your thoughts and work must not have been generated with AI. We exclude machine translation and tooling that helps with grammar and spelling check.`
patepelo dismissed patepelo's review 2026年01月09日 20:17:18 +01:00
Reason:

Some things are still open in my opinion

patepelo left a comment
Owner
Copy link

After the last discussions in Zulip, my stand is to consider this as not set hard on stone for all things but a good first step in the right direction. So this can be merge in my opinion and it can be later revised and improved as needed. Thank you @gedankenstuecke and @jeanbaptisteC for your efforts in adding this.

After the last discussions in Zulip, my stand is to consider this as not set hard on stone for all things but a good first step in the right direction. So this can be merge in my opinion and it can be later revised and improved as needed. Thank you @gedankenstuecke and @jeanbaptisteC for your efforts in adding this.

Last question, how to manage code generated by AI cherry pick from OM?

Last question, how to manage code generated by AI cherry pick from OM?
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 20251211-forgejo-aiagreement:20251211-forgejo-aiagreement
git switch 20251211-forgejo-aiagreement
Sign in to join this conversation.
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
7 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
comaps/Governance!136
Reference in a new issue
comaps/Governance
No description provided.
Delete branch "20251211-forgejo-aiagreement"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?