Add administrative room close and reopen controls

Preserve readable private tables, discussion and pending games while closure blocks new play, joins, messages, AI and seat mutations. Add live-authorized atomic closure audits, room-version/revision fences, dedicated controls and exact saved retries. Reopen with the saved pause/join settings and current credentials; restoring a removed but closed room keeps its AI stopped.

Verified types, lint, 5356 offline tests, 52 HTTP tests and build. Seventeen dedicated authenticated HTTP groups and independent privacy/persistence review passed. Desktop/mobile browser QA confirmed one close after a lost response and refresh, persistent readable notices, retained private draft, mobile reopening and saved-seat refresh. All 2,001 baseline rooms, 4,243 seats and related records preserved. Positive production admin acceptance awaits authorized QA access; full admin and rules gates remain open.
This commit is contained in:
Quintine committed 2026-09-22 12:31:02 +10:00
1 parent 238de3860d
commit 98b1b3261b
49 files changed
+4255 -86

No files matched your search

+18
View File
@@ -1,5 +1,23 @@
# Dune implementation status
## 22 September 2026 — Administrative close/reopen prototype
[Close or reopen](ADMIN_ROOM_CLOSURE.md) now separates administrative availability
from the saved game's rules status and winner. It retains readable private tables
and discussion, blocks new player/AI/seat/message mutations, and preserves exact
prior receipts. Atomic audit/version/revision fences and independent closure
metadata compose with pause, lobby configuration and recoverable removal.
Reopening preserves credentials and pending choices, with existing AI pacing.
Independent review corrected recovery-claim scope, unnecessary closed-room worker
scheduling and typed closure errors after write races. Focused runtime checks,
dedicated HTTP acceptance and lost-response/mobile browser QA accompany the
checkpoint. Source-bound broad checks and preservation evidence remain private;
production acceptance must match the deployed checkpoint. Archive, permanent
removal, bulk operations and the rest of the full administration panel remain
unfinished; this does not certify complete rules or open publication gates.
## 22 September 2026 — Recoverable room removal and restoration
Added [administrator removal/restoration](ADMIN_ROOM_REMOVAL.md) with a typed-room