TruthCurrentOperator4 min

Audit execution truth

How Costframe represents queued, running, partial, failed, completed, report, PDF, and export states.

Implementation checklist

  1. 01Review canonical source before relying on this area.
  2. 02Review states users should trust before relying on this area.

Canonical source

`AuditRun.reportSnapshotJson.execution` stores durable audit execution truth. PDF generation is an export state, not a rerun of the audit.

States users should trust

An audit can complete while the PDF export is still not requested, generating, available, or failed-retryable.

  • Use the audit outcome for collection/detection success.
  • Use report state for report aggregation availability.
  • Use PDF state for the headless-browser export only.
Next

Scope selection and exports

Related docs