Pulse/frontend-modern/src
rcourtman f3e95c24ae feat(ai): Add baseline learning and anomaly detection (Phase 2)
Phase 2 of Pulse AI differentiation:

- Create internal/ai/baseline package for learned baselines
- Implement statistical baseline learning with mean, stddev, percentiles
- Add z-score based anomaly detection with severity classification
  (low, medium, high, critical based on standard deviations)
- Integrate baseline provider into context builder
- Wire baseline store into patrol service with adapters
- Add anomaly enrichment to resource contexts

Key features:
- Learn computes baseline from historical metric data points
- IsAnomaly and CheckAnomaly detect deviations from normal
- Persists baselines to disk as JSON for durability
- Formatted anomaly descriptions for AI consumption
  Example: 'Memory is high above normal (85.2% vs typical 42.1% ± 8.3%)'

The baseline store needs to be initialized and triggered to learn
from metrics history. Next step is adding the learning loop.

All tests passing.
2025-12-12 11:26:31 +00:00
..
api Add AI usage dashboard 2025-12-12 09:59:59 +00:00
components feat(ai): Add baseline learning and anomaly detection (Phase 2) 2025-12-12 11:26:31 +00:00
constants Refactor: Code cleanup and localStorage consolidation 2025-11-04 21:50:46 +00:00
hooks feat: Docker agent retry, UI column improvements, and IP tooltip enhancements 2025-12-12 08:26:36 +00:00
pages feat: Implement multi-provider AI support 2025-12-11 16:00:45 +00:00
stores feat: Implement multi-provider AI support 2025-12-11 16:00:45 +00:00
styles AI features checkpoint: Host selection, memory sparklines, UI refinements 2025-12-07 12:25:26 +00:00
test feat: enhance alerts system with tests and improved thresholds 2025-10-15 22:25:04 +00:00
types Add estimated USD to AI cost dashboard 2025-12-12 10:43:07 +00:00
utils feat: AI integration, Docker metrics, RAID display, and infrastructure improvements 2025-12-09 09:29:27 +00:00
App.tsx refactor(ai): Remove over-engineered URL discovery service 2025-12-10 08:35:24 +00:00
constants.ts Refactor: Code cleanup and localStorage consolidation 2025-11-04 21:50:46 +00:00
index.css refactor(ui): improve table column sizing and progress bar constraints 2025-11-27 12:09:12 +00:00
index.tsx Refactor: Code cleanup and localStorage consolidation 2025-11-04 21:50:46 +00:00
vite-env.d.ts Fix settings security tab navigation 2025-10-11 23:29:47 +00:00