{"ok":true,"service":"provider-health-latency-watch","mode":"latency-watch-readiness-layer","timestamp":"2026-06-26T15:09:20.971Z","thresholds":{"excellentMs":250,"healthyMs":750,"watchMs":1000,"warningMs":1500,"criticalMs":3000},"summary":{"totalProviders":9,"latencyWatchReady":true,"productionMutation":false,"alertingEnabled":false,"trendPersistenceEnabled":false,"reason":"Latency watch is ready as a read-only classification layer. Persistent latency history and automatic alerting are intentionally not attached yet."},"providerWatchTargets":[{"provider":"System Heartbeat","endpoint":"/api/live/system-heartbeat","criticality":"Critical","purpose":"Central aggregate pulse for the unified dashboard.","watchPolicy":{"excellent":"<= 250ms","healthy":"<= 750ms","watch":"<= 1000ms","warning":"<= 1500ms","critical":"> 1500ms"}},{"provider":"System Telemetry","endpoint":"/api/live/system-telemetry","criticality":"Critical","purpose":"Internal provider snapshot for live routes, safe mode, provider version, and secret exposure guard.","watchPolicy":{"excellent":"<= 250ms","healthy":"<= 750ms","watch":"<= 1000ms","warning":"<= 1500ms","critical":"> 1500ms"}},{"provider":"Dashboard Status","endpoint":"/api/live/dashboard-status","criticality":"High","purpose":"Panel status and route map for the unified dashboard.","watchPolicy":{"excellent":"<= 250ms","healthy":"<= 750ms","watch":"<= 1000ms","warning":"<= 1500ms","critical":"> 1500ms"}},{"provider":"Telemetry Status","endpoint":"/api/live/telemetry-status","criticality":"High","purpose":"Operational telemetry summaries for build, runtime, tokens, connectors, workflow cost, and alerts.","watchPolicy":{"excellent":"<= 250ms","healthy":"<= 750ms","watch":"<= 1000ms","warning":"<= 1500ms","critical":"> 1500ms"}},{"provider":"Signal Mesh Status","endpoint":"/api/live/signal-mesh-status","criticality":"High","purpose":"Signal source, routing, priority, correlation, and verification status.","watchPolicy":{"excellent":"<= 250ms","healthy":"<= 750ms","watch":"<= 1000ms","warning":"<= 1500ms","critical":"> 1500ms"}},{"provider":"Ingestion Status","endpoint":"/api/live/ingestion-status","criticality":"High","purpose":"Connector readiness, validation, schema health, freshness, and mesh handoff status.","watchPolicy":{"excellent":"<= 250ms","healthy":"<= 750ms","watch":"<= 1000ms","warning":"<= 1500ms","critical":"> 1500ms"}},{"provider":"Autonomy Status","endpoint":"/api/live/autonomy-status","criticality":"Critical","purpose":"Auto-allowed, review-required, blocked, escalated, and override-ready action status.","watchPolicy":{"excellent":"<= 250ms","healthy":"<= 750ms","watch":"<= 1000ms","warning":"<= 1500ms","critical":"> 1500ms"}},{"provider":"Command Center Status","endpoint":"/api/live/command-center-status","criticality":"Critical","purpose":"Founder cockpit panels, decisions, alerts, workflows, approvals, and override state.","watchPolicy":{"excellent":"<= 250ms","healthy":"<= 750ms","watch":"<= 1000ms","warning":"<= 1500ms","critical":"> 1500ms"}},{"provider":"Safe Mode Status","endpoint":"/api/live/safe-mode-status","criticality":"Critical","purpose":"Normal, degraded, paused, recovery, safe mode, and override visibility.","watchPolicy":{"excellent":"<= 250ms","healthy":"<= 750ms","watch":"<= 1000ms","warning":"<= 1500ms","critical":"> 1500ms"}}],"watchRules":[{"rule":"Healthy Can Still Be Slow","status":"ready","purpose":"A route can return HTTP 200 and still need attention if latency repeatedly crosses watch thresholds.","safeguard":"Do not wait for failure before noticing drag."},{"rule":"Critical Routes Get Lower Tolerance","status":"ready","purpose":"Command Center, Safe Mode, Autonomy, and Heartbeat routes should be watched more aggressively.","safeguard":"Founder control surfaces must stay crisp."},{"rule":"No Secret Capture","status":"ready","purpose":"Latency watch stores route labels, timings, and classifications only.","safeguard":"Never store tokens, cookies, payloads, credentials, or private logs."},{"rule":"Trend Persistence Not Attached Yet","status":"review-required","purpose":"Historical latency storage should be added later only after audit persistence and redaction are ready.","safeguard":"No database logging until governance says yes."},{"rule":"Alert Escalation Not Attached Yet","status":"review-required","purpose":"Automatic alerting should be connected after latency patterns are validated.","safeguard":"Do not create noisy alerts before thresholds are proven."},{"rule":"Optimization Recommendation Only","status":"ready","purpose":"Latency watch may recommend optimization but cannot mutate routes or deploy changes.","safeguard":"Observation is not execution."}],"allowedNow":["Render latency watch thresholds.","Classify provider latency as excellent, healthy, watch, warning, or critical.","Show that healthy routes may still need optimization.","Keep latency monitoring read-only.","Use provider health output manually for latency review."],"notAllowedYet":["Persist latency history to a database.","Trigger automatic production changes.","Auto-disable providers.","Store request payloads or secrets.","Send automatic alerts without founder-approved thresholds."],"futureLatencyRecordShape":{"latencyEventId":"stable latency event id","provider":"safe provider label","endpoint":"safe route label","criticality":"Critical/High/Medium/Low","latencyMs":"number","classification":"excellent/healthy/watch/warning/critical","checkedAt":"ISO timestamp","productionMutation":"false","redactionStatus":"redacted-safe"},"futureTrendShape":{"provider":"safe provider label","endpoint":"safe route label","sampleWindow":"5m/15m/1h/24h","p50LatencyMs":"number","p95LatencyMs":"number","p99LatencyMs":"number","warningCount":"number","criticalCount":"number","recommendation":"safe text recommendation"},"safeguard":"Provider Health Latency Watch Layer is read-only and non-destructive. It does not persist latency records, mutate production, expose secrets, disable providers, or execute recovery actions."}