gz audit¶
Run ADR audit reconciliation and persist audit artifacts.
Usage¶
Runtime Behavior¶
gz audit is strict post-attestation.
Pool ADRs (ADR-pool.*) are blocked from audit until promoted out of pool.
- If the target ADR has no human attestation event, the command exits non-zero.
- The failure response includes explicit next steps (
gz closeout, thengz attest). --dry-runis non-mutating but still enforces post-attestation gating.
After attestation is present, the command:
- Creates
<adr-dir>/audit/and<adr-dir>/audit/proofs/. - Runs verification commands from manifest defaults (test/lint/typecheck/docs).
- Writes proof files under
audit/proofs/. - Writes
AUDIT_PLAN.mdandAUDIT.md.
If any verification command fails, gz audit exits non-zero.
Options¶
| Option | Description |
|---|---|
--json |
Emit machine-readable results/blockers |
--dry-run |
Show intended actions without writing files |