Commit Graph

557 Commits

Author SHA1 Message Date
saravanakumardb1
ac24a6ba20 docs(roadmap): update to 77% complete (215/278 tasks)
This session:
- fastify-core: integrated into all 4 services (208 lines eliminated)
- react-auth: 10 tests added (jsdom + React Testing Library)
- @bytelyst/testing: new package with shared mocks, fixtures, helpers (10 tests)
- CI workflow: .github/workflows/ci.yml (build + test + typecheck, NO deploy)
- Total tests: 266 (was 246)
2026-02-12 23:01:59 -08:00
saravanakumardb1
a4099c8f9b docs(roadmap): update to 72% complete (201/278 tasks)
New completions this session:
- Package tests: cosmos (12), config (15), auth (10), api-client (10), design-tokens (11)
- @bytelyst/fastify-core: new package with 8 tests (createServiceApp factory)
- @bytelyst/react-auth: enhanced with onLoginFallback, admin dashboard refactored
- Total tests: 246 (was 180)
2026-02-12 22:23:53 -08:00
saravanakumardb1
81452bc157 docs(roadmap): update task statuses — 59% complete (165/278 tasks)
Cross-referenced every task against actual codebase state:
- Phase 0: 14/14  (scaffolding complete)
- Phase 1A: 22/23  (errors — Docker verify pending)
- Phase 1B: 29/33 ⚠️ (cosmos — package tests pending)
- Phase 2A: 22/25 ⚠️ (config — package tests pending)
- Phase 2B: 22/29 ⚠️ (auth — tracker + E2E pending)
- Phase 2C: 0/24 🔲 (fastify-core — not started)
- Phase 3A: 13/17 ⚠️ (api-client — tests pending)
- Phase 3B: 6/28 ⚠️ (react-auth — extracted, not integrated)
- Phase 4: 19/24 ⚠️ (design-tokens — tests pending)
- Phase 5: 3/23 🔲 (CI/Docker — mostly not started)
- Phase 6: 15/28 ⚠️ (regression done, E2E pending)
- Bonus: @bytelyst/logger (not in original roadmap)
2026-02-12 22:10:24 -08:00
saravanakumardb1
90b9cf93d8 fix(common): configure ESLint 9 and fix lint issues
- Added @eslint/js dependency
- Updated eslint.config.js for ESLint 9 compatibility
- Added required globals (crypto, localStorage, React, etc.)
- Fixed unused imports and variables
- Disabled sort-imports temporarily
- Formatted all files with Prettier
2026-02-12 16:37:30 -08:00
saravanakumardb1
bf22b5ee4c docs(roadmap): address 15 gaps found via codebase cross-reference
Gap Analysis added:
- G1: Route-level import rewiring (22 error files, 13 cosmos, 34 product-config)
- G2: Existing errors.test.ts files in 3 services need updating
- G3: 5th product-config copy in user-dashboard-web
- G4/G5: Admin dashboard API routes + repositories import product-config
- G6: growth-service webhooks.ts imports product-config
- G7: file: reference paths differ (services=3 levels, dashboards=2 levels)
- G8: pnpm install + lock file steps added to each integration
- G9: Rollback strategy added to Phase 0
- G10: Git branching strategy added to Phase 0
- G11: Docker file: reference solution (pre-copy script) in Phase 5
- G12: 24 auth-context consumer files need path updates (thin re-export pattern)
- G13: MindLyst Android MindLystTheme.kt added to Phase 4
- G14: @bytelyst/auth false dep on config removed (reads JWT_SECRET from env)
- G15: Dashboard repositories (8 files) importing cosmos added to Phase 1B

Revised: ~278 tasks, ~37-51 hours estimated
2026-02-12 10:55:03 -08:00
saravanakumardb1
69f18f2588 docs: add detailed phased roadmap with task checklists
- 7 phases (0-6 + future): scaffolding, P0 packages, P1 packages, P2 packages, design tokens, CI/CD, verification
- ~150 checkboxed tasks covering extract, test, integrate, cleanup, Docker, and docs
- Dependency-ordered execution: errors → cosmos → config → auth → fastify-core → api-client → react-auth → design-tokens
- Estimated ~28-41 hours total effort
2026-02-12 10:48:38 -08:00
saravanakumardb1
a874a4332b docs: add common platform analysis, ecosystem architecture, and drawio diagram
- COMMON_PLATFORM_ANALYSIS.md: identifies 8 shared packages to extract from LysnrAI and MindLyst repos (~1,580 LOC duplication eliminated)
- ECOSYSTEM_ARCHITECTURE.md: detailed post-refactor architecture with components, services, migration plan, advantages, cautions, versioning, testing, and CI/CD impact
- ecosystem-after-refactor.drawio: 4-layer architecture diagram (clients, repos, common platform, Azure infra)
2026-02-12 10:40:28 -08:00