Status: 🚧 Pre-Implementation - Sprint 0 Required Phase: Phase 2 Complete → Sprint 0 Database Schema Completion Readiness: 82% (100% after Sprint 0)
LifeOS is a modular life coaching ecosystem combining AI-powered coaching across three core modules to help users optimize their physical fitness, mental well-being, and life goals.
Transform your life with an AI-powered operating system that adapts to your needs, learns from your patterns, and provides personalized guidance across fitness, mental health, and life planning.
| Module | Price | Status | Description |
|---|---|---|---|
| Life Coach AI | FREE | Planned | Daily planning, goal tracking, AI conversations (Llama 3) |
| Fitness Coach AI | €2.99/mo | Designed | Smart workout logging, training plans, AR form analysis |
| Mind & Emotion | €2.99/mo | Planned | Meditation, mood tracking, CBT, mental health screening |
AI-powered correlation detection between modules:
- "Your best workouts happen after 8+ hours sleep"
- "Stress drops 40% on days you work out"
- "High stress + heavy workout → suggest light session"
| Tier | Price | Features |
|---|---|---|
| Free | €0.00 | Life Coach (basic), 5 AI chats/day (Llama), Mood tracking |
| Single Module | €2.99/mo | Free + Mind OR Fitness, 10 AI chats/day (Claude) |
| 3-Module Pack | €5.00/mo | All 3 modules, Cross-module insights, 20 AI chats/day |
| LifeOS Plus | €7.00/mo | Everything + Unlimited AI (GPT-4), Priority support |
All tiers include 14-day free trial.
- Flutter 3.38+ (iOS, Android)
- Riverpod 3.0+ (State management)
- Drift (SQLite local database)
- go_router (Navigation + deep linking)
- Supabase (PostgreSQL, Auth, Realtime, Storage)
- Edge Functions (Deno - AI orchestration)
- Row Level Security (RLS policies)
- Hybrid Approach:
- Free tier: Llama 3 (self-hosted)
- Standard: Claude (Anthropic API)
- Premium: GPT-4 (OpenAI API)
- Budget: <30% of revenue
- Stripe (Subscriptions + payments)
- Firebase Cloud Messaging (Push notifications)
- Posthog (Analytics)
- E2EE: AES-256-GCM for journals + mental health data
- RLS: Row Level Security on all tables
- GDPR: Export/delete endpoints
- ✅ Discovery & Research (5 documents)
- ✅ PRD (123 FRs, 37 NFRs) - 100% validated
- ✅ UX Design (2,115 lines) - 88% FR coverage
- ✅ Architecture (13 decisions) - 98% validated
- ✅ Test Design (523 tests planned)
- ✅ Security Architecture (E2EE, RLS, threat model)
- ✅ DevOps Strategy (CI/CD, environments)
- ✅ Implementation Readiness Analysis - 82% ready
Status: 🚨 MUST COMPLETE BEFORE EPIC 1
Sprint 0 adds 6 missing database tables + 2 Edge Functions required for UX features.
See: docs/ecosystem/sprint-0-database-schema-completion.md
Effort: 18-21 hours (1-2 weeks) Impact: Blocks 38/123 FRs (31%)
Missing Tables:
workout_templates- Template creation/management (FR43-46)mental_health_screenings- GAD-7/PHQ-9 results (FR66-70) SAFETY CRITICALsubscriptions- Stripe integration (FR91-97)streaks- Gamification (FR85-90)ai_conversations- Chat history (FR18-24)mood_logs- Mood tracking (FR55-60)
Missing Edge Functions:
process-mental-health-screening- Score calculation + crisis detectiongenerate-workout-plan-from-template- Template → Workout with Smart Pattern Memory
| Tool | Version | Status | Install |
|---|---|---|---|
| Flutter SDK | 3.38+ | ❌ Required | https://docs.flutter.dev/get-started/install |
| Dart | 3.10+ | ✅ With Flutter | Included |
| Android Studio | 2024.1+ | ❌ Required | https://developer.android.com/studio |
| Xcode | 15+ | App Store (macOS) | |
| Git | 2.30+ | ✅ Installed | - |
| Node.js | 18+ | ✅ 22.20.0 | - |
| Supabase CLI | Latest | ✅ 2.58.5 | - |
Current System Check:
- ✅ Git: 2.51.0
- ✅ Node.js: 22.20.0
- ✅ Supabase CLI: 2.58.5
- ❌ Flutter: Not installed
- ❌ Android Studio: Unknown
Installation Time: ~1.5-2 hours for Flutter + Android Studio
Flutter SDK (Windows):
# Option A: Chocolatey (recommended)
choco install flutter
# Option B: Manual
# Download from https://docs.flutter.dev/get-started/install/windows
# Extract to C:\src\flutter
# Add C:\src\flutter\bin to PATH
# Verify
flutter --version
flutter doctorAndroid Studio:
- Download from https://developer.android.com/studio
- Install with Android SDK
- SDK Manager → Install: Android SDK Platform 34, Build-Tools 34, Emulator
- Accept licenses:
flutter doctor --android-licenses
# Clone project
git clone https://github.com/YOUR_USERNAME/lifeos.git
cd lifeos# Follow instructions in:
cat docs/ecosystem/sprint-0-database-schema-completion.md
# Sprint 0 Stories (18-21 hours):
# S0.1: workout_templates table (2-3h)
# S0.2: mental_health_screenings table (2-3h) - SAFETY CRITICAL
# S0.3: subscriptions table (2h)
# S0.4: streaks table (1-2h)
# S0.5: ai_conversations table (1-2h)
# S0.6: mood_logs table (2h)
# S0.7: Edge Functions (4-6h)
# S0.8: Drift mirror tables (2-3h)# Follow instructions in:
cat docs/ecosystem/epic-0-setup-infrastructure.md
# Epic 0 Stories (19-30 hours):
# 0.1: Flutter environment setup
# 0.2: Project initialization
# 0.3: Supabase backend setup
# 0.4: Firebase FCM configuration
# 0.5: Stripe integration
# 0.6: CI/CD pipeline
# 0.7: Test framework
# 0.8: Environment configuration
# 0.9: Local development (optional)
# 0.10: Documentation# Install dependencies
flutter pub get
# Run code generation
dart run build_runner build
# Setup environment variables
cp .env.example .env
# Edit .env with your Supabase/Firebase/Stripe keys
# Run app
flutter runlifeos/
├── lib/
│ ├── main.dart
│ ├── core/ # Shared utilities
│ │ ├── auth/ # Authentication
│ │ ├── sync/ # Offline-first sync
│ │ ├── cache/ # Tiered cache
│ │ ├── database/ # Drift (SQLite)
│ │ ├── api/ # Supabase client
│ │ ├── ai/ # AI service layer
│ │ ├── subscription/ # Feature gates
│ │ ├── notifications/ # FCM service
│ │ ├── encryption/ # E2EE (AES-256-GCM)
│ │ └── ...
│ └── features/ # Feature modules
│ ├── onboarding/
│ ├── life_coach/ # FREE module
│ ├── fitness/ # €2.99/mo module
│ ├── mind/ # €2.99/mo module
│ ├── cross_module_intelligence/ # Killer feature
│ ├── goals/ # Gamification
│ ├── subscription/ # Paywalls
│ └── settings/
├── test/ # Unit + Widget tests
├── integration_test/ # E2E tests
├── supabase/
│ ├── functions/ # Edge Functions (Deno)
│ └── migrations/ # PostgreSQL schema
├── docs/
│ ├── ecosystem/ # Project documentation
│ │ ├── prd.md # 123 FRs, 37 NFRs
│ │ ├── architecture.md # 13 decisions
│ │ ├── ux-design-specification.md # 2,115 lines
│ │ ├── epics.md # 9 epics, 66 stories
│ │ ├── sprint-0-database-schema-completion.md # 🔴 START HERE
│ │ ├── epic-0-setup-infrastructure.md
│ │ └── ...
│ └── modules/ # Module-specific docs
│ └── module-fitness/ # 100% planned (43 SP)
└── ...
| Document | Lines | Description | Status |
|---|---|---|---|
| prd.md | 1,020 | Product requirements (123 FRs, 37 NFRs) | ✅ Validated 100% |
| architecture.md | 1,296 | System architecture (13 decisions) | ✅ Validated 98% |
| ux-design-specification.md | 2,115 | Complete UX design (16 sections) | ✅ 88% FR coverage |
| epics.md | 2,642 | 9 epics, 66 stories, FR traceability | ✅ Complete |
| test-design-system.md | - | 523 tests, 660h effort | ✅ Complete |
| Report | Score | Status |
|---|---|---|
| prd-validation-report | 116/116 (100%) | ✅ All FRs covered |
| architecture-validation-report | 99/101 (98%) | ✅ Production-ready |
| ux-validation-report | 108/123 (88%) | ✅ MVP-ready |
| implementation-readiness-report | 82% |
| Guide | Effort | Status |
|---|---|---|
| sprint-0-database-schema-completion.md | 18-21h | 🔴 START HERE |
| epic-0-setup-infrastructure.md | 19-30h | ✅ Ready (after Sprint 0) |
- 70% Unit Tests: Use cases, repositories, services
- 20% Widget Tests: UI components, state management
- 10% Integration Tests: End-to-end flows
# Unit tests
flutter test
# Unit tests with coverage
flutter test --coverage
# Integration tests (requires emulator)
flutter test integration_test/
# Specific test file
flutter test test/unit/core/encryption_test.dart- Overall: >80%
- Critical paths: >90% (auth, sync, payments, mental health)
- Algorithm: AES-256-GCM
- Encrypted Data:
- Journal entries
- Mental health screening answers
- CBT chat logs
- Key Storage: flutter_secure_storage (iOS Keychain, Android KeyStore)
All Supabase tables enforce RLS:
- Users can only access their own data
- Service role can update subscriptions (Stripe webhooks)
- Public templates viewable by all
- Export data: JSON format
- Delete data: Cascade delete with confirmation
- Consent management: Explicit opt-in
- Deep Blue (#1E3A8A) - Primary brand color
- Energetic Teal (#14B8A6) - CTAs, success states
- Orange (#F97316) - Fitness module accent
- Purple (#A855F7) - Mind module accent
- Headings: SF Pro Display (iOS), Roboto (Android)
- Body: SF Pro Text / Roboto
- Monospace: SF Mono / Roboto Mono (code, data)
- Speed - Offline-first, <100ms interactions
- Simplicity - Max 3 taps to any feature
- Personality - Conversational AI, not robotic
- Delight - Micro-animations, haptic feedback
- Intelligence - Cross-module insights (killer feature)
- Development: Local Supabase + test Stripe
- Staging: Supabase staging + test Stripe
- Production: Supabase production + live Stripe
- On PR: Run tests, analyze code, check coverage
- On merge to main: Build APK, deploy to TestFlight/Internal Testing
- On tag (v):* Build release, deploy to App Store/Play Store
- Total FRs: 123 (88% have UX design)
- Total NFRs: 37 (100% satisfied)
- Epics: 9
- Stories: 66
- Test Cases: 523 planned
| Phase | Effort | Status |
|---|---|---|
| Sprint 0 | 18-21h | 🔴 REQUIRED |
| Epic 0 | 19-30h | ⏸️ After Sprint 0 |
| Epic 1 | 40-60h | ⏸️ Core Platform |
| Epic 2-9 | 400-600h | ⏸️ Feature Implementation |
| Total MVP | ~500-700h | ⏸️ 3-6 months |
| Risk | Probability | Impact | Mitigation |
|---|---|---|---|
| AI costs too high | High | Critical | Hybrid AI (Llama/Claude/GPT-4), usage quotas |
| Scope too large | Medium | High | Defer Mind module to v1.1 if needed |
| Privacy concerns | Medium | Critical | E2EE, RLS, GDPR compliance, legal review |
| Battery drain | Low | Medium | Opportunistic sync, WiFi-preferred |
Note: Project is currently in pre-implementation phase. Contributions will be accepted after Sprint 0 + Epic 0 complete.
- Create feature branch from
main - Make changes
- Run tests:
flutter test - Commit with conventional commits:
feat: add workout templates - Push and create PR
- Use
flutter analyzebefore committing - Follow Dart style guide
- Write tests for new features (70/20/10 pyramid)
- Add documentation for public APIs
Proprietary - All rights reserved
- Architecture: BMAD Method (Business Modular AI Development)
- UX Design: Nike + Headspace fusion aesthetic
- AI: Claude (Anthropic), GPT-4 (OpenAI), Llama 3 (Meta)
- Issues: GitHub Issues (after public release)
- Documentation:
docs/ecosystem/folder - Email: [TBD]
- ✅ Discovery & Research
- ✅ Planning (PRD, UX, Epics)
- ✅ Solutioning (Architecture, Tests, Security)
- ✅ Validation (100% PRD, 98% Architecture, 88% UX)
- 🔴 Sprint 0: Database Schema Completion ⬅️ START HERE
- ⏸️ Epic 0: Setup & Infrastructure
- Epic 1: Core Platform Foundation
- Epic 2: Life Coach MVP
- Epic 3: Fitness Coach MVP (leverages GymApp planning)
- Epic 4: Mind & Emotion MVP
- Epic 5: Cross-Module Intelligence (killer feature)
- Epic 6: Gamification
- Epic 7: Onboarding & Subscriptions
- Epic 8: Notifications
- Epic 9: Settings & Profile
- AR form analysis (Fitness)
- Voice AI conversations
- Wearable integration (Apple Watch, Fitbit)
- Web app (Flutter Web)
- B2B corporate wellness
- Talent Tree (RPG gamification)
- Relationship AI
- Tandem/Team Mode (social features)
- E-Learning micro courses
- AI Future Self conversations
- Life Map visual dashboard
- Human Help platform
- ✅ Read this README
- 🔴 Complete Sprint 0 (18-21h) -
docs/ecosystem/sprint-0-database-schema-completion.md - ⏸️ Complete Epic 0 (19-30h) -
docs/ecosystem/epic-0-setup-infrastructure.md - ⏸️ Start Epic 1 (40-60h) -
docs/ecosystem/epics.md
- Review validation reports in
docs/ecosystem/ - Understand 82% → 100% readiness path (Sprint 0)
- Approve Sprint 0 → Epic 0 → Epic 1 timeline
- Monitor progress via workflow status
Last Updated: 2025-01-16 Version: 0.1.0 (Pre-Implementation) Status: 🚧 Sprint 0 Required Before Implementation
🎨 Generated with Claude Code