Commit Graph

436 Commits

Author SHA1 Message Date
saravanakumardb1
7c99f5a5fa docs(e2ee): update roadmap — Phase 1 + Sprint 3 complete, 6 backends encrypted
- Sprint 1: @bytelyst/field-encrypt package — all items complete
- Sprint 2: LysnrAI + JarvisJr encrypted, MFA refactor deferred (data format risk)
- Sprint 3: NoteLett + NomGap + ActionTrail encrypted
- MindLyst deferred (KMP/Gradle repo, not Fastify backend pattern)
- Total: 6 product backends with field-level encryption, all tests green
2026-03-21 09:36:39 -07:00
saravanakumardb1
8af997ba0f docs(devops): update stale mywisprai/MyWisprAI branding across 5 AKV docs
- BytelystAI → ByteLyst in titles
- MyWisprAI → LysnrAI (legacy) for wispr-* secret references
- Added 'legacy resource name' annotations to Azure resource names
  (kv-mywisprai, cosmos-mywisprai, etc. cannot be renamed)
- Updated dashboard paths (admin-web moved to dashboards/)
- Fixed telemetry role name: mywisprai-admin → lysnrai-admin
- Updated last-updated dates to 2026-03-21

Files: AZURE_KEY_VAULT_AND_SECRETS_ROTATION.md,
AZURE_PORTAL_SETUP.md, AZURE_RESOURCE_INVENTORY.md,
ENVIRONMENT_VARIABLES_AND_KEYVAULT_AUDIT.md,
END_TO_END_ENCRYPTION_ROADMAP.md
2026-03-21 09:15:30 -07:00
saravanakumardb1
2e35334e13 docs(devops): add coding agent automation playbook
- 11 cross-repo automation tasks for AI coding agents
- Workspace hygiene, test suites, coverage gaps, typecheck, deps, secrets
- Baseline test counts: 1,457 backend + 864 web = 2,321 total
- Priority matrix, quick-start commands, existing workflow references
2026-03-21 09:04:35 -07:00
saravanakumardb1
af5684587d docs(devops): fix 14 bugs/gaps in E2EE design + roadmap after codebase review 2026-03-21 09:01:35 -07:00
saravanakumardb1
b6a1d637fb docs(devops): add E2EE design document and implementation roadmap 2026-03-21 08:51:43 -07:00
saravanakumardb1
2eadf480dc docs: Add post-implementation review fixes section to roadmap
Systematic review found 7 bugs across 7 repos:
1. LysnrAI Android: SettingsStore.kt incorrectly deleted (ada3d43)
2. Android kill switch: result.killed → result.disabled (3 repos)
3. Auth App iOS: BLKillSwitchClient.check() returns Void (215e7c9)
4. ChronoMind iOS: nonexistent BLKillSwitchResult (d3c3aff)
5. MindLyst iOS: KillSwitch + CrashReporter wrong API (cd78597)
6. JarvisJr iOS: KillSwitchResponse decoded 'killed' not 'disabled' (2a3cc7e)
7. NoteLett Mobile: createDiagnosticsClient doesn't exist (0b5c224)
2026-03-20 23:16:19 -07:00
saravanakumardb1
76e05f836a docs: Update MOBILE_DRY_REFACTORING_ROADMAP with all 9 phases completed
Phases 1-9 complete with commit links and checked boxes:
- Phase 1: ChronoMind Android (2060a83)
- Phase 2: JarvisJr Android (336535a)
- Phase 3: FlowMonk Mobile RN (ce70d8c)
- Phase 4: LysnrAI Android (24a09a2) — 11 dead services deleted
- Phase 5: NomGap RN (63bd34b) — billingFetch replaced
- Phase 6: LysnrAI iOS (862e981) — 5 dead services deleted
- Phase 7: Auth App Android (5b65215) — telemetry/flags/killswitch added
- Phase 8: Auth App iOS (4a84050) — telemetry/flags/killswitch added
- Phase 9A: ChronoMind iOS (c328216) — Config + KillSwitch wrappers
- Phase 9B: NoteLett Mobile (c2d6414) — diagnostics-client added
- Phase 9C: MindLyst iOS (dce9e22) — Config + KillSwitch + CrashReporter
- Phase 9D: JarvisJr iOS — no changes needed (sync manager active)

Total: ~2,700 lines of dead code removed across 6 repos.
13 TODOs logged for build verification and deferred migrations.
2026-03-20 22:53:26 -07:00
saravanakumardb1
ac63116528 docs: mark Cross-Repo DRY Migration roadmap as COMPLETE (all 5 phases)
- Phase 4 (Web Client DRY) completed: createWebTelemetry + createWebDiagnostics
- 6 web apps migrated, all typechecks + tests pass
- product-config.ts standardization deferred (risk > ROI)
2026-03-20 18:58:31 -07:00
saravanakumardb1
b9e37bb8b4 feat(telemetry-client,diagnostics-client): add createWebTelemetry + createWebDiagnostics convenience factories
- telemetry-client: createWebTelemetry() wraps createTelemetryClient() with web defaults
- diagnostics-client: createWebDiagnostics() wraps DiagnosticsClient with install ID + web defaults
- Eliminates ~70 lines of boilerplate per web app
- 11/11 telemetry tests pass, 21/21 diagnostics tests pass
2026-03-20 18:47:18 -07:00
saravanakumardb1
470661e274 docs: mark Phase 3 complete, Phase 4 deferred in DRY migration roadmap 2026-03-20 08:06:37 -07:00
saravanakumardb1
f5d64d58ce docs: mark Phase 0+1 complete in DRY migration roadmap with commit hashes 2026-03-20 07:48:24 -07:00
saravanakumardb1
d10322095a docs: fix 10 inaccuracies in DRY audit + roadmap after thorough review
Verified claims against actual codebase. Key corrections:

Audit (CROSS_REPO_DRY_AUDIT.md):
- Fix #5: all 9 repos already use @bytelyst/datastore — issue is only
  DB_PROVIDER missing from config.ts in 3 older repos (not a full migration)
- Fix #6: only 3 repos have product-config.ts (not 4) — NomGap was wrong
- Fix #11: web telemetry.ts is in NomGap+NoteLett+ChronoMind+LysnrAI (not JarvisJr)
- Fix #12: web diagnostics.ts includes LysnrAI user-dashboard-web (5 repos total)
- Fix auth.ts LOC: exactly 79 lines × 9 repos = 711 (was '60-90')
- Fix request-context.ts LOC: 30-49 lines range (was '~30-50')
- Fix package count: 50 packages (not 53)
- Add items 15-16: web auth.ts + billing-client.ts (noted as keep-as-is)
- Fix LOC math: ~2,700 total (was inflated ~4,200)
- Add cosmos-init.ts note (5 repos, product-specific, not consolidation candidates)

Roadmap (CROSS_REPO_DRY_MIGRATION_ROADMAP.md):
- Phase 0.2: 6 repos need product-config.ts (add NomGap)
- Phase 2.3: rewritten from 'migrate to datastore' to 'add DB_PROVIDER to config'
- Phase 4: add LysnrAI user-dashboard-web to affected repos, remove JarvisJr from telemetry
- Fix product-config.ts template path (was ../../../../, now ../../../ with depth note)
- Fix success metrics: packages 50→55, product-config 3→9, LOC ~1,760
- Fix overview table: Phase 2 name, Phase 4 repo count
2026-03-20 07:15:07 -07:00
saravanakumardb1
a769f671e2 docs: cross-repo DRY audit + end-to-end migration roadmap
- CROSS_REPO_DRY_AUDIT.md: identified 14 duplication patterns across
  9 product backends + web clients (~4,200 LOC duplicated)
- CROSS_REPO_DRY_MIGRATION_ROADMAP.md: 5-phase execution plan with
  concrete file lists, migration steps, verification checkpoints,
  rollback strategy, and success metrics
- Phase 0: quick wins (delete errors.ts re-exports, standardize product-config)
- Phase 1: @bytelyst/fastify-auth (auth + request-context for 9 repos)
- Phase 2: @bytelyst/backend-config + datastore migration for 3 older repos
- Phase 3: backend-flags, backend-telemetry, domain-events (FlowMonk + ActionTrail)
- Phase 4: web client DRY (telemetry, diagnostics, product-config conveniences)
- Estimated: 11 days, 5 new packages, ~3,260 LOC eliminated
2026-03-20 07:04:46 -07:00
saravanakumardb1
63322a2d07 docs(roadmap): mark P3 Platform Deepening as complete with commit links
All 6 phases implemented, 58 new tests (1,278 → 1,336):
- Phase 1: 15e24e5 — Event Bus + Worker Runtime (15 tests)
- Phase 2: 84dc348 — Agent Runtime Orchestration (14 tests)
- Phase 3: 05acacd — AI Budget & Cost Governance (9 tests)
- Phase 4: 9758192 — AI Governance & Evals (8 tests)
- Phase 5: a060ee4 — Human Review Queue (7 tests)
- Phase 6: 0bbae1f — Support Case Management (5 tests)
2026-03-20 03:39:48 -07:00
saravanakumardb1
17f5671595 docs(roadmap): P3 platform deepening roadmap — reviewed and audited
- 6 phases: Event Bus, Agent Runtime, AI Budget, AI Evals, Reviews, Support Cases
- 7-sprint mapping (14 weeks) with parallelization opportunities
- Cross-referenced all claims against actual codebase — 15 bugs/gaps found and fixed:
  - DurableEventBus already exists in @bytelyst/events (not just in-memory)
  - jobs/ has 25 tests (not 6), support-cases/ has 4 (not 3)
  - ai-budgets already has verdict engine (252 LOC), alert generation, model allowlists
  - BudgetScopeType only supports product+agent (not org/workspace yet)
  - reviews/notifications.ts already has notifyReviewAssigned()
  - Phase 2 effort overflowed (17d in 15d sprint) — rebalanced
  - Test baseline corrected to 1,278 (not 1,308)
  - Identified Cosmos QueueStore gap as critical path for Phase 1
  - ai-diagnostics has 5,235 LOC but 0 tests — flagged as risk
- Estimated ~138 new tests bringing total to ~1,416
2026-03-20 01:20:49 -07:00
saravanakumardb1
5f294b30b0 docs: update workspace review — all P0/P1/P2 items completed with commit links
- P0: typecheck sweep (0 errors), integration verified, roadmap hygiene (8c3d540)
- P1: analytics deepened (1efbb93), cloud SDK + declarative loader already done
- P2: orgs RBAC (0195cde), agents (ae87371), knowledge (20663d7), SCIM (d073122)
- 4 items deferred to product-level: iOS keyboard, create-app publish, ChronoMind, auth-ui
- Full test sweep: 1,262 tests pass across 114 files
2026-03-20 00:46:42 -07:00
saravanakumardb1
8c3d54048a docs: reorganize roadmaps — broadcast/survey to completed, 10 scaffolded roadmaps to new dir
- Move platform_BROADCAST_SURVEY_ROADMAP.md to completed/ (modules + 43 tests built)
- Create docs/roadmaps/scaffolded/ for roadmaps with modules built but full execution pending
- Move 10 roadmaps from not-started/ to scaffolded/:
  ORG_WORKSPACE_RBAC, AGENT_REGISTRY, AGENT_RUNTIME, AI_BUDGET,
  AI_GOVERNANCE_EVALS, HUMAN_REVIEW, KNOWLEDGE_RAG, SCIM,
  SUPPORT_CASE, DURABLE_EVENT_BUS
