Commit Graph

345 Commits

Author SHA1 Message Date
saravanakumardb1
70fa6f4738 docs: update roadmap — Phase 3 complete (all items checked off) 2026-02-17 11:00:14 -08:00
saravanakumardb1
17f4e39c63 docs: update roadmap — Phase 3 nearly complete (cluster actions, audit, alerts, metrics, GDPR UI, indexing) 2026-02-17 10:52:53 -08:00
saravanakumardb1
80a4459f81 docs: update documentation 2026-02-17 10:49:14 -08:00
saravanakumardb1
856788c386 docs: update documentation 2026-02-17 10:35:46 -08:00
saravanakumardb1
0c98e3ae1e docs: update roadmap — Phase 3 progress (policy UI, rate limiting, ETag, dedup, GDPR) 2026-02-17 10:25:11 -08:00
saravanakumardb1
0edafab501 docs: Phase 2 complete — Android telemetry checked off, roadmap updated 2026-02-17 10:16:45 -08:00
saravanakumardb1
ae45054d32 docs: update roadmap — tracker + admin self-telemetry complete, 128 tests 2026-02-17 10:01:45 -08:00
saravanakumardb1
e6bce1f4c6 docs: add test coverage section to telemetry roadmap (108 tests across 3 components) 2026-02-17 09:44:04 -08:00
saravanakumardb1
dcc0befb8c docs: fix 10 gaps in telemetry roadmap — code bugs, diagram, missing dashboards 2026-02-17 09:36:56 -08:00
saravanakumardb1
c3d697711e docs: add telemetry implementation roadmap with phase checkboxes and commit links 2026-02-17 09:26:49 -08:00
saravanakumardb1
083cf029c1 docs: fix 18 gaps in telemetry design doc (rev 2) 2026-02-17 09:01:37 -08:00
saravanakumardb1
c59049efec docs: add client telemetry & log insights detailed design 2026-02-17 08:47:46 -08:00
saravanakumardb1
b9b4822cad docs(waitlist): add implementation TODOs summary + commit links to roadmap 2026-02-16 22:50:56 -08:00
saravanakumardb1
6a996cc11d test(waitlist): add 45 unit tests + update doc checkboxes with commit links
- 45 tests: schema validation, email normalization, status transitions, route exports
- Update Phase 1, 2, 3, 4 checkboxes in PRE_LAUNCH_SIGNUP_SYSTEM.md with commit SHAs
- Add webhook env vars to .env.example
2026-02-16 22:49:42 -08:00
saravanakumardb1
66e657a646 feat(products): extend product status lifecycle + prelaunch config
- Add 6 product statuses: draft, pre_launch, beta, active, sunset, disabled
- Add PrelaunchConfig with customFields, CAPTCHA, tagline, maxSignups
- Add isValidStatusTransition() helper for safe status changes
- Update getRequestProductId() to block draft/sunset/disabled
- Add getRequestProductIdForPublic() for pre_launch waitlist routes
- Add status transition validation to product update route
- Add PRE_LAUNCH_SIGNUP_SYSTEM.md design doc with full roadmap
2026-02-16 22:36:53 -08:00
saravanakumardb1
d829c41fd4 docs: update migration checklist — Phases 1-4 complete 2026-02-15 15:38:11 -08:00
saravanakumardb1
c6937b74a6 docs(migration): mark Phase 2 Commit 17 complete
- Updated Phase 2 checklist with Android migration commit hash 63aa2ae
2026-02-15 15:19:12 -08:00
saravanakumardb1
855ebffcf6 docs(migration): mark Phase 2 Commit 16 complete
- Added Phase 2 progress checklist
- Marked Commit 16 complete with learning_voice_ai_agent hash 26d2a8b
2026-02-15 15:15:08 -08:00
saravanakumardb1
e7c8023aa8 docs(migration): mark Commit 15 complete with test commit hash 2026-02-15 15:09:54 -08:00
saravanakumardb1
d236f19d42 docs(migration): track Phase 1 commit progress and review fixes
- Added checklist with commit hashes for commits 9-14
- Marked commit 15 pending
- Documented post-implementation bugfix commits from systematic review
2026-02-15 15:01:54 -08:00
saravanakumardb1
60617ab050 refactor(platform-service): replace PRODUCT_ID with getRequestProductId(req) in all modules
- 26 files updated: all repositories accept productId parameter instead of env var
- All route handlers extract productId via getRequestProductId(req) (JWT → header → env fallback)
- Repositories: auth, flags, audit, notifications, licenses, plans, referrals, usage, subscriptions, invitations
- Routes: all above + promos, items, memory, public, ratelimit, stripe
- lib/webhooks.ts: dispatchWebhook accepts optional productId parameter
- Stripe webhook handler uses metadata-based productId (no client JWT available)
- Ratelimit default config uses DEFAULT_PRODUCT_ID at startup
- 166 tests pass, tsc --noEmit clean
2026-02-15 14:29:11 -08:00
588d164ea0 docs(workstreams): align checklist with service consolidation 2026-02-15 08:58:58 -08:00
6acb3c05cd docs(workstreams): link MindLyst Android mic + blob upload commits 2026-02-15 04:04:46 -08:00
4d062ea6ca docs(workstreams): link MindLyst iOS voice blob upload 2026-02-15 03:57:40 -08:00
5eba8f5b60 docs(workstreams): link triageResult + blob media ref work 2026-02-15 03:52:19 -08:00
759fd78f3e docs(workstreams): link MindLyst iOS/Android memory-items wiring commits 2026-02-15 03:45:54 -08:00
224c78f90f docs(workstreams): note MindLyst iOS posting memory-items 2026-02-15 03:37:49 -08:00
1011fd85f8 feat(platform-service): restrict blob SAS/list/info to user scope 2026-02-15 03:31:27 -08:00
saravanakumardb1
63ab1631e1 docs(workstreams): update progress — TestFlight builds, delete history, sessions design, devops docs, production readiness 2026-02-15 03:25:05 -08:00
17c41e8441 feat(platform-service): add memory-items API backed by Cosmos 2026-02-15 03:20:09 -08:00
saravanakumardb1
4d78c45e85 docs: mark all 13 lysnr-* secrets as seeded, remove kv.txt + kv_azure.txt, update audit + rotation docs 2026-02-15 00:53:04 -08:00
7b529b420c docs: kv values 2026-02-15 00:51:19 -08:00
469efc6b8a chore: add kv export audit 2026-02-15 00:43:29 -08:00
saravanakumardb1
a7dd0a3daf chore: add kv.txt seed script for 13 lysnr-* secrets + update audit doc recovery status 2026-02-14 23:52:16 -08:00
saravanakumardb1
3bfdb7a084 docs: add git history recovery summary to KV audit, gitignore kv.txt seed file 2026-02-14 23:43:27 -08:00
saravanakumardb1
e5a481fb05 docs: holistic devops docs review — fix stale refs, rewrite KV rotation doc, delete scratchpad + outdated files 2026-02-14 23:24:41 -08:00
e4a9998e4b devops: kv action 2026-02-14 23:11:48 -08:00
ea44a73b62 docs(devops): add environment variables and Key Vault audit
Comprehensive audit of environment variables and Azure Key Vault secrets:
- Scanned all 35+ environment variables used across services
- Audited all 17 secrets in Azure Key Vault
- Identified critical gap: ZERO LysnrAI secrets in Key Vault
- MindLyst: 12 secrets (fully populated)
- MyWisprAI: 7 secrets (partially populated)
- LysnrAI: 0 secrets (100% missing)
- Listed 13 missing critical/high priority secrets
- Provided remediation plan with seed script instructions
- Added secret rotation strategy
- Included quick fix commands for Azure CLI

