spaxel/mothership/internal/learning
jedarden b1c2218146 feat: wire anomaly detection & security mode API endpoints
AnomalyDetector initialized in main() with periodic model updates.
Anomaly events broadcast to dashboard WS as 'alert' messages via
BroadcastAlert. GET /api/anomalies?since=24h lists recent events.
POST /api/security/arm and /api/security/disarm manage security mode.
GET /api/security/status returns armed state, learning progress, and
24h anomaly count. Arm/disarm state persisted to learning_state table
and restored on restart.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-07 15:09:34 -04:00
..
accuracy.go feat(learning): complete feedback loop with time-range queries and zone breakdown 2026-03-29 18:03:45 -04:00
feedback_processor.go feat(learning): implement detection feedback loop and accuracy tracking 2026-03-29 14:50:36 -04:00
feedback_store.go feat(learning): complete feedback loop with time-range queries and zone breakdown 2026-03-29 18:03:45 -04:00
feedback_test.go feat(learning): implement detection feedback loop and accuracy tracking 2026-03-29 14:50:36 -04:00
handler.go feat: wire anomaly detection & security mode API endpoints 2026-04-07 15:09:34 -04:00