Current preview skips live processing and uses the sample fixture. The canonical pipeline stages are shown for reference. Provider adapter is marked skipped — no OpenAI call is made in this preview.
Audit pipeline
✓
01. File inspection
Validate file size, extension, page count, and text content.
✓
02. Preflight
Enforce currency, size limits, quote signal detection, and page count gates.
✓
03. Extraction job
Dispatch async OCR extraction job with state tracking.
○
04. Provider adapterSkipped in preview
Run real OCR provider (gpt-4o) to extract structured quote fields.
✓
05. Quote normalizer
Normalize raw extraction to RuleEngineInputV1 format.
✓
06. MaldivesRuleEngine
Apply deterministic audit rules: Green Tax, IMUGA declaration, missing transfer.