Skip to main content

Module lint

Module lint 

Source
Expand description

vitrify lint — the mechanical authoring checks L1–L12. Named findings {check, subject, cause, remediation}; exit 0 clean / 2 on any finding. The remediation is the edit or the command that resolves it.

L1–L8 hold one SDD to itself. L9–L12 hold it to what lies outside it and that it names: the contracts of other SDDs it pins (L9), its own changelog (L10), the TDD it is derived from (L11), and the units of other SDDs it waits on through pins (L12).

Structs§

Finding
Flags

Constants§

CHECKS
The checks, as the clean line names them.

Functions§

check_all
graph_findings
L12’s findings for inst in the repository’s unit graph: its pins in depends_on whose authority names no units of its SDD; every cycle through pins that runs through one of its units, as the path that closes it; and its units that only wait behind such a cycle. A cycle through pins crosses SDDs, or takes an edge that only a pin makes — a pin of the SDD’s own contract, too. A cycle of the SDD’s units alone is L1’s.
pin_findings
The external contracts of inst that are not ok, as (contract, cause, remediation); at is the SDD as a --sdd value. Lint reports them as L9, and vitrify check as its pin source.
pre_run_findings
Findings of every check except L7 — the resume-tolerant subset the orchestrator preflights with on an Active, partially-built SDD.
run