Billing & commerce — documentation index
Version: 1.3
Last Updated: 2026-08-06 13:33:14
This folder is the single entry point for Stripe subscriptions, tier entitlements, pricing operations, and billing engineering detail.
Core documents
Section titled “Core documents”| # | Document | Role |
|---|---|---|
| 18 | 18-STRIPE-GLOBAL-PRICING.md | Pricing model, Adaptive Pricing, FX preview, price rotation, tier seeding |
| 21 | 21-STRIPE-LIVE-SWITCHOVER.md | Stripe test → live flip — pre-flight, sequential flip, verification, rollback |
| 22 | 22-BILLING-PRICING-REFERENCE.md | Authoritative price tables for live switchover (tiers, packs, add-ons) |
| 23 | 23-SUBSCRIPTION-TIER-ENTITLEMENTS-MATRIX.md | Per-tier feature gates — aligned with 02-REQUIREMENTS.md §2.2 |
| 24 | 24-SUBSCRIPTION-BILLING-AND-TIER-LIMITS.md | Limits, coupons, UpgradeGate, APIs, signup/upgrade journeys |
| 25 | 25-SUBSCRIPTION-VS-CARE-PROFILES.md | Subscription vs Care Profile differentiation |
| 26 | 26-CARE-PROFILE-VALUE-DEFINITION.md | Paid profile UX/value gap, market research — executive summary |
| 27 | care-profile-specs/ | Per-profile function point specifications (12 docs) |
| 28 | 28-CANCER-AT-HOME-LEARNING-SPEC.md → LEARNING-CANCER-AT-HOME.md | Cancer learning template — user + marketing function points (copy for other profiles) |
| 29 | **29-CARE-MODULE-UI-ARCHITECTURE.md | Care Module UI — shared board, CaptureSession, zone engine, care_module_events (Phase A shipped; preview user id 1) |
| 30 | **30-CARE-MODULE-PLUGIN-ARCHITECTURE.md | Care Module plugins — dual kill switch, CARE_MODULE_PREVIEW_USER_IDS, repo layout |
Related documents (outside this folder)
Section titled “Related documents (outside this folder)”| Document | Role |
|---|---|
| ../01 - BUSINESS REQUIRMENTS/02-REQUIREMENTS.md | Master product requirements — REQ-BILL-* and §2.2 tier snapshot |
| ../01 - BUSINESS REQUIRMENTS/31-REQUIREMENTS-CODE-MARKETING-RECONCILIATION.md | Delivery register — marketing tier cards vs code |
| ../03 - DEPLOYMENT AND PRODUCTION/20-PRODUCTION-DEPLOYMENT-GUIDE.md | Deploy app before taking live payments |
| ../01 - BUSINESS REQUIRMENTS/04-ROADMAP.md | Posture, launch gate, secrets summary; billing rows in Resolution queue |
| ../superpowers/specs/2026-08-06-native-store-clients-design.md | Store clients: website Stripe remains commerce SoT; Play/App Store free consumption-only binaries (REQ-NATIVE-08…12) |
Code sources of truth
Section titled “Code sources of truth”| Path | Role |
|---|---|
backend/billing/tiers.json | Tier slugs, USD/local prices, module bundles, limits |
backend/billing/module_delivery.json | Live / partial / planned UX labels (not Stripe catalog) |
backend/billing/module_prices.json | À la carte module prices (deferred in live catalog today) |
backend/scripts/stripe_seed_tiers.py | Propagate tiers to Stripe + PostgreSQL |
backend/care_modules/ | Feature-flagged care boards (manifests, board API, zone engine) |
backend/config.py | CARE_MODULE_BOARDS_ENABLED, CARE_MODULE_PREVIEW_USER_IDS |
frontend/src/care-modules/ | Lazy /care/* routes when VITE_CARE_MODULE_BOARDS=true |