LifeMate — Personal, Family & Learning Companion
main
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
| 1 | # LifeMate — Conceptual Domain Model v1 |
| 2 | |
| 3 | ## Identity |
| 4 | - **Account** — authentication identity; credentials/session are not family-shared. |
| 5 | - **Profile** — person-facing identity and preferences. |
| 6 | - **LifeContext** — Student, Work, Personal or future contexts attached to Profile. |
| 7 | |
| 8 | ## Family |
| 9 | - **FamilyWorkspace** — tenant/boundary for family-shared data. |
| 10 | - **Membership** — Profile ↔ FamilyWorkspace with status and administrative capabilities. |
| 11 | - **GuardianRelationship** — explicit adult ↔ minor relationship; permissions depend on this relation, not only generic role names. |
| 12 | - **Invitation** — expiring/revocable join intent. |
| 13 | - **SharingGrant** — resource-level audience/visibility representation where policy allows. |
| 14 | |
| 15 | ## Planning |
| 16 | - **PlanItem** — common scheduling identity for task/event/study/family commitments where shared fields are useful. |
| 17 | - **Task** — actionable item with status, priority, duration and optional due time. |
| 18 | - **CalendarEvent** — time-bound commitment. |
| 19 | - **Routine** — repeatable behavior/template. |
| 20 | - **Goal** — outcome with optional linked plan items. |
| 21 | - **Reminder** — delivery rule linked to a resource; obsolete reminders are cancelled on completion/reschedule. |
| 22 | |
| 23 | ## School |
| 24 | - **AcademicYear** → **Term**. |
| 25 | - **Subject** belongs to a Student LifeContext and academic period. |
| 26 | - **ClassSession** represents timetable occurrences/rules. |
| 27 | - **Assignment**, **Exam**, **StudySession**, **Grade**, **RevisionPlan** attach to Subject/period as appropriate. |
| 28 | |
| 29 | ## Wellbeing / AI |
| 30 | - **GuideSession** — AI interaction session with explicit guide type and context scope. |
| 31 | - **CheckIn** — structured self-reported mood/energy/stress signals; not a diagnosis. |
| 32 | - **ParentInsight** — derived, policy-controlled support summary; never assumed to equal raw transcript. |
| 33 | - **SafetyEvent** — separately governed event for defined safety escalation conditions. |
| 34 | - **AIProposal** — suggested plan/action requiring user confirmation unless a future policy explicitly permits safe automation. |
| 35 | |
| 36 | ## Governance |
| 37 | - **AuditEvent** — immutable security/policy-relevant event metadata. |
| 38 | - **NotificationPreference** and **QuietHours** — per-profile delivery policy. |
| 39 | - **DeviceSubscription** — push endpoint/device metadata without becoming identity authority. |
| 40 | |
| 41 | ## Ownership invariants |
| 42 | - Personal resources have an owning Profile. |
| 43 | - Family resources have a FamilyWorkspace and creator/owner semantics. |
| 44 | - School resources belong to the student's Profile/LifeContext, not to the parent account. |
| 45 | - Guardian visibility is computed from relationship + resource policy + age/safety policy. |
| 46 | - Admin capability never implies blanket read access to private content. |
| 47 | - AI retrieval is downstream of the same authorization decision as human-facing APIs. |
| 48 | |
| 49 | ## Data lifecycle principles |
| 50 | Membership removal revokes future access. Retention/export/deletion rules for shared and wellbeing data are explicit policy decisions; no cascade behavior is assumed merely because a relationship ends. |