| <!-- Copyright 2026 The Fuchsia Authors | |
| Licensed under a BSD-style license <LICENSE-BSD>, Apache License, Version 2.0 | |
| <LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0>, or the MIT | |
| license <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your option. | |
| This file may not be copied, modified, or distributed except according to | |
| those terms. --> | |
| # How to contribute | |
| We'd love to accept your patches and contributions to this project. | |
| ## Before you begin | |
| ### Sign our Contributor License Agreement | |
| Contributions to this project must be accompanied by a | |
| [Contributor License Agreement](https://cla.developers.google.com/about) (CLA). | |
| You (or your employer) retain the copyright to your contribution; this simply | |
| gives us permission to use and redistribute your contributions as part of the | |
| project. | |
| If you or your current employer have already signed the Google CLA (even if it | |
| was for a different project), you probably don't need to do it again. | |
| Visit <https://cla.developers.google.com/> to see your current agreements or to | |
| sign a new one. | |
| ### Review our community guidelines | |
| This project follows | |
| [Google's Open Source Community Guidelines](https://opensource.google/conduct/). | |
| ## Contribution process | |
| ### Code reviews | |
| All submissions, including submissions by project members, require review. We | |
| use GitHub pull requests for this purpose. Consult | |
| [GitHub Help](https://help.github.com/articles/about-pull-requests/) for more | |
| information on using pull requests. | |
| ### Local checks and project standards | |
| Before opening a pull request: | |
| - Read [`PRINCIPLES.md`](PRINCIPLES.md), [`THREAT_MODEL.md`](THREAT_MODEL.md), | |
| and [`AGENTS.md`](AGENTS.md) if changing trusted code, audit boundaries, or | |
| Lean specifications. | |
| - Include the project copyright and license header on new source, script, | |
| workflow, and documentation files (see [`AGENTS.md`](AGENTS.md)). | |
| - Run local checks from the repository root: | |
| - `./ci/check_todo.sh` | |
| - `./ci/check_non_stable_version.sh` | |
| - `python3 -B -m unittest discover -s ci -p 'test_*.py'` | |
| - `cargo test --locked` |