- Update WORKSPACE_REVIEW: 17 completed roadmaps, 10 scaffolded, 1 not-started (index)
- Only platform_AGENT_PLATFORM_GAP_ROADMAP_INDEX.md remains in not-started/
2026-03-20 00:25:36 -07:00
saravanakumardb1
a8bef2ea08 docs: sync workspace review with actual code state — post-audit update
- platform-service: 37 → 62 modules, 1020 → 1239 tests, 23 → 53 packages
- Mark completed: Platform Acceleration (4 phases), CDN, Search, Dunning,
  Tenants, Retention, Backups, API Versioning, A/B Testing, Impersonation,
  Predictive Analytics, AI Diagnostics, Broadcasts, Surveys
- Add scaffolded roadmaps section (11 modules with types/repo/routes/tests)
- Update maturity score: 91 → 97/100
- Update priority list: 13 items moved from TODO to DONE
- Accurate counts: 75 routes, 131 Cosmos containers, ~3,492 total tests
2026-03-20 00:02:08 -07:00
saravanakumardb1
c2c5dd518a docs: complete Platform Acceleration Roadmap (all 4 phases) — move to completed/
Phase 4 delivered:
- 4.1 Auto-Registration on First Request (8 tests, 1fe1e75)
- 4.2 Multi-Product Telemetry Dashboard (6 tests, d900df3)
- 4.3 Shared Onboarding Analytics (8 tests, 0e880fd)
- 4.4 Pre-Built Stripe Checkout Flow (6 tests, 0352ea5)
- 4.5 Cross-Product User Dashboard design doc (deferred to post-SmartAuth)

Total across all 4 phases: 327 tests
Roadmap moved from in-progress/ to completed/
2026-03-19 22:13:21 -07:00
saravanakumardb1
af88c4a0b3 docs: update Platform Acceleration Roadmap — Phases 1-3 complete, move to in-progress
Verified all task status against actual code:
- Phase 1: product-manifest (51 tests), dashboard-components (32 tests),
  sync engine (31 tests), module generator — all built
- Phase 2: create-app CLI (26 tests), auth-ui (54 tests),
  API route generator, AGENTS.md auto-gen — all built
- Phase 3: Swift SDK (30 tests/7 files), Kotlin SDK (64 tests/9 files),
  dashboard-shell (41 tests), declarative YAML loader (34 tests) — all built
- Phase 4: not started (5 tasks remaining)

Total: 299 tests across acceleration packages

