Problem
DEMO_SENDERS.has(t.sender) is exact-match: SAM@BUYER.COM bypasses the demo filter and lands in the real dashboard.
Where
lib/demo.ts (isDemoTicket).
Acceptance
Add a failing test first asserting isDemoTicket({sender: "SAM@BUYER.COM"}) returns true. Then fix.
Problem
DEMO_SENDERS.has(t.sender)is exact-match:SAM@BUYER.COMbypasses the demo filter and lands in the real dashboard.Where
lib/demo.ts(isDemoTicket).Acceptance
Add a failing test first asserting
isDemoTicket({sender: "SAM@BUYER.COM"})returns true. Then fix.