LifeMate — Personal, Family & Learning Companion
fix/auth-expiry-after-lock
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 | # Family lifecycle implementation plan |
| 2 | |
| 3 | 1. Inspect existing invite/accept/remove locks and sharing policies. |
| 4 | 2. RED validation/HTTP tests; add migration0018 membership/invitation revisions |
| 5 | and metadata-only stable mutation ledger. |
| 6 | 3. Implement dedicated administrator-only lifecycle router, scoped read and |
| 7 | current-state retry after transfer; root mounts it and adjusts expiry checks. |
| 8 | 4. Run real local HTTP/PostgreSQL race, restart and privacy tests; root integrates |
| 9 | runtime-role policy/complete suite/client acceptance. |
| 10 | 5. Document exact outputs and remaining hardware/live/age-assurance limits. |
| 11 | |
| 12 | One backend owner; root exclusively owns shared server and DB role integration. |
| 13 | |
| 14 | Execution on2026-10-11 (local synthetic PostgreSQL16, Node22.23.3): |
| 15 | |
| 16 | - RED: the genuinely lock-blocked JWT-expiry request incorrectly returned200 |
| 17 | instead of401; reciprocal writes across two families returned500/200 instead |
| 18 | of200/200 with actor-first account locks. |
| 19 | - GREEN: ordered account/profile/membership locks and final locked-session plus |
| 20 | fresh-time JWT check passed both regressions,2/2. |
| 21 | - Final focused command, `node --test tests/family_lifecycle.test.js |
| 22 | tests/family_lifecycle_validation.test.js`, passed **21/21**, zero failures, |
| 23 | cancellations or skips,3690.98ms. This includes root-owned creation, legacy |
| 24 | helper and acceptance final-session guards; API restart, current-state/hash |
| 25 | retry, CAS, privacy, one-admin races, removal/rejoin, birth-date edits, and |
| 26 | expiry/revocation while actual database locks are held. |
| 27 | - The project command `node scripts/test.js` also ran:215 tests,214 passed, |
| 28 | one failed,44818.13ms. The named failure was |
| 29 | `profile_category.test.js:148`, learning-goal malformed-subject compatibility: |
| 30 | expected `invalid_subject_id`, received `invalid_input`. The separate goal |
| 31 | owner and root received the complete result; this is not a green whole-suite |
| 32 | claim. This aggregate preceded the final two focused family regressions. |
| 33 | - Migration0018 was applied through the real migration runner. That runner also |
| 34 | saw and applied draft0019 in the shared synthetic fixture; no stored checksum |
| 35 | was edited. A fresh integrated database with all final frozen migrations is |
| 36 | required for final handover. No live database or canonical role credential was |
| 37 | changed. |
| 38 | |
| 39 | This agent did not run an APK/web build, runtime-role restore drill, physical |
| 40 | Android/Safari acceptance, or live migration/deploy. Those are **UNVERIFIED** for |
| 41 | this packet until root records independent execution. |