@@ -343,3 +343,50 @@ git rebase --signoff origin/main
343343 ` native-tls ` or ` rustls-tls ` feature definitions:
344344
345345 ![ Screenshot of RustRover] ( .img/rustrover-disable-feature.png )
346+
347+ ## AI policy
348+
349+ This policy is a copy of the [ Forgejo's AI agreement] .
350+
351+ ### Terminology
352+
353+ This does not necessarily reflect the official or commonly used terminology.
354+
355+ Software and services that heavily rely on large language model technology to
356+ generate their outcomes are referred to as _ Artificial Intelligence_ (AI).
357+ Examples of products that fit this definition: GitHub Copilot, ChatGPT, Claude
358+ Sonnet, DeepSeek, Llama and Gemini.
359+
360+ There is a distinction between _ general_ and _ narrow_ AI, all the aforementioned
361+ examples fall under general AI as they were not trained to execute a specific
362+ well-defined task. Narrow AI is trained to be used for specific well-defined
363+ tasks where the problem space is known in advance.
364+
365+ _ Vibe coding_ is the practice where AI creates a code change (feature, bugfix,
366+ tests, refactor) with a human that describes what needs to be implemented.
367+
368+ _ AI agents_ are AIs that are configured to perform interactions or make changes
369+ with little to no human supervision.
370+
371+ ### Agreement
372+
373+ 1 . If content was made with the help of AI, you ** must** convey that this is
374+ the case. This includes content that you authored but was motivated by a
375+ suggestion of AI.
376+ 2 . If at any point you used AI's work in your contribution you should make
377+ an effort to ** verify** that you can submit this under the license of the
378+ repository.
379+ 3 . The ** accountability** of using AI in a contribution lies with the person
380+ that makes that contribution.
381+ 4 . All communication, that includes: commit messages, pull request messages,
382+ documentation, code comments and issues (and comments on issues/pull
383+ requests), that is intended to be read by people to understand your thoughts
384+ and work ** must not** have been generated with AI. We exclude machine
385+ translation and tooling that helps with grammar and spelling check.
386+ 5 . Using general AI for review is ** forbidden** . If the change contains changes
387+ to the user experience it has to be approved by a human reviewer.
388+ 6 . It is ** not allowed** to use AI in an autonomous-looking way to contribute to
389+ the Matrix Rust SDK. This also applies when someone engages in _ vibe coding_
390+ or uses so-called _ agent mode_ .
391+
392+ [ Forgejo ] : https://codeberg.org/forgejo/governance/src/branch/main/AIAgreement.md
0 commit comments