LifeMate — Personal, Family & Learning Companion

fix/study-duration-display
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 26 lines 1.49 KB
Rendered Raw
1 **Historical snapshot — retained as decision/evidence history. Current product: LifeGuide; current execution status: PROJECT_STATE.md.**
2
3 # LifeMate — Analytics Policy v1
4
5 ## Principle
6 Product analytics answers whether flows work; it does not become a shadow copy of private user content.
7
8 ## Allowed event shape
9 Use stable event names plus low-sensitivity categorical/boolean metadata. Examples: `auth_signup_completed`, `family_invite_accepted`, `task_completed`, `pwa_install_prompt_shown`, `notification_permission_result`, `study_session_completed`.
10
11 ## Never send to PostHog/product analytics
12 - passwords, tokens, recovery links;
13 - raw AI/wellbeing transcripts;
14 - journal/private free text;
15 - assignment/task free-text content unless an explicit future use case is separately approved;
16 - precise sensitive safety-event narrative;
17 - email/phone as event properties unless a specific operational requirement and privacy review approve it.
18
19 ## Identity
20 Use internal pseudonymous user/profile identifiers where needed for product analysis. Family identifiers are pseudonymous. Analytics identity does not grant application authorization.
21
22 ## Feature flags
23 AI/wellbeing and other higher-risk capabilities launch behind server-respected feature flags where appropriate. A client flag is not a security boundary.
24
25 ## Retention
26 Analytics retention and deletion behavior must be configured before production based on actual product needs and deployment obligations; default to less data and shorter retention when uncertain.