spaxel/mothership
jedarden e92d5bc325 feat(simulator): wire registry bridge position data flow (bf-5dpu)
Complete the wiring between simulator API and registry_bridge.go to ensure
positions flow correctly through the complete data path:

1. Simulator API receives node positions via POST /api/simulator/nodes
2. Positions persisted to VirtualNodeStore
3. Periodic 30s sync reads positions from store
4. Registry bridge processes positions (spread geometry for default origin)
5. Positions written to Fleet Registry database

Changes in main.go:
- Create VirtualNodeStore with persistence
- Create FleetRegistryBridge wrapping the store
- Add periodic sync goroutine (every 30s) calling SyncToRegistry
- Wire simulatorHandler with both store and bridge

Changes in simulator.go:
- Update SimulatorHandler to accept virtualStore and registryBridge
- Load existing virtual nodes from store on startup
- Persist node operations (Create, Update, Delete) to store
- Add logging for position flow traceability

Acceptance criteria met:
✓ Positions flow from simulator to registry_bridge.go
✓ Positions correctly formatted for registry
✓ All wiring issues resolved
✓ Data path complete and functional

Resolves bf-5dpu
2026-07-06 01:51:16 -04:00
..
cmd feat(simulator): wire registry bridge position data flow (bf-5dpu) 2026-07-06 01:51:16 -04:00
internal feat(simulator): wire registry bridge position data flow (bf-5dpu) 2026-07-06 01:51:16 -04:00
test/acceptance fix(acceptance): start mothership binary in SPAXEL_NO_DOCKER=1 path 2026-06-04 01:34:07 -04:00
tests/e2e test(e2e): add IO-1 and IO-2 integration tests for CI harness 2026-05-24 10:07:20 -04:00
go.mod feat: implement spatial quick actions context menu for 3D scene 2026-04-10 22:56:17 -04:00
go.sum feat: implement spatial quick actions context menu for 3D scene 2026-04-10 22:56:17 -04:00