Spec Lint Gates
Path:
loom-builder/scripts/spec_lint_gates.pyRelative: scripts/spec_lint_gates.pySubproject: loom-builderCategory: dispatch-scriptsLines: 149Bytes: 6,453Imports: 7Exports: 4
Content Preview
- #!/usr/bin/env python3
- """spec_lint_gates.py — lint dispatch specs for gate governance (N16 + fidelity).
- Checks, per spec file:
- PIN spec's "gates" field matches ^v\\d+\\.\\d+\\.\\d+\\/[a-z0-9-]+$ AND
- resolves through the manifest (full extends chain, hash-verified).
- Violation = FAIL.
- FIDELITY the effective validation set must contain >=1 PRESENCE assertion.
- 100% absence-checks = FAIL (would have caught the 96%-content-loss
- gaming before