docs(roadmap): record mobile flow coverage

This commit is contained in:
Saravana Achu Mac 2026-05-05 12:57:01 -07:00
parent ec724b7130
commit dd988ba7a5

View File

@ -204,7 +204,7 @@ Acceptance criteria:
Goal: mobile is a reliable companion app, not a scaffolded surface.
- [x] **P7.1** Verify mobile auth against platform-service: login, register, token persistence, refresh/logout, auth-gated store hydration, and offline startup. Commit: `3d02deb`; 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/store/auth-store.test.ts src/lib/auth-helpers.test.ts --reporter=verbose'`; `zsh -lc 'source ~/.zshrc; export GITEA_NPM_TOKEN; pnpm --filter @notelett/mobile run test'`; `git diff --check`. Hardened mobile auth against the common-platform `@bytelyst/auth-client` contract by reading the shared token key, caching signed-in email for offline bootstrap, preserving valid local sessions during startup network failures, refreshing expired sessions before clearing tokens, clearing cached session state on failed login/register/refresh/logout, and covering login, register, token persistence, refresh/logout, auth-gated bootstrap, MFA-required login, and offline startup behavior.
- [ ] **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:
- [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.
- [ ] **P7.3** Verify mobile blob upload, share intent intake, and prompt/intake flows use shared clients and handle offline/failure states. Commit:
- [ ] **P7.4** Verify mobile feature flags, kill switch, diagnostics, telemetry, and app metadata are initialized and flushed at lifecycle boundaries. Commit:
- [ ] **P7.5** Add Expo production build notes and smoke checklist for iOS/Android simulators or devices. Commit: