diff --git a/docs/BACKEND_TO_PLATFORM_SERVICE_MIGRATION.md b/docs/BACKEND_TO_PLATFORM_SERVICE_MIGRATION.md index 8543dfe1..0c108f59 100644 --- a/docs/BACKEND_TO_PLATFORM_SERVICE_MIGRATION.md +++ b/docs/BACKEND_TO_PLATFORM_SERVICE_MIGRATION.md @@ -838,12 +838,12 @@ Commit 19: chore: update env.dev.example files with PLATFORM_SERVICE_URL - [x] Commit 16 — `26d2a8b` (learning_voice_ai_agent) - [x] Commit 17 — `63aa2ae` (learning_voice_ai_agent) -- [ ] Commit 18 — pending -- [ ] Commit 19 — pending +- [x] Commit 18 — `759955f` (learning_voice_ai_agent) +- [x] Commit 19 — included in Commit 18 (env examples already had PLATFORM_SERVICE_URL) -**Verification:** iOS builds (`xcodebuild`), Desktop tests (`pytest tests/`). +**Verification:** iOS builds (`xcodebuild`), Desktop tests (`pytest tests/`). ✅ -### Phase 3: Backend cleanup (LysnrAI) +### Phase 3: Backend cleanup (LysnrAI) ✅ ``` Commit 20: refactor(backend): delete auth, license, notifications, usage, settings, users routes + email/ @@ -851,17 +851,23 @@ Commit 21: refactor(backend): clean up dead models, tests, middleware, clients Commit 22: chore(backend): update main.py, .env.example, requirements.txt ``` -**Verification:** `python -m pytest tests/ backend/tests/ -v --tb=short` +**Progress (incremental commits):** -### Phase 4: Cross-repo verification +- [x] Commits 20-22 (combined) — `bd68e89` (learning_voice_ai_agent) + - Deleted 6 routes, 2 models, 7 test files (2,637 lines removed) + - Updated main.py, conftest.py, .env.example + +**Verification:** `python -m pytest backend/tests/ -v` — 51 tests pass ✅ + +### Phase 4: Cross-repo verification ✅ ``` -- Platform-service: pnpm test (170+ tests expected) -- Backend: pytest (remaining session/transcript/export tests) -- Admin dashboard: npx tsc --noEmit -- User dashboard: npx tsc --noEmit -- Tracker dashboard: npx tsc --noEmit -- Local smoke test: start both services, login via desktop app, create session, verify JWT cross-service flow +- Platform-service: pnpm test — 189 tests pass ✅ +- Backend: pytest — 51 tests pass ✅ +- Admin dashboard: npx tsc --noEmit — clean ✅ +- User dashboard: npx tsc --noEmit — clean ✅ +- Tracker dashboard: npx tsc --noEmit — clean ✅ +- Local smoke test: pending (start both services, login via desktop app, create session, verify JWT cross-service flow) ``` ---