Skip to content

feat: tee entitlement model & encrypted store - #67

Merged
daopunk merged 4 commits into
mainfrom
feat/stripe-backend
Sep 9, 2026
Merged

feat: tee entitlement model & encrypted store#67
daopunk merged 4 commits into
mainfrom
feat/stripe-backend

Conversation

@daopunk

@daopunk daopunk commented Sep 9, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Entitlements on CVM: encrypted EntitlementsStore at /data/entitlements.enc (same group-prefs-translation volume), DeriveKey path signal-bot/entitlements, plan SKUs aligned with the site catalog (+ bundle-all-alpha), CRUD / link-token bind / group claim / expiry / alpha-vs-paid composition helpers — no Stripe webhooks or command gating yet.
  • Commerce landings: static /checkout/success, /checkout/cancel, and /alpha routes with shared landing helpers and tests (post-checkout !link code display; alpha explainer).
  • Tracker hygiene: strip scattered issue/PR citations from product docs and code; single index at .agents/docs/github-work-index.md plus always-on Cursor rule.

Closes #53
Closes #62

Test plan

  • cargo test -p signal-bot entitlements_store
  • npm run ci / pnpm run ci (fmt, clippy, coverage ≥90%, commitlint)
  • Confirm compose/phala set ENTITLEMENTS__STORAGE_PATH=/data/entitlements.enc on existing /data mount (no new volume)
  • cd site && npm run test:unit (checkout landing specs)
  • Spot-check docs: no #N outside .agents/docs/github-work-index.md and the no-issue rule’s BAD examples

@daopunk
daopunk merged commit 310479f into main Sep 9, 2026
4 checks passed
@daopunk
daopunk deleted the feat/stripe-backend branch September 9, 2026 02:05
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.

feat: checkout success cancel and alpha claim pages feat: entitlement model and encrypted store on cvm

1 participant