Fixture-only execution · 0 USDC
Batch Document Tie-out Pack
Reconcile OCR-shaped tables against a ledger, retain every discrepancy, and fail closed before release until a reviewer explicitly approves.
Workflow
Auditable tie-out without calling OCR
1
Validate fixtures
Load bounded, explicitly labeled OCR output fixtures and ledger rows. No URL is fetched and no provider is invoked.
2
Reconcile cents
Convert amounts to integer cents, calculate document totals, and compare them to ledger totals using a declared tolerance.
3
Gate release
Record execution/log receipts and Quality Gate evidence. Mismatched batches remain blocked unless approval and a reason are supplied.
node docs/packs/batch-document-tie-out/run.mjs --fixturedocument/ocr is an optional production adapter in the registry snapshot, but this example never calls or imitates it. The checked-in fixture intentionally produces a mismatch to prove the approval gate.