From 4b0b66190785ab683f5cd6529ccdc952b1b39a1c Mon Sep 17 00:00:00 2001 From: autocommit Date: Thu, 4 Jun 2026 21:20:52 -0700 Subject: [PATCH] docs(p2-74): record cluster-2 (HUD panels + notifications) progress MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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) --- .../p2-74-ui-dehardcode-to-tokens.md | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.project/objectives/p2-74-ui-dehardcode-to-tokens.md b/.project/objectives/p2-74-ui-dehardcode-to-tokens.md index ae302b4c..fdc03de4 100644 --- a/.project/objectives/p2-74-ui-dehardcode-to-tokens.md +++ b/.project/objectives/p2-74-ui-dehardcode-to-tokens.md @@ -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).