spaxel/mothership/internal
jedarden af8800caef feat: add self-improving localization REST API
Implement REST API endpoints for managing learned weights and tracking
improvement in the self-improving localization system.

- Add LocalizationHandler with endpoints for:
  - GET /api/localization/weights - get all learned link weights
  - GET /api/localization/weights/{linkID} - get specific link weight
  - POST /api/localization/weights/reset - reset all weights to default
  - GET /api/localization/spatial-weights - get spatial weights per zone
  - GET /api/localization/groundtruth/* - ground truth sample management
  - GET /api/localization/accuracy/* - position accuracy tracking
  - GET /api/localization/learning/* - learning progress and history

- Integrate spatial weight learner into fusion engine:
  - Add AddLinkInfluenceWithSpatialWeights to grid.go for per-cell weight application
  - Update Fuse() in fusion.go to use spatial weight functions when available
  - Apply both sigma adjustments and spatial weights for Fresnel zone computation

- Add comprehensive table-driven tests for all API endpoints

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-09 10:06:06 -04:00
..
analytics feat: implement anomaly detection and security mode 2026-04-09 09:48:44 -04:00
apdetector feat: implement OUI lookup function 2026-04-09 06:27:26 -04:00
api feat: add self-improving localization REST API 2026-04-09 10:06:06 -04:00
auth feat: dashboard PIN change flow 2026-04-09 08:05:35 -04:00
automation fix: resolve Phase 6 build integration issues 2026-04-07 02:31:02 -04:00
ble feat: complete anomaly detection & security mode dashboard UI 2026-04-09 05:59:54 -04:00
briefing fix: resolve Phase 6 build integration issues 2026-04-07 02:31:02 -04:00
config feat: add environment variable validation with documented defaults 2026-04-07 12:15:06 -04:00
dashboard feat: implement anomaly detection and security mode 2026-04-09 09:48:44 -04:00
db feat: complete anomaly detection & security mode dashboard UI 2026-04-09 05:59:54 -04:00
diagnostics ci: set VERSION to 0.1.0 for image build 2026-04-06 08:53:25 -04:00
eventbus feat: implement internal pub/sub event bus 2026-04-07 12:51:41 -04:00
events feat: complete anomaly detection & security mode dashboard UI 2026-04-07 15:50:25 -04:00
explainability feat: wire anomaly detection & security mode API endpoints 2026-04-07 15:09:34 -04:00
falldetect fix: remove unused imports and variables in falldetect/detector.go 2026-04-06 18:47:11 -04:00
fleet feat: verify diurnal adaptive baseline implementation complete 2026-04-09 09:04:37 -04:00
floorplan feat: complete floor plan dashboard UI 2026-04-09 08:37:08 -04:00
fusion feat(signal): implement Phase 5 Reliability & Intelligence 2026-03-29 12:16:56 -04:00
health feat: complete anomaly detection & security mode dashboard UI 2026-04-07 15:50:25 -04:00
ingestion feat: implement REST API endpoint for node identify 2026-04-09 07:15:20 -04:00
learning feat: wire anomaly detection & security mode API endpoints 2026-04-07 15:09:34 -04:00
loadshed feat: extract evaluate() from EndIteration for testable load shedding state machine 2026-04-09 05:59:54 -04:00
localization feat: add self-improving localization REST API 2026-04-09 10:06:06 -04:00
mqtt fix: correct paho v1.5.0 API mismatches in mqtt/client.go 2026-04-06 18:47:11 -04:00
notify fix: rename shadowed color variable to clr in notify/service.go 2026-04-06 18:35:42 -04:00
ota feat(dashboard): per-link motion presence indicator with amplitude time series 2026-03-26 22:55:33 -04:00
oui feat: implement OUI code generator for IEEE MAC address lookup 2026-04-09 06:41:58 -04:00
prediction feat: add new internal packages (events, automation, ble, falldetect, mqtt, notify, prediction, sleep, tracker, zones, analytics) and dashboard modules (anomaly, automations, blepanel, fleet) 2026-04-06 09:48:31 -04:00
provisioning feat: add environment variable validation with documented defaults 2026-04-07 12:15:06 -04:00
recorder feat(recorder): per-link CSI frame recording with 1-hour segment files 2026-03-28 00:07:50 -04:00
recording feat(recording): disk-backed circular buffer with 48h time-based retention 2026-03-26 23:01:58 -04:00
replay feat(dashboard): per-link motion presence indicator with amplitude time series 2026-03-26 22:55:33 -04:00
shutdown feat: wire load-shedding level to health endpoint and dashboard WS alerts 2026-04-07 13:32:24 -04:00
signal feat: complete floor plan dashboard UI 2026-04-09 08:37:08 -04:00
sleep feat: implement anomaly detection and security mode 2026-04-09 09:48:44 -04:00
startup feat: startup phase sequencing with 30s timeout enforcement 2026-04-07 12:40:25 -04:00
tracker feat: complete anomaly detection & security mode dashboard UI 2026-04-09 05:59:54 -04:00
tracking feat: complete anomaly detection & security mode dashboard UI 2026-04-07 15:50:25 -04:00
volume feat: implement webhook action firing & fault tolerance for automations 2026-04-06 21:39:51 -04:00
zones feat: wire load-shedding level to health endpoint and dashboard WS alerts 2026-04-07 13:32:24 -04:00