solana-program-audit — Spec Compliance (Mode 5)
Arguments: $ARGUMENTS
- Extract a requirement list (Spec-IR) from the supplied spec.
- Run Phase 0 setup + Phase 0.5 Context Reconstruction; map each instruction / state field to the spec's stated behavior.
- Build a Compliance Matrix: each requirement →
[MET]/[VIOLATED-N]/[UNIMPLEMENTED]/[UNDOCUMENTED-BEHAVIOR], cited to codeL#. - Any
[VIOLATED-N]with N≥6 must pass the Rule 5b gate.[UNDOCUMENTED-BEHAVIOR](code does something the spec never authorizes) is itself a finding. - Report the Compliance Matrix + findings.