fix(streaming): block login on complete world reveal

Make initial login and portal arrival consume one WorldRevealReadinessBarrier that joins near-tier mesh publication, destination composite uploads, and collision residency before normal world geometry becomes visible. This ports retail SmartBox's blocking-cell completion edge into the asynchronous client instead of exposing a ground-only login.

Add focused outdoor, indoor, texture, and invalid-claim tests; update the retail pseudocode, architecture, divergence record, issue ledger, roadmap baseline, and synchronized agent guidance.

Co-authored-by: OpenAI Codex <codex@openai.com>
This commit is contained in:
Erik 2026-07-20 16:08:03 +02:00
parent 6c3bd4ce4b
commit b60cb67009
14 changed files with 360 additions and 102 deletions

View file

@ -98,7 +98,7 @@ production runtime failure.
**Acceptance:** A non-incremental Release solution build reports zero warnings
and zero errors without suppressing analyzers or weakening nullable checking;
the full 6,452-pass / 5-skip suite remains green.
the full 6,457-pass / 5-skip suite remains green.
---
@ -7431,6 +7431,28 @@ outdoors at the angle that previously erased it.
# Recently closed
## #229 — [DONE 2026-07-20] Initial login revealed an incomplete world
**Closed:** 2026-07-20
**Resolution:** Login auto-entry waited only for the terrain height or EnvCell
floor needed by local physics. It then removed the sky-only render gate while
the destination's static meshes, nearby scenery, and composite textures could
still be uploading. Portal travel appeared to repair the world because it
already waited on all of those domains before revealing its destination.
Login and portal arrival now share `WorldRevealReadinessBarrier`, the async
equivalent of retail `SmartBox::UseTime` keeping position completion behind
`CellManager::blocking_for_cells`. Both paths invalidate destination texture
readiness, prepare composites after mesh publication, and require the same
render-plus-collision predicate. Focused login/barrier tests and the complete
Release suite pass; capped connected visual verification remains the final
gate.
**Research:**
`docs/research/2026-07-16-portal-completion-pseudocode.md` §2.
---
## #215 — [DONE 2026-07-13] Same-dungeon death respawn removed the dungeon floor physics
**Closed:** 2026-07-13