Skip to content

feat: add live order queue demo - #4

Merged
jh1nresh merged 4 commits into
mainfrom
codex/sllr-live-order-demo
Jul 20, 2026
Merged

feat: add live order queue demo#4
jh1nresh merged 4 commits into
mainfrom
codex/sllr-live-order-demo

Conversation

@jh1nresh

Copy link
Copy Markdown
Owner

Summary

  • add buyer-scoped live queue snapshots with position, orders ahead, live wait, and promised-ready metadata
  • update the Raposa buyer demo to use quote-bound consent, an authenticated buyer session, short polling, in-page status, and optional browser notifications
  • protect merchant order listings, add live merchant-board updates/notifications, and preserve buyer/merchant isolation
  • fix queue ETA alignment so capacity windows return the earliest valid wait instead of an inflated hardcoded offset
  • document the demo flow and extend smoke coverage for tracking, authorization, queue exit, and generated UI behavior

Verification

  • pnpm check
  • cd sllr-agent && npm run check
  • git diff --check
  • scripts/brain containment check --strict
  • browser demo: create order → merchant accepts → marks ready → buyer updates automatically → paid/claimed → canonical receipt appears
  • browser console: no JavaScript errors

Demo boundary

  • live updates use two-second authenticated short polling rather than SSE/WebSockets, matching the current serverless-compatible architecture
  • browser notifications require user permission and HTTPS or localhost; in-page updates remain the guaranteed surface
  • public deployment must configure merchant verifier credentials and SLLR_REQUIRE_BUYER_AUTH=true
  • no new payment rail, deployment, OKX.AI registration, or external notification provider is included

Risk / rollback

The main behavioral changes are protected merchant-list reads and the capacity-aware ETA calculation. Existing smoke coverage exercises both. Rollback is a single revert of this commit.

jh1nresh added 4 commits July 18, 2026 10:02
Add buyer-scoped live tracking, browser notifications, protected merchant queues, and a deterministic capacity-aware ETA fix for the Raposa demo.
@jh1nresh
jh1nresh merged commit 4480bd6 into main Jul 20, 2026
1 check passed
@jh1nresh
jh1nresh deleted the codex/sllr-live-order-demo branch July 20, 2026 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant