docs(roadmap): record mobile build checklist

This commit is contained in:
Saravana Achu Mac 2026-05-05 13:24:06 -07:00
parent ec2fcc7efc
commit e8ce73ef70

View File

@ -207,7 +207,7 @@ Goal: mobile is a reliable companion app, not a scaffolded surface.
- [x] **P7.2** Add or strengthen mobile tests for note list/detail/edit, capture, workspace selection, inbox approvals, intake, prompt result, settings, feedback, broadcast/survey, and offline queue. Commit: `ec724b7`; Verified: `zsh -lc 'source ~/.zshrc; export GITEA_NPM_TOKEN; pnpm --filter @notelett/mobile run typecheck'`; `zsh -lc 'source ~/.zshrc; export GITEA_NPM_TOKEN; pnpm --filter @notelett/mobile exec vitest run src/api/notes.test.ts src/api/workspaces.test.ts src/api/intake.test.ts src/api/note-agent-actions.test.ts src/store/intake-store.test.ts src/lib/offline-queue.test.ts src/lib/platform-clients.test.ts src/app/prompt-result.test.tsx --reporter=verbose'`; `zsh -lc 'source ~/.zshrc; export GITEA_NPM_TOKEN; pnpm --filter @notelett/mobile run test'`; `git diff --check`. Added release-critical mobile coverage for notes API list/detail/create/update mapping, workspace selection data, inbox approval/activity API mapping, intake submit/jobs/rules plus polling completion, prompt result render/dismiss states, shared feedback/broadcast/survey client configuration, and common-platform offline queue create/update/flush wiring. Full mobile suite now covers 21 test files and 80 tests.
- [x] **P7.3** Verify mobile blob upload, share intent intake, and prompt/intake flows use shared clients and handle offline/failure states. Commit: `5e32f16`; Verified: `zsh -lc 'source ~/.zshrc; export GITEA_NPM_TOKEN; pnpm --filter @notelett/mobile run typecheck'`; `zsh -lc 'source ~/.zshrc; export GITEA_NPM_TOKEN; pnpm --filter @notelett/mobile exec vitest run src/api/blob-upload.test.ts src/lib/share-intent.test.ts src/store/intake-store.test.ts src/store/prompt-store.test.ts src/api/note-prompts.test.ts src/api/intake.test.ts --reporter=verbose'`; `zsh -lc 'source ~/.zshrc; export GITEA_NPM_TOKEN; pnpm --filter @notelett/mobile run test'`; `git diff --check`. Confirmed blob uploads go through the shared `blobClient`, normalized unsafe mobile blob filenames, added share-intent URL extraction/normalization tests for routing into intake, surfaced failed intake jobs on the intake confirmation screen, and strengthened prompt/intake failure-state coverage including non-Error prompt failures. Full mobile suite now covers 23 test files and 91 tests.
- [x] **P7.4** Verify mobile feature flags, kill switch, diagnostics, telemetry, and app metadata are initialized and flushed at lifecycle boundaries. Commit: `738fa5b`; Verified: `zsh -lc 'source ~/.zshrc; export GITEA_NPM_TOKEN; pnpm --filter @notelett/mobile run typecheck'`; `zsh -lc 'source ~/.zshrc; export GITEA_NPM_TOKEN; pnpm --filter @notelett/mobile exec vitest run src/lib/platform.test.ts src/lib/app-metadata.test.ts src/lib/platform-api.test.ts src/lib/platform-clients.test.ts --reporter=verbose'`; `zsh -lc 'source ~/.zshrc; export GITEA_NPM_TOKEN; pnpm --filter @notelett/mobile run test'`; `git diff --check`. Added mobile platform lifecycle coverage proving telemetry, feature flags, kill switch, blob, diagnostics, app metadata, install id, and auth token access are configured through shared `@bytelyst/*` clients; verified `initPlatform()` is idempotent and best-effort on flag failures, feature value helpers delegate to the shared flag client, kill-switch checks delegate to the shared client, and `flushTelemetry()` flushes the shared telemetry buffer used by app lifecycle handlers. Full mobile suite now covers 25 test files and 97 tests.
- [ ] **P7.5** Add Expo production build notes and smoke checklist for iOS/Android simulators or devices. Commit:
- [x] **P7.5** Add Expo production build notes and smoke checklist for iOS/Android simulators or devices. Commit: `ec2fcc7`; Verified: `git diff --check`; `rg -n "MOBILE_PRODUCTION_BUILD_AND_SMOKE|Expo production build|iOS Simulator|Android Emulator|EXPO_PUBLIC_NOTES_API_URL" docs/MOBILE_PRODUCTION_BUILD_AND_SMOKE.md README.md docs/roadmaps/04_MOBILE_ROADMAP.md`; `zsh -lc 'source ~/.zshrc; export GITEA_NPM_TOKEN; pnpm --filter @notelett/mobile run typecheck'`. Added `docs/MOBILE_PRODUCTION_BUILD_AND_SMOKE.md` with product identity, required services, `EXPO_PUBLIC_*` build environment, pre-build verification, local production-like launch, EAS production build notes, iOS/Android simulator/device smoke checklist, and result-recording expectations; linked it from README and marked mobile smoke documentation complete in the mobile roadmap.
Acceptance criteria:
- Mobile has meaningful tests for release-critical flows.