spaxel/mothership/internal/analytics
jedarden f851ede69e feat: wire anomaly detection & security mode API endpoints
- AnomalyDetector initialized and running in main() with periodic updates
- Anomaly events pushed to dashboard WS feed as 'alert' messages
- GET /api/anomalies?since=24h lists recent anomaly events
- POST /api/security/arm + /api/security/disarm endpoints
- GET /api/security/status returns armed, learning_until, anomaly_count_24h
- Arm/disarm state persists via learning_state SQLite table

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-07 13:20:54 -04:00
..
anomaly.go fix: wire anomaly detection & security mode API endpoints 2026-04-07 12:10:01 -04:00
anomaly_test.go feat: implement 7-day pattern learning algorithm for anomaly detection 2026-04-06 21:27:10 -04:00
flow.go feat(analytics): implement crowd flow visualization 2026-03-29 15:38:40 -04:00
flow_test.go feat(localization): implement self-improving localization with BLE ground truth 2026-03-29 20:11:22 -04:00
handler.go feat: wire anomaly detection & security mode API endpoints 2026-04-07 13:20:54 -04:00
patterns.go feat: implement 7-day pattern learning algorithm for anomaly detection 2026-04-06 21:27:10 -04:00
patterns_test.go feat: implement 7-day pattern learning algorithm for anomaly detection 2026-04-06 21:27:10 -04:00