Skip to content
Draft
Changes from 3 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
76 changes: 51 additions & 25 deletions docs/02-for-app-authors/02-requirements.md
Original file line number Diff line number Diff line change
Expand Up @@ -240,36 +240,62 @@ 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.

Substantial AI use does not, by itself, make an application ineligible for
Flathub. Reviewers may examine the affected content and ask the submitter to
demonstrate that it is understood, maintainable, and compliant with Flathub's
requirements. Any rejection must be based on a substantive requirement that
the application or submission fails to meet, rather than solely on the use of
generative AI.

Applications containing AI-generated content are subject to the general
[Insufficient development history](#insufficient-development-history) policy
on the same basis as other applications.

#### 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.
A submission may be rejected if:

These submissions can be rejected without any further review.
* Known AI-generated content was not disclosed.
* A disclosure was false or materially incomplete.
* AI tools or agents were used to generate or automate submission pull
requests, commit messages, pull request descriptions, review comments, or
replies.
* Generated content fails another applicable Flathub requirement.

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

Exceptions may be granted for mature, well-maintained projects.
The use of generative AI, including substantial use, is not itself a policy
violation. Repeated violations of the disclosure or submission-process
requirements may result in a permanent ban from future submissions and
activities.

## Application ID

Expand Down