跳到正文
DW· 来源· @ItsDamianWu · X·· 5 天前AI 评分37
正文 · 原文

Quick note: EvoForge is actually a local-first Agent OS (we use it to build & auto-verify games, rather than being a game itself 😄).
In our game verification loop, the hardest transitions to validate against save state are loading mid-action into an active physics/AI scene and fail → retry:Save files usually capture business state (pos, HP, progress), while physics bodies, PRNG state, timers, and the first-frame dt after async asset loading live purely in runtime memory.
You end up with a save state that passes every data assertion, yet drifts or ghost-collides 3 frames after the transition due to leaky teardown.
We ended up overriding clock/RNG with a deterministic driver and requiring setState to only resolve once assets + sim are actually settled. Curious how TeaQL handles the boundary between persisted models and transient runtime state?

来源:DW · x.com