Feature Inventory
Every current feature of the platform, from the live web app's 40 routes to the 19 backend functions, with an honest completeness badge on each. Source of truth: the code as of July 17, 2026.
Readings and divination (the core product)
| Feature | What it does | Status |
|---|---|---|
AI readings hub (/readings) | Per-belief-system generated readings in expandable sections, history, share, inline product recommendations. | Working |
| Eight belief systems | Western Astrology, Vedic, Chinese Astrology, Numerology, Tarot, Reiki, Feng Shui, Chi & Qi — each with structured reading sections (e.g. Western: Sun/Moon/Ascendant through Nodes; Tarot: an 11-position section set). | Working |
| Natal chart | Real astronomical computation (astronomy-engine, embedded Chiron ephemeris) rendered in a chart dialog. | Working |
| Ask-a-question Q&A | Follow-up questions answered in the context of an existing reading. | Working |
Tarot & oracle decks (/tarot) | Deck sets (traditional 78-card tarot + oracle decks incl. the seeded "Lumenal Pathways Oracle"), four spreads: Single Card, Three-Card, Celtic Cross (10), Relationship Cross (5); AI spread interpretation. | Working |
Soul Archetype test (/personality-test) | MBTI-style test with AI-generated questions or manual slider mode; 16-type result shown on the dashboard. | Working |
Luxury Annual Report (/luxury-report) | Premium 12-month forecast: configurable, multi-section generation with charts and PDF export. | Works, but free — payment stubbed |
| Compatibility readings | AI compatibility analysis between two connected users. | Working |
| Public reading limits | Rate-limiting table for logged-out reading teasers. | Working |
Social and gamification
| Feature | What it does | Status |
|---|---|---|
Connections (/connections) | Invite/accept, chat messages, share readings, view shared profiles. | Working |
| Points, levels, badges | Full economy: point activities and transactions, level thresholds with rewards, badge grid, level-up confetti dialog. | Working |
| Achievements & Rewards pages | Badge display and reward claiming UI. | Partial |
| Social sharing | Share dialogs incl. share-to-Facebook. | Working |
Commerce
| Feature | What it does | Status |
|---|---|---|
Shop (/shop) | Product grid with detail dialogs; inventory-tracked products. | Browsing works |
Cart (/cart) | Cart state via context. | Checkout button disabled — "Coming Soon" |
| Intention kits & Build-a-kit | Curated boxes (tiers at $39.99/$69.99/$99.99) and a custom kit builder. | Browse only |
| Subscriptions & Gift cards | Tier and gift-card purchase UI. | No billing backend |
| Orders schema | orders/order_items with Stripe-shaped payment_intent_id, inventory log, admin order management. | Schema + admin only |
Admin console (12 pages)
Full CRUD suites, all working unless noted: products + inventory adjustments and history, orders, users (incl. password reset and delete via edge functions), reading sections, belief systems, sales dashboard, luxury-report templates (with template variables and sections), deck management with AI card/set generation, gamification levels and badges with theme-aware image upload. System Settings is the exception — Site & Branding, Notifications, and Feature Flags panels are all "Coming Soon" placeholders.
There is no route protection in the router itself — all routes including /admin/* are declared publicly in App.tsx and access control happens per-page via role checks. Correctness depends on every admin page individually enforcing has_role; worth an audit pass before the migration.
Backend: 19 edge functions
Thirteen call AI — all through the Lovable gateway (ai.gateway.lovable.dev), text on gemini-3-flash-preview, images on gemini-2.5-flash-image, luxury reports on gemini-2.5-flash:
- Reading generation:
generate-readings(batch),generate-belief-reading(single, with retries),ask-reading-question,generate-tarot-reading. - Reports:
generate-luxury-report,generate-report-image,test-template-prompt(admin). - Compatibility:
generate-compatibility,generate-compatibility-reading. - Decks & content:
generate-deck-card,generate-deck-set,generate-dark-mode-images,backfill-deck-prompts,generate-mbti-questions. - Non-AI:
calculate-natal-chart(real astronomy),seed-lumenal-oracle,backfill-gamification-points,admin-reset-password,delete-user.
Data model (42 tables, grouped)
- Identity: profiles, user_roles, user_computed_values (cached per-belief computations with profile-hash invalidation), app_settings.
- Readings: readings, belief_systems, reading_sections, public_reading_limits.
- Tarot/decks: tarot_readings, tarot_spreads, deck_types/sets/subgroups/suits/ranks/cards.
- Reports: luxury_reports, report_types/sections/chart_types, section_content_items, template_variables.
- Commerce: products, orders, order_items, inventory_log, curated_boxes, box_tiers, box_items.
- Social: user_connections, connection_messages, connection_compatibility.
- Gamification: badges, user_badges, levels, level_rewards, point_activities, point_transactions, user_points, user_rewards; plus mbti_base_questions.
Marketing and content pages
Landing page with animated starfield and constellation art, plus Careers, Press, Blog, Help Center, Contact and five legal pages — all working but static, with some aspirational copy (the Help Center already advertises credit cards, PayPal and Apple Pay; the Cookies policy names Stripe as processor — none of which are wired up yet).
Mobile app features
See Current State for the screen-by-screen breakdown of lumenal_expo: working auth and readings browsing, stubbed everything else.