Critical findings:
- Missing Cosmos DB, JWT, Stripe, Gemini API keys for LysnrAI
- Code expects lysnr-* prefixed secrets but none exist
- Immediate action required to seed Key Vault

Co-Authored-By: Warp <agent@warp.dev>
2026-02-14 23:05:56 -08:00
598a84513a docs(devops): add comprehensive Azure resource inventory
Added AZURE_RESOURCE_INVENTORY.md with complete Azure infrastructure documentation:
- Subscription details and resource groups
- Full resource tree with all 13 Azure resources
- Cosmos DB databases (mindlyst, lysnrai, mywisprai) with all containers
- Storage, Key Vault, OpenAI, Speech Services, Notification Hubs
- Environment variables and resource IDs
- Geographic distribution and cost optimization notes
- Azure CLI quick commands

Co-Authored-By: Warp <agent@warp.dev>
2026-02-14 22:59:46 -08:00
saravanakumardb1
dcf6914419 docs: move Azure KV and portal setup docs into docs/devops/ 2026-02-14 22:52:06 -08:00
saravanakumardb1
7c18cb45f4 docs: mark Phase 5 complete in consolidation roadmap 2026-02-14 21:54:50 -08:00
saravanakumardb1
831e0cb810 docs: mark Phase 4 complete in consolidation roadmap 2026-02-14 21:49:36 -08:00
saravanakumardb1
81609e9358 fix: remove stale port references from monitoring, docs, and AI.dev skills 2026-02-14 21:48:21 -08:00
saravanakumardb1
1ba8d6950a docs: mark Phase 3 complete in consolidation roadmap 2026-02-14 21:34:58 -08:00
saravanakumardb1
0933e931d4 docs: mark Phase 2 complete in consolidation roadmap 2026-02-14 21:31:49 -08:00
saravanakumardb1
a862c692ec docs: mark Phase 1 complete in consolidation roadmap 2026-02-14 21:28:24 -08:00
saravanakumardb1
05008ee04f refactor: merge growth-service into platform-service
Phase 1 of service consolidation (5→2 services).

