LifeMate — Personal, Family & Learning Companion
design/mobile-navigation-review
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 | # ADR 0004 — AI Guides, Learning & Wellbeing |
| 2 | |
| 3 | Status: Accepted for Phase 4 engineering/staging. |
| 4 | |
| 5 | ## Decision |
| 6 | AI Guides are advisory. They may propose study, planner, wellbeing and family-support actions but never silently mutate planner data. Explicit proposals require user acceptance. |
| 7 | |
| 8 | Wellbeing guidance is supportive self-reflection and family communication guidance, not diagnosis, treatment or a substitute for a clinician or emergency service. The product must not present AI as a doctor or psychologist. |
| 9 | |
| 10 | AI sessions, messages and wellbeing notes are owner-private by default. Family membership or family-admin status does not grant raw transcript access. A wellbeing check-in can be marked `guardian_summary`; guardian endpoints expose only aggregates and safety signals, never the note body or private AI transcript. |
| 11 | |
| 12 | Parents/guardians with an active guardian relationship can request family guidance. The guide receives only authorized academic metrics, authorized wellbeing aggregates and safety-signal counts. The API response explicitly records that raw notes and raw conversations were not included. |
| 13 | |
| 14 | ## Safety boundary |
| 15 | The server classifies messages before generative output. High-risk self-harm language receives a fixed safety-first response and creates a separate `wellbeing_safety_event` signal. Safety escalation is therefore distinct from ordinary privacy sharing. |
| 16 | |
| 17 | The fixed urgent response directs the user toward an immediately available trusted person and local emergency resources. This is an engineering guardrail, not the final jurisdiction-specific crisis system. |
| 18 | |
| 19 | ## Provider boundary |
| 20 | Phase 4 has a provider-neutral OpenAI-compatible adapter controlled by `AI_BASE_URL`, `AI_API_KEY` and `AI_MODEL`. If no approved provider is configured, staging uses the deterministic local guide. Urgent safety responses never depend on the external model. |
| 21 | |
| 22 | No minor-sensitive provider configuration may be enabled in public production until provider privacy, retention, data-location and safety review passes. |
| 23 | |
| 24 | ## Learning behavior |
| 25 | Study guidance should favor hints, decomposition, active recall and checking understanding rather than immediately supplying final homework answers. Learning goals and confidence/difficulty check-ins remain separate from grades so the product can track learning process as well as outcomes. |
| 26 | |
| 27 | ## Production gate |
| 28 | Public production exposure of wellbeing/minor-sensitive generative AI remains disabled until all of these are approved: |
| 29 | - jurisdiction-specific legal and guardian-consent review; |
| 30 | - safety severity taxonomy and escalation policy; |
| 31 | - localized emergency resources; |
| 32 | - AI provider privacy/retention/data-location review; |
| 33 | - wellbeing and AI retention/export/deletion policy; |
| 34 | - final voice-provider privacy review before voice conversations are enabled. |
| 35 | |
| 36 | Voice remains a product requirement, but Phase 4 does not enable microphone/TTS transmission until the provider/privacy gate is selected and tested. |