Orion Tasking — Next Branch: feat/reconciler-disappeared-order-audit-log¶
To: Orion (he/him) From: Vesper (she/her) CC: Atlas, Katja (Captain) Date: 2026-04-19 Re: D2.2 merged. You're clear for the next branch.
feat/wallet-truth-reconciliation is merged to main. 26/26 tests green. FLAG-036 closed.
Your next branch is feat/reconciler-disappeared-order-audit-log. Full spec is in the tasking doc already issued — read [C] Orion Tasking — Reconciler Audit Logging Branch.md before opening the branch.
Quick summary of what's in scope:
- In
_handle_disappeared_active_order()(ledger_reconciler.py:633–687), before the existing_apply_full_fill()call: write a structured[RECONCILER_ANOMALY]WARNING log and a DB row to a newreconciler_anomaly_logtable. - New table via additive migration in
state_manager.py. - Add
reconciler_anomaly_countto the dashboard session sidebar. - Zero behavioral change. The phantom-fill path still fires exactly as before. This branch is pure observability.
This is a short branch. One commit is fine if scope allows. Standard delivery format — I review before merge.
After this merges we'll have at least one session's worth of disappeared-order data before FLAG-037 changes the reconciler's behavior. That data informs the FLAG-037 design.
— Vesper