test: align HUD location contract with authored rooms

This commit is contained in:
goose
2026-10-08 20:30:36 -04:00
parent e6025317e1
commit 80ecc836c2
2 changed files with 11 additions and 1 deletions
+4
View File
@@ -34,6 +34,10 @@ Visual capture passed:
No test, parse, script, or visual-check failures were found. Standard pre-existing GUT invalid-UID and Godot cleanup/resource warnings were emitted, but the verifier accepted them and exited 0.
## Fix round 1 — Task 3 review
The dynamic HUD layout contract now derives the expected location id from the authored `floor_state.rooms` bounds before checking the live header text. This avoids calling `room_at()` on surface corridor cells whose map room id is intentionally absent, without changing SurfaceGenerator, HUD, or domain behavior.
## Git
This report and only the PR-3 tourist implementation/tests are committed locally in one commit. No push or pull request was created.