← All tests

NIX-OS-89 — Cafe-as-master architectural pivot (prod)

Captured from get-coffee.nixtech.app/cafe on 2026-05-08. End-to-end verification of the 8-sub-phase architectural shift (R6.1 → R6.6) that moves Pro reads from Odoo to cafe.* tables and flips Cafe→Odoo writes through the sync worker.

10/10 Playwright + DB checks passed. get-coffee Pro reads now hit zero Odoo round-trips on the critical path — products, customers, payment methods, pos.configs, and POS landing summary cards all served from cafe.*. Customer-create POST writes cafe.customers first then pushes synchronously to Odoo res.partner; product creates queue for the cron-driven sync worker. 8 sub-phases shipped over 2 days (2026-05-07 + 2026-05-08).

get-coffee tenant_config (post-arc)

AxisFlagRead sourceMirror rows
Productsproducts_master = 'cafe'cafe.products + R6.2b mirror DAO17
Customerscustomers_master = 'cafe'cafe.customers + R6.3b mirror DAO2
POS configspos_master = 'cafe'cafe.pos_configs + R6.5 mirror DAO5
Payment methodspos_master = 'cafe' (shared)cafe.payment_methods + R6.5 mirror DAO5
Session summariespos_master = 'cafe' (shared)cafe.sessions + cafe.orders aggregate (R6.6)
Ordersalways cafe (since R5)cafe.orders
Sessionsalways cafe (since R5)cafe.sessions

Headless evidence (JSON, not screenshotable)