saravanakumardb1
ec3dd4bd66
feat(mcp-server): add notes tool integration
2026-03-10 09:39:07 -07:00
saravanakumardb1
63b0d20b07
fix(fastify-core): address jwt rollout review findings
2026-03-06 13:44:22 -08:00
saravanakumardb1
cfca118c71
feat(fastify-core): add shared optional jwt context
2026-03-06 12:52:49 -08:00
saravanakumardb1
53f34851df
fix(mcp-server): resolve lint blockers in new MCP tools
2026-03-05 22:30:39 -08:00
saravanakumardb1
40db19a389
feat(mcp-server): Add 2 high-priority A2A pipelines
...
- regression-watch-pipeline.ts: Monitor error clusters and auto-create diagnostics sessions
- post-incident-cleanup-pipeline.ts: Resolve clusters, delete policies, export audit logs
- a2a-tools.ts: Register both pipelines as MCP tools (a2a.regressionWatch, a2a.postIncidentCleanup)
- Fix platform-client function names and TelemetryCluster interface usage
- Both pipelines support dryRun mode and proper error handling
- Fix ESLint warnings: remove unused imports, add proper types
All tools require admin role and use existing platform-service endpoints.
2026-03-05 22:07:42 -08:00
saravanakumardb1
0a6950216a
feat(mcp-server): A2A batch-5 — GoalCoachingAgent + SkiRunAnalystAgent (peakpulse) + OrgProvisioningAgent (lysnrai) + ProtocolTuningAgent (nomgap) + CalendarImportAgent (chronomind)
...
goal-coaching-pipeline.ts: peakpulse.goals.coach
- SessionHistoryAgent -> GoalAnalysisAgent -> GoalReportAgent
- Computes duration/distance/elevation/speed trends across recent sessions
- Classifies user as beginner/intermediate/advanced; generates metric-specific goal suggestions
ski-run-analyst-pipeline.ts: peakpulse.ski.analyze
- SkiSessionCollectorAgent -> RunQualityAnalystAgent -> SkiReportAgent
- Computes runDensity, verticalPerRun, skiToLiftRatio per session
- Flags: low_run_density, high_lift_ratio, short_session, vertical_drop vs baseline
org-provisioning-pipeline.ts: lysnrai.orgs.provision
- OrgInspectorAgent -> ProvisioningActionAgent -> OrgReportAgent
- Checks API tokens + session activity; classifies as new_org/needs_attention/complete
protocol-tuning-pipeline.ts: nomgap.protocols.tune
- ProtocolStatsCollectorAgent -> AbandonmentAnalysisAgent -> TuningReportAgent
- Finds protocols with >40% abandonment; runs extraction for pattern analysis
- Proposes duration reduction, milestone notifications, or variant creation
calendar-import-pipeline.ts: chronomind.calendar.import
- EventValidatorAgent -> ConflictDetectorAgent -> ImportReportAgent
- Validates dtstart/dtend; detects time overlaps vs existing timers
- Creates alarm timers for conflict-free events; dryRun support
MCP server total: 110 tools
2026-03-05 18:07:59 -08:00
saravanakumardb1
acadc3551e
feat(mcp-server): A2A batch-4 — RoutineQualityAgent (chronomind) + SocialFastCoordinatorAgent (nomgap) + TeamProvisioningAgent (jarvis)
...
routine-quality-pipeline.ts: chronomind.routines.checkQuality
- RoutineInventoryAgent -> QualityCheckAgent -> QualityReportAgent
- Flags: duration_overflow, never_completed, empty_steps, no_category
- Per-routine issue list + remediation suggestions; configurable maxDurationMinutes
social-fast-coordinator-pipeline.ts: nomgap.social.coordinateFast
- GroupMemberResolverAgent -> NotificationDispatchAgent -> CoordinationReportAgent
- Fires social_invite + stage_transition push to each group member
- Sends weekly_digest to session owner; per-member outcome tracking
team-provisioning-pipeline.ts: jarvis.teams.provision
- NewMemberDetectorAgent -> OnboardingAgent -> ProvisioningReportAgent
- Detects invited + recently joined members (configurable sinceHours window)
- Recommends starter agents by member role, seeds context memory in each agent
- Marks check-in as scheduled after successful memory seed
MCP server total: 105 tools
2026-03-05 16:39:36 -08:00
saravanakumardb1
7ed4a105b7
feat(mcp-server): A2A batch-3 — ReflectionSynthesisAgent (mindlyst) + KeyboardDiagnosticsAgent (lysnrai) + NLParserEvalAgent (chronomind)
...
reflection-synthesis-pipeline.ts: mindlyst.reflections.synthesize
- ReflectionCollectorAgent -> ThemeExtractionAgent -> SynthesisReportAgent
- Fetches recent reflections, runs reflection-enrichment extraction, surfaces themes by frequency
- Proposes weekly summary text; max 52 reflections (1 year lookback)
keyboard-diagnostics-pipeline.ts: lysnrai.keyboard.diagnose
- KeyboardErrorScannerAgent -> DiagnosticsSessionAgent -> BugReportDraftAgent
- Scans error telemetry filtered to keyboard surface, groups by anonymousInstallId
- Opens diagnostics session per erroring install; drafts severity-ranked bug reports
- 48h default window, configurable minErrors threshold
nl-parser-eval-pipeline.ts: chronomind.nlParser.eval
- PhraseSamplerAgent -> ParseEvalAgent -> RegressionReportAgent
- 10-phrase canonical test suite + optional custom phrases
- Submits to extraction-service timer-parse task, validates parsed field presence
- Returns pass/fail/partial scorecard with regression list
MCP server total: 102 tools
2026-03-05 16:36:19 -08:00
saravanakumardb1
b8e230f018
feat(mcp-server): A2A batch-2 — STTFallbackMonitorAgent (lysnrai) + ProgressAnalystAgent (jarvis) + BrainOverflowAgent (mindlyst)
...
stt-fallback-monitor-pipeline.ts: lysnrai.stt.monitorFallback
- STTEventScannerAgent -> DiagnosticsLaunchAgent -> FallbackReportAgent
- Queries stt_completed telemetry, splits azure vs whisper events, computes offline rate
- Opens diagnostics session if rate exceeds threshold (default 20%); 6h default window
progress-analyst-pipeline.ts: jarvis.progress.analyze
- SessionMetricsCollectorAgent -> PlateauDetectorAgent -> ProgressReportAgent
- Collects skillMetrics timeseries per agent from recent sessions
- Detects plateau (delta < threshold), recommends increase_difficulty or supplementary_agent
brain-overflow-pipeline.ts: mindlyst.brains.checkOverflow
- BrainInventoryAgent -> OverflowDetectorAgent -> OverflowReportAgent
- Flags brains above item count threshold with no acted-on items in N days
- Per-brain suggestion: archive / reassign / review
MCP server total: 99 tools
2026-03-05 16:31:32 -08:00
saravanakumardb1
e4d489d40c
fix(triage-quality-pipeline): remove unused MemoryItemDoc import
2026-03-05 16:18:54 -08:00
saravanakumardb1
d7aa90b021
feat(mcp-server): 4 MCP tool gaps + 3 new A2A pipelines (Priority 3/6/7)
...
MCP tool gaps filled (DOMAIN_PRODUCTS.md alignment):
- jarvis.memory.create — POST /jarvis/agents/:agentId/memory (sessionId, type, content, importance, tags, expiresAt)
- jarvis.teams.listMembers — GET /jarvis/teams/:teamId/members (role, status, joinedAt)
- nomgap.fasting.getSession — GET /fasting/sessions/:id (client func already existed, MCP tool was missing)
- peakpulse.weather.getSnapshot — extracts weather field from peakpulseSessionGet response
New A2A pipelines (all registered in server.ts):
- transcript-extraction-pipeline.ts: lysnrai.transcripts.runExtractionPipeline
- TranscriptCollectorAgent -> ExtractionBatchAgent -> ExtractionReportAgent
- Queries transcripts missing extractedAt, runs extraction, returns batch report + dryRun support
- sync-conflict-pipeline.ts: chronomind.sync.diagnoseConflicts
- ConflictDetectorAgent -> SyncStateInspectorAgent -> DiagnosticsSessionAgent -> ConflictReportAgent
- Queries telemetry for sync_conflict events, classifies pattern, creates diagnostics session on conflict
- route-safety-pipeline.ts: peakpulse.sessions.assessSafety
- SessionDataAgent -> RouteProfileAgent -> SafetyAnalysisAgent -> SafetyReportAgent
- Fetches GPS + weather, evaluates UV/wind/altitude/speed risk factors, enriches with extraction entities
Client additions (jarvis-client.ts):
jarvisMemoryCreate, jarvisTeamsListMembers + JarvisTeamMemberDoc interface
MCP server total: 93 tools across 17 namespaces
2026-03-05 15:18:21 -08:00
saravanakumardb1
ea16f8df19
feat(mcp-server): add 6 platform.schemas.* + platform.sdks.* tools from DOMAIN_PACKAGES_AND_SDKS.md
...
- platform.schemas.telemetryEvent: TelemetryEventDoc field schema + clustering keys + privacy rules
- platform.schemas.diagnosticsSession: DebugSession schema + full endpoint map
- platform.sdks.swiftCapabilities: ByteLystPlatformSDK 13 modules with phase + description
- platform.sdks.kotlinCapabilities: Android/KMP SDK feature inventory + KMP adoption
- platform.sdks.crossProductAdoption: 8 capabilities x 6 products adoption matrix + known gaps
- platform.sdks.auditActivity: live telemetry query to verify SDK wired + event breakdown per platform/module
- MCP server now at 97 tools across 16 namespaces
2026-03-05 14:25:01 -08:00
saravanakumardb1
654de4ed2e
feat(mcp-server): add 4 A2A pipelines — DailyBrief, MarketplaceCert, SafetyMonitor, SyncDiagnostics
...
- DailyBriefGenerationPipeline (mindlyst.brief.generate): fans out memory items across all brains, runs memory-insight extraction per brain, assembles and stores DailyBriefDoc
- MarketplaceCertificationPipeline (jarvis.marketplace.runCertification): ingestion validation, content safety via triage extraction, heuristic quality scoring, approve/reject/pending_human_review decision
- SafetyMonitorAgent (nomgap.safety.check + nomgap.safety.getThresholds): 5-tier threshold table, push notifications, A2A handoff for 72h+ fasts
- SyncDiagnosticsAgent (peakpulse.sync.diagnose): failure pattern classification from telemetry, conditional platform diagnostics session, log/trace capture, root cause + extraction entity report
- Add 3 missing client functions: mindlystBriefCreate, nomgapFastingSessionGet, jarvisMarketplaceGetListing
- MCP server now at 91 tools across 16 namespaces
2026-03-05 14:22:25 -08:00
saravanakumardb1
0f57a48168
feat(mcp-server): add 19 platform ops tools — flags.*, jobs.*, maintenance.*, settings.*, webhooks.*
...
flags (5): list, get, upsert (create-or-update), delete, killSwitch
jobs (4): list, get, trigger, listRuns
maintenance (3): getCurrent (admin full), set, scheduleWindow
settings (3): get, update, checkKillSwitch
webhooks (7): listSubscriptions, create, get, update, delete, listDeliveries, test, rotateSecret
All backed by existing platform-service endpoints — no new backend changes.
MCP server now has 84 tools across 16 namespaces.
2026-03-05 13:46:15 -08:00
saravanakumardb1
33dd530d5f
feat(mcp-server): add tracker.* namespace — 13 tools for items, votes, comments, public roadmap
...
- tracker-client functions appended to platform-client.ts (tracker is part of platform-service)
- tracker.items.{stats,list,get,create,updateStatus,delete}
- tracker.votes.{toggle,list}
- tracker.comments.{list,add,delete}
- tracker.public.{roadmap,stats}
- All 13 tools require admin role; productId forwarded as x-product-id
2026-03-05 13:36:55 -08:00
saravanakumardb1
c9022665d6
fix(mcp-server): add /api prefix to all product backend clients (critical — all routes 404 without it)
2026-03-05 13:10:08 -08:00
saravanakumardb1
fcb3befa23
feat(mcp-server): Phase 3 — product namespaces for ChronoMind, NomGap, PeakPulse (13 more tools)
2026-03-05 13:05:03 -08:00
saravanakumardb1
f780f0b409
feat(mcp-server): Phase 3 — product namespaces for MindLyst, LysnrAI, JarvisJr (22 new tools)
2026-03-05 13:01:05 -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
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
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
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