melissa kate
<< Doppelgänger

Engine state rewind via replay, not snapshot

The story-maker's preview tab supports clicking a history breadcrumb to rewind to that scene. The implementation creates a fresh Engine instance and replays engine.start() then engine.processCommand(choice) for each prior choice up to (but not including) the target index. The resulting EngineResponse becomes the current state.

Why replay over snapshot:

How to apply: