Commit Graph

586 Commits

Author SHA1 Message Date
saravanakumardb1
852cb18a5c refactor(mcp-server): replace redundant CreatedSession local interface with imported DebugSession in diagnostics-orchestrator 2026-03-05 12:40:06 -08:00
saravanakumardb1
00b0555c97 fix(fastify-core,mcp-server): add logLevel to ServiceAppOptions and wire config.LOG_LEVEL so log verbosity is actually honoured at runtime 2026-03-05 12:38:09 -08:00
saravanakumardb1
44800ed36b fix(mcp-server): correct stale port comment 4006→4007 in server.ts; document CORS_ORIGIN and query limit vars in .env.example 2026-03-05 12:36:26 -08:00
saravanakumardb1
3e37b3d5a0 fix(mcp-server): handle ZodDefault in zodToJsonSchema so boolean/object fields with defaults emit correct JSON Schema types; clean up inline import in debug-pack 2026-03-05 12:35:27 -08:00
saravanakumardb1
c04c78aff4 fix(mcp-server): fix debug-pack cluster rendering to use correct field names, tighten TelemetryCluster type; fix test mock to include all required fields 2026-03-05 12:33:43 -08:00
saravanakumardb1
6cee9c20af fix(mcp-server): correct TelemetryCluster type, remove productId QS dead code from telemetryClusters, remove redundant extend() in pipeline-tool 2026-03-05 12:32:34 -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
26d3403d5a fix(mcp-server): zodToJsonSchema emits correct JSON type for number/boolean/array fields (was always string) 2026-03-05 12:09:38 -08:00
saravanakumardb1
22ad88dd13 fix(mcp-server): Dockerfile — copy all 33 workspace package.json files for complete pnpm --frozen-lockfile resolution 2026-03-05 12:07:03 -08:00
saravanakumardb1
9a298d50ef fix(mcp-server): add missing jose + @fastify/cors deps; use ServiceError subclasses for 401/403; remove swagger option that crashed startup; add AbortSignal.timeout to platformFetch 2026-03-05 12:06:54 -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
3bc8e0e14c fix(mcp-server): move default port 4006 → 4007 (conflict with extraction-service Python sidecar); add Dockerfile + docker-compose service + CI workflow 2026-03-05 11:56:35 -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
027e2163a0 feat(mcp-server): scaffold @bytelyst/mcp-server on port 4006 with 10 tools across 4 namespaces
- platform.telemetry.{query,clusters,metrics}
- platform.diagnostics.sessions.{list,create,get,update,getLogs,getTraces}
- extraction.{run,models,cacheStats}
- support.createDebugPack (compound: clusters + optional diag session + markdown summary)
- Role-gated (viewer/admin/super_admin), JWT auth via platform-service secret
- Proxies to platform-service:4003 and extraction-service:4005
- 4 Vitest tests passing, tsc --noEmit clean
2026-03-05 11:47:08 -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
435d873436 ci: update CI/CD configuration 2026-03-05 01:17:40 -08:00
saravanakumardb1
d8dc93c157 chore(ux-lab): tighten acceptance checklists for agent pushes 2026-03-04 20:42:55 -08:00
saravanakumardb1
2d3ae2b8d2 ci: update CI/CD configuration 2026-03-04 20:01:32 -08:00
saravanakumardb1
71b33fcf62 feat(design-tokens): add SSO brand color tokens 2026-03-04 19:54:40 -08:00
saravanakumardb1
2f7e3ad9b6 refactor(design-tokens): improve token validator
- ignore hsl(var(--...)) / rgb(var(--...))

- export generated/tokens entry
2026-03-04 18:13:13 -08:00
saravanakumardb1
fab88a57a4 refactor(admin-web): replace hardcoded chart colors with theme tokens 2026-03-04 17:32:35 -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
2a0a59e56c feat(design-tokens): add validation tooling and React Native bridge
- validate-tokens.js: Scan source files for hardcoded colors
- token-coverage.js: Report token adoption percentage per product
- generate-react-native.ts: Generator for Expo/NomGap StyleSheet tokens

All scripts include:
- Cross-platform file detection (.ts, .tsx, .swift, .kt)
- Product-specific token categorization
- Exit codes for CI integration
2026-03-03 21:51:56 -08:00
saravanakumardb1
78d28307ec feat(design-tokens): v1.1.0 — add product-specific tokens and new categories
- Add product token sections:
  - peakpulse: activity colors, speed zones, elevation, streaks
  - chronomind: urgency levels, focus mode, pomodoro colors
  - nomgap: fasting stage colors, autophagy meter, safety
  - lysnrai: recording states, processing, dictation mode

- Add new token categories:
  - zIndex: layers from hidden (-1) to tooltip (800)
  - icon: xs (12) to 2xl (48)
  - grid: 12-column system with breakpoints
  - opacity: 0-100 scale

- Regenerate all platform outputs (CSS, TS, Kotlin, Swift, React Native)
- Version bumped to 1.1.0
2026-03-03 21:51:20 -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
7e3de866d3 refactor(workflows): centralize repo list in repos.txt
- Create repos.txt as single source of truth for all 7 workspace repos

- Update all repo-management workflows to source from repos.txt:

  - repo_sync-repos, repo_push-repos, repo_backup-and-push

  - repo_backup-main-branch, repo_commit-workspace

Benefits:

- One file to update when adding/removing repos

- Consistent repo list across all workflows

- Scripts can read repos.txt for automation
2026-03-03 16:16:12 -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
dfeed4c10f fix(diagnostics): add missing crypto import for randomUUID [BUG-5] 2026-03-03 12:27:03 -08:00
saravanakumardb1
8749aa211d fix(feedback-client): update tests to use fetch instead of post 2026-03-03 12:26:02 -08:00
saravanakumardb1
7552b8c8e8 fix(diagnostics): remove unused updateSessionStats import [BUG-4] 2026-03-03 12:25:55 -08:00
saravanakumardb1
eb83b83035 fix(diagnostics): resolve FilterMap type error in performance-profile-repository [BUG-3] 2026-03-03 12:24:54 -08:00
saravanakumardb1
7714ab51fb fix(events): add missing platform event schemas for campaign engine and notifications 2026-03-03 12:24:39 -08:00
saravanakumardb1
d80cf075a3 fix(diagnostics): add missing session_replays and performance_profiles cosmos containers [BUG-1] 2026-03-03 12:24:05 -08:00
saravanakumardb1
03cda3a74f fix(platform-service): resolve type errors in diagnostics and ab-testing modules 2026-03-03 12:22:35 -08:00
saravanakumardb1
914e344a92 fix(feedback-client): correct ApiClient method usage and types 2026-03-03 12:20:43 -08:00
saravanakumardb1
05ad9dbedc feat(diagnostics): Phase 4 - automated triggers, crash sessions, session replay, profiling [4.1][4.2][4.3][4.4] 2026-03-03 12:18:58 -08:00
saravanakumardb1
57168639f6 docs(ai-diagnostics): complete all roadmap tasks [4.3] 2026-03-03 12:17:28 -08:00
saravanakumardb1
eab854375e feat(ai-diagnostics): add proactive alerts API and complete [4.3] 2026-03-03 12:17:11 -08:00
saravanakumardb1
52cc1f01dd docs(ai-diagnostics): update tracking for [4.1] 2026-03-03 12:15:30 -08:00
saravanakumardb1
460ed6d0c0 feat(ai-diagnostics): add admin UI insights page [4.1] 2026-03-03 12:15:09 -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
1cba69948f feat(ai-diagnostics): add REST API routes [3.3] 2026-03-03 11:57:00 -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