LifeMate — Personal, Family & Learning Companion

feat/aparat-learning-library
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 18.3 KB

LifeGuide / لایف‌گاید — وضعیت واقعی پروژه

Updated: 2026-10-11. Backend version: 0.6.0. Branch: feat/aparat-learning-library, stacked on feat/online-family-stage0, based on main abdc9d9d032bc6746c8390b902a2e52d82991530. Repository remains davoodmehraban89/LifeMate.

Status: shared online Stage 0 stack verified locally with synthetic data; hardware/release gates remain open. Not a complete operational product or public release. Prior COMPLETE/READY claims are retained only in historical checkpoint; they do not prove this candidate's acceptance. Draft PR #10 is open; main is not merged.

Current education packet —0.6.0

This feature branch preserves the online0.5.1 base and Feature1. Draft PR #11 is open on the previous online feature branch; neither PR is merged. It adds migrations0013–0015, grade/three academic-track library, real owner-private progress, lesson-linked planner/timer, reviewed/versioned formative assessment and explicitly consented feedback. Android first-run connection is explained without a guessed public URL. Runtime DB credentials cannot write catalogue/review/question definitions; only the separate migrator/importer can. Current0.6.0 handover supersedes the old artifact links for this feature.

Research inventory is217 books/1373 units/1348 video candidates. Real published fully reviewed videos:0; real published question banks:0. Primary62 official1405–1406 editions were inspected; secondary155 edition years remain unknown/unverified. Book index/page/video fragments do not establish a complete school year. Technical iframe probe used a paused provider tutorial, not approved teaching. Quality/operation guide, evidence/acceptance limits. Full item-by-item media/assessment review, specialist pedagogy and real device acceptance remain open; no claim of guaranteed understanding or complete school is made.

Feedback is voluntarily written chosen text; no private chat/health extraction, admin/notification/export pipeline or autonomous AI/deploy is implemented. Adult/family education and age-appropriate support are documented future domains; AI/voice and sensitive health remain disabled. Minor safeguarding, consent/legal gates and in-country sensitive storage require separate review before implementation.

The fresh APK asks for a full HTTPS API address because Android has no configured active shared endpoint. On2026-10-11 public read-only checks observed app.lifeguide.ir still serving the old product HTML; /config.json,/api/health,/api/ready also returned HTML, not usable current JSON. This does not prove every possible endpoint absent; it does not establish compatibility. Connection audit. No live deploy or DNS changes were made.

Current0.6.0 execution: local151/151 backend and112/112 Flutter, analyzer clean, fresh Compose15 checksum migrations, runtime-family9/9 and learning15/15, separate-role synthetic dump/restore and trustedHTTPS7 checks passed. Actual compiledPWA/localHTTPS browser substitute10/10 passed: grade/profile selection, self-reported progress independently read byAPI/SQL, feedback consent+redaction and close/reopen session refresh;55 requests/zero external/errors. Root inspected both screenshots: same progress/server timestamp retained. Dynamic progress text was absent from the ChromiumARIA snapshot after update; accessibility and physical-touch acceptance remain unresolved, not certified by DOM-semantic clicks. Browser receipt.

Initial featureCI38113435509 failed with143 backendpass/8 cancelled: fixture guard rejected the existing syntheticCI DB name. Root reproduced and fixed the exact-name/local-host gate; targeted10/10 and full151/151 passed. Corrected source b3a62b76bf93697d050b896bc5f99ad6e8fb2f2f, CI38148788571: all three jobs SUCCESS, including roles/restore,112 Flutter, web and debugAPK0.6.0/code5/ir.lifeguide.app binary manifest+v2signature. Final receipt, debug APK, web. Debug certificate differs from historical builds; owner-device certificate/install/upgrade and release signing remain UNVERIFIED. Do not erase unsent data to resolve signing conflicts. Subsequent browser-test/docs evidence commits do not claim an additional latest-HEADCI or change the app source covered by the cited build.

The following0.5.1 execution evidence is historical and does not certify this new source. Current0.6.0 test/build receipts are recorded separately in the learning verification packet.

Baseline and reuse

Main gap analysis was written before new implementation. GitHub refs verified: local persistence 62e82ba, backend safety e5e3e41, Cloudflare/Neon 7a83ca8; only isolated backend safety commit reused. Login-free LocalOnlyApi and managed-host adapters were not merged into the online product. Main already contains family/guardian identity, planner/offline queue, authorization tests and Feature 1 Iranian education/catalog/calendar/preferences; these are preserved. Feature 1 household persona is a preference, not a server grant of parental access. Health/cycle UI and external AI/voice remain disabled.

Current implementation

  • Shared Node/Express/Argon2id/PostgreSQL with migrations 0007–0012: optional email/phone identity, verification delivery recovery, rate-limited resend, opt-in HTTPS webhook SMS adapter, hashed tokens and refresh rotation. Test runner removes inherited live delivery/AI settings.
  • Current family/membership/guardian checks, private notes stripped from shared task views, report metrics scoped per visible task. Family archival and revoked membership/guardian relationships close access. Selected grants do not resurrect after rejoining.
  • Canonical plan creation version1, stable UUID offline mutations, request-hash idempotency, row/owner locks, expected-version conflicts, canonical server acknowledgement; edit and safe archive use real storage.
  • Study sessions/intervals/events survive backend restart; start/pause/resume/stop, corrections/archive, overlap/duplicate protection. Timer/self-reported durations are explicitly not proof of study. Guardian confirmation requires authorized evidence.
  • Persian RTL parent views, allowed learning reports, activity timestamps, last-refresh/error state and polling. Seven/thirty-day reports include all of today in Tehran, without changing server freshness timestamps. Android endpoint settings/fallback selection and web no-store config.json use one chosen HTTPS API; endpoint/account switch clears old credentials/cache. Forced session expiry instead quarantines the same account/endpoint namespace without deleting unsent work; only a fresh authenticated handle can recover it.
  • Client queue/cache scoped to endpoint+authenticated user, durable enqueue-before-send, FIFO chains, malformed-ack rejection, conflicts retained, logout generation invalidation. Explicit server conflict choice journals local payloads before removing their full pending chain. Storage failures are not mistaken for network outages.
  • Subject/class and private learning check-in CRUD/archive now use owner validation and retain linked homework/history. Profile category and editable display name remain independent of family permissions.
  • Self-hosted Compose API/Postgres/nginxTLS + backup cron/healthchecks; independent non-superuser migrator, runtime DML and read-only backup credentials. Explicit backup-validated existing-object adoption; unexpected ownership/privileges fail before mutation. Tested synthetic backup/restore uses existing scripts. Runtime web fonts/CanvasKit are bundled locally. Notification polling uses a replaceable delivery port; background push is not enabled.
  • Web bootstrap holds one exclusive origin/browser-profile Web Lock before engine/session/cache access. A second instance or unsupported browser shows a Persian retry screen. Page lifecycle invalidation guards delayed HTTP responses and stale cache handles. Actual Safari/BFCache acceptance remains UNVERIFIED.
  • Product rebrand LifeGuide, Android ir.lifeguide.app, release key required from secrets; automatic public publishing and unused fix workflow removed. Deployment and signed-APK workflows are manual and disabled by default.

Execution evidence so far

Actual output and A–H limits are recorded in online acceptance and Stage 0 verification. Root reran Node22.23.3 against a fresh PostgreSQL16 database: 130/130 passed, zero failures/skips. All twelve migrations applied, four SQL matrices passed, syntax check covered 38 files and dependency audit reported zero vulnerabilities. The independent real-entrypoint/HTTP/DB eight-step substitute passed 9/9. Flutter aggregate 64/64, analyzer clean; final frozen-source release web build 57.5s. Compiled browser request test observed 14 local requests, zero external/missing/error; its HTTPS responses are explicitly intercepted and do not prove real TLS.

On 2026-10-08, local prebuilt Compose PostgreSQL/API/nginxTLS/backup were observed healthy. Real trusted HTTPS smoke passed create/read/archive/logout; synthetic family task and 1500-second paused session survived API image recreation. Mother/father browser rendering and session restart evidence are recorded separately from backend substitutes. Backup cron, two concurrent distinct archives and fresh synthetic restore/privacy/session drill passed. Complete SDK Dockerfile image build failed with disk/snapshot exhaustion; UNVERIFIED, while the checked host/CI web artifact has a lighter Compose packaging path. Historical checksum-less ledger entries are not retrospectively certified; fresh twelve-entry ledgers have checksums.

The first source CI passed backend tests/SQL but failed backup due to non-executable scripts; file mode and PostgreSQL16 client/container invocation were fixed and local restore retained 12/12 ledger/checksum entries. Final source commit 7d9366832adaaab4cc3f24ef4d928fddd307fdc9, CI run 37810558847: all three jobs succeeded, including 130 backend tests, 64 Flutter tests, PostgreSQL16 backup/restore, release web build and actual debug APK build/upload. LifeGuide-web and LifeGuide-debug-apk are test artifacts; debug signing is not a release. Independent downloaded APK inspection/install and release signing remain UNVERIFIED. Subsequent handover documentation does not change the application source tested by that run. No live host, DNS, production deploy, real-data migration, merge, signup, purchase or public release ran.

The subsequent handover-only commit 1c162a5 initially hit a GitHub account restriction before any runner started. After the owner reported it resolved, root actually requested rerun: run37813595994 attempt2 completed all three jobs successfully on the same source:130 backend tests,64 Flutter tests, web and debug APK upload. Historical restriction and exact fresh artifact receipts. No account/payment settings were changed. That CI success does not cover the new0.5.1 changes.

The0.5.1 packet and its evidence are tracked in isolation verification. Actual fresh client tests: 68/68 Flutter, zero failures/skips;3/3 Chrome Dart guards, zero skips; analyzer clean. Forced401/403 expiry tests preserve stable mutation UUID/payloads, invalidate old stores, isolate another account and allow one replay after same-account authentication; deliberate logout/server switch still discards. Final frozen-source release web build passed in43.0s;14 local asset requests/zero external or errors,8 compiled instance cases and forced-expiry exact-byte preservation passed. PostgreSQL final role drill passed9/9 runtime family tests,17 denied SQL checks per source/restored DB and12 checksum migrations. Current Compose API really uses lifeguide_api without admin/DDL flags; the existing completed task and1500-second session stayed unchanged. Real trusted HTTPS smoke7/7 and fresh mother PWA login/report passed, with23 same-origin requests and no private note. Screenshot and sanitized receipt. New source CI on7c4ca78 completed all three jobs successfully:130 backend,9 runtime-family,68 Flutter,3 Chrome guards, compiled gate8, expiry retention, web and debug APK. Actual APK binary manifest0.5.1/code4/ir.lifeguide.app and valid Android Debug v2 signature were inspected on the runner; this is not a signed release or device acceptance. Artifact IDs, binary/ZIP digests and receipt. Final handover changes after that source are documentation only with[skip ci], not a claimed successful latest-head CI. Unrun checks remain UNVERIFIED. No live deploy, DNS, real-data migration, merge, signup, purchase or public release ran.

UNVERIFIED acceptance and remaining gates

  • Real Android three-device lifecycle/install/upgrade; iPhone/iPad Safari login, Add to Home Screen and safe PWA update.
  • Windows PowerShell/WSL2/mkcert owner-PC installation and trusted mobile TLS.
  • VPN-free API/PWA/APK reachability inside Iran; foreign VPS/payment/KYC eligibility. No suitable long-term free/no-card VPS was verified; Stage 0 LAN is the primary recommendation.
  • Real email/SMS delivery/provider/payment, timing-indistinguishability of registration, background push.
  • Owner release keystore/certificate, genuinely signed LifeGuide.apk and public availability.
  • Legal/consent/retention gates for minor wellbeing and cycle data; in-country sensitive storage policy. These gates are flagged, not implemented or certified.
  • Complete account contact/closure, active-member role/admin transfer, and legacy life-context/year/term lifecycle CRUD; richer school/check-in UI and detailed exam/grade reports. Subject/class/check-in API CRUD is now tested, but that does not complete every auxiliary entity or its UI.
  • Real-host credential/ownership transition and encrypted/off-PC backups. Local independent-role tests do not authorize changing live privileges. Database role runbook.
  • Fully offline cold PWA startup, browser eviction/storage quota and hardware accessibility/update behavior; real Safari and actual BFCache restore. Exclusive-instance tests use Chromium; close all old app versions once before upgrading. Pending study events must receive acknowledgement before another event is recorded.

Next and operator responsibilities

Owner currently has no access to the home PC; no immediate owner action is required. Windows/mobile Stage0 acceptance stays pending until PC/LAN access returns. Read-only public domain audit at07:32:31UTC observed app.lifeguide.ir still serving0.1.0/build1 behind Arvan; the owner panel screenshot supports a Railway origin. This is the old public deployment, not the0.5.1 test endpoint; no DNS/origin change ran. Public GET results do not prove Iran VPN-free reachability or device acceptance.

The independent Stage0 readiness packet fixes a reproduced Windows-style Git checkout failure with a standard LF text/binary-preservation policy. Root actually ran RED/GREEN on Node22.23.3 using the unchanged real web artifact: Windows/LF checkout, three shell endings,13 binary inputs and source/artifact tamper rejection passed. No local Flutter rebuild/restamp or actual Windows run happened. The new regression then ran successfully after a fresh web build in CI37900944165, source7d35ee6.

The same packet fixes a reproduced false TLS PASS under inherited insecure Node settings. Node22.23.3 local HTTPS regression passed5/5 with zero failures/skips after explicit verified-TLS enforcement. Root's real existing Compose read-only smoke passed5 checks at07:43:47UTC; it did not opt into a new write round-trip. No task/session, live host or trust-store setting was changed. CI37900944165 completed all three jobs SUCCESS, including new TLS5/5 and checkout tests,130 backend,9 family,68 Flutter,3 Chrome guards, web and actual debug APK build/manifest/v2 signature. Receipt and current artifacts. The official connector downloaded the ZIP for private delivery; local extraction returned403 and is UNVERIFIED. Actual device install/upgrade, owner-signed release and public hosting remain open. The new debug certificate differs from the earlier CI build; no uninstall/data erase was performed or recommended for unsent work. Documentation follow-up does not claim an additional latest-head CI run.

Owner follows exact0.5.1 handover steps and runs Stage 0 using the checked prebuilt web artifact, synthetic accounts and A–H hardware acceptance; record real Android/Safari/Windows and VPN-free Iran results before operational use. Remaining engineering packets include account/membership lifecycle CRUD and detailed school UI/report gaps. Follow the explicit DB-role adoption runbook for an existing local fixture; never run it on a live database without approval. Owner chooses hosting, DNS, SMS/email provider and signing key outside chat; any live change needs its explicit approval. Hosting ADR, naming ADR, migration/rollback.