LifeMate — Personal, Family & Learning Companion
feat/local-signing-preflight
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 | # Synthetic Android recovery acceptance — B2 |
| 2 | |
| 3 | Approved boundary: ADR0018 option B preparation and fictional tests only. This is a separate PR on PR44. No owner data/phone, owner signing key, distribution, merge, deploy or DNS. Original `.device` certificate baseline and user-APK upload hold stay fixed. |
| 4 | |
| 5 | The temporary execution environment was replaced before the previous uncommitted B2 harness reached GitHub. PR44 remains durable and its general CI39673693877 actually succeeded. Rebuild B2 from the persisted plan; commit partial work explicitly before environment resets. Do not call the lost draft verified code. |
| 6 | |
| 7 | ## Ownership and acceptance |
| 8 | |
| 9 | - Coordinator: Gradle opt-in QA identity, manifest and Dart wrapper, workflow, docs/evidence; no application schema/feature changes. |
| 10 | - Host QA implementer: four new `*personal_recovery*` checker/harness Python files under `apps/lifemate/tool`; RED/GREEN for safety gates before integration. |
| 11 | - Independent reviewer: whole B2 diff and refusal paths. Coordinator runs actual CI and inspects receipt/screenshots. |
| 12 | |
| 13 | 1. Before any adb mutation, require explicit fictional-emulator acknowledgement, `emulator-N` serial, qemu+SDK hardware/product, API35, and no LifeGuide packages. |
| 14 | 2. Inspect/signature-verify the exact delivered original APK using immutable baseline hash/certificate/package/code. Install without overwrite; seed only a newly owned, unlaunched install's absent default DB with the B1 closed fictional fixture. No uninstall, clear-data, force-stop, root or source checkpoint. |
| 15 | 3. Launch ordinary original app UI, verify fictional profile visible, close normally and confirm process absent. Capture only when the same inert sidecar shape holds before and after: no sidecars; regular zero-byte WAL with absent/regular SHM and no journal; or regular zero-byte TRUNCATE journal with no WAL/SHM. Require PID absence both times; reject symlinks, abnormal sidecar types, nonempty WAL/journal, orphan SHM, and journal coexistence with WAL/SHM. Never remove/checkpoint any source file. This bounded amendment follows the actual c5942f4 Android metadata receipt (journal0/WAL+SHM absent), not a new owner-data transfer permission. Normalize only a private host copy, validate B1 snapshot and compare all fields after reopen. |
| 16 | 4. B1 authenticated in-memory encrypted roundtrip; install never-distributed `.personal` QA code10 alongside. Seed only absent default DB, launch/reopen ordinary UI, compare all fields/IDs and independent SQL. Notifications/OS permission remain OFF; no consent copied. |
| 17 | 5. Reopen original again, then update only the new QA app with same ephemeral test certificate and code11. Close/reopen both default DBs and compare every record. Test certificate is not an owner key or promise of production upgrades. |
| 18 | 6. Use file-based UIAutomator dump with owned temporary filename and cleanup; `/dev/tty` was actually broken on the prior API35 run. Screenshots contain fictional records only. |
| 19 | 7. CI uploads sanitized JSON and fictional PNGs only. No APK, SQLite, archive or key upload. App/fixture builds are debug-only with matching Gradle properties, Dart defines, target and codes; release/profile/mismatch fail closed. Existing online `.app` and personal `.device` defaults remain unchanged. |
| 20 | |
| 21 | ## Ledger |
| 22 | |
| 23 | - [x] Host safety and manifest RED/GREEN. |
| 24 | - [x] Opt-in QA build gates; default identities preserved. |
| 25 | - [x] Independent review; applicable tests/format/analyze run. |
| 26 | - [x] Actual fresh API35 CI; inspect outputs and screenshots before claims. |
| 27 | - [x] Record failures and precise remaining UNVERIFIED items; PR and stop at real-data boundary. |
| 28 | |
| 29 | Physical devices, Windows/USB/ACL, real data/keys, old-app notification ON/dedup, Doze/sound/reboot, permission consent UI and production readiness remain UNVERIFIED. Real owner transfer requires separately accepted tooling, local user choice and stable signing; this test harness is not that interface. |
| 30 | |
| 31 | ## Recorded outcome — 2026-10-23 |
| 32 | |
| 33 | Functional bdc97c8d95992385e91b40853d1c7a6c40c4c494: actual API35 run39914081997 PASS/complete; original UI, encrypted roundtrip, both default DBs close/reopen, QA same-test-key10→11 and second reopen all passed with full-field/independent SQL equality. Original DB hash unchanged, QA notifications OFF. Root officially downloaded artifact12484965895, verified ZIP/PNG hashes, inspected receipt and both real fictional screenshots. Host82/B1-55/Flutter332 and eight negative Gradle cases passed. GeneralCI39914082002 succeeded. |
| 34 | |
| 35 | Actual prior failures (including the two date-dependent picker test failures) are retained in evidence; no success inferred from a failed run. The later date-picker fix is test-only, with unchanged RED2 then GREEN2, full332 pass and deterministic duplicate-label coverage. Final docs-only commit is not a new code test run (UNVERIFIED). |
| 36 | |
| 37 | Personal delivery run39914082024 remains BLOCKED by original signer/version/default-DB upgrade guard; baseline and hard upload hold are unchanged. B2 does not prove old-install update or an owner signing key. [Evidence](../../audits/evidence/personal-recovery-android-2026-10-23.json), [runbook](../../operations/PERSONAL_RECOVERY_ANDROID_QA.md). Stop at this synthetic package boundary; no owner operation or new APK handoff. |