fix: harden POS checkout (server-side pricing, cash validation) and atomic data persistence
HsiehMinChieh+1: Claude Fable 5
946c08b
- Checkout now prices items from server-side product_db/inventory, rejecting tampered client prices
- Reject insufficient cash and non-positive quantities at the API layer
- Atomic data.json writes via temp file + os.replace to prevent corruption
- Microsecond-precision tx_id to avoid same-second collisions
- Mutating endpoints made async to serialize concurrent writes
- Stop tracking __pycache__
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
feat: integrate dual-mode POS and inventory system with data.json persistence and dynamic UI