Skip to content

feat: add live device sessions and signed usage receipts - #41

Merged
EcstaceeLOR merged 2 commits into
mainfrom
issue-31-device-sessions
Sep 13, 2026
Merged

EcstaceeLOR merged 2 commits into
mainfrom
issue-31-device-sessions

Conversation

@EcstaceeLOR

Copy link
Copy Markdown
Owner

Summary

  • add durable two-minute customer-to-device QR handoffs with atomic one-time claims and device-only claim tokens
  • integrate polished customer session and independent device terminal routes into the Vercel frontend
  • require exact machine, payer, order, expiry, active-state, RPC, and controller-wallet invariants before enabling a machine
  • persist controller-signed start/end receipts bound to measured duration and verify them locally in the session and My Rentals screens
  • fail closed on replay, mismatched QR bindings, deactivation, expiry, RPC failure, and invalid stored signatures

Validation

  • all workspace type-checks passed
  • production builds passed for device, web, worker, and contracts
  • web unit tests: 48 passed
  • relay tests: 23 passed, 1 PostgreSQL integration test skipped locally
  • device tests: 6 passed
  • browser suite: all 7 flows passed across the combined full run and focused network-retry rerun
  • two-browser E2E covers wrong machine, wrong payer, QR claim, start, refresh recovery, stop, local receipt verification, My Rentals recovery, and replay rejection
  • staged secret audit passed; no .env, BUIDL ID, or submission artifact is included

Closes #31

@vercel

vercel Bot commented Sep 13, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
proofkey Ready Ready Preview Sep 13, 2026 3:11pm UTC

@EcstaceeLOR
EcstaceeLOR merged commit 7c30625 into main Sep 13, 2026
4 checks passed

This branch was successfully deployed

1 active deployment
Preview — b55aab53 Deployed Sep 13, 2026 by vercel[bot]
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.

P1: Add live device sessions, QR handoff, and signed usage receipts

1 participant