Expand description
Contract quality gate: validate + audit + score in one pass.
Runs three sequential gates across all contracts in a directory:
- validate — schema completeness (SCHEMA-001..013, PROVABILITY-001)
- audit — traceability chain (paper→equation→obligation→test→proof)
- score — 5-dimension quality score vs threshold
Extended with SARIF output, rule catalog, config file, and findings.
Spec: docs/specifications/sub/lint.md
Modules§
- cache
- Content-addressable lint cache.
- config
.pv.tomlconfiguration file forpv lint.- diff
- Diff-aware lint: only lint contracts changed since a base ref.
- finding
- Lint findings — individual diagnostics emitted by
pv lintgates. - rules
- Lint rule catalog — every
pv lintrule has an ID, default severity, and description. - sarif
- SARIF v2.1.0 output for
pv lint. - trend
- Quality trend tracking — record and display lint snapshots over time.
Structs§
- Gate
Result - Result of a single gate execution.
- Lint
Config - Configuration for
pv lint. - Lint
Report - Overall lint report.
Enums§
- Gate
Detail - Gate-specific detail payload.
Functions§
- run_
lint - Run all lint gates across a contract directory.