Sign-off
Section titled “Sign-off”Every commit needs a Developer Certificate of Origin sign-off. git commit -s adds it. CI rejects pull requests with unsigned commits.
Checks
Section titled “Checks”CI runs these checks, and scripts/check.sh runs all of them locally. Run it before opening a pull request:
cargo fmt --all -- --checkcargo clippy --workspace --all-targets -- -D warningscargo test --workspace --all-targetsnpx markdownlint-cli2 "**/*.md"The parsers also have cargo-fuzz targets; fuzz/README.md shows how to seed and run them (cargo +nightly fuzz run <target>).
Coding style
Section titled “Coding style”- Rust follows the Rust API Guidelines and the Rust Style Guide, as
rustfmtapplies it with no configuration.cargo fmt --checkenforces it in CI. - Clippy runs with
allandpedanticat-D warnings(Cargo.toml[workspace.lints]);unsafecode is forbidden. A lint is allowed only locally, with a comment saying why. - Public items have doc comments (
missing_docs), andcargo docbuilds without warnings. - Workflows pass
actionlint, and Markdown passesmarkdownlint-cli2with .markdownlint-cli2.jsonc.
- New functionality comes with tests in the same pull request: unit tests next to the code, integration tests under the crate’s
tests/, and conformance vectors for spec behaviour. - A bug fix comes with a regression test that fails without the fix.
- Line coverage of the workspace stays at 80% or more. The
test coveragejob in CI measures it withcargo llvm-covand fails below that; runcargo llvm-cov --workspace --summary-onlyto see it locally. - A change to the lab (
deploy/lab) keepsdeploy/lab/demo.shpassing against both PDPs.
Guidelines
Section titled “Guidelines”- One logical change per commit. Keep refactors apart from behaviour changes.
- Cite the draft section for spec-driven code, and update SPEC-MAP.md when a pinned revision changes.
- Behaviour changes come with conformance vectors, negative cases included. Regenerate with
VISADO_REGENERATE=1 cargo test --workspaceand commit the result. See conformance/README.md. - Security checks fail closed and have negative tests.
Security issues
Section titled “Security issues”Do not open a public issue. See SECURITY.md.
© 2026 The visado Authors. Licensed under Apache-2.0.
Third-party logos are trademarks of their respective owners and are used to show compatibility; their use does not imply endorsement.