chore: remove HUD debugging reports

This commit is contained in:
goose
2026-10-09 01:28:46 -04:00
parent 65d35b5102
commit 39fd70da88
2 changed files with 0 additions and 68 deletions
-33
View File
@@ -1,33 +0,0 @@
# HUD composition GREEN report
## Delivered
- Rebuilt the responsive 1920×1080 HUD artboard around the supplied mockup proportions:
- 16px shell margin; top bar at `y=12`, 76px tall;
- left/right rails at 460px (23.96% each), central `PlayAreaFrame` at 924px (48.13%) and exactly centred;
- body rails from `y=98` to `940`; command bar at `y=956`, 108px tall.
- Added opaque `PlayAreaMaskTop`, `PlayAreaMaskLeft`, `PlayAreaMaskRight`, and `PlayAreaMaskBottom`. They exactly partition the artboard outside the central frame and precede the chrome in the scene draw order.
- Added visible, dark-fantasy gold/charcoal section panels and titles:
`PERSONNAGE`, `OBJECTIFS`, `ÉTAT`, `JOURNAL`, `CARTE`.
- Retained legacy HUD node paths and moved their live visual rectangles into appropriate named sections. In normal state the journal and minimap have separate vertical sections; log expansion consumes only the map area by design.
- Placed minimap strictly in `MapSection`; its caption is now `CARTE — TAB`.
- Replaced the remaining local blue panel/gauge treatments with charcoal-and-gold styles.
- Decoupled the architecture test from `Camera2D.get_viewport()` dimensions. The correct observable contract is the four opaque masks plus a PlayAreaFrame centred on the camera/viewport focal point; a `Camera2D` cannot own a separate Godot viewport.
## Verification
- Targeted HUD/display GUT: **21/21 passed** (492 assertions).
- Targeted visual-readability E2E: **2/2 passed** (78 assertions).
- Full unit suite: **228/228 passed** (34,775 assertions).
- Full E2E suite: **79/79 passed** (723 assertions).
- `git diff --check`: passed.
## Visual review handoff (not an acceptance claim)
`./scripts/run-visual-check.sh` was run and produced captures at:
- `artifacts/visual-check.png`
- `artifacts/visual-check-exit.png`
- `artifacts/visual-check-compact.png`
The existing legacy pixel validator failed its exit-capture explored-terrain measurement because it measures the former broad centre region rather than the newly masked PlayAreaFrame. The captures exist for parent visual review; this report deliberately makes **no claim that the visual result is acceptable**.
-35
View File
@@ -1,35 +0,0 @@
# 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.