Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 35 additions & 27 deletions docs/02-for-app-authors/02-requirements.md
Original file line number Diff line number Diff line change
Expand Up @@ -240,36 +240,44 @@ removed from the store.

### Generative AI policy

This policy applies to both the application being submitted to Flathub
and the Flathub submission itself, including the manifest, metadata,
patches, build scripts, and pull request. For the purpose of this
policy, "applications" include Flatpak apps, BaseApps, extensions,
runtimes and any other artifacts that can be produced by
flatpak-builder.

Submission pull requests must not be generated, opened, or automated
using AI tools or agents. Review comments, reply, descriptions also
must not be be LLM-generated

Please also do not request review from any AI tools in the submission
PR. Automated Copilot reviews on GitHub can be disabled by the
submitter by going to [Copilot settings](https://github.com/settings/copilot/coding_agent)
and changing `Repository access` to exclude the `flathub` repository or
disabling the global `Automatic Copilot code review`
This policy applies to both the application being submitted to Flathub and the
Flathub submission itself, including the manifest, metadata, patches, build
scripts, pull request description, and review interactions. For the purpose of
this policy, "applications" include Flatpak apps, BaseApps, extensions,
runtimes and any other artifacts that can be produced by flatpak-builder.

Submitters must disclose any AI-generated code, documentation, or other content
they know is included in the application. The disclosure must say which parts
are affected and roughly how much was generated.

Using AI for research, discussion or debugging does not need to be disclosed if
no generated code or content was added to the application.
Minor uses such as grammar or formatting fixes and small amounts of common
boilerplate are generally acceptable. AI use is substantial when it creates
core features, determines the main design of the application, or accounts for
a large part of the project's code or development history.

The Flathub reviewers may request additional information and will decide
whether the disclosed use is acceptable.
Comment on lines +243 to +261

@CodedOre CodedOre Jul 28, 2026

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Just an idea for rewording this:

Suggested change
This policy applies to both the application being submitted to Flathub and the
Flathub submission itself, including the manifest, metadata, patches, build
scripts, pull request description, and review interactions. For the purpose of
this policy, "applications" include Flatpak apps, BaseApps, extensions,
runtimes and any other artifacts that can be produced by flatpak-builder.
Submitters must disclose any AI-generated code, documentation, or other content
they know is included in the application. The disclosure must say which parts
are affected and roughly how much was generated.
Using AI for research, discussion or debugging does not need to be disclosed if
no generated code or content was added to the application.
Minor uses such as grammar or formatting fixes and small amounts of common
boilerplate are generally acceptable. AI use is substantial when it creates
core features, determines the main design of the application, or accounts for
a large part of the project's code or development history.
The Flathub reviewers may request additional information and will decide
whether the disclosed use is acceptable.
The use of AI for research, discussion or
debugging does not need to be disclosed if
no generated code or content was added to
the application.
Minor uses, such as grammar or formatting
fixes and small amounts of common boilerplate
are generally acceptable.
Larger uses, such as generating large parts
of the code or using AI in the software design
process are considered substantial use and are
subject to an case-by-case determination by
the reviewer, who may or may not decide the
use to be acceptable.
"Vibe-coded" application which were mostly or
fully created by AI will not be accepted.
The Flathub reviewers may request additional
information and will decide whether the
disclosed use is acceptable.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

With this one every vibecode dev will say "mine is not, i reviewed it" and argue.
it also goes the relaxing from "no AI" to "It's possibly ok we need to check", which may as well be a giant "slop welcome" sign

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

AI can do good contributions if the instructions are clear. I use AI and members of flathub does as well.

It was already discussed and the consensus is that a simple ban to anything that was made with help of AI is unfair.

@teamcons teamcons Jul 28, 2026

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

even if it did technically the best contributions ever, completely allowing it is not acceptable to communities.

it was not already discussed. A few people gave their two cents once on a matrix channel.

The current draft is fine to me. Blanket allowing AI is not.
What would be good here is a middle ground, and this is it. Do not push things in a binary yes or no.


#### Submission pull requests

Pull requests, commit messages, PR descriptions, review comments and replies
must not be generated or automated using AI tools or agents.

Please do not request review from any AI tools in the submission PR. Automated
Copilot reviews on GitHub can be disabled by the submitter by going to [Copilot
settings](https://github.com/settings/copilot/coding_agent) and changing
`Repository access` to exclude the `flathub` repository or disabling the global
`Automatic Copilot code review`
[setting](https://github.com/settings/copilot/features).

Applications containing AI-generated or AI-assisted code,
documentation, or any other content are not allowed.
#### Enforcement

Applications or changes containing unauthorised copyrighted material,
license-incompatible, or ethically questionable code are not allowed.

These submissions can be rejected without any further review.

Repeatedly violating these policies may result in a permanent ban from
future submissions and activities.

Exceptions may be granted for mature, well-maintained projects.
Undisclosed or materially misrepresented AI-generated content, or AI-generated
submission and review interactions, may result in rejection. Repeated
violations may result in a permanent ban from future submissions and
activities.

## Application ID

Expand Down