Question
Promote accepted ledger totals behind an internal, reversible accounting selector with legacy, shadow, and lineage modes; family-level containment; debug-only comparison diagnostics; cache keys scoped by accounting mode and schema; regression protections; and explicit rollback behavior.
Locked constraints
Do not add a user-facing preference unless upstream requests one. Default remains legacy until promotion approval, then changes to lineage while retaining legacy rollback. Contained families do not force whole-scan fallback and no family may contribute through both accounting paths.
Question
Promote accepted ledger totals behind an internal, reversible accounting selector with legacy, shadow, and lineage modes; family-level containment; debug-only comparison diagnostics; cache keys scoped by accounting mode and schema; regression protections; and explicit rollback behavior.
Locked constraints
Do not add a user-facing preference unless upstream requests one. Default remains legacy until promotion approval, then changes to lineage while retaining legacy rollback. Contained families do not force whole-scan fallback and no family may contribute through both accounting paths.