Sync Engine Health & Audit Monitor
Real-time stream of Outbox push mutations, monotonic pull cursors, and append-only financial audits
OP
Tenant Isolation Filter
Hibernate tenant filters automatically bind shop_id = :shopId to all MySQL queries via JWT claims.
Append-Only Invoices
Direct updates to bills and ledger rows are rejected at protocol level. Adjustments must arrive as new cancelling documents.
Monotonic Change Cursor
Pull endpoints use monotonic auto-increment sequences (SyncChangeLog.id) to guarantee zero dropped rows.
Live Outbox Push & Change Stream
| Cursor # | Shop & Device | Table & Operation | Record ID | Enforcement Policy | Status | Time |
|---|---|---|---|---|---|---|
| #1042 | दीपक ज्वैलर्स (shop-1) COUNTER1 | billsINSERT | bill-018f9c... | Append-Only Enforced | ACCEPTED | Just now |
| #1041 | श्री लक्ष्मी अलंकार केंद्र (shop-2) COUNTER1 | ledger_entriesINSERT | ledg-018f9b... | Append-Only Enforced | ACCEPTED | 2 mins ago |
| #1040 | दीपक ज्वैलर्स (shop-1) COUNTER2 | customersUPDATE | cust-018f9a... | LWW Applied | ACCEPTED | 5 mins ago |
| #1039 | कल्याण ज्वेलरी मार्ट (shop-3) COUNTER1 | inventory_itemsINSERT | item-018f99... | Master Insert | ACCEPTED | 12 mins ago |