jpmschweitzer and Claude Opus 4.6
4ed15c1a38
feat(simulation): add LocalBridge IPC over Unix socket ( #78 )
...
Length-prefixed MessagePack framing (4-byte BE length + payload),
LocalBridge struct implementing SimBridge trait over Unix domain
sockets, BridgeResource wrapper for ECS integration. Adds Io
error variant to BridgeError. Two integration tests verify
snapshot and input round-trips over real sockets.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-11 19:07:47 +01:00
jpmschweitzer and Claude Opus 4.6
6bda4a7620
fix(simulation): address PR #2 review findings
...
- Fix Cargo.toml edition 2024 → 2021 (Hoshe #1 )
- Switch test runner to cargo-nextest in Makefile (Hoshe #2 , D-030)
- Add debug_assert tick ordering enforcement in InputQueue::push (Hoshe #4 )
- Add DayPhase Serialize/Deserialize derives (Tyre #6 )
- Add day phase boundary comments clarifying half-open ranges (Hoshe #3 )
- Add phase duration adjustability comment (Tyre #5 )
- Document ObserverSnapshot planned fields as TODO (Tyre #1 )
- Document entity_id as wire-format ID, not ECS Entity (Tyre #2 )
- Change Relationship.target_name to target_id: u64 (Tyre #3 )
- Clarify single app.update() is intentional boilerplate (Hoshe #8 , Tyre #7 )
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-11 17:53:01 +01:00
jpmschweitzer and Claude Opus 4.6
f67caf1986
feat(server): initialize Rust/bevy_ecs simulation server
...
Server boilerplate epic (276) complete. Establishes the Rust simulation
server foundation per D-020 (subprocess/IPC architecture).
Structure:
- bevy_ecs 0.18 + bevy_app 0.18, MessagePack serialization (rmp-serde)
- SimulationPlugin with deterministic resources: SimulationTime (D-031),
SimRng (D-030), InputQueue (D-010)
- Core IPC types: ObserverSnapshot, PlayerInput, SimBridge trait (D-020)
- CauseChain production component for provenance tracking (D-030)
- SimulationTier types with LRU eviction support (D-026)
- NPC 10-axis model components (D-024)
- 15 tests: inline unit tests + integration smoke/serialization tests
- make ci-server passes (clippy, fmt, build, test)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-11 16:54:40 +01:00