Skip to main content

Module audit

Module audit 

Source
Expand description

vitrify audit — the seven checks. Report-only by default; --fix-leases / --apply-stale edit the current worktree and leave committing to the caller. Check 4 runs the SDD’s own Verification commands through crate::gate — the one sanctioned shell use.

Structs§

Flags

Functions§

apply_edits
Apply the audit’s state edits to the working tree — lapsed leases first, then Stale marks — appending one journal event each. Returns (leases released, units marked Stale). The caller regenerates the ledger and commits.
findings
The audit’s findings for one SDD, report-only: no fix is applied and nothing is written. Check 4 runs unless skip_rotten.
run