feat: verify multi-client reset recovery and document the emergency workflow

This commit is contained in:
2026-08-31 00:04:24 +03:00
parent 93af738e36
commit 3fcab465f8
4 changed files with 424 additions and 1 deletions
+2
View File
@@ -79,6 +79,8 @@ session, clears match and cumulative statistics, and starts a fresh game
generation. Successful recovery responses contain `resetReason` (`session_left`,
`profile_reset`, or `game_reset`) and `generation`. Invalidated-token state
polling returns `SESSION_INVALIDATED` with the same bounded recovery metadata.
The recovery generation and `gameId` make delayed commands stale; retrying a
completed recovery is harmless and cannot mutate a newly registered session.
## Role-safe state event