Commit Graph

545 Commits

Author SHA1 Message Date
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
saravanakumardb1
809b60cd25 docs(ab-testing): update roadmap with all completed tasks [final] 2026-03-03 11:54:09 -08:00
saravanakumardb1
71cbb570ef feat(ai-diagnostics): add query parser and executor [3.1-3.2] 2026-03-03 11:53:59 -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
97b3ffb21d feat(ai-diagnostics): add LLM analyzer with prompts and insight generation [2.1-2.2] 2026-03-03 11:52:12 -08:00
saravanakumardb1
bfa3d088a4 docs(ai-diagnostics): update tracking for [1.3] 2026-03-03 11:51:04 -08:00
saravanakumardb1
1ff02934fa feat(ai-diagnostics): add telemetry linking and context enrichment [1.3] 2026-03-03 11:50:28 -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
783067e17d feat(ab-testing): bucketing, statistics, guardrails, routes [1.2][2.1][2.2] 2026-03-03 11:48:50 -08:00
saravanakumardb1
917ea03af9 feat(ai-diagnostics): add vector search repository with cosmos integration [1.2.2] 2026-03-03 11:48:12 -08:00
saravanakumardb1
6b97476fc0 docs(ai-diagnostics): update tracking for [1.2.1] 2026-03-03 11:47:26 -08:00
saravanakumardb1
50b7e22985 feat(ai-diagnostics): add Azure OpenAI embedding pipeline [1.2.1] 2026-03-03 11:47:12 -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
a9b224749c feat(ab-testing): add experiment types and cosmos containers [1.1] 2026-03-03 11:44:33 -08:00
saravanakumardb1
4de01269b5 feat(ai-diagnostics): add error clustering types and cosmos containers [1.1.1-1.1.2] 2026-03-03 11:44:23 -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
d510867b87 docs(workflows): Update repo management workflows for all 7 repos
Add missing repositories to workflow documentation:
- learning_ai_jarvis_jr
- learning_ai_peakpulse

Updated workflows:
- repo_backup-and-push.md
- repo_sync-repos.md
- repo_commit-workspace.md
- repo_backup-main-branch.md
- repo_push-repos.md
2026-03-03 10:54:18 -08:00
saravanakumardb1
fcbae17866 feat(platform-service): implement P0-1 - Module generator script (pnpm gen:module)
- Add gen-module.ts with full CLI interface
- Generate types.ts, repository.ts, routes.ts, and test.ts
- Support field types: string, number, boolean, date, datetime, enum, string[], number[]
- Add --dry-run flag for preview
- Register script in package.json
2026-03-03 10:05:55 -08:00
saravanakumardb1
41cd821fab feat(products): add product.json files for all 6 products
- LysnrAI: voice dictation (port 4015)
- MindLyst: role-based memory OS (port 4014)
- ChronoMind: contextual timer (port 4011)
- NomGap: fasting tracker (port 4013)
- JarvisJr: voice coaching (port 4012)
- PeakPulse: adventure tracker (port 4010)
2026-03-03 10:04:24 -08:00
saravanakumardb1
7f5ff4c790 feat(config): implement P0-1 - Product manifest specification (product.json schema)
- Add ProductManifestSchema with Zod validation for product identity
- Support theme tokens, cosmos containers, feature flags, ports
- Add loadProductManifest(), validateProductManifest(), resolveTheme()
- Export all schemas and types from config package index
2026-03-03 10:01:40 -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
e2e5e2cece feat(admin-dashboard): add Session Detail View (Phase 3.2)
- New /ops/debug-sessions/[id]/page.tsx with 5 tabs

- Session header with status badge and action buttons (Extend, Stop, Download)

- Info cards: User, Device, Duration, Collection Level

- Timeline tab: Session lifecycle breadcrumbs

- Logs tab: Level filter (debug/info/warn/error/fatal)

- Network tab: Request list with method/status/duration

- Traces tab: Trace spans with status and timing

- Screenshots tab: Placeholder for captured screenshots

Features:

- Auto-refresh every 5 seconds

- Live data fetching for traces and logs

- Color-coded status badges and log levels
2026-03-03 09:47:34 -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
2e697a13db feat(admin-dashboard): add Debug Sessions page (Phase 3.1)
- New /ops/debug-sessions page with session list table

- Status filter and search functionality

- Create Session modal with form fields

- Auto-refresh every 5 seconds

- Client library in lib/diagnostics-client.ts

Features:

- View all debug sessions with filtering

- Create new debug sessions via modal

