Files
DungeonCrawlerWorld/.goose/hud-red-report.md
T

36 lines
1.7 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# HUD composition RED report
## Scope
RED-only TDD change. No production scene, script, or asset was modified. Contracts were added only to:
- `tests/unit/test_hud_layout.gd`
- `tests/unit/test_display_layout.gd`
- `tests/e2e/test_visual_readability_e2e.gd`
## Measured current-state failures
Targeted GUT execution completed without `SCRIPT ERROR` or `Parse Error`.
- **Journal/minimap collision:** at both 1920×1080 and 1280×720, `EventLog` and `LogPanel` intersect `Minimap`.
- **Mockup width proportions:** each rail measures 320/1920 = **16.67%** (below 22%); `PlayAreaFrame` measures 1180/1920 = **61.46%** (above 56%). The same scaled ratios occur at 1280×720.
- **Opaque outside-play-area mask:** all four required `PlayAreaMaskTop`, `PlayAreaMaskLeft`, `PlayAreaMaskRight`, and `PlayAreaMaskBottom` nodes are absent.
- **Named visual sections:** `CharacterSection`, `ObjectivesSection`, `StatusSection`, `JournalSection`, and `MapSection` are absent.
- **Camera viewport:** the camera exposes **1920×1080** while `PlayAreaFrame` is **1180×830**, proving the world is still full-screen rather than constrained to the central frame.
## Commands and result
```sh
/snap/bin/godot4 --headless --path . -s res://addons/gut/gut_cmdln.gd \
-gtest=res://tests/unit/test_hud_layout.gd,res://tests/unit/test_display_layout.gd -gexit
/snap/bin/godot4 --headless --path . -s res://addons/gut/gut_cmdln.gd \
-gtest=res://tests/e2e/test_visual_readability_e2e.gd -gexit
```
Expected RED result observed:
- unit targeted suite: **5 failing tests** (16/21 passing)
- E2E targeted suite: **1 failing test** (1/2 passing)
The failures are behavioral contract failures listed above, not parser failures.