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.

bashrs + pmat — Zero-Debt Rust & POSIX CI Workflow cheat sheet preview
Verified CLI Version
bashrs 7.5.0 (commit: b634edc7642354d208deb431a9a6f2c0d76616b1)
Receipt SHA-256
d4cb0cc07a61c129f8eb7125ed0dd3cef2380c1207b0e42265a061b38ec9fab6

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)