Remaining integration work (unchecked):
- Migrate dashboards to consume @bytelyst/dashboard-components
- Migrate ChronoMind to @bytelyst/sync
- Migrate product auth pages to @bytelyst/auth-ui
- Migrate user-dashboard to @bytelyst/dashboard-shell
- Migrate ChronoMind iOS/Android to platform SDKs
- Migrate changelog to declarative YAML
- Publish create-app to npm
2026-03-19 21:43:54 -07:00
saravanakumardb1
cf20f0f591 docs: consolidate workspace review → WORKSPACE_REVIEW_2026_03_19.md
- Renamed from 2026_03_03 to 2026_03_19 (single source of truth)
- Updated all test counts, added FlowMonk/NoteLett/ActionTrail sections
- Moved SHARED_CLIENT_PACKAGES to completed roadmaps
- Platform maturity 87→91, Client SDKs 95→100%
- Removed duplicate review file generated by Cascade
2026-03-19 19:04:13 -07:00
saravanakumardb1
6115ae5c0f fix(docs): correct 10 issues in workspace review 2026-03-19
- platform-service tests: ~1,027 -> 1,020 (verified)
- Product backend total: ~1,256 -> 1,217 (verified)
- ChronoMind backend: ~179 -> 176
- FlowMonk backend: ~194 -> 181
- ActionTrail backend: ~187 -> 185
- Grand total: ~4,298 -> ~4,220
- kotlin-platform-sdk: 38/39 -> 56/57 (13 deferred files restored)
- Scope: 15 repos -> 14 repos + 1 temp workspace
- SHARED_CLIENT_PACKAGES_ROADMAP moved from Active to Completed (15 total)
- P2 maturity: 40% -> 60%, Client SDKs: 98% -> 100%
- Added web dev server port table (3000/3050/3060)
- Removed ~ approximation from all verified backend test counts
2026-03-19 18:51:26 -07:00
saravanakumardb1
e90b2f67e7 docs: refresh workspace review with 2026-03-19 test sweep results
- Update all test counts from verified backend sweep (2,237 service tests)
- Add 3 missing repos: FlowMonk, NoteLett, ActionTrail
- Add completed initiatives: shared client packages, Android builds, code review
- Update maturity score 87->91, P2 progress 40->60%
- Refresh repo script to include all 10 repos
- Next review: 2026-04-02
2026-03-19 18:16:42 -07:00
saravanakumardb1
b173fdd4d4 docs: mark all product migrations complete in shared packages roadmap
9/9 products audited and migrated:
- NomGap: 9 mobile + 6 web files (+ 6 bug fixes)
- ChronoMind: billing-client + feature-flags
- MindLyst: billing-client + feature-flags
- LysnrAI: feature-flags
- JarvisJr: audited, no candidates (custom marketplace routes)
- FlowMonk, NoteLett, ActionTrail: already fully migrated
- PeakPulse: iOS-only, no web migration needed
2026-03-19 17:02:30 -07:00
saravanakumardb1
3c6e452999 docs: update roadmap — NomGap mobile migration complete 2026-03-19 16:26:19 -07:00
saravanakumardb1
c5e292fe05 docs(roadmap): update shared client packages status to reflect completion + NomGap web migration 2026-03-19 13:30:33 -07:00
saravanakumardb1
c87a8e9ef1 docs: fix 17 bugs/gaps in shared client packages roadmap + add workflow
Review findings and fixes:
- Fix subscription routes use :userId not :id
- Fix GET /plans returns { plans: [...] } wrapper
- Fix org routes require admin-only JWT role
- Flag missing POST /referrals/apply endpoint
- Flag missing POST /subscriptions/restore endpoint
- Expand org-client and marketplace-client with full API signatures
- Add x-product-id header requirement
- Add NomGap Migration Plan
- Add Known Backend Gaps appendix
- Add /implement-shared-packages workflow
2026-03-19 11:02:42 -07:00
root
3cc35e2b51 docs(roadmaps): clarify reuse across agent platform gaps 2026-03-14 14:40:43 +00:00
root
f02ff801cb docs(roadmaps): refine agent platform roadmap decisions 2026-03-14 14:37:50 +00:00
root
d4c725a29d docs(roadmaps): add agent platform gap roadmap set 2026-03-14 14:34:08 +00:00
root
bc1f9c59c2 Add host-side prototype smoke test command 2026-03-14 06:23:18 +00:00
root
91885f0d4f Add Mailpit-backed prototype email sandbox 2026-03-14 06:16:28 +00:00
root
a27a822fc2 Add prototype storage diagnostics and smoke test 2026-03-14 06:06:35 +00:00
root
66a11c5713 Add Azurite-backed blob storage for prototype 2026-03-14 05:45:43 +00:00
root
a5e8890df2 Add Cosmos emulator prototype support 2026-03-14 05:24:01 +00:00
root
9e2fdb9643 Add prototype deployment workflow 2026-03-14 05:01:09 +00:00
saravanakumardb1
ad2891040d docs(audit): add FlowMonk workspace audit and refresh inventory 2026-03-10 22:29:11 -07:00
saravanakumardb1
b52ffc84e1 docs(fastify-core): resolve follow-up todos 2026-03-06 13:53:29 -08:00
saravanakumardb1
87f4955861 docs(fastify-core): record review fix progress 2026-03-06 13:44:51 -08:00
saravanakumardb1
39caac159b docs(fastify-core): update migration progress log 2026-03-06 13:39:00 -08:00
saravanakumardb1
e4baa2fc16 refactor(platform-service): use shared optional jwt context 2026-03-06 12:57:00 -08:00
saravanakumardb1
cfca118c71 feat(fastify-core): add shared optional jwt context 2026-03-06 12:52:49 -08:00
saravanakumardb1
acfad8a042 feat(fastify-core): harden lifecycle and readiness support 2026-03-06 12:47:29 -08:00
saravanakumardb1
fb21c5d14d docs(fastify-core): add audit and remediation roadmap 2026-03-06 12:37:28 -08:00
saravanakumardb1
8f63713c52 docs(inventory): refresh platform and workspace capability maps 2026-03-05 22:59:45 -08:00
saravanakumardb1
ccf71b898c docs: Update EXECUTION_CHECKLIST.md with Phase 15 completion
- Document 7 extraction async jobs tools added
- Document 2 A2A pipelines implemented (regression-watch, post-incident-cleanup)
- Update MCP server total to 135 tools across 18 namespaces
- Add implementation notes and fixes applied
2026-03-05 22:07:53 -08:00
6d6ca217a5 chore(devops): improve railway deploy script, add env sync and deployment runbook
- Refactor railway-deploy.sh: add --sync-env, --dry-run, --detach flags and service selector
- Add railway-sync-env.sh for pre-deploy environment variable synchronization
- Add RAILWAY_DEPLOYMENT_RUNBOOK.md with step-by-step deployment guide

