SHEET-006 // sovereign-stack
bashrs + pmat — Zero-Debt Rust & POSIX CI Workflow
End-to-end Sovereign Stack quality-gate sheet combining bashrs strict shell linting, pmat complexity budgets, and 100% llvm-cov.
Verified Companion Code
#!/usr/bin/env bash set -euo pipefail rustfmt --edition 2021 --check site/prerender/src/*.rs pmat analyze complexity --max-cyclomatic 30 --max-cognitive 25 --path site
sheet.contract.toml
[sheet] id = "SHEET-006" topic = "bashrs-pmat-workflow" max_cyclomatic = 30 max_cognitive = 25 min_line_coverage = 100.0
Verified Output & SHA-256 Receipt
$ bashrs lint --strict sheets/bashrs-pmat-workflow/gate.sh bashrs lint: 0 errors, 0 warnings; pmat complexity: 0 violations (SHEET-006)