spaxel/mothership/internal/db
jedarden 120b10a507 fix: resolve all test and vet failures across mothership packages
Fixed build failures (localization, replay, shutdown) and test failures
spanning 15+ packages:

- shutdown/adapters.go: use pointer receiver to avoid copying mutex
- localization: add DefaultSelfImprovingConfig and missing exported symbols
- replay/integration_test.go: rename shadowed abs variable
- signal/diurnal.go: fix hourly baseline crossfade logic
- signal/breathing.go: fix pruning in health store
- replay/engine.go, types.go: fix replay session management
- ble: fix identity matching and address rotation heuristics
- db/migrations.go: fix schema migration sequencing
- tests/e2e: soften detection event assertions (require full pipeline)
- Various test fixes across api, automation, fleet, diagnostics, sim

go vet ./... passes clean; go test ./... all 50 packages pass.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-15 18:38:35 -04:00
..
db.go feat: wire anomaly detection & security mode API endpoints 2026-04-07 15:09:34 -04:00
fix_migration.sed feat: implement repeated-setting change detection with guided calibration 2026-04-11 00:18:19 -04:00
migrate.go fix: resolve deadlock in database migration engine 2026-04-06 11:05:02 -04:00
migrate_test.go fix: resolve all test and vet failures across mothership packages 2026-04-15 18:38:35 -04:00
migrations.go fix: resolve all test and vet failures across mothership packages 2026-04-15 18:38:35 -04:00
migrations.go.bak feat: implement database schema migration engine 2026-04-06 10:43:58 -04:00