diff --git a/docs/02-for-app-authors/02-requirements.md b/docs/02-for-app-authors/02-requirements.md index 614b71b9..ec54f414 100644 --- a/docs/02-for-app-authors/02-requirements.md +++ b/docs/02-for-app-authors/02-requirements.md @@ -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. + +#### 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