spaxel/mothership
jedarden 91743d38ef feat: implement notification manager with batching and quiet hours
Create mothership/internal/notifications/manager.go with NotificationManager
implementing:
- Event type definitions (zone_enter, zone_leave, zone_vacant,
  fall_detected, fall_escalation, anomaly_alert, node_offline, sleep_summary)
- Priority levels (LOW, MEDIUM, HIGH, URGENT)
- Smart batching (30-second window for LOW/MEDIUM events, never batch URGENT,
  max 5 events then summarize)
- Quiet hours filtering (queue LOW/MEDIUM during quiet hours,
  deliver HIGH/URGENT immediately, morning digest at quiet_hours_end)
- SQLite persistence for notifications_config (channel, quiet_from,
  quiet_to, quiet_days_bitmask)
- Unit tests for batching and quiet hours logic

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-10 08:39:52 -04:00
..
cmd feat: implement room transition portals and zone occupancy 2026-04-10 08:10:12 -04:00
internal feat: implement notification manager with batching and quiet hours 2026-04-10 08:39:52 -04:00
tests/e2e feat: complete anomaly detection & security mode dashboard UI 2026-04-07 15:50:25 -04:00
go.mod chore: add missing go-chi/chi/v5 dependency for floorplan package 2026-04-07 10:52:08 -04:00
go.sum chore: add missing go-chi/chi/v5 dependency for floorplan package 2026-04-07 10:52:08 -04:00
mothership feat: trigger CI build and verify deployment 2026-04-06 09:54:08 -04:00
test_goroutine feat: implement webhook action firing & fault tolerance for automations 2026-04-06 21:39:51 -04:00
test_syntax feat: implement webhook action firing & fault tolerance for automations 2026-04-06 21:39:51 -04:00