forked from WikiDeck/wikideck
Save live lobbies/drafts/matches to $DATA/game/live.json every 15 s and synchronously on SIGTERM/SIGINT; restore on start with timers reset. Lobbies whose mode version or rules changed are dropped. Reported by night-review QA on #6 (autodeploy restarts killed live matches). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>