feat(FN-1217): add mission observability events and APIs

- Add mission observability types and core exports for mission health snapshots and event records
- Extend SQLite schema and MissionStore with mission_events persistence plus health and staleness query helpers
- Emit mission start and autopilot lifecycle events from MissionAutopilot for richer runtime telemetry
- Add dashboard mission observability routes and end-to-end coverage for mission events and health APIs
- Expand unit tests across core and engine and include a changeset for mission observability updates
This commit is contained in:
gsxdsm
2026-04-08 08:22:33 -07:00
parent 8e61566ad1
commit 2a923ea1a0
11 changed files with 882 additions and 15 deletions

View File

@@ -0,0 +1,10 @@
---
"@gsxdsm/fusion": patch
---
Add mission observability plumbing for lifecycle event logs and health snapshots.
- persist mission lifecycle/autopilot events in the new `mission_events` table
- expose MissionStore `logMissionEvent`, `getMissionEvents`, and `getMissionHealth`
- add `GET /api/missions/:missionId/events` and `GET /api/missions/:missionId/health`
- log autopilot state transitions/retries/completion events for mission auditability