LifeMate — Personal, Family & Learning Companion
fix/backend-request-safety
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 — Phase 2 Quality Gates |
| 2 | |
| 3 | ## Pull request gates |
| 4 | Once application code exists, every implementation PR must run: |
| 5 | 1. formatting check; |
| 6 | 2. Flutter/Dart static analysis; |
| 7 | 3. unit/widget tests relevant to changed domain/UI; |
| 8 | 4. authorization/database tests when schema or access-policy changes; |
| 9 | 5. Android debug build smoke; |
| 10 | 6. Web release/debug build smoke as appropriate; |
| 11 | 7. secret scanning and backend dependency audit in CI. |
| 12 | |
| 13 | ## Security tests required for identity/family |
| 14 | For each protected resource, test allowed and denied access for: owner profile, related guardian, unrelated family member, removed member, unauthenticated user and privileged server path where applicable. LifeMate's primary authorization boundary is the server/API layer; database constraints and helper-policy tests provide defense in depth. If RLS is enabled for a deployment, its SELECT/INSERT/UPDATE/DELETE policies must be tested as an additional gate. |
| 15 | |
| 16 | ## Staging rule |
| 17 | All deployable changes land in staging before production. Staging uses separate environment/secrets/data from production. No production deploy, destructive migration or sensitive access change is implied by merge alone. |
| 18 | |
| 19 | ## Observability baseline |
| 20 | - Crash/error reporting with sensitive-data scrubbing. |
| 21 | - PostHog only from an explicit event allowlist. |
| 22 | - Feature flags for risky/AI capabilities. |
| 23 | - No raw wellbeing transcript/private free text in analytics. |
| 24 | |
| 25 | ## UX smoke |
| 26 | At minimum verify Teen and Parent core flows at mobile width, Persian RTL, text scaling, keyboard/input, empty/loading/error states and offline/reconnect behavior relevant to the feature. |
| 27 | |
| 28 | ## Platform smoke |
| 29 | Android + iPhone Safari + iPhone Home Screen PWA + desktop web for release-critical flows. Browser automation may cover web regressions, but Home Screen/PWA behaviors require real-device validation before production release. |
| 30 | |
| 31 | ## Definition of done |
| 32 | A feature is not complete because code exists. It requires passing automated checks, acceptance criteria, relevant platform smoke, updated decisions/state and explicit remaining-risk disclosure. |