Offline

Offline Inventory Auto Sync

WP-OFFLINE-OPS-001 ยท Inventory adoption

Receipt, transfer, stocktake and governed adjustment are committed to the durable operational outbox first. Reconnect automatically routes the same identity to canonical inventory authority.

Automatic Reconnect & Reconcile

The runtime acceptance token is stored only in this browser session. No Supabase credential is exposed to the browser.

Automatic reconciliation: Not armed

Stocktake correctness

Stocktake carries the physical countedAt timestamp. Canonical authority reconstructs expected stock from the append-only movement ledger at that timestamp, so later sales, receipts or transfers do not create false variance when an offline count syncs late.

Recent local inventory intents

No inventory intent is stored yet.

Physical acceptance sequence
  1. Open this page online, enter the runtime acceptance token and confirm Automatic reconciliation is Armed.
  2. Disable Wi-Fi and mobile data.
  3. Queue Transfer, Stocktake and Adjustment. Confirm all three appear as pending.
  4. Reload the PWA while still offline and confirm the same three identities remain pending.
  5. Restore connectivity without pressing a manual sync button.
  6. Confirm all three same identities become acknowledged automatically.
  7. Reload again and confirm acknowledged state survives restart.