Solo PLAY AGAIN routes to multiplayer mode instead of new solo game (state-machine session-mode bug) #91
Labels
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
frankenbit/cellblock#91
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Behavior (operator-observed 2026-06-22 post-round-13)
After a solo game, player enters initials at game-over leaderboard entry. Player then clicks "PLAY AGAIN" button. Instead of starting a new solo game, the game proceeds in multiplayer mode:
Severity
Functionally worse than the #80 Re-Enter symptom (silent score-loss was data correctness; this is wrong-mode-transition with stale state leak). Solo player is dumped into a multiplayer flow they did not choose; previously-entered name suggests stale checkin-name state from prior multiplayer session leaking through.
Plus harness coverage gap implied: #81 didn't catch this. Either:
Diagnostic hypotheses (NEEDS PROBE BEFORE FIX)
Per filed-rootcause-is-hypothesis discipline — verify against live before fix-shape commits.
(a) PLAY AGAIN handler doesn't differentiate session-mode: handler always routes to multiplayer-start regardless of whether player just finished solo or versus
(b) State-machine session-mode flag not reset/preserved correctly between solo-game-over and PLAY AGAIN click
(c) Something else — needs Shipwright probe of the actual handler + state-machine
Sharpened probe (Shipwright lane, read-only investigation)
Lane + size
Shipwright lane primary (client state-machine + button handler + harness extension). Engineer lane possibly involved if server-side session-mode also leaks (less likely but worth checking during probe).
Size unclear pending probe. Likely size/S-M (one fix + harness extension).
Acceptance criteria
Cross-refs
Anchor
2026-06-22 operator playtest of round-13 deployed substrate. "After a solo game, when the player has entered his initials and clicks the 'Play again' button, the game proceeds in multiplayer mode: A previously entered name is displayed, and the screen shows 'Scanning the yard for a cellmate...' message."
AC-tick pass — closed by PR #94 (squashed):
BONUS substrate-discipline applied:
Honest ceiling: on-device solo-PLAY-AGAIN confirm is operator-device-gated (next redeploy round-14). Code axis + mutation-proof + harness-with-faithful-stub all done; live-flow confirmation awaits operator playtest.