LifeMate — Personal, Family & Learning Companion
docs: add phase 3 implementation plan
davoodmehraban89 committed
Oct 5, 2026 at 15:03 UTC
7064ee0a28194e7da5ec02f82439e7ee5fa22d09
1 file changed
+25
docs/plans/PHASE_3_IMPLEMENTATION_PLAN.md
new
+25
@@ -0,0 +1,25 @@
1
+# Phase 3 — Planner, School & Family Core Implementation Plan
2
+
3
+Status: IN PROGRESS
4
+Branch: `phase-3/planner-school-family-core`
5
+
6
+## Acceptance contract
7
+Phase 3 is complete only when a family can plan a real week without AI: personal/family calendar items, tasks, routines/goals, reminders, school year/term/subjects/classes/assignments/exams/study sessions/grades, controlled sharing, guardian-authorized child support summary, and offline-aware client behavior all exist and pass CI/staging verification.
8
+
9
+## Implementation slices
10
+1. PostgreSQL planning/school/sharing/notification schema with constraints and indexes.
11
+2. Server authorization helpers and CRUD/query API for Today, Planner, School, Family and Parent Support.
12
+3. Reminder outbox with idempotent due-reminder claiming and completion/reschedule semantics.
13
+4. Flutter provider-neutral client models/API and Persian RTL core screens.
14
+5. Offline-aware read cache + queued safe edits contract for critical planning flows.
15
+6. Permission regression tests: owner, guardian, unrelated member, removed member, unauthenticated.
16
+7. CI schema/API/widget/Web/Android gates.
17
+8. Railway staging migrations + smoke verification.
18
+9. State/docs update, PR review, merge, main CI verification.
19
+
20
+## Scope rules
21
+- MyStudyLife remains the benchmark for student IA, but LifeMate adds family sharing and guardian support.
22
+- AI is not required for any Phase 3 flow.
23
+- Parents receive authorized schedule/workload/progress summaries, not private content.
24
+- Reminder delivery is modeled as an outbox/provider boundary; Phase 3 verifies scheduling and delivery eligibility without coupling the domain to one push vendor.
25
+- Offline cache is non-authoritative; queued edits are limited to operations with explicit conflict semantics.