[READY][Gameplay] #287-D Canonical phase contract parity between session-detail and phase transition responses #308
Reference in New Issue
Block a user
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?
Parent epic: #287
Problem statement
The canonical round flow now exists, but the contract is still spread across multiple response shapes (
session,phase_view_model,round_question,reveal,scoreboard,phase_transition). We need one narrow follow-up task that verifies and hardens parity betweenGET /lobby/sessions/<code>and the write endpoints that advance the game.Expected value / why now
This reduces desync risk between frontend polling, transition responses, and realtime updates. It also makes future UI work cheaper because the client can trust a stable server contract instead of endpoint-specific quirks.
Acceptance criteria
session.status,phase_view_model.current_phase,round_question.id, reveal/scoreboard presence, and host/player readiness flags.Scope boundary