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 |
| 2 | |
| 3 | **Personal, Family & Learning Companion** |
| 4 | |
| 5 | LifeMate is a cross-platform personal and family companion designed to grow with its users across life stages. The first product focus is a teen-and-family experience combining planning, school organization, learning support, family coordination, and safe AI-assisted wellbeing guidance. |
| 6 | |
| 7 | ## Product principles |
| 8 | |
| 9 | - One identity, multiple life contexts: student, personal, family, and later work/university. |
| 10 | - One Family Workspace with independent member accounts and role-based access. |
| 11 | - Parents can access authorized planning, academic reports, and meaningful support signals without turning the product into continuous surveillance. |
| 12 | - AI assists with planning, learning, reflection, and parent guidance; it does not impersonate a clinician or replace human professional care. |
| 13 | - Android installable app + high-quality iPhone/iPad PWA + responsive web, sharing one backend and data model. |
| 14 | - Persian/RTL quality and an attractive, age-appropriate visual experience are first-class requirements. |
| 15 | - Security, privacy, safety, and auditability are architectural requirements, not post-release additions. |
| 16 | |
| 17 | ## Current phase |
| 18 | |
| 19 | محصول در مرحله پیادهسازی و ممیزی است و آماده انتشار کامل نیست. وضعیت معتبر، محدودیتها و شواهد آزمون در [PROJECT_STATE.md](PROJECT_STATE.md) و [گزارشهای ممیزی](docs/audits/) آمدهاند؛ ادعاهای تاریخی COMPLETE/READY تأیید فعلی محسوب نمیشوند. |
| 20 | |
| 21 | ## ساخت و مرز نسخهها |
| 22 | |
| 23 | از `apps/lifemate/` با Flutter 3.47.6: |
| 24 | |
| 25 | ```bash |
| 26 | flutter pub get |
| 27 | flutter analyze --no-pub |
| 28 | flutter test --no-pub |
| 29 | |
| 30 | # نسخه مستقل محلی بدون Login؛ شناسه com.example.lifemate.localtest |
| 31 | ORG_GRADLE_PROJECT_lifemateLocalTest=true flutter build apk --release --target=lib/role_entry_main.dart |
| 32 | |
| 33 | # نسخه دارای Login متصل به staging؛ نشانی HTTPS باید صریح باشد |
| 34 | flutter build apk --release --dart-define=LIFEMATE_API_URL=https://lifemate-api-fn-staging.up.railway.app |
| 35 | flutter build web --release --dart-define=LIFEMATE_API_URL=https://lifemate-api-fn-staging.up.railway.app |
| 36 | ``` |
| 37 | |
| 38 | نسخه «آرام (محلی)» پروفایل و تکلیف را فقط روی دستگاه نگه میدارد؛ Sync/backup سرور، خانواده، سلامت و AI ندارد. داده نصب قبلی را منتقل نمیکند و uninstall میتواند داده را حذف کند. بایگانی رکورد را حفظ میکند. APK محلی را از workflow `Verify local device persistence` و Artifact `LifeGuide-local-persistence-test-apk` دریافت کنید؛ Artifact استاندارد CI entrypoint دارای Login دارد. |
| 39 | |
| 40 | پیشفرض `LIFEMATE_API_URL` در کد `http://localhost:8080` و فقط برای توسعه است؛ در Android واقعی، localhost همان دستگاه است. CI و workflow انتشار موجود نشانی HTTPS staging را صریح تزریق میکنند. داشتن مجوز INTERNET و endpoint صحیح، اثبات login/CRUD روی دستگاه یا استقرار اصلاحات Backend نیست. تغییرات این بسته روی Railway مستقر نشدهاند و نقصهای خانواده/اشتراک هنوز باقیاند. |
| 41 | |
| 42 | امضای فعلی APKها debug است؛ امضاهای CI قبلی و جدید واقعاً متفاوت بودند. نسخه محلی با شناسه مستقل برای حفظ نصب قبلی ساخته میشود؛ نگهداری امن کلید پایدار برای ارتقای نسخههای بعد و پذیرش نصب روی گوشی مالک هنوز لازم است. هیچ کلید یا token واقعی نباید در مخزن یا متن چت قرار گیرد. |
| 43 | |
| 44 | ## Repository operating documents |
| 45 | |
| 46 | - [`AGENTS.md`](AGENTS.md) — operating rules and ownership model. |
| 47 | - [`PROJECT_STATE.md`](PROJECT_STATE.md) — current checkpoint and change ledger. |
| 48 | - [`docs/decisions/`](docs/decisions/) — architecture and product decision records. |
| 49 | |
| 50 | ## Working name |
| 51 | |
| 52 | نام محصول در دستور انتقال مالک «آرام / Life Guide» است؛ نام مخزن و package پروژه همچنان LifeMate است. |