Moved modules:
- invitations (12 tests)
- referrals (9 tests)
- promos (7 tests)

Changes:
- Copied 3 modules + webhooks.ts lib from growth-service
- Added stripe dep to platform-service package.json
- Added webhook env vars to config schema
- Registered invitationRoutes, referralRoutes, promoRoutes in server.ts
- Removed growth-service directory

Tests: 83 passing (was 55 + 28 from growth = 83) 
Build: clean 
2026-02-14 21:27:44 -08:00
saravanakumardb1
a710340163 docs: second review pass — 5 additional gaps found (13-17), total 17 gaps
- Gap 13: Growth tsconfig path alias (unused, safe)
- Gap 14: Docker Compose depends_on for tracker-dashboard
- Gap 15: Admin dashboard docs.ts service directory list
- Gap 16: MindLyst docs reference old services
- Gap 17: Old Dockerfiles need deletion
- Confirmed safe: Cosmos pattern, vitest, extraction-service, MindLyst web, pnpm-workspace
- Phase 4 expanded with new task items (4.8.3, 4.8.6, 4.12, 4.13, 4.15.6)
2026-02-14 21:22:42 -08:00
saravanakumardb1
9f6c12043c docs: thorough review of service consolidation roadmap — 12 critical gaps identified
- Gap 1: Product ID naming inconsistency (tracker uses DEFAULT_PRODUCT_ID)
- Gap 2: Missing deps in platform-service (stripe, @bytelyst/auth, @fastify/rate-limit)
- Gap 3: Billing internal key auth must be scoped (not global hook)
- Gap 4-5: Growth webhooks lib + Stripe key config
- Gap 6: 17+ consumer files need URL updates across LysnrAI repo
- Gap 7: Ops status health check route references old ports
- Gap 8: Stripe webhook test hardcodes port 4002
- Gap 9-10: Load tests + Stripe docs reference old ports
- Gap 11: LysnrAI services/ env stubs need cleanup
- Gap 12: Mobile apps — no changes needed (confirmed)
- Route collision check: verified no conflicts
- Added Python client updates, Phase 0 baseline steps, pnpm install verification
2026-02-14 21:22:42 -08:00
saravanakumardb1
e4b55a0424 docs: add service consolidation roadmap, archive auth service design
- SERVICE_CONSOLIDATION_ROADMAP.md: plan to merge billing+growth+tracker into platform-service (5→2 services)
- AUTH_SERVICE_DESIGN.md: renamed with OUTDATED_CANCELED suffix, auth handled by platform-service
2026-02-14 21:22:42 -08:00
90041b6e7f docs(workstreams): log docker prune 2026-02-14 21:04:08 -08:00
95b45a9fd3 fix(cosmos): init containers on startup for local compose 2026-02-14 20:57:17 -08:00
saravanakumardb1
fde10be75b chore: add extraction-service to AGENTS.md, CI matrix, token pre-commit hook (7.9)
- AGENTS.md: extraction-service in layout, file ownership, deps, test table (211+ tests)
- ci.yml.disabled: extraction package + extraction-service added to matrix
- package.json: lint-staged rule to auto-generate tokens on bytelyst.tokens.json change
- ROADMAP.md: 252/278 (~91%), 7.9 done
2026-02-14 20:48:07 -08:00
8cd5f51389 docs: auth-service playbook 2026-02-14 20:39:37 -08:00
b044d3ee39 docs: note mindlyst ios memory store 2026-02-14 20:39:37 -08:00
3ac6de0595 ci(workflows): add reusable pnpm workflow 2026-02-14 19:50:44 -08:00
fd79131067 chore(release): add changesets 2026-02-14 19:49:08 -08:00
1e850bf232 docs(workstreams): update prereqs; mark extraction build 2026-02-14 19:47:13 -08:00
0240e7cbe0 Keep non-mobile checklist scoped; drop KMP item 2026-02-14 19:20:58 -08:00
9f96cdff2e docs: link MindLyst iOS XcodeGen/TestFlight readiness commit 2026-02-14 18:59:39 -08:00
16bc06d84a Add local health-check script; mark health verification 2026-02-14 18:59:01 -08:00
bbf91da48a Fix compose up on clean Docker; update checklist 2026-02-14 18:53:55 -08:00
35b58f4cb1 docs: link MindLyst iOS Share Extension scaffold commit 2026-02-14 18:05:26 -08:00
ad5fda4144 docs: link MindLyst iOS Azure Speech scaffold commit 2026-02-14 18:04:18 -08:00
cf4cf16630 docs: link LysnrAI iOS sound feedback commit 2026-02-14 18:02:18 -08:00
9c64c983a5 docs: link MindLyst iOS deep link + widget scaffold commits 2026-02-14 17:56:51 -08:00
2d098610cf docs: mark MindLyst iOS KMP compile verification 2026-02-14 17:54:42 -08:00
dc93d6cf83 docs: track iOS progress + link MindLyst voice capture commit 2026-02-14 17:31:35 -08:00
32f8f7ccf5 chore(docker): include new workspace packages in builds 2026-02-14 16:48:09 -08:00
e9b33fb518 feat(monitoring): add @bytelyst/monitoring package 2026-02-14 15:57:41 -08:00
125eb03745 feat(blob): add @bytelyst/blob shared package 2026-02-14 15:53:33 -08:00
dcfb774313 chore(tokens): auto-generate design tokens on commit 2026-02-14 15:46:20 -08:00
02eb686a8f chore(deps): add Dependabot config 2026-02-14 15:45:37 -08:00
c4611d1ff5 docs(workstreams): add prereqs and execution order 2026-02-14 15:44:31 -08:00
5113b569a1 docs(workstreams): add remaining tasklists 2026-02-14 15:33:56 -08:00
saravanakumardb1
c5b7029348 chore(ci): add cross-repo CI trigger + update roadmap (5.18-5.23, 4.23)
- trigger-consumers.yml.disabled: dispatches common-platform-updated event
- Dashboard CI workflows now in LysnrAI repo (5.22)
- Service CI already in common-plat ci.yml.disabled (5.18-5.21 N/A)
- Roadmap updated: 251/278 items (~90%)
2026-02-14 14:25:43 -08:00
saravanakumardb1
ac17e99aca docs(extraction): add completion status + deferred items table + verification summary
All 68 items checked. 5 deferred sub-tasks listed with action needed:
- 4.3: Docker build not yet run
- 4.11: CI disabled (billing)
- 5.4: Cosmos usage persistence (Phase 7)
- 6.2: Blob storage for visualizations
- 6.4: Webhook callback for async jobs
2026-02-14 14:12:00 -08:00
saravanakumardb1
7d2795165e docs(extraction): update roadmap — all 68 items complete across Phases 0-6
All checkboxes marked with commit links across 3 repos:
- common_plat: c292bb5, 0a87d19, 6a49823, bdd9bb1, c9d5c0c, 37343ae, 0d0165e, 9c8a316, b8c0a73, 5c1744d
- voice_ai_agent: 944609a, f65e318, a36b956, 87822d5, 00a3617
- multimodal_memory_agents: b545244, da04d4e
2026-02-14 14:09:57 -08:00
saravanakumardb1
b035908a5a docs(extraction): update roadmap Phase 3-4 checkboxes with commit links
- Phase 3: LysnrAI admin extraction-client (944609a), MindLyst web extraction-client (b545244)
- Phase 4: docker-compose (bdd9bb1), .env.example updates (bdd9bb1, 944609a)
- Deferred items clearly marked for Phase 5
2026-02-14 13:41:56 -08:00
saravanakumardb1
38467a9b96 docs(extraction): update roadmap Phase 1-3 checkboxes with commit links 2026-02-14 13:37:51 -08:00
saravanakumardb1
4b4720aebd docs(extraction): update roadmap Phase 0 checkboxes with commit c292bb5 2026-02-14 13:32:46 -08:00
saravanakumardb1
6c71255d19 docs: update documentation 2026-02-14 13:22:25 -08:00
468a6c6072 docs(codex): platform+product refactor roadmap (2026-02-14) 2026-02-14 12:09:31 -08:00
06aca239f4 chore(security): add secret scanning + playbook 2026-02-14 00:24:41 -08:00
saravanakumardb1
60f0703049 docs(roadmap): audit and correct all task statuses and test counts
- Check 5 items that were actually done: 4.20 (CSS synced), 2C.22 (health-check), 6.27 (depcheck), 6.28 (git clean), 7.6 (testing pkg)
- Fix test counts: 6.1 → 652 (5 pre-existing Pydantic failures), 6.11 → 281
- Fix summary table: 2A 25→24, 2C 21→22, 6 23→21
- Total: 244/278 = 88% (was incorrectly 248/278 = 89%)
2026-02-13 01:00:58 -08:00
saravanakumardb1
13e53d46bf docs: add MIGRATION_GUIDE.md + update ROADMAP to 89% (248/278)
- MIGRATION_GUIDE.md: step-by-step for adopting @bytelyst/* in new projects
- ROADMAP: Phase 3B 25/28 (user/tracker keep custom auth, removed unused deps)
- ROADMAP: Phase 6 23/28 (docs updated, cleanup done, E2E needs running services)
- Test count: 277 tests across 16 suites
2026-02-13 00:09:01 -08:00
saravanakumardb1
fd6e3d7e8e docs: update AGENTS.md + ROADMAP.md to 83% complete (232/278)
- AGENTS.md: added fastify-core, logger, testing to layout; updated dashboard consumer table; updated test count to 277
- ROADMAP.md: Phase 2B complete (29/29), Phase 5 Docker tasks (15/23), Phase 6 regression (17/28)
- Cross-repo regression verified: 277 tests pass, all 3 dashboards typecheck clean
2026-02-12 23:51:53 -08:00
saravanakumardb1
33a646c0fe docs(roadmap): note CI workflows disabled (billing paused) 2026-02-12 23:30:58 -08:00
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