Co-Authored-By: Oz <oz-agent@warp.dev>
2026-03-05 20:03:59 -08:00
saravanakumardb1
772dc3994b docs(mcp-server): Phase 14 audit — document bug fix + 12 gap tools in EXECUTION_CHECKLIST
- social-fast-coordinator bug (currentStage → stages[])
- 9 new client functions across 4 client files
- 12 new MCP tools filling all DOMAIN_PRODUCTS.md spec gaps
- MCP server now at 126 tools (all spec entries implemented)
2026-03-05 18:19:51 -08:00
saravanakumardb1
64e1263fc0 docs(mcp-server): update EXECUTION_CHECKLIST.md — document A2A batches 1-5 complete
Phases 9-13 documented with pipeline tables, agent rosters, MCP tool names.
All 14 A2A pipelines across 6 products now implemented and tracked.
MCP server total: 114 tools across 17 namespaces.
2026-03-05 18:08:51 -08:00
saravanakumardb1
f49099883a docs(checklist): add Phase 8 — MCP gap fill + 3 A2A pipelines (93 tools) 2026-03-05 15:19:06 -08:00
saravanakumardb1
7e47151918 fix(mcp-server): 3 A2A pipeline bug fixes from audit
- nomgap-client: add electrolyte_reminder + extended_fast_warning to PushTriggerType; rename scheduledAt → scheduledFor to match backend schema; fix startedAt type string → number (backend stores epoch ms)
- nomgap-tools: rename scheduledAt → scheduledFor in nomgap.push.fire tool schema + execute call
- safety-monitor-pipeline: fix FastStateResult.startedAt type number; use epoch ms directly instead of new Date(string)
- sync-diagnostics-pipeline: remove peakpulseGetStats (returns aggregate stats not sync queue); derive queueDepth from recentFailureCount telemetry; add lastSuccessfulSync derivation from events
2026-03-05 14:54:21 -08:00
saravanakumardb1
664bc93b86 docs(mcp-server): update EXECUTION_CHECKLIST.md with Phase 6 + Phase 7 completion 2026-03-05 14:25:30 -08:00
saravanakumardb1
a08ca9d3ee docs(mcp-server): update EXECUTION_CHECKLIST — Phase 4 tracker (13 tools) + Phase 5 ops (19 tools) 2026-03-05 13:46:55 -08:00
saravanakumardb1
ecfbaa62b6 docs(mcp-server): post-audit — document /api prefix bug, lysnrai path fixes, +17 gap tools 2026-03-05 13:16:07 -08:00
saravanakumardb1
9bf8ebd1fe docs(mcp-server): update EXECUTION_CHECKLIST with Phase 3 product namespace inventory (35 tools) 2026-03-05 13:05:56 -08:00
saravanakumardb1
0f044830fa feat(mcp-server): Phase 2 A2A orchestration — DispatcherAgent, TelemetryAnalystAgent, DiagnosticsOrchestratorAgent, ReportWriterAgent, runIncidentPipeline runner + support.runIncidentPipeline MCP tool (10 tests) 2026-03-05 12:23:53 -08:00
saravanakumardb1
d1d643f782 feat(mcp-server): Milestone B — telemetry policy CRUD, cluster status, diagnostics cancel, extraction sidecar health; enforce expiresAt on createPolicy 2026-03-05 12:17:15 -08:00
saravanakumardb1
eb5c3b1c66 docs(a2a): add SafetyMonitorAgent (NomGap) + SyncDiagnosticsAgent (PeakPulse) specs; check off in DOMAIN_PRODUCTS.md 2026-03-05 11:56:43 -08:00
saravanakumardb1
029c28d0c9 docs(mcp): update EXECUTION_CHECKLIST.md — mark all Phase 1 items done, add commit links (027e216) 2026-03-05 11:48:06 -08:00
saravanakumardb1
ee52da219f docs(mcp): fix stray prefix on line 1, mark all diagnostics wired, add fix commit SHAs across all products 2026-03-05 11:25:28 -08:00
saravanakumardb1
0a1cdac67b docs(mcp+a2a): add DailyBriefGenerationPipeline + MarketplaceCertificationPipeline A2A specs, check off all remaining items 2026-03-05 11:12:33 -08:00
saravanakumardb1
9a4a4648a3 docs(mcp+a2a): check off remaining items — PeakPulse export, LysnrAI stt-status, JarvisJr/NomGap pre-existing 2026-03-05 11:08:47 -08:00
saravanakumardb1
7d630cf503 docs(mcp+a2a): check off completed items with commit links (diagnostics-client + 3 backend endpoints) 2026-03-05 11:06:14 -08:00
saravanakumardb1
ca8e2be1f6 docs(mcp+a2a): product repo scan — concrete MCP tools + A2A agents per product 2026-03-05 10:49:55 -08:00
saravanakumardb1
bf7769bdaa fix(diagnostics-client): use session-scoped ingest endpoints; update MCP+A2A docs 2026-03-05 10:41:02 -08:00
saravanakumardb1
a33f3cfbd6 docs: design system audit, onboarding guide, and AGENTS.md updates
- Comprehensive audit report: DESIGN_SYSTEM_AUDIT_2026-03-03.md
  - Token consumption across all 7 repos
  - 594 hardcoded colors identified
  - Per-product breakdown with migration priorities

- Developer onboarding guide: ONBOARDING.md
  - Platform-specific setup instructions
  - Migration steps for each product
  - Token cheat sheet and troubleshooting

- Updated AGENTS.md with Design System section
  - Never hardcode colors rule
  - Platform usage patterns (Web, iOS, Android, RN)
  - Current adoption status table
  - Validation commands

- Added design-tokens package README
  - Quick start for all platforms
  - Usage examples (CSS, TS, Swift, Kotlin, RN)
  - CI integration examples
2026-03-03 21:55:02 -08:00
saravanakumardb1
359d6e18a5 feat: Platform Acceleration + A/B Testing Framework
Platform Acceleration Phase 1:
- @bytelyst/sync package: Offline-first sync engine with conflict resolution
  - Storage adapters: LocalStorage, InMemory, MMKV
  - Deduplication, retry with backoff, auto-flush on reconnect
  - 12 comprehensive tests
- @bytelyst/dashboard-components package: Shared React components
  - ErrorPage, NotFoundPage, LoadingSpinner, LoadingSkeleton, EmptyState, PageHeader
  - Theme-aware with CSS custom properties

A/B Testing Framework (Complete):
- Admin UI at /ops/ab-testing with experiments list, variant performance, AI suggestions
- Sidebar navigation with Beaker icon
- 40 tests passing in ab-testing module

