LifeMate — Personal, Family & Learning Companion

phase-3/planner-school-family-core
chore/phase1-repository-cleanup deploy/stable-web-apk deployment-static design/mobile-accessibility-v2 design/mobile-navigation-review docs/child-education-access-decision docs/offline-data-rescue-options docs/owner-guide-and-delivery-plan docs/phase1-policy-options docs/public-review-live-2026-10-15 feat/aparat-learning-library feat/child-device-safety feat/child-identity-schema feat/flutter-mobile-navigation feat/learning-content-operations feat/local-signing-preflight feat/online-family-stage0 feat/personal-encrypted-recovery feat/private-planner-series-api feat/public-review-page feat/standalone-weekly-planner feat/weekly-planner-android final-feature-1/iran-family-school fix/auth-abuse-expiry-safety fix/auth-expiry-after-lock fix/backend-request-safety fix/lifeguide-bootstrap-naming-ci fix/lifeguide-pages-qa-base-preflight fix/lifeguide-qa-pages-env-deployment fix/local-task-persistence fix/managed-child-session-boundary fix/personal-jalali-dates fix/personal-notification-controls fix/personal-upgrade-delivery-guard fix/sms-approval-gates fix/study-duration-display infra/cloudflare-neon-migration infra/lifeguide-cloudflare-qa infra/lifeguide-github-pages-qa infra/lifeguide-supabase-qa main phase-1/foundation-completion phase-2/product-foundation-identity phase-3/planner-school-family-core phase-4/ai-learning-wellbeing phase-5/hardening-observability-release test/android-reminder-acceptance test/personal-notification-settings test/personal-recovery-acceptance test/role-entry-apk
md 4.57 KB

LifeMate — Project State

Last updated: 2026-10-05 Phase: Phase 3 — Planner, School & Family Core — COMPLETE Repository: davoodmehraban89/LifeMate Working product name: LifeMate — approved

Transfer checkpoint

Phases 1–3 are complete. Phase 3 adds the real Planner/Today core, school model and workload, family calendar/support summaries, relationship-aware sharing, reminders, offline cache/sync queue with conflict handling, Flutter RTL screens and expanded authorization/CI coverage. Railway staging has the Phase 3 API and migration active against PostgreSQL.

Five-phase roadmap

  1. Foundation, Product Contract & UX Direction — COMPLETE
  2. Product Foundation & Identity — COMPLETE
  3. Planner, School & Family Core — COMPLETE
  4. AI Guides, Learning & Wellbeing — NEXT
  5. Hardening, Observability & Release

Accepted architecture baseline

  • Client: Flutter for Android + app-centric responsive Web/PWA.
  • iPhone/iPad initial distribution: Home Screen PWA; future packaged/native iOS path preserved.
  • Backend: provider-neutral Node API + standard PostgreSQL. Railway is the current staging host; managed database/provider can be replaced without changing domain contracts.
  • Identity: LifeMate-owned email/password/session adapter with Argon2id, verification/reset tokens, rotating refresh sessions and server-side authorization.
  • Offline: local cache plus explicit mutation queue; server remains authoritative and rejects stale/conflicting writes.
  • Authorization: relationship-aware and server-enforced; family admin is not blanket private-content access.

Product/UX baseline

  • Student navigation uses MyStudyLife as the primary IA benchmark: Today, Weekly Schedule, Calendar, Tasks, Exams/Grades, Focus, AI; LifeMate Family/Wellbeing extensions are additive.
  • Parent/adult experiences share the platform while emphasizing Family, authorized progress/support information and guidance.
  • Parent support focuses on authorized schedule/academic/support summaries, not routine private transcript surveillance.
  • Visual language: warm, modern, calm, graphical, teen-friendly but non-childish; Persian RTL first-class. Default profile themes: daughter/teen girl = white + soft pink; son/teen boy = white + calm blue; parents/adults = white + calm blue.
  • Figma remains UI source of truth; Canva is supporting visual/illustration exploration.
  • Notion Project Hub is the management mirror; GitHub remains technical source of truth.

Phase 3 completed vertical slice

Today/Planner → task/event/routine/goal/study-session creation and completion/rescheduling → reminder scheduling/claim/outbox → student life context → academic year/term/subject/class → assignments/exams/grades → family-visible calendar → guardian-authorized child support summary → offline cache/mutation queue → conflict/idempotency handling → CI/staging verification.

Verified Phase 3 gates

  • Migration 0003_planner_school_family.sql defines the planner, academic, reminder, sharing and sync model.
  • Database authorization matrix covers owner/private, family, guardian and removed-member denial behavior.
  • Backend integration tests cover planner CRUD, academic setup, grades, guardian summaries, offline mutation application/idempotency and reminder outbox behavior.
  • Phase 3 CI runs 114, 115 and final run 116 passed backend, security, Flutter formatting/static analysis/widget tests, Web release build and Android debug APK build; final verified branch head before merge is 5e1e566510948322fbc4da46c374733280293f73.
  • Railway staging API is online and Phase 3 database smoke verification confirms 11 required tables, 3 authorization/reminder functions and the 0003_planner_school_family.sql migration ledger entry.

Phase 4 entry point

Build AI Guides, Learning & Wellbeing on top of the completed planner/school/family contracts. AI must remain advisory, age-appropriate, privacy-aware and relationship-aware; it must not silently broaden parent access beyond Phase 3 authorization contracts.

Production-gate items intentionally deferred

These do not block the engineering foundation but do block public production of wellbeing/minor-sensitive AI features: jurisdiction-specific legal/guardian consent review; safety severity taxonomy; emergency resource localization; AI provider privacy/retention review; wellbeing retention/export/deletion policy.

Guardrail

AI/wellbeing production exposure stays disabled until its dedicated safety/legal/provider gates pass. Production deploys, destructive migrations and sensitive access changes still require explicit action-specific approval.