docs(p2-74): record cluster-2 (HUD panels + notifications) progress

Log the 17 tokenized HUD/notification scripts, the three landing commits, the
const-Color-trap conversions, GUT baseline parity (16 pre-existing failures,
zero new), proof paths, and the held-for-world_map remainder (world_map_hud,
weather_visualizer, minimap, encyclopedia). Status stays stub — clusters for
world_map / encyclopedia / minimap remain.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
autocommit 2026-06-04 21:20:52 -07:00
parent db309a4236
commit 4b0b661907

View file

@ -50,6 +50,27 @@ Incremental, per-screen-cluster (it's 45 scripts) — land one cluster per commi
always-green. Order by player visibility: HUD/world-map → city → combat → tech/culture
→ modals (stats/summary/encyclopedia) → menus. Multi-session.
## Progress log
- **Cluster 1** (statistics / menus / city / combat / tech / culture) — landed
(commits `32277987a`, `f557da376`).
- **Cluster 2** (HUD panels + notifications) — landed (commits `c9713d2bd`
notifications, `6bdf1e798` panels, `acce3836c` overlays). 17 scripts tokenized:
top_bar, unit_panel, turn_notification, happiness_breakdown_panel,
diplomacy_panel, intelligence_log_panel, chronicle_panel, climate_indicator,
hotkey_sheet, tutorial_overlay, ai_turn_overlay, comms_renderer, overlay_panel,
debug_menu, end_turn_button + notifications/comms_toast,
notifications/capital_blackout_overlay. 0 inline `Color()` remain across the
cluster-2 fence; const-Color traps (CATEGORY_COLORS, GAUGE_*_COLOR,
DISABLED_OUTLINE_COLOR) converted to `_ready()`-populated vars. All scripts
compile with autoloads present; GUT 568 pass / 16 fail — same 16 pre-existing
failures as the p2-73 baseline (AI/data-integrity/sprite, none HUD), zero new.
Proofs on apricot: `.project/screenshots/p2-74-cluster2-hud-notifications.png`,
`p2-74-cluster2-hotkey-sheet.png`. `crafting_complete_modal`,
`boss_spawn_banner`, `loot_popup` already had 0 `Color()` — untouched.
- **Remaining**: world_map (incl. `scenes/hud/world_map_hud.*`,
`scenes/hud/weather_visualizer.*`), encyclopedia, minimap (`scenes/hud/minimap.*`)
— held for after the concurrent arch lane.
## Source-of-truth rails
- Colors reference tokens via `ThemeAssets.color()` / inherited theme (from `p2-73`).
- No new inline literals; no logic change (Rail 3 — presentation only).