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 51 lines 4.57 KB
Rendered Raw
1 # LifeMate — Project State
2
3 **Last updated:** 2026-10-05
4 **Phase:** Phase 3 — Planner, School & Family Core — COMPLETE
5 **Repository:** `davoodmehraban89/LifeMate`
6 **Working product name:** LifeMate — approved
7
8 ## Transfer checkpoint
9 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.
10
11 ## Five-phase roadmap
12 1. **Foundation, Product Contract & UX Direction** — COMPLETE
13 2. **Product Foundation & Identity** — COMPLETE
14 3. **Planner, School & Family Core** — COMPLETE
15 4. **AI Guides, Learning & Wellbeing** — NEXT
16 5. **Hardening, Observability & Release**
17
18 ## Accepted architecture baseline
19 - Client: Flutter for Android + app-centric responsive Web/PWA.
20 - iPhone/iPad initial distribution: Home Screen PWA; future packaged/native iOS path preserved.
21 - Backend: provider-neutral Node API + standard PostgreSQL. Railway is the current staging host; managed database/provider can be replaced without changing domain contracts.
22 - Identity: LifeMate-owned email/password/session adapter with Argon2id, verification/reset tokens, rotating refresh sessions and server-side authorization.
23 - Offline: local cache plus explicit mutation queue; server remains authoritative and rejects stale/conflicting writes.
24 - Authorization: relationship-aware and server-enforced; family admin is not blanket private-content access.
25
26 ## Product/UX baseline
27 - Student navigation uses MyStudyLife as the primary IA benchmark: Today, Weekly Schedule, Calendar, Tasks, Exams/Grades, Focus, AI; LifeMate Family/Wellbeing extensions are additive.
28 - Parent/adult experiences share the platform while emphasizing Family, authorized progress/support information and guidance.
29 - Parent support focuses on authorized schedule/academic/support summaries, not routine private transcript surveillance.
30 - 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.
31 - Figma remains UI source of truth; Canva is supporting visual/illustration exploration.
32 - Notion Project Hub is the management mirror; GitHub remains technical source of truth.
33
34 ## Phase 3 completed vertical slice
35 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.
36
37 ### Verified Phase 3 gates
38 - Migration `0003_planner_school_family.sql` defines the planner, academic, reminder, sharing and sync model.
39 - Database authorization matrix covers owner/private, family, guardian and removed-member denial behavior.
40 - Backend integration tests cover planner CRUD, academic setup, grades, guardian summaries, offline mutation application/idempotency and reminder outbox behavior.
41 - 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`.
42 - 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.
43
44 ## Phase 4 entry point
45 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.
46
47 ## Production-gate items intentionally deferred
48 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.
49
50 ## Guardrail
51 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.