- Real-time status updates
2026-03-03 09:38:22 -08:00
saravanakumardb1
8e90358960 feat(platform): PII Redaction library (Appendix D.1)
- 8 PII patterns: email, SSN, credit card, phone, IP, password/token, JWT, API key
- redactPII() for string redaction
- redactObject() for recursive object redaction
- redactLogMessage() for log entries with context
- containsPII() and getPIITypes() detection helpers
- Custom pattern registration
- Preset configurations: minimal, standard, aggressive
2026-03-03 09:37:53 -08:00
saravanakumardb1
399f6f0bed test(admin-web): Playwright E2E tests for diagnostics (Phase 4.4)
- Debug session CRUD: create, view, pause, resume, cancel
- Session filtering and search
- Logs viewing with level filtering and search
- Trace span viewing with expansion
- Screenshot gallery and lightbox navigation
- End-to-end workflow tests
- Error threshold and crash-triggered auto-session tests
2026-03-03 09:36:53 -08:00
saravanakumardb1
a5d68decdb feat(diagnostics): Admin dashboard client library (Phase 3.4)
- querySessions, createSession, getSession, updateSession, cancelSession
- getTraces, getLogs, getScreenshots
- Full TypeScript types for all diagnostics entities
2026-03-03 09:35:41 -08:00
saravanakumardb1
fc8f8d33dc feat(kotlin-platform-sdk): add diagnostics module (Phase 2.3)
New diagnostics package in kotlin-platform-sdk:

- DiagnosticsTypes: Session, TraceSpan, LogEntry, Breadcrumb, NetworkRequest

- DiagnosticsClient: singleton with StateFlow for reactive state

- BreadcrumbTrail: ring buffer (max 100) for timeline

- NetworkInterceptor: OkHttp interceptor for HTTP capture

- DeviceStateCollector: battery, memory, storage, network

- 16+ JUnit tests for types and breadcrumbs

Features:

- configure()/start()/stop() lifecycle

- trace() suspend span wrapper

- log() with breadcrumb integration

- ETag-based config polling

- 30-second batch flush
2026-03-03 09:31:59 -08:00
saravanakumardb1
abcf817cb3 feat(swift-diagnostics): implement Phase 2.2 Swift Client SDK
New package ByteLystDiagnostics with:

- Core types: DiagnosticsSession, TraceSpan, LogEntry, Breadcrumb

- DiagnosticsClient: actor-based singleton with polling

- BreadcrumbTrail: ring buffer (max 100) for timeline

- NetworkInterceptor: URLProtocol-based HTTP capture

- DeviceState: battery, memory, storage, network, thermal

- 20+ XCTest unit tests

Features:

- configure()/start()/stop() lifecycle

- trace() async span wrapper

- log() with breadcrumb integration

- breadcrumb() manual timeline markers

- ETag-based config polling

- 30-second batch flush

Platforms: iOS 15+, macOS 13+, watchOS 8+, tvOS 15+
2026-03-03 09:28:11 -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
45dbb789a1 feat(react-native): React Native SDK foundation for NomGap
- package.json with React Native/Expo peer dependencies
- Main index.ts with module exports for all platform services
- Providers and hooks for auth, telemetry, feature flags, kill switch, broadcasts, surveys
2026-03-03 08:40:24 -08:00
saravanakumardb1
8d7d8e4e18 test(admin-web): Rich media E2E tests for broadcasts
- Create broadcasts with single/multiple media items
- Upload media via blob storage
- Validate media URLs
- Reorder and remove media
- User dashboard media display and lightbox
- Video playback and media view tracking
2026-03-03 08:37:34 -08:00
saravanakumardb1
3efdd97057 feat(broadcasts): Rich media support in backend types
- BroadcastMedia interface for image/video/gif/audio
- Extended BroadcastMetrics with media engagement tracking
- Updated CreateBroadcastSchema with media array validation
2026-03-03 08:36:00 -08:00
saravanakumardb1
8acb8db7d7 feat(diagnostics-client): implement Phase 2.1 TypeScript SDK
New package @bytelyst/diagnostics-client with:

- DiagnosticsClient: singleton with polling for active sessions

- BreadcrumbTrail: ring buffer (max 100) for timeline

- NetworkInterceptor: fetch wrapper for HTTP capture

- DeviceState: memory, storage, network collection

- 21 Vitest tests (all passing)
2026-03-03 08:35:00 -08:00
saravanakumardb1
18dd263797 feat(sdk): Push deep link routing for all platforms
- TypeScript: DeepLinkRouter with URL parsing and handler registration
- Swift: BLDeepLinkRouter with iOS URL handling and Logger integration
- Kotlin: DeepLinkRouter with Android Uri parsing and handler mapping
- Common screen constants: broadcasts, surveys, settings, profile, etc.
2026-03-03 08:33:56 -08:00
saravanakumardb1
6e0b6c33c9 test(admin-web): Add Playwright E2E tests for broadcasts and surveys
- Broadcasts: list, create, target, clone, pause/resume, metrics, delete
- Surveys: list, create with NPS/questions, conditional logic, activate/pause
- Integration: navigation, targeting, incentives, export
2026-03-03 08:31:31 -08:00