← All tests

NIX-OS-68B — Polish bucket Tier B LOCAL

Three follow-on polish items from 68A: (1) fix the cashier-deactivate UI race that's been persistent 8/9 on r1-1 all session, (2) codify the stale-dev-server + Hyperdrive-cache + allowedOrigins gotchas in AGENTS.md, and (3) bring stale R1 tests up to the current R1.3.1+ flow so the regression suite turns fully green.

6/6 local Gate 1 checks passed. cashier-tab.tsx now uses an optimistic-active state machine — the Active/Inactive chip flips on click synchronously, with rollback on server-action failure and a useEffect reconciliation when the server prop catches up. AGENTS.md gains a ## Local dev gotchas section with 5 anchors covering all the traps we hit this session. r1-2 now expects the new-tab popup (not the pre-R1.3 in-shell navigation); r1-3 now clicks a cashier tile before expecting the PIN keypad (R1.3.1 added the picker). /cafe/team + /cafe/pos both still 307 — no regression from the cashier-tab edit.
Gate 2 (prod) will prove two things: (1) r1-1's "Inactive chip" assertion passes on every run now, not just every other run — the optimistic flip is deterministic; (2) r1-2 and r1-3 ship from transient-flake status back to green in the regression suite.

00What changed

01Test runner — all checks✓ 6/6 passed

Loading…