spaxel/mothership/internal/simulator
jedarden abf272a781 docs(bf-2irz): verify registry bridge receives simulator positions
Add logging to trace position data flow from simulator to registry bridge.
Verify that positions are correctly received and processed 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

Enhanced logging at each step shows:
- Sync start with node count
- Per-node position processing (default origin vs explicit)
- Per-node sync to registry with position values
- Registry operations (create/update with positions)

Data flow confirmed working. Positions DO flow from simulator to
registry_bridge.go to fleet registry.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-06 01:37:40 -04:00
..
accuracy.go fix(lint): resolve golangci-lint v2 failures blocking CI 2026-06-03 23:34:50 -04:00
engine.go style(mothership): run go fmt to format all Go code 2026-05-24 15:30:02 -04:00
gdop.go style(mothership): run go fmt to format all Go code 2026-05-24 15:30:02 -04:00
handler.go style(mothership): run go fmt to format all Go code 2026-05-24 15:30:02 -04:00
node.go feat(simulator): add shared DefaultNodePositions helper for spread node geometry (bf-3fr6) 2026-07-03 18:18:39 -04:00
node_positions_test.go feat(simulator): add shared DefaultNodePositions helper for spread node geometry (bf-3fr6) 2026-07-03 18:18:39 -04:00
physics.go style(mothership): run go fmt to format all Go code 2026-05-24 15:30:02 -04:00
propagation.go style(mothership): run go fmt to format all Go code 2026-05-24 15:30:02 -04:00
registry_bridge.go docs(bf-2irz): verify registry bridge receives simulator positions 2026-07-06 01:37:40 -04:00
registry_bridge_test.go feat(simulator): seed spread geometry for default virtual nodes in registry bridge (bf-xrej) 2026-07-03 19:00:37 -04:00
session.go style(mothership): run go fmt to format all Go code 2026-05-24 15:30:02 -04:00
simulator_test.go style(mothership): run go fmt to format all Go code 2026-05-24 15:30:02 -04:00
space.go style(mothership): run go fmt to format all Go code 2026-05-24 15:30:02 -04:00
space_test.go style(mothership): run go fmt to format all Go code 2026-05-24 15:30:02 -04:00
types.go test(simulator): fix tests to match current API 2026-05-05 20:27:22 -04:00
virtual_state.go style(mothership): run go fmt to format all Go code 2026-05-24 15:30:02 -04:00
virtual_state_test.go style(mothership): run go fmt to format all Go code 2026-05-24 15:30:02 -04:00
walker.go style(mothership): run go fmt to format all Go code 2026-05-24 15:30:02 -04:00
walker_test.go style(mothership): run go fmt to format all Go code 2026-05-24 15:30:02 -04:00