All 909 platform-service tests pass.
2026-03-03 19:47:47 -08:00
saravanakumardb1
a31fdfe55a feat(predictive-analytics): complete admin UI for churn prediction and health scoring
- Add health-dashboard page with 6-dimension health cards and anomaly detection
- Add predictive/at-risk page with user risk profiles and segmentation
- Add predictive/campaigns page with campaign management and stats
- Add predictive-client.ts API client with full type coverage
- Update all 3 roadmaps to reflect complete implementation status
2026-03-03 13:48:37 -08:00
saravanakumardb1
914e344a92 fix(feedback-client): correct ApiClient method usage and types 2026-03-03 12:20:43 -08:00
saravanakumardb1
57168639f6 docs(ai-diagnostics): complete all roadmap tasks [4.3] 2026-03-03 12:17:28 -08:00
saravanakumardb1
52cc1f01dd docs(ai-diagnostics): update tracking for [4.1] 2026-03-03 12:15:30 -08:00
saravanakumardb1
458d835e5a ci: update CI/CD configuration 2026-03-03 12:08:22 -08:00
saravanakumardb1
a57bff7499 docs(ai-diagnostics): update tracking for [3.3] 2026-03-03 11:57:30 -08:00
saravanakumardb1
d575b725cb feat(predictive-analytics): implement phases 1-4 - feature extraction, churn model, health scoring, anomaly detection, campaign engine [1.1-4.3] 2026-03-03 11:54:24 -08:00
saravanakumardb1
809b60cd25 docs(ab-testing): update roadmap with all completed tasks [final] 2026-03-03 11:54:09 -08:00
saravanakumardb1
44fa045ec5 feat(ab-testing): AI hypothesis generation and admin dashboard UI [3.1][3.2][3.3][4.1][4.2][4.3] 2026-03-03 11:53:48 -08:00
saravanakumardb1
0181e53711 docs(ai-diagnostics): update tracking for [2.1-2.2] 2026-03-03 11:52:32 -08:00
saravanakumardb1
bfa3d088a4 docs(ai-diagnostics): update tracking for [1.3] 2026-03-03 11:51:04 -08:00
saravanakumardb1
a9e1486a09 docs(ai-diagnostics): update tracking for [1.2.3] 2026-03-03 11:49:21 -08:00
saravanakumardb1
8951ab2c92 feat(ai-diagnostics): add HDBSCAN clustering algorithm [1.2.3] 2026-03-03 11:49:05 -08:00
saravanakumardb1
6b97476fc0 docs(ai-diagnostics): update tracking for [1.2.1] 2026-03-03 11:47:26 -08:00
saravanakumardb1
f77bd13d4a docs(ai-diagnostics): update tracking for [1.1.3] 2026-03-03 11:46:14 -08:00
saravanakumardb1
8cdddd7c23 feat(ai-diagnostics): implement error normalization and fingerprinting [1.1.3] 2026-03-03 11:45:52 -08:00
saravanakumardb1
afe816690b docs(ai-diagnostics): update tracking for [1.1.1-1.1.2] 2026-03-03 11:44:36 -08:00
saravanakumardb1
e98380003b docs(roadmaps): add AI diagnostic assistant, A/B testing, and churn prediction roadmaps
- AI Diagnostic Assistant: LLM-powered root cause analysis, error clustering, natural language queries
- Intelligent A/B Testing: Thompson sampling, Bayesian early stopping, AI hypothesis generation
- Predictive Churn & Health: XGBoost models, health scoring, automated retention campaigns

All roadmaps include:
- Implementation tracking tables with status/commit columns
- Quick reference sections with file structures
- Phase-by-phase task breakdowns with [X.Y.Z] codes
2026-03-03 11:38:56 -08:00
saravanakumardb1
89458d7f75 docs(roadmaps): add comprehensive workspace review 2026-03-03 2026-03-03 09:52:13 -08:00
saravanakumardb1
d95c25b0e4 docs(roadmaps): move Remote Diagnostics roadmap to completed 2026-03-03 09:51:21 -08:00
saravanakumardb1
cb3aa640ae docs(roadmap): mark Phase 3.2 Session Detail View complete
- Phase 3.2: Session Detail View with 5 tabs

- All Phase 3 exit criteria now met

Next: Phase 4 Advanced Features (auto-triggers, session replay)
2026-03-03 09:48:15 -08:00
saravanakumardb1
e955668e6a docs(roadmap): mark Phases 2 and 3.1 complete
- Phase 2.1: TypeScript SDK (21 tests)

- Phase 2.2: Swift SDK (20+ tests, iOS 15+)

- Phase 2.3: Kotlin SDK (16+ tests, API 26+)

- Phase 3.1: Admin Debug Sessions UI

Screenshot capture deferred to Phase 4 for all platforms

Session Detail View (3.2) marked as next priority
2026-03-03 09:39:57 -08:00
saravanakumardb1
e4c3c7cc13 docs(roadmap): mark Phase 2.1 TypeScript SDK complete
- Mark all 2.1.* items complete with commit 8acb8db

- 21 Vitest tests passing

- Screenshot capture deferred to Phase 2.2+

- Update Current Status section
2026-03-03 09:25:06 -08:00
saravanakumardb1
3842f65c81 docs(broadcasts,surveys): Complete API reference documentation
- OpenAPI-style reference for all admin and public endpoints
- Request/response examples for broadcasts and surveys
- Types reference, error codes, rate limits, webhooks
2026-03-03 08:28:15 -08:00
saravanakumardb1
c4c84ddf16 docs(broadcasts,surveys): Mark iOS/Android integration complete 2026-03-03 08:21:06 -08:00
saravanakumardb1
3b9eb5bd19 docs(diagnostics): mark Phase 1.5 complete, update roadmap status
Phase 1.5 items completed:

- 1.5.1: Wired into server.ts (routes + subscribers)

- 1.5.2: Event bus subscribers for 8 events + email templates

- 1.5.3: Audit logging for all session lifecycle events

- 1.5.4: Rate limiting keys configured

Phase 1 now COMPLETE with 17 diagnostics tests passing

Next: Phase 2 Client SDKs (TS/Swift/Kotlin)
2026-03-03 08:21:01 -08:00
saravanakumardb1
5245e4b53b docs(broadcasts,surveys): Mark Phase 4 complete, MVP achieved 2026-03-03 08:07:13 -08:00
saravanakumardb1
6c29df4207 docs(broadcasts,surveys): Mark Phase 3.4 complete - all SDKs done 2026-03-03 07:45:02 -08:00
saravanakumardb1
4def08d74e docs(broadcasts,surveys): Update roadmap - Phase 3 complete, add Phase 4 2026-03-03 07:37:22 -08:00
saravanakumardb1
1832ef48a3 docs(broadcasts,surveys): Mark Phase 2 as COMPLETED in roadmap 2026-03-03 07:31:06 -08:00
saravanakumardb1
cc9129bc60 docs(feedback): mark all TODOs as completed in roadmap 2026-03-03 07:20:56 -08:00
saravanakumardb1
698e114b65 docs(feedback): update roadmap with TODO completions 2026-03-03 07:12:04 -08:00
saravanakumardb1
76569417f1 docs(feedback): update roadmap with second review bug fixes 2026-03-03 07:04:32 -08:00
saravanakumardb1
4839ac2799 docs(feedback): update roadmap with Phase 2.1 and Phase 3 completion status 2026-03-03 07:00:18 -08:00
saravanakumardb1
fdaffdb13c docs(feedback): fix 8 bugs/gaps identified in systematic review
- Fix inconsistent screenshotUrl fields (removed, SAS generated on-demand)
- Fix blob path pattern to match feedbackScreenshots container
- Clarify flow: direct upload to final container (no temp/move)
- Add rate limiting specs to endpoint table
- Clarify access control: users submit but cannot view (security)
- Remove sas.ts from appendix (not created)
- Align size limits to 5MB consistently
- Add missing screenshotContentType and screenshotSizeBytes
2026-03-03 00:00:14 -08:00
saravanakumardb1
0996534fb4 docs(feedback): update roadmap with Phase 1 completion and commit links 2026-03-02 23:57:48 -08:00
saravanakumardb1
9fff880d26 docs(broadcasts,surveys): Update roadmap with Phase 1 completion status
- Mark Phase 1 as COMPLETED with commit link 1b11db3
- Update task status table with checkmarks
2026-03-02 23:51:37 -08:00
saravanakumardb1
1b11db3f6f feat(broadcasts,surveys): Phase 1 complete - backend modules
- broadcasts/types.ts: Broadcast, BroadcastTarget, BroadcastMetrics, InAppMessage
- broadcasts/repository.ts: CRUD + delivery tracking + read receipts
- broadcasts/targeting.ts: evaluateTarget(), semver, FNV-1a hash
- broadcasts/routes.ts: Admin CRUD + public endpoints (14 routes)
- surveys/types.ts: Survey, Question, SurveyResponse, conditional logic
- surveys/repository.ts: CRUD + analytics + CSV export
- surveys/routes.ts: Admin CRUD + public endpoints (13 routes)
- cosmos-init.ts: 7 new containers with TTL policies
- server.ts: Register broadcastRoutes + surveyRoutes

Implements Phase 1 of platform_BROADCAST_SURVEY_ROADMAP.md
2026-03-02 23:51:23 -08:00
saravanakumardb1
6a23a02cd4 fix(diagnostics): BUG-4, BUG-5, BUG-7, BUG-8 - race condition, transactions, test isolation, auth validation
- BUG-4: Add optimistic concurrency control with retry to updateSessionStats
- BUG-5: Document transaction limitations in batch operations
- BUG-7: Fix test isolation with unique productIds per test run
- BUG-8: Add session ownership validation to ingest endpoints
2026-03-02 23:47:14 -08:00
saravanakumardb1
890a558c31 docs(diagnostics): update roadmap with Phase 1 completion status and commit links 2026-03-02 23:40:02 -08:00
saravanakumardb1
4163e1410a docs(diagnostics): add REMOTE_DIAGNOSTICS_ROADMAP.md with 140+ tasks across 4 phases
Complete roadmap for remote debug tracing system with:
- Phase 1: Server foundation (types, repository, routes, 38+ tests)
- Phase 2: Client SDKs (TypeScript, Swift, Kotlin)
- Phase 3: Admin UI (Next.js dashboard)
- Phase 4: Advanced features (auto-triggers, profiling)

Review fixes included:
- Fixed partition keys to avoid hot partitions (composite pk)
- Added PII redaction patterns (email, SSN, CC, phone, IP, JWT)
- Added event bus integration with 8 events
- Fixed screenshot storage to use Azure Blob
- Added rate limiting specs for all endpoints
- Added ETag caching for config polling
2026-03-02 23:29:39 -08:00
saravanakumardb1
03ad80a615 docs(roadmaps): mark Pre-Launch Signup and Marketplace as complete, move to completed/ folder 2026-03-02 10:26:23 -08:00
saravanakumardb1
3e05260a6f feat(marketplace): generic template marketplace with listings, reviews, installs, certification 2026-03-02 10:02:54 -08:00
saravanakumardb1
ee9d4b358d feat(cloud-agnostic): complete Sprints 4-6 — secrets consumer migration, @bytelyst/speech package, push verified 2026-03-02 09:46:24 -08:00
saravanakumardb1
90bc31dc58 docs(roadmap): update cloud-agnostic status to reflect Sprints 1-3 complete 2026-03-02 09:32:42 -08:00
saravanakumardb1
10e252617b feat(packages): fix test assertions for x-request-id header compatibility
- Update kill-switch-client and feature-flag-client tests to use
  expect.objectContaining for headers to handle x-request-id
- Move React Native SDK roadmap to completed/

Total: 44 client-side package tests passing
2026-03-02 09:08:45 -08:00
saravanakumardb1
8315814fd9 docs(roadmap): mark Sprint 3 LLM abstraction as DONE 2026-03-02 09:06:56 -08:00
saravanakumardb1
2c047bcf48 feat(telemetry): phase 4 operational wiring — env vars, roadmap complete 2026-03-02 09:00:16 -08:00
saravanakumardb1
fa9603732a docs(roadmap): mark Sprint 1 (DB abstraction) complete, move to completed/ 2026-03-02 02:23:09 -08:00
saravanakumardb1
2b6551ada6 docs(roadmap): update cloud-agnostic refactor with parallel agent scan results — Sprint 1 ~96% done 2026-03-02 02:09:21 -08:00
saravanakumardb1
78cb13d9c3 docs(roadmap): update cloud-agnostic refactor roadmap with implementation progress — move to in-progress 2026-03-02 01:14:17 -08:00
saravanakumardb1
4fe0c034c2 docs(roadmap): review cloud-agnostic refactor roadmap — add status markers, correct file counts, fix companion doc link 2026-03-01 23:48:46 -08:00
saravanakumardb1
b33d3cf2b3 feat(platform): add webhook subscriptions module, DB migration runner, Swagger UI — complete 23/25 roadmap items 2026-03-01 23:38:48 -08:00
saravanakumardb1
3cddc2f14e docs: update platform_COMPONENTS_ROADMAP.md — comprehensive workspace scan (36 modules, 23 packages, 20/25 gaps built) 2026-03-01 23:28:45 -08:00
saravanakumardb1
dd4410548e docs: reorganize docs/ into category folders with roadmaps/{completed,partial,not-started} 2026-03-01 23:17:15 -08:00
saravanakumardb1
7742ebd58f docs(playbook): update test counts, add LysnrAI Python backend, mark 6 TS client packages as done 2026-03-01 21:53:28 -08:00
saravanakumardb1
6984b37a24 docs(playbook): update for product backends, 20 packages, native SDKs, 6 products 2026-03-01 21:40:44 -08:00
saravanakumardb1
4f16223996 docs: update ANDROID_PLATFORM_SDK.md + IOS_PLATFORM_SDK.md to reflect completed migrations 2026-03-01 20:55:22 -08:00
saravanakumardb1
137266a284 fix(docs): review pass on mobile SDK best practices — correct 6 bugs found via codebase verification 2026-03-01 07:45:39 -08:00
saravanakumardb1
d10b898ba5 feat(peak-routes): add PeakPulse track point storage module — types, repository, routes, 10 tests 2026-03-01 07:40:19 -08:00
saravanakumardb1
dcabe46de2 feat(jarvis): add jarvis-agents, jarvis-sessions, jarvis-memory modules (63 tests) 2026-03-01 07:09:12 -08:00
saravanakumardb1
8b36cd9e4d fix(marketplace): review pass — add ReportDoc type, fix table formatting, renumber sections, add cost estimates 2026-03-01 06:25:57 -08:00
saravanakumardb1
983e84e6de feat(marketplace): generic marketplace module design document 2026-03-01 06:05:59 -08:00
saravanakumardb1
d15f19441f docs: add platform acceleration implementation roadmap with phased task lists 2026-02-28 21:37:19 -08:00
saravanakumardb1
2b7e4819e8 docs: add platform acceleration ideas for sub-day MVP onboarding 2026-02-28 21:01:32 -08:00
saravanakumardb1
ce71c61079 docs: rename BEST_PRACTICES/README.md to PLATFORM_PLAYBOOK.md 2026-02-28 20:57:03 -08:00
saravanakumardb1
8f737adc75 docs: add best practices and new product playbook 2026-02-28 20:50:12 -08:00
saravanakumardb1
5663ef568a docs: add agent prompts sync guide and workspace anti-patterns 2026-02-28 20:24:24 -08:00
saravanakumardb1
e3e332cee6 docs: update documentation 2026-02-28 03:28:48 -08:00
saravanakumardb1
662d417267 feat(platform): add email delivery module, wire event bus into auth, update roadmap
- modules/delivery: 8 email templates, renderer, SendGrid/Postmark/console adapters, dispatcher, delivery log, 21 tests
- modules/delivery/subscribers: event bus listeners for user.created, password_reset, email_verified
- auth/routes: emit bus events on register, forgot-password, verify-email (fire-and-forget)
- cosmos-init: delivery_log container (pk /pk, 90d TTL)
- roadmap: updated inventory (30 modules, 14 packages, 988 tests), marked P0 items complete
- 988 platform-service + 14 events = 1002 total tests passing
2026-02-28 02:36:58 -08:00
saravanakumardb1
4f905f1231 docs(telemetry): update roadmap — correct test counts (158), add Phase 4 operational wiring gaps 2026-02-17 18:41:38 -08:00
saravanakumardb1
3c5b50ac86 docs: update documentation 2026-02-17 12:50:14 -08:00
saravanakumardb1
3464d35efe docs(telemetry): update design doc Appendix B with all Phase 3 files 2026-02-17 11:25:36 -08:00
saravanakumardb1
ae2dae4413 docs: roadmap — Phase 3 fully complete, all items checked off including geo distribution UI 2026-02-17 11:14:56 -08:00
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