v6.2.0
Adds optional `entityByTrait` to StateMachineManager.sendEvent / enqueueEvent so guard evaluation reads per-trait scalar state (mutated by `(set @entity.X)` effects across transitions). OrbitalServerRuntime now builds entityByTrait from `traitFieldStates` on every event, so runtime-path guards reading @entity.X resolve to prior step writes even for [runtime] entities with no persistence row. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>