Double-entry claim reconciliation
#1 · Domain: Accounting · Category: quality-control · Difficulty: 🟡 Medium
Core principle
Every entry has two sides — claim and evidence. The ledger does not close until they reconcile.
AI problem addressed
Probabilistic confidence scores do not structurally block ungrounded claims.
Implementation
FOR each factual claim C in draft:
IF source(C) EXISTS AND supports(C):
PASS
ELSE:
FLAG(C) or STRIP(C)
Do not deliver until ledger closes (all claims balanced or explicitly marked unknown).
Boundaries
- Prototype as prompt scaffold (🟢) before full pipeline middleware (🟡/🔴)
- Category router:
ai-transfer-quality-control - Catalog:
ai-transfer-ecosystem-primer - Runtime plugin id:
ledger_gate - Also implements:
fact_check_deep,financial_audit - Merge notes: Also absorbs
fact_check_deepandfinancial_audit— same claim/evidence gate.