Demo script
- tags
- #note#hackathon
- reading
- 2 min · 334 words
- links
- 1 out · 0 in
What the demo proves, and what is simulated, must be said out loud.
Setup
pnpm install && pnpm build:extension
Chrome → chrome://extensions → Developer mode → Load unpacked →
apps/extension/dist. In the popup's Settings & privacy, set a coarse
region and keep Compare with synthetic fixtures (demo) on.
Flow
- Open iFood in your own logged-in session and add one açaí 500 ml to the bag. (If the tab was open before installing, the popup offers Reload iFood tab.)
- Context: the popup header shows
CART/CHECKOUTwith the detection signals in the tooltip; the on-page badge appears (Shadow DOM, bottom right). - Extraction: Breakdown shows subtotal, delivery fee, service fee, discount and total, each with a confidence and the DOM evidence (tooltip), plus whether the total reconciles.
- MarketObservation: the checkout is recorded locally as
browser-extension / live / non-synthetic(service-worker console shows a structuredobservation.recordedlog). - Comparison: "Your checkout is R$X. Comparable observations range from … " — with Includes synthetic fixture data when fixtures are used, or Not enough fresh market data.
- Intent: type
quero açaí até R$25→ Find better option. - Recommendation: best option, total, savings vs median and vs your
checkout, confidence, freshness, the score formula and every rejection
reason. Fixture/other-account options are labelled market reference —
verify in
; your current checkout is the only executable option. - Pix + Solana: on the Pix screen, the popup shows the detected Copia e Cola payload (CRC valid), amount and expiry. The Cloak shield is real on Solana mainnet (1.000000 USDC confirmed); the off-ramp → Pix settlement remains disabled until a licensed provider is integrated. Show the mainnet proof.
Limits to state during the demo
- Extractors were developed against synthetic HTML modelled on iFood; real pages may need selector/label calibration.
- Rappi and 99Food data are synthetic fixtures.
- No merchant Pix settlement is executed. The privacy funding step (Cloak shield) is real on Solana mainnet.
Linked mentions 0
No other note links here yet.