From fb8e4d7a894c2cb4bf00cecc331e45b66a68091a Mon Sep 17 00:00:00 2001 From: Natalie Date: Mon, 4 May 2026 22:37:49 -0400 Subject: [PATCH] =?UTF-8?q?feat(@projects/@magic-civilization):=20?= =?UTF-8?q?=E2=9C=A8=20update=20objectives=20dashboard=20report?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Lilith Autocommit --- .project/objectives/README.md | 348 +++++++++++++----- .../p0-20d-gpu-walltime-real-host.md | 51 +++ .../games/age-of-dwarves/data/objectives.json | 22 +- 3 files changed, 314 insertions(+), 107 deletions(-) create mode 100644 .project/objectives/p0-20d-gpu-walltime-real-host.md diff --git a/.project/objectives/README.md b/.project/objectives/README.md index d2b576c3..dbb65f4a 100644 --- a/.project/objectives/README.md +++ b/.project/objectives/README.md @@ -1,10 +1,10 @@ # Objectives β€” Dashboard -> **Generated by `@lilith/mcp-objectives` β€” do not hand-edit.** Source of truth is per-file YAML frontmatter in this directory. Completed: [DASHBOARD_COMPLETED.md](DASHBOARD_COMPLETED.md) Β· By category: [DASHBOARD_CATEGORIES.md](DASHBOARD_CATEGORIES.md). +> **Generated by `tools/objectives-report.py` β€” do not hand-edit.** Source of truth is per-file YAML frontmatter in this directory. ## Legend -πŸ”΅ in-progress Β· 🟑 partial Β· πŸ”΄ stub Β· ❌ missing Β· ⚫ out-of-scope Β· βœ… done Β· ♻️ superseded +βœ… done Β· πŸ”΅ in-progress Β· 🟑 partial Β· πŸ”΄ stub Β· ❌ missing Β· ⚫ out-of-scope (Game 2 / Game 3) ## Totals @@ -12,13 +12,13 @@ **By Priority** -| Priority | πŸ”΅ | 🟑 | πŸ”΄ | ❌ | ⚫ | βœ… | Total | +| Priority | βœ… | πŸ”΅ | 🟑 | πŸ”΄ | ❌ | ⚫ | Total | |---|---|---|---|---|---|---|---| -| **P0** | 0 | 0 | 0 | 0 | 0 | 44 | 44 | -| **P1** | 1 | 15 | 2 | 5 | 1 | 48 | 72 | -| **P2** | 0 | 10 | 12 | 0 | 6 | 58 | 86 | -| **P3 (oos)** | 0 | 3 | 13 | 1 | 21 | 5 | 43 | -| **total** | **1** | **28** | **27** | **6** | **28** | **155** | **245** | +| **P0** | 44 | 0 | 0 | 0 | 0 | 0 | 44 | +| **P1** | 48 | 1 | 15 | 3 | 5 | 1 | 73 | +| **P2** | 57 | 0 | 10 | 12 | 0 | 6 | 85 | +| **P3 (oos)** | 5 | 0 | 3 | 13 | 1 | 21 | 43 | +| **total** | **154** | **1** | **28** | **28** | **6** | **28** | **245** | @@ -27,9 +27,9 @@ | Team Lead | Remaining | |---|---| | [unassigned](../team-leads/unassigned.md) | 26 | +| [warcouncil](../team-leads/warcouncil.md) | 6 | | [asset-sprite](../team-leads/asset-sprite.md) | 6 | | [shipwright](../team-leads/shipwright.md) | 5 | -| [warcouncil](../team-leads/warcouncil.md) | 5 | | [simulator-infra](../team-leads/simulator-infra.md) | 3 | | [testwright](../team-leads/testwright.md) | 3 | | [combat-dev](../team-leads/combat-dev.md) | 2 | @@ -37,111 +37,257 @@ -## πŸ”΅ In Progress +## P0 β€” Blockers for "completely playable" -> Actively claimed by a team lead. Grouped by owner. - -### [asset-audio](../team-leads/asset-audio.md) - -| ID | Priority | Title | Updated | Blocked | +| ID | Status | Title | Owner | Updated | |---|---|---|---|---| -| [p2-16](p2-16-audio-assets.md) | P1 | Audio assets β€” in-theme OSS launch pack + source ledger | 2026-05-03 | 🟒 unblocked | +| [p0-01](p0-01-mcts-wiring.md) | βœ… done | Wire MCTS into gameplay AI | [warcouncil](../team-leads/warcouncil.md) | 2026-04-26 | +| [p0-02](p0-02-clan-personalities.md) | βœ… done | Five AI clan personalities drive distinct playstyles | [warcouncil](../team-leads/warcouncil.md) | 2026-04-26 | +| [p0-03](p0-03-pvp-in-turn.md) | βœ… done | PvP combat resolved inside the authoritative turn processor | β€” | 2026-04-17 | +| [p0-04](p0-04-wonder-tracking.md) | βœ… done | World wonder tracking in PlayerState and score victory | β€” | 2026-04-17 | +| [p0-05](p0-05-culture-and-borders.md) | βœ… done | Culture generation and border expansion | [shipwright](../team-leads/shipwright.md) | 2026-04-17 | +| [p0-06](p0-06-economy-integration.md) | βœ… done | Fold gold income / upkeep / improvement yields into turn loop | β€” | 2026-04-17 | +| [p0-07](p0-07-tech-research-costs.md) | βœ… done | Tech research costs and science pool pacing | β€” | 2026-04-17 | +| [p0-08](p0-08-domination-victory.md) | βœ… done | Domination victory path in mc-turn::victory | [warcouncil](../team-leads/warcouncil.md) | 2026-04-18 | +| [p0-09](p0-09-ui-completeness.md) | βœ… done | City-screen UI completeness (citizen assign, queue controls, promotion picker) | β€” | 2026-04-16 | +| [p0-10](p0-10-completion-stability.md) | βœ… done | Game-completion stability β€” β‰₯7/10 seeds declare a winner | β€” | 2026-04-17 | +| [p0-11](p0-11-mystery-item-authoring.md) | βœ… done | Author the four T8–T10 mystery item drops | β€” | 2026-04-16 | +| [p0-12](p0-12-save-load-autosave.md) | βœ… done | Save / load + autosave on quit | [shipwright](../team-leads/shipwright.md) | 2026-04-17 | +| [p0-13](p0-13-fog-of-war-exploration.md) | βœ… done | Fog of war and exploration / scout loop | β€” | 2026-04-17 | +| [p0-14](p0-14-map-generation-balanced-starts.md) | βœ… done | Map generation, resource placement, and balanced fair starts | [shipwright](../team-leads/shipwright.md) | 2026-04-16 | +| [p0-15](p0-15-happiness-golden-age.md) | βœ… done | Happiness pool and Golden Age mechanics end-to-end | [shipwright](../team-leads/shipwright.md) | 2026-04-17 | +| [p0-16](p0-16-worker-improvement-loop.md) | βœ… done | Worker / tile-improvement build loop | [shipwright](../team-leads/shipwright.md) | 2026-04-17 | +| [p0-17](p0-17-wild-creature-lair-loop.md) | βœ… done | Wild creature and lair clearing loop | [shipwright](../team-leads/shipwright.md) | 2026-04-17 | +| [p0-18](p0-18-strategic-resource-gate.md) | βœ… done | Strategic resources gate unit production (empire ledger) | β€” | 2026-04-17 | +| [p0-19](p0-19-biome-economy-integration.md) | βœ… done | Biome-driven collectibles β†’ tile yields β†’ happiness end-to-end | β€” | 2026-04-16 | +| [p0-21](p0-21-audio-system-capability.md) | βœ… done | Audio system capability β€” manifest + autoload + EventBus wiring | [shipwright](../team-leads/shipwright.md) | 2026-04-17 | +| [p0-22](p0-22-ultimate-ai-stress-test.md) | βœ… done | "Ultimate AI stress test β€” 5 clans, huge map, deep lookahead" | [warcouncil](../team-leads/warcouncil.md) | 2026-04-25 | +| [p0-23](p0-23-sprite-rendering-capability.md) | βœ… done | Sprite rendering capability β€” replace procedural draw_* with texture rendering | [shipwright](../team-leads/shipwright.md) | 2026-04-17 | +| [p0-24](p0-24-difficulty-calibrated-ai-progression.md) | βœ… done | Difficulty-calibrated AI progression β€” Easy / Normal / Hard tier-peak distributions | [warcouncil](../team-leads/warcouncil.md) | 2026-04-19 | +| [p0-25](p0-25-game-quality-metrics-instrumentation.md) | βœ… done | Game-quality metrics instrumentation β€” tier_peak, peak_unit_tier, wonder_count | [shipwright](../team-leads/shipwright.md) | 2026-04-17 | +| [p0-26](p0-26-ai-tactical-rust-port.md) | βœ… done | Port tactical AI from GDScript to mc-ai (Rail-1 compliance) | [warcouncil](../team-leads/warcouncil.md) | 2026-04-18 | +| [p0-27](p0-27-gd-culture-bridge.md) | βœ… done | GdCulture bridge β€” live game delegates culture to mc-culture | [shipwright](../team-leads/shipwright.md) | 2026-04-17 | +| [p0-28](p0-28-gd-economy-bridge.md) | βœ… done | GdEconomy bridge β€” live game delegates gold/upkeep to mc-economy | [shipwright](../team-leads/shipwright.md) | 2026-04-17 | +| [p0-29](p0-29-gd-tech-bridge.md) | βœ… done | GdTechWeb bridge β€” live game delegates research to mc-tech | [shipwright](../team-leads/shipwright.md) | 2026-04-17 | +| [p0-30](p0-30-ecology-double-tick-fix.md) | βœ… done | Remove duplicate GDScript ecology tick (single Rust source) | [shipwright](../team-leads/shipwright.md) | 2026-04-18 | +| [p0-31](p0-31-climate-rust-path-restore.md) | βœ… done | Restore Rust ecology path β€” fix ClimateScript bugs + re-enable per-turn tick | [shipwright](../team-leads/shipwright.md) | 2026-04-18 | +| [p0-32](p0-32-weather-climate-effects-restore.md) | βœ… done | Restore WeatherScript + ClimateEffectsScript β€” per-turn weather and climate-effects | [shipwright](../team-leads/shipwright.md) | 2026-04-18 | +| [p0-33](p0-33-world-map-input-and-panel-wiring.md) | βœ… done | World-map input wiring β€” unit selection panel, city click, ESC/F10 menu, panel close | [wireguard](../team-leads/wireguard.md) | 2026-04-19 | +| [p0-34](p0-34-freepeople-tribe-founding.md) | βœ… done | Freepeople tribe-founding cinematic β€” turn -1 / 0 / 1 start sequence and Dwarf Tribe founder unit | [shipwright](../team-leads/shipwright.md) | 2026-04-18 | +| [p0-37](p0-37-personality-emergent-tactical-thresholds.md) | βœ… done | Personality-emergent tactical thresholds (lift 7 hardcoded constants into axis-derived functions) | [warcouncil](../team-leads/warcouncil.md) | 2026-04-18 | +| [p0-38](p0-38-mcts-personality-priors.md) | βœ… done | Inject personality-utility scores as MCTS UCB1 priors | [warcouncil](../team-leads/warcouncil.md) | 2026-04-24 | +| [p0-39](p0-39-ai-tier-progression-unit-selection.md) | βœ… done | AI tier-progression unit selection β€” production.rs picks tier-2+ units once tech unlocks | [warcouncil](../team-leads/warcouncil.md) | 2026-04-18 | +| [p0-40](p0-40-iron-ore-resource-density.md) | βœ… done | Iron-ore strategic resource density β€” unblock tier 3-6 unit chain | [shipwright](../team-leads/shipwright.md) | 2026-04-24 | +| [p0-41](p0-41.md) | βœ… done | Building rally points β€” produced units auto-deploy to a designated hex | [shipwright](../team-leads/shipwright.md) | 2026-04-24 | +| [p0-41a](p0-41a-rally-smoke.md) | βœ… done | Rally-point smoke β€” produced unit gets PatrolOrder toward rally hex | [shipwright](../team-leads/shipwright.md) | 2026-04-25 | +| [p0-42](p0-42.md) | βœ… done | Formation aggregation β€” adjacent units link into a shaped formation with terrain reflow | [shipwright](../team-leads/shipwright.md) | 2026-04-25 | +| [p0-42a](p0-42a-formation-smoke.md) | βœ… done | Formation aggregation smoke β€” formations form and evolve at runtime | [shipwright](../team-leads/shipwright.md) | 2026-04-25 | +| [p0-43](p0-43.md) | βœ… done | "Formation AI β€” MCTS plans at formation level, not per-unit" | [warcouncil](../team-leads/warcouncil.md) | 2026-04-25 | +| [p0-44](p0-44-movement-mode-ux.md) | βœ… done | Movement mode UX β€” Move button, path preview, right-click confirm, fog-aware pathing | [wireguard](../team-leads/wireguard.md) | 2026-04-19 | +| [p0-45](p0-45-turn-processor-consolidation-regression.md) | βœ… done | Turn processor consolidation β€” entities/ duplicate caused T1 SCRIPT ERROR halt | [shipwright](../team-leads/shipwright.md) | 2026-05-04 | ## P1 β€” Ship-readiness -| ID | Status | Title | Tags | Owner | Updated | Blocked | -|---|---|---|---|---|---|---| -| [p0-20](p0-20-gpu-mcts-rollouts.md) | 🟑 partial | GPU-accelerated MCTS rollouts for look-ahead decision-making | β€” | [warcouncil](../team-leads/warcouncil.md) | 2026-05-04 | 🟒 unblocked | -| [p1-05](p1-05-balance-tuning.md) | 🟑 partial | Balance tuning β€” pop_peak β‰₯30 median, worker improvements β‰₯8 min | β€” | [shipwright](../team-leads/shipwright.md) | 2026-05-01 | 🟒 unblocked | -| [p1-22](p1-22-mcts-wall-clock-budget.md) | 🟑 partial | MCTS per-decision wall-clock budget β€” bound per-turn cost on huge maps | β€” | [warcouncil](../team-leads/warcouncil.md) | 2026-04-25 | 🟒 unblocked | -| [p1-27](p1-27-mcts-service-extraction.md) | 🟑 partial | Extract GPU MCTS into a standalone service/client (model-boss-shaped, magic-civ-only) | β€” | [warcouncil](../team-leads/warcouncil.md) | 2026-05-03 | 🟒 unblocked | -| [p1-29](p1-29.md) | 🟑 partial | Anti-early-domination: lift game-balance gates that p0-01 v1 measured | balance, pacing | [combat-dev](../team-leads/combat-dev.md) | 2026-05-03 | 🟒 unblocked | -| [p1-29a](p1-29a-last-stand-defense.md) | 🟑 partial | Last-stand defense β€” combat-strength multiplier when defender is at last city | balance, combat, pacing | [combat-dev](../team-leads/combat-dev.md) | 2026-05-04 | 🟒 unblocked | -| [p1-38](p1-38-biome-economy-coupling.md) | 🟑 partial | Biome β†’ economy coupling β€” population & luxury driven by live ecology | β€” | [shipwright](../team-leads/shipwright.md) | 2026-05-04 | 🟒 unblocked | -| [p1-39](p1-39.md) | 🟑 partial | Port per-yield difficulty multipliers from GDScript into Rust crates (Rail-1) β€” research + culture | rust-source-of-truth, rail-1 | [warcouncil](../team-leads/warcouncil.md) | 2026-05-04 | 🟒 unblocked | -| [p1-42](p1-42-ai-full-building-catalog.md) | 🟑 partial | AI must consider the full 155-building catalog, not the hardcoded 8-id ladder | β€” | β€” | 2026-05-04 | 🟒 unblocked | -| [p1-43](p1-43-building-stacking-upgrade.md) | 🟑 partial | Building stacking β€” per-category upgrade chains (military / science / culture / production / etc.) | β€” | β€” | 2026-05-04 | 🟒 unblocked | -| [p1-44](p1-44-buildings-as-producers.md) | 🟑 partial | Buildings produce units, not the city center β€” per-building production queues | β€” | β€” | 2026-05-04 | 🟒 unblocked | -| [p1-55](p1-55-tech-culture-domain-propagation.md) | 🟑 partial | Tech & Culture domain field β€” propagate categorization through Rust, Godot UI, and player analysis | β€” | [simulator-infra](../team-leads/simulator-infra.md) | 2026-05-04 | 🟒 unblocked | -| [p1-56](p1-56-civics-buildings-and-great-works.md) | 🟑 partial | Civics buildings, Great Works, Specialists, Great People β€” wire authored data into Rust + Godot | β€” | [simulator-infra](../team-leads/simulator-infra.md) | 2026-05-04 | 🟒 unblocked | -| [p1-58](p1-58-ecology-cognitive-system.md) | 🟑 partial | Ecology cognition: terrain affinity, food web, grudge memory, apex tier-10 fauna/flora | β€” | [simulator-infra](../team-leads/simulator-infra.md) | 2026-05-04 | 🟒 unblocked | -| [p2-22](p2-22-sprite-generation-pipeline.md) | 🟑 partial | Sprite generation pipeline β€” runnable end-to-end | β€” | [asset-sprite](../team-leads/asset-sprite.md) | 2026-04-25 | 🟒 unblocked | -| [p1-30b](p1-30b-parallel-mcts-rollouts.md) | πŸ”΄ stub | Parallel MCTS rollouts for huge-map decisive games (closes p1-22's huge-map sub-gate) | perf, mcts, tactical-ai | [warcouncil](../team-leads/warcouncil.md) | 2026-05-03 | 🟒 unblocked | -| [p1-57](p1-57-diplomacy-tribute-treaties.md) | πŸ”΄ stub | Diplomacy: tribute, treaty lifecycle, magical-terrain episode gating | β€” | [unassigned](../team-leads/unassigned.md) | 2026-05-03 | 🟒 unblocked | -| [p2-23](p2-23-unit-sprites-dwarf-roster.md) | ❌ missing | Unit sprites β€” Dwarf-racial roster (m/f variants) | β€” | [asset-sprite](../team-leads/asset-sprite.md) | 2026-04-17 | 🟒 unblocked | -| [p2-24](p2-24-unit-sprites-wild-creatures.md) | ❌ missing | Unit sprites β€” wild creatures & fauna (generic, no race/sex) | β€” | [asset-sprite](../team-leads/asset-sprite.md) | 2026-04-17 | 🟒 unblocked | -| [p2-25](p2-25-building-sprites-base-coverage.md) | ❌ missing | Building sprites β€” base game coverage (non-wonder) | β€” | [asset-sprite](../team-leads/asset-sprite.md) | 2026-04-17 | 🟒 unblocked | -| [p2-26](p2-26-mundane-wonder-sprites.md) | ❌ missing | Mundane-wonder sprites β€” 24 distinct, higher-fidelity art | β€” | [asset-sprite](../team-leads/asset-sprite.md) | 2026-04-17 | 🟒 unblocked | -| [p2-27](p2-27-city-population-tier-sprites.md) | ❌ missing | City population-tier sprites β€” city_q1 through city_q5 | β€” | [asset-sprite](../team-leads/asset-sprite.md) | 2026-04-17 | 🟒 unblocked | +| ID | Status | Title | Owner | Updated | +|---|---|---|---|---| +| [p0-20](p0-20-gpu-mcts-rollouts.md) | 🟑 partial | GPU-accelerated MCTS rollouts for look-ahead decision-making | [warcouncil](../team-leads/warcouncil.md) | 2026-05-04 | +| [p0-20d](p0-20d-gpu-walltime-real-host.md) | πŸ”΄ stub | GPU MCTS wall-time gate β€” measure on real-discrete-GPU test host | [warcouncil](../team-leads/warcouncil.md) | 2026-05-04 | +| [p0-35](p0-35-ecology-telemetry-instrumentation.md) | βœ… done | Ecology telemetry instrumentation β€” flora canopy / undergrowth fields in turn_stats.jsonl | [shipwright](../team-leads/shipwright.md) | 2026-04-18 | +| [p0-36](p0-36-weather-event-telemetry.md) | βœ… done | Weather / climate-effects event telemetry β€” events.jsonl + turn_stats aggregates | [shipwright](../team-leads/shipwright.md) | 2026-04-18 | +| [p1-01](p1-01-diplomacy-lite.md) | βœ… done | Diplomacy-lite β€” peace/war toggle plus one trade action | [shipwright](../team-leads/shipwright.md) | 2026-04-17 | +| [p1-02](p1-02-strategic-resource-yields.md) | βœ… done | Strategic resource yields feed into production bonuses | [shipwright](../team-leads/shipwright.md) | 2026-04-17 | +| [p1-03](p1-03-tutorial-overlay.md) | βœ… done | First-run tutorial / onboarding overlay | [shipwright](../team-leads/shipwright.md) | 2026-04-17 | +| [p1-05](p1-05-balance-tuning.md) | 🟑 partial | Balance tuning β€” pop_peak β‰₯30 median, worker improvements β‰₯8 min | [shipwright](../team-leads/shipwright.md) | 2026-05-01 | +| [p1-06](p1-06-options-polish.md) | βœ… done | Options screen polish | [shipwright](../team-leads/shipwright.md) | 2026-04-17 | +| [p1-07](p1-07-chronicle-coverage.md) | βœ… done | Chronicle notifications coverage | [shipwright](../team-leads/shipwright.md) | 2026-04-17 | +| [p1-08](p1-08-victory-screen-content.md) | βœ… done | Victory/defeat screen content β€” recap, banner, replay seed | [shipwright](../team-leads/shipwright.md) | 2026-04-17 | +| [p1-09](p1-09-determinism-gate.md) | βœ… done | Determinism gate β€” same seed produces byte-identical runs | [testwright](../team-leads/testwright.md) | 2026-04-19 | +| [p1-10](p1-10-game-setup-ux.md) | βœ… done | Game setup UX β€” new-game dialog, difficulty, clan preview | [shipwright](../team-leads/shipwright.md) | 2026-04-17 | +| [p1-11](p1-11-build-output-src-purge.md) | βœ… done | Purge build output from src/ β€” wasm-pack moves to .local/build/wasm/ | [tourguide](../team-leads/tourguide.md) | 2026-04-17 | +| [p1-12](p1-12-build-output-docs-alignment.md) | βœ… done | Align every doc reference to the relocated wasm-pack output | [tourguide](../team-leads/tourguide.md) | 2026-04-17 | +| [p1-13](p1-13-guide-dev-route-coverage.md) | βœ… done | Guide dev server boots on plum with zero-error route coverage | [tourguide](../team-leads/tourguide.md) | 2026-04-17 | +| [p1-15](p1-15-guide-next-deploy-infra.md) | βœ… done | Deploy dev guide to https://mc.next.black.local | [tourguide](../team-leads/tourguide.md) | 2026-04-17 | +| [p1-16](p1-16-guide-game1-scope-hygiene.md) | βœ… done | Purge Game 2/3 scope bleed from user-visible Game 1 guide copy | [tourguide](../team-leads/tourguide.md) | 2026-04-18 | +| [p1-17](p1-17-guide-next-auto-deploy.md) | βœ… done | Forgejo workflow auto-deploys dev guide on push to main | [tourguide](../team-leads/tourguide.md) | 2026-04-18 | +| [p1-18](p1-18-village-discovery-feedback.md) | βœ… done | Village discovery β€” world-map feedback (notification, reward popup, minimap ping) | [wireguard](../team-leads/wireguard.md) | 2026-04-19 | +| [p1-19](p1-19-tutorial-opt-in.md) | βœ… done | Tutorial opt-in β€” HUD button, disappears after turn 5, starts from Step 1 | [wireguard](../team-leads/wireguard.md) | 2026-04-19 | +| [p1-20](p1-20-unit-action-capability-registry.md) | βœ… done | Unit action capability registry β€” one source of truth for "what can this unit do right now?" | [wireguard](../team-leads/wireguard.md) | 2026-04-19 | +| [p1-21](p1-21-unit-patrol-orders.md) | βœ… done | Unit patrol orders β€” standing order to loop between waypoint tiles | [wireguard](../team-leads/wireguard.md) | 2026-04-19 | +| [p1-22](p1-22-mcts-wall-clock-budget.md) | 🟑 partial | MCTS per-decision wall-clock budget β€” bound per-turn cost on huge maps | [warcouncil](../team-leads/warcouncil.md) | 2026-04-25 | +| [p1-23](p1-23-stats-tracker-restore.md) | βœ… done | Restore StatsTracker β€” demographics overview broken in shipped builds | [shipwright](../team-leads/shipwright.md) | 2026-04-25 | +| [p1-24](p1-24-windows-path-separator.md) | βœ… done | ai_personalities.json fails to load from packed builds (all platforms) β€” pass JSON contents not path | [shipwright](../team-leads/shipwright.md) | 2026-04-25 | +| [p1-25](p1-25-export-script-error-cleanup.md) | βœ… done | Eliminate parse-error spam in export logs (Unit dup decl + SaveManager stray) | [shipwright](../team-leads/shipwright.md) | 2026-04-25 | +| [p1-26](p1-26-tile-placement-preview-ux.md) | βœ… done | "Tile-placement UX with effect preview β€” Civ7-style \\\"where does this go and what changes\\\"" | [shipwright](../team-leads/shipwright.md) | 2026-04-26 | +| [p1-27](p1-27-mcts-service-extraction.md) | 🟑 partial | Extract GPU MCTS into a standalone service/client (model-boss-shaped, magic-civ-only) | [warcouncil](../team-leads/warcouncil.md) | 2026-05-03 | +| [p1-28](p1-28-culture-research-tree.md) | βœ… done | "Culture research tree β€” real graph, bridge, UI" | [shipwright](../team-leads/shipwright.md) | 2026-04-26 | +| [p1-29](p1-29.md) | 🟑 partial | "Anti-early-domination: lift game-balance gates that p0-01 v1 measured" | [combat-dev](../team-leads/combat-dev.md) | 2026-05-03 | +| [p1-29a](p1-29a-last-stand-defense.md) | 🟑 partial | Last-stand defense β€” combat-strength multiplier when defender is at last city | [combat-dev](../team-leads/combat-dev.md) | 2026-05-04 | +| [p1-30](p1-30.md) | βœ… done | "Optimize `_build_tactical_state` β€” 8000-tile GDScript dict-build per AI turn blocks p1-22 huge-map gate" | [warcouncil](../team-leads/warcouncil.md) | 2026-05-04 | +| [p1-30b](p1-30b-parallel-mcts-rollouts.md) | πŸ”΄ stub | "Parallel MCTS rollouts for huge-map decisive games (closes p1-22's huge-map sub-gate)" | [warcouncil](../team-leads/warcouncil.md) | 2026-05-03 | +| [p1-31](p1-31-split-bundled-building-resources.md) | βœ… done | Split bundled `resources/buildings/.json` into per-file pattern matching `resources/units/` | β€” | 2026-04-27 | +| [p1-32](p1-32-food-chain-buildings.md) | βœ… done | Author the two missing food/processing buildings (sawmill, herbalist) | β€” | 2026-05-03 | +| [p1-33](p1-33-naval-aerial-production-buildings.md) | βœ… done | Wire naval/aerial unit gates to the harbor and airfield buildings | β€” | 2026-05-03 | +| [p1-34](p1-34-unit-metadata-expansion.md) | βœ… done | "Unit metadata expansion β€” flavor, archetype, promotion_tree, clan_affinity fields" | [shipwright](../team-leads/shipwright.md) | 2026-04-27 | +| [p1-35](p1-35-unit-lore-paragraphs.md) | βœ… done | "Per-unit lore paragraphs β€” historical/cultural context for the dwarven roster" | [shipwright](../team-leads/shipwright.md) | 2026-04-27 | +| [p1-36](p1-36-ai-personalities-t1-t10-coverage.md) | βœ… done | "AI personalities β€” T1–T10 build order coverage + clan_affinity routing" | [warcouncil](../team-leads/warcouncil.md) | 2026-05-03 | +| [p1-37](p1-37-mc-ai-clan-affinity-routing.md) | βœ… done | "mc-ai clan_affinity routing β€” Rust AI reads unit clan_affinity at build-decision time" | [warcouncil](../team-leads/warcouncil.md) | 2026-05-01 | +| [p1-38](p1-38-biome-economy-coupling.md) | 🟑 partial | "Biome β†’ economy coupling β€” population & luxury driven by live ecology" | [shipwright](../team-leads/shipwright.md) | 2026-05-04 | +| [p1-39](p1-39.md) | 🟑 partial | Port per-yield difficulty multipliers from GDScript into Rust crates (Rail-1) β€” research + culture | [warcouncil](../team-leads/warcouncil.md) | 2026-05-04 | +| [p1-40](p1-40-single-source-of-truth-resources.md) | βœ… done | Collapse data// override layer into single source of truth at resources/ | β€” | 2026-04-29 | +| [p1-41](p1-41-game-pack-subscription-manifest.md) | βœ… done | Game-pack subscription manifest + loader filter (Phase B of resources/ unification) | β€” | 2026-04-29 | +| [p1-42](p1-42-ai-full-building-catalog.md) | 🟑 partial | "AI must consider the full 155-building catalog, not the hardcoded 8-id ladder" | β€” | 2026-05-04 | +| [p1-43](p1-43-building-stacking-upgrade.md) | 🟑 partial | Building stacking β€” per-category upgrade chains (military / science / culture / production / etc.) | β€” | 2026-05-04 | +| [p1-44](p1-44-buildings-as-producers.md) | 🟑 partial | "Buildings produce units, not the city center β€” per-building production queues" | β€” | 2026-05-04 | +| [p1-45](p1-45-batch-binary-freshness.md) | βœ… done | "Batch binary freshness: rebuild GDExt before every autoplay batch" | [simulator-infra](../team-leads/simulator-infra.md) | 2026-05-03 | +| [p1-46](p1-46-design-lab-terrain-dimensions.md) | βœ… done | Terrain Dimensions Lab β€” fix ridginess, bind 149 flora species, add Whittaker plot | [terraformer](../team-leads/terraformer.md) | 2026-05-01 | +| [p1-47](p1-47-river-hydrology-network.md) | βœ… done | River hydrology β€” D6 flow analysis, hydraulic erosion, multi-hex lakes, cross-tile rivers | [terraformer](../team-leads/terraformer.md) | 2026-05-01 | +| [p1-48](p1-48-flora-species-renderer.md) | βœ… done | Flora species renderer β€” bind 149 species to world-map tile rendering (single source of truth) | [terraformer](../team-leads/terraformer.md) | 2026-05-01 | +| [p1-49](p1-49-fauna-species-renderer.md) | βœ… done | Fauna species renderer β€” 61 Game-1 species visible on encounter and lair tiles | [terraformer](../team-leads/terraformer.md) | 2026-05-01 | +| [p1-50](p1-50-tectonic-prepass.md) | βœ… done | Tectonic prepass β€” voronoi plates + boundary classification seeding elevation | [terraformer](../team-leads/terraformer.md) | 2026-05-01 | +| [p1-51](p1-51-worldgen-canonical-design-docs.md) | βœ… done | Worldgen canonical design docs β€” author the spec before any Rust | [terraformer](../team-leads/terraformer.md) | 2026-04-30 | +| [p1-52](p1-52-api-wasm-build-fix.md) | βœ… done | api-wasm build fix β€” unblock WASM bundle for design-lab WASM consumption | [terraformer](../team-leads/terraformer.md) | 2026-05-01 | +| [p1-53](p1-53-worldgen-layer-pages.md) | βœ… done | "Worldgen layer pages β€” one playground per canonical doc, mirroring the layered Earth model" | [terraformer](../team-leads/terraformer.md) | 2026-05-01 | +| [p1-54](p1-54-hex-direction-rust-ts-mapping.md) | βœ… done | Hex direction-index translation β€” Rust pointy-top axial vs design-app flat-top canvas | [terraformer](../team-leads/terraformer.md) | 2026-05-01 | +| [p1-55](p1-55-tech-culture-domain-propagation.md) | 🟑 partial | "Tech & Culture domain field β€” propagate categorization through Rust, Godot UI, and player analysis" | [simulator-infra](../team-leads/simulator-infra.md) | 2026-05-04 | +| [p1-56](p1-56-civics-buildings-and-great-works.md) | 🟑 partial | "Civics buildings, Great Works, Specialists, Great People β€” wire authored data into Rust + Godot" | [simulator-infra](../team-leads/simulator-infra.md) | 2026-05-04 | +| [p1-57](p1-57-diplomacy-tribute-treaties.md) | πŸ”΄ stub | "Diplomacy: tribute, treaty lifecycle, magical-terrain episode gating" | [unassigned](../team-leads/unassigned.md) | 2026-05-03 | +| [p1-58](p1-58-ecology-cognitive-system.md) | 🟑 partial | "Ecology cognition: terrain affinity, food web, grudge memory, apex tier-10 fauna/flora" | [simulator-infra](../team-leads/simulator-infra.md) | 2026-05-04 | +| [p2-06](p2-06-export-pipeline.md) | βœ… done | Export pipeline for Windows / macOS / Linux | [shipwright](../team-leads/shipwright.md) | 2026-04-25 | +| [p2-16](p2-16-audio-assets.md) | πŸ”΅ in_progress | Audio assets β€” in-theme OSS launch pack + source ledger | [asset-audio](../team-leads/asset-audio.md) | 2026-05-03 | +| [p2-22](p2-22-sprite-generation-pipeline.md) | 🟑 partial | Sprite generation pipeline β€” runnable end-to-end | [asset-sprite](../team-leads/asset-sprite.md) | 2026-04-25 | +| [p2-23](p2-23-unit-sprites-dwarf-roster.md) | ❌ missing | Unit sprites β€” Dwarf-racial roster (m/f variants) | [asset-sprite](../team-leads/asset-sprite.md) | 2026-04-17 | +| [p2-24](p2-24-unit-sprites-wild-creatures.md) | ❌ missing | Unit sprites β€” wild creatures & fauna (generic, no race/sex) | [asset-sprite](../team-leads/asset-sprite.md) | 2026-04-17 | +| [p2-25](p2-25-building-sprites-base-coverage.md) | ❌ missing | Building sprites β€” base game coverage (non-wonder) | [asset-sprite](../team-leads/asset-sprite.md) | 2026-04-17 | +| [p2-26](p2-26-mundane-wonder-sprites.md) | ❌ missing | Mundane-wonder sprites β€” 24 distinct, higher-fidelity art | [asset-sprite](../team-leads/asset-sprite.md) | 2026-04-17 | +| [p2-27](p2-27-city-population-tier-sprites.md) | ❌ missing | City population-tier sprites β€” city_q1 through city_q5 | [asset-sprite](../team-leads/asset-sprite.md) | 2026-04-17 | +| [p2-28](p2-28-sprite-provenance-ledger.md) | βœ… done | Sprite provenance ledger β€” LICENSES.md per-file attribution | [asset-sprite](../team-leads/asset-sprite.md) | 2026-04-25 | +| [p2-33](p2-33-sound-system-extension.md) | βœ… done | "Sound system extension β€” categorical fallback, variant pools, per-entity routing" | [asset-audio](../team-leads/asset-audio.md) | 2026-04-27 | ## P2 β€” Polish -| ID | Status | Title | Tags | Owner | Updated | Blocked | -|---|---|---|---|---|---|---| -| [p2-10](p2-10-regression-ci-gate.md) | 🟑 partial | Automated regression CI gate on every push to main | β€” | [testwright](../team-leads/testwright.md) | 2026-05-04 | 🟒 unblocked | -| [p2-18](p2-18-guide-public-deployment.md) | 🟑 partial | Guide web app β€” public hosting + deploy pipeline | β€” | β€” | 2026-04-17 | 🟒 unblocked | -| [p2-43](p2-43-culture-research-completion-event.md) | 🟑 partial | Culture research live-game pipeline β€” per-turn GDExt bridge + `culture_researched` emit | β€” | β€” | 2026-05-04 | 🟒 unblocked | -| [p2-44](p2-44-ai-promotion-selection.md) | 🟑 partial | AI promotion selection β€” auto-pick + emit unit_promoted for AI units | β€” | β€” | 2026-05-04 | 🟒 unblocked | -| [p2-46](p2-46-past-games-archive-replay-viewer.md) | 🟑 partial | Past-games archive & replay viewer β€” `mc-replay` crate, on-disk archive, projection-based playback | β€” | [shipwright](../team-leads/shipwright.md) | 2026-05-03 | 🟒 unblocked | -| [p2-47](p2-47-in-game-statistics-screens.md) | 🟑 partial | In-game statistics screens β€” Civ-style 5-tab modal (Demographics / Graphs / Rankings / Replay / Histories) | β€” | [shipwright](../team-leads/shipwright.md) | 2026-05-03 | 🟒 unblocked | -| [p2-48](p2-48-end-of-game-summary-screen.md) | 🟑 partial | End-of-game summary screen β€” outcome banner, standings, score graph, awards, timeline, footer actions | β€” | [shipwright](../team-leads/shipwright.md) | 2026-05-03 | 🟒 unblocked | -| [p2-55](p2-55-civilian-capture-system.md) | 🟑 partial | Civilian Capture / Destroy / Ransom | β€” | β€” | 2026-05-03 | 🟒 unblocked | -| [p2-56c](p2-56c-master-grandmaster-auras.md) | 🟑 partial | Master / Grandmaster auras β€” adjacent-slot yield propagation | β€” | [unassigned](../team-leads/unassigned.md) | 2026-05-04 | 🟒 unblocked | -| [p2-57a](p2-57a-typed-resource-stockpile.md) | 🟑 partial | Typed resource stockpile β€” raw vs processed taxonomy | β€” | [unassigned](../team-leads/unassigned.md) | 2026-05-04 | 🟒 unblocked | -| [p2-10k](p2-10k-gdlint-cleanup.md) | πŸ”΄ stub | CI: fix 51 gdlint violations so Stage 3 is hard-green | β€” | [testwright](../team-leads/testwright.md) | 2026-05-04 | 🟒 unblocked | -| [p2-10l](p2-10l-gut-regression-triage.md) | πŸ”΄ stub | CI: fix 15 GUT regressions so Stage 5 is hard-green | β€” | [testwright](../team-leads/testwright.md) | 2026-05-04 | 🟒 unblocked | -| [p2-55d](p2-55d-ai-ransom-decision-hook.md) | πŸ”΄ stub | AI ransom accept/refuse hook in mc-turn start-of-turn | β€” | β€” | 2026-05-03 | 🟒 unblocked | -| [p2-55e](p2-55e-richer-ransom-events.md) | πŸ”΄ stub | UnitRansomAccepted / UnitRansomExpired events on TurnResult | β€” | β€” | 2026-05-03 | 🟒 unblocked | -| [p2-56](p2-56-worker-categories-and-expertise-tiers.md) | πŸ”΄ stub | Worker categories (Sustenance/Construction/Wealth) + 5-tier expertise + Master/Grandmaster auras + idle decay | β€” | [unassigned](../team-leads/unassigned.md) | 2026-05-03 | 🟒 unblocked | -| [p2-57](p2-57-production-chain-typed-resources.md) | πŸ”΄ stub | Production-chain typed resources β€” raw β†’ processed pipelines wired into mc-city | β€” | [unassigned](../team-leads/unassigned.md) | 2026-05-03 | 🟒 unblocked | -| [p2-58](p2-58-ambient-encounter-rolls.md) | πŸ”΄ stub | Ambient encounter rolls per tile moved β€” fauna_density Γ— ecology_tier | β€” | [unassigned](../team-leads/unassigned.md) | 2026-05-03 | 🟒 unblocked | -| [p2-60](p2-60-weather-lens-godot-ui.md) | πŸ”΄ stub | Weather / observation lens switcher in the Godot HUD | β€” | [unassigned](../team-leads/unassigned.md) | 2026-05-03 | 🟒 unblocked | -| [p2-61](p2-61-observation-recording-gates-from-tech.md) | πŸ”΄ stub | Bind mc-observation gate_bits to player tech state β€” recording gates per-field | β€” | [unassigned](../team-leads/unassigned.md) | 2026-05-03 | 🟒 unblocked | -| [p2-63](p2-63-mc-flora-biome-substrate-migration.md) | πŸ”΄ stub | mc-flora generation: migrate biome filter to substrate_climate-aware path | β€” | [unassigned](../team-leads/unassigned.md) | 2026-05-04 | 🟒 unblocked | -| [p2-57b](p2-57b-consume-produce-edges.md) | πŸ”΄ stub | Building consume/produce edges β€” stockpile coupled to unit quality | β€” | [unassigned](../team-leads/unassigned.md) | 2026-05-03 | πŸ”’ p2-57a | -| [p2-59](p2-59-pioneer-escort-mechanic.md) | πŸ”΄ stub | Pioneer escort mechanic β€” protection rules vs ambient encounters | β€” | [unassigned](../team-leads/unassigned.md) | 2026-05-03 | πŸ”’ p2-58 | +| ID | Status | Title | Owner | Updated | +|---|---|---|---|---| +| [p2-01](p2-01-minimap-improvements.md) | βœ… done | Minimap β€” fog reflection and unit markers | [shipwright](../team-leads/shipwright.md) | 2026-04-17 | +| [p2-02](p2-02-hud-tooltips.md) | βœ… done | Tooltips on all HUD elements | [shipwright](../team-leads/shipwright.md) | 2026-04-17 | +| [p2-03](p2-03-hotkey-cheat-sheet.md) | βœ… done | Hotkey cheat sheet (F1 / ?) | [shipwright](../team-leads/shipwright.md) | 2026-04-17 | +| [p2-04](p2-04-localization-audit.md) | βœ… done | Localization audit β€” no hardcoded strings | [shipwright](../team-leads/shipwright.md) | 2026-04-17 | +| [p2-05](p2-05-turn-latency.md) | βœ… done | Sub-second single-player turn latency | β€” | 2026-04-23 | +| [p2-06b](p2-06b-windows-runner.md) | βœ… done | Cross-compile Windows .exe + .dll from Linux via cargo-xwin (no Windows host) | [shipwright](../team-leads/shipwright.md) | 2026-04-25 | +| [p2-07](p2-07-credits-screen.md) | βœ… done | Credits screen accessible from main menu | [shipwright](../team-leads/shipwright.md) | 2026-04-17 | +| [p2-08](p2-08-accessibility.md) | βœ… done | Accessibility baseline β€” colorblind palette + keyboard navigation | [shipwright](../team-leads/shipwright.md) | 2026-04-17 | +| [p2-09](p2-09-guide-web-deploy.md) | βœ… done | Player guide web app β€” builds clean from source | β€” | 2026-04-17 | +| [p2-10](p2-10-regression-ci-gate.md) | 🟑 partial | Automated regression CI gate on every push to main | [testwright](../team-leads/testwright.md) | 2026-05-04 | +| [p2-10a](p2-10a-gdlint-ungate.md) | βœ… done | "CI: gdlint stage un-gated" | [testwright](../team-leads/testwright.md) | 2026-04-25 | +| [p2-10b](p2-10b-gut-ungate.md) | βœ… done | "CI: headless GUT stage un-gated" | [testwright](../team-leads/testwright.md) | 2026-04-26 | +| [p2-10c](p2-10c-diplomacy-luxury-ids.md) | βœ… done | "Diplomacy: implement _collect_unique_luxury_ids() in happiness.gd" | β€” | 2026-04-26 | +| [p2-10d](p2-10d-legacy-unit-json.md) | βœ… done | "Data: strip legacy flags/can_found_city/can_build_improvements from unit JSON" | β€” | 2026-04-26 | +| [p2-10e](p2-10e-data-integrity.md) | βœ… done | "Data: resolve duplicate IDs and dangling unlock refs in game data" | β€” | 2026-04-26 | +| [p2-10f](p2-10f-save-manager-typed-arrays.md) | βœ… done | "SaveManager: fix typed array property assignment on Player/Unit deserialization" | β€” | 2026-04-26 | +| [p2-10g](p2-10g-city-bridge-production-cost.md) | βœ… done | "CityBridge: add production_cost field to items JSON fixture" | β€” | 2026-04-26 | +| [p2-10h](p2-10h-sprite-renderer-build-key.md) | βœ… done | "UnitRenderer: implement _build_sprite_key() helper and fix cache key test" | β€” | 2026-04-26 | +| [p2-10i](p2-10i-tile-tooltip-scene.md) | βœ… done | "TileTooltip: fix scene node name mismatches and collectibles text formatting" | β€” | 2026-04-26 | +| [p2-10j](p2-10j-fog-vision-scout-move.md) | βœ… done | "FogOfWar: fix recalculate_vision to not re-reveal already-seen tiles on move" | β€” | 2026-04-26 | +| [p2-10k](p2-10k-gdlint-cleanup.md) | πŸ”΄ stub | "CI: fix 51 gdlint violations so Stage 3 is hard-green" | [testwright](../team-leads/testwright.md) | 2026-05-04 | +| [p2-10l](p2-10l-gut-regression-triage.md) | πŸ”΄ stub | "CI: fix 15 GUT regressions so Stage 5 is hard-green" | [testwright](../team-leads/testwright.md) | 2026-05-04 | +| [p2-11](p2-11-version-about-screen.md) | βœ… done | Version string + About screen | [shipwright](../team-leads/shipwright.md) | 2026-04-17 | +| [p2-11a](p2-11a.md) | βœ… done | "SaveManager: add Unit.serialize/deserialize and City.production_queue serialize path" | β€” | 2026-05-04 | +| [p2-12](p2-12-apricot-weston-install.md) | βœ… done | Install weston on apricot RUN host β€” unblock display-server smoke tests | [shipwright](../team-leads/shipwright.md) | 2026-04-25 | +| [p2-18](p2-18-guide-public-deployment.md) | 🟑 partial | Guide web app β€” public hosting + deploy pipeline | β€” | 2026-04-17 | +| [p2-19](p2-19-guide-progress-report-page.md) | βœ… done | Guide progress report page β€” dynamic dashboard + missing assets | β€” | 2026-04-17 | +| [p2-20](p2-20-guide-sim-cache-pnpm-resolve.md) | βœ… done | Fix simCachePlugin pre-warm worker β€” tsx can't resolve @magic-civ/physics-rs through pnpm symlink | [tourguide](../team-leads/tourguide.md) | 2026-04-17 | +| [p2-21](p2-21-guide-simcache-static-bake.md) | βœ… done | Bake pre-computed sim-cache frames into the static build | [tourguide](../team-leads/tourguide.md) | 2026-04-18 | +| [p2-29](p2-29-guide-welcome-homepage-theme-alignment.md) | βœ… done | Welcome modal + HomePage lore + guide theme align to the player's chosen race/gender | [tourguide](../team-leads/tourguide.md) | 2026-04-18 | +| [p2-30](p2-30-guide-shared-primitives.md) | βœ… done | Consolidate duplicate page styled-components into shared PagePrimitives | [tourguide](../team-leads/tourguide.md) | 2026-04-18 | +| [p2-31](p2-31-guide-url-bound-state.md) | βœ… done | Migrate guide filter + tab state from useState to URL search params | [tourguide](../team-leads/tourguide.md) | 2026-04-18 | +| [p2-32](p2-32-guide-data-driven-enums.md) | βœ… done | Replace hardcoded page enums with JSON data reads | [tourguide](../team-leads/tourguide.md) | 2026-04-18 | +| [p2-35](p2-35-palace-evolution-system.md) | βœ… done | Palace evolution system β€” longhouse β†’ great_hall β†’ citadel β†’ grand_citadel + function-shedding | β€” | 2026-05-04 | +| [p2-36](p2-36-data-resources-building-duplicates.md) | βœ… done | Reconcile the 14 building IDs defined in both `resources/buildings/` and `data/buildings/` | β€” | 2026-04-29 | +| [p2-37](p2-37-react-calculator-metadata-surface.md) | βœ… done | "React calculator UI β€” surface flavor, lore, clan_affinity, archetype filter" | [tourguide](../team-leads/tourguide.md) | 2026-04-27 | +| [p2-38](p2-38-unit-audio-cues-stubs.md) | βœ… done | "Unit audio_cues stub strings β€” selection/move/attack lines for the dwarven roster" | [asset-audio](../team-leads/asset-audio.md) | 2026-04-27 | +| [p2-39](p2-39-chronicle-hall-phantom-unlock.md) | βœ… done | Resolve `chronicle_hall` phantom unlock in `chronicle_keeping` culture tech | β€” | 2026-04-27 | +| [p2-43](p2-43-culture-research-completion-event.md) | 🟑 partial | "Culture research live-game pipeline β€” per-turn GDExt bridge + `culture_researched` emit" | β€” | 2026-05-04 | +| [p2-44](p2-44-ai-promotion-selection.md) | 🟑 partial | AI promotion selection β€” auto-pick + emit unit_promoted for AI units | β€” | 2026-05-04 | +| [p2-45](p2-45-elimination-reconciliation.md) | βœ… done | "Player elimination reconciliation β€” emit `player_eliminated` on every transition" | β€” | 2026-04-30 | +| [p2-46](p2-46-past-games-archive-replay-viewer.md) | 🟑 partial | Past-games archive & replay viewer β€” `mc-replay` crate, on-disk archive, projection-based playback | [shipwright](../team-leads/shipwright.md) | 2026-05-03 | +| [p2-47](p2-47-in-game-statistics-screens.md) | 🟑 partial | In-game statistics screens β€” Civ-style 5-tab modal (Demographics / Graphs / Rankings / Replay / Histories) | [shipwright](../team-leads/shipwright.md) | 2026-05-03 | +| [p2-48](p2-48-end-of-game-summary-screen.md) | 🟑 partial | End-of-game summary screen β€” outcome banner, standings, score graph, awards, timeline, footer actions | [shipwright](../team-leads/shipwright.md) | 2026-05-03 | +| [p2-49](p2-49-climate-axes-latitude-continentality.md) | βœ… done | Climate axes refactor β€” latitude + continentality + zonal winds as first-class per-hex inputs | [terraformer](../team-leads/terraformer.md) | 2026-04-30 | +| [p2-50](p2-50-rng-determinism-pin.md) | βœ… done | Deterministic RNG + seed-derivation pin across mc-mapgen / mc-climate / mc-ecology | [terraformer](../team-leads/terraformer.md) | 2026-05-01 | +| [p2-51](p2-51-world-shape-knobs.md) | βœ… done | Player-facing world-shape parameters on new-game screen | [terraformer](../team-leads/terraformer.md) | 2026-05-01 | +| [p2-52](p2-52-substrate-flora-cover-ontology-split.md) | βœ… done | Split terrain enum into substrate Γ— flora-cover layers (resolve biome ontology) | [terraformer](../team-leads/terraformer.md) | 2026-05-01 | +| [p2-53](p2-53-action-vocabulary-design-game-gap.md) | βœ… done | Action vocabulary β€” gap analysis between design page and shipped Rust/Godot game | [wireguard](../team-leads/wireguard.md) | 2026-05-03 | +| [p2-53a](p2-53a-sentry-guard-action-kind.md) | βœ… done | Sentry/Guard ActionKind β€” add Sentry/Unsentry to mc-core with wake-on-vision | [wireguard](../team-leads/wireguard.md) | 2026-05-01 | +| [p2-53b](p2-53b-building-action-registry.md) | βœ… done | Building action registry β€” `BuildingActionKind`, `building_actions.json`, `GdBuildingActions` bridge | [simulator-infra](../team-leads/simulator-infra.md) | 2026-05-01 | +| [p2-53c](p2-53c-rally-vocabulary-expansion.md) | βœ… done | Rally vocabulary expansion β€” Hold / Fortify / JoinFormation + two-waypoint Patrol | [shipwright](../team-leads/shipwright.md) | 2026-05-01 | +| [p2-53d](p2-53d-building-specifics.md) | βœ… done | Building specifics β€” Garrison, Repair, Toggle Active + 18 archetype-specific actions | [shipwright](../team-leads/shipwright.md) | 2026-05-03 | +| [p2-53e](p2-53e-siege-pillage-embark.md) | βœ… done | Siege handlers (Pack/Deploy/Bombard) + Pillage UI wiring + Embark/Disembark handlers | [combat-dev](../team-leads/combat-dev.md) | 2026-05-03 | +| [p2-53f](p2-53f-infantry-specifics.md) | βœ… done | Infantry specifics β€” Shield Wall, Brace, Shove, Rage, Cleave, War Cry | [combat-dev](../team-leads/combat-dev.md) | 2026-05-01 | +| [p2-53g](p2-53g-ranged-specifics.md) | βœ… done | Ranged specifics β€” Volley, Aimed Shot, Fire Arrows | [combat-dev](../team-leads/combat-dev.md) | 2026-05-03 | +| [p2-53h](p2-53h-cavalry-specifics.md) | βœ… done | Cavalry specifics β€” Charge, Pursue, Wheel | [combat-dev](../team-leads/combat-dev.md) | 2026-05-03 | +| [p2-53i](p2-53i-engineer-pioneer-medic-scout.md) | βœ… done | Support specifics β€” Engineer, Pioneer, Medic, Scout | [shipwright](../team-leads/shipwright.md) | 2026-05-03 | +| [p2-54](p2-54-resource-visibility-three-axis.md) | βœ… done | Resource visibility β€” three-axis (visibility/yield_gate/improvement_gate) refactor | [terraformer](../team-leads/terraformer.md) | 2026-05-02 | +| [p2-54a](p2-54a-deposits-three-axis-migration.md) | βœ… done | Migrate deposits/*.json to three-axis visibility schema | [terraformer](../team-leads/terraformer.md) | 2026-05-01 | +| [p2-54b](p2-54b-player-observation-cache.md) | βœ… done | Per-player tile observation cache β€” flora/fauna last-observed state | [terraformer](../team-leads/terraformer.md) | 2026-05-01 | +| [p2-54c](p2-54c-renderer-observations-and-indicators.md) | βœ… done | Renderer reads observations + indicator decorations for tech-gated resources | [terraformer](../team-leads/terraformer.md) | 2026-05-01 | +| [p2-54d](p2-54d-ai-tech-priority-from-visibility.md) | βœ… done | AI tech-priority bias from visible-but-gated luxuries + indicator decorations | [terraformer](../team-leads/terraformer.md) | 2026-05-01 | +| [p2-55](p2-55-civilian-capture-system.md) | 🟑 partial | "Civilian Capture / Destroy / Ransom" | β€” | 2026-05-03 | +| [p2-55d](p2-55d-ai-ransom-decision-hook.md) | πŸ”΄ stub | "AI ransom accept/refuse hook in mc-turn start-of-turn" | β€” | 2026-05-03 | +| [p2-55e](p2-55e-richer-ransom-events.md) | πŸ”΄ stub | "UnitRansomAccepted / UnitRansomExpired events on TurnResult" | β€” | 2026-05-03 | +| [p2-56](p2-56-worker-categories-and-expertise-tiers.md) | πŸ”΄ stub | "Worker categories (Sustenance/Construction/Wealth) + 5-tier expertise + Master/Grandmaster auras + idle decay" | [unassigned](../team-leads/unassigned.md) | 2026-05-03 | +| [p2-56a](p2-56a-worker-category-types.md) | βœ… done | Worker category types β€” Sustenance / Construction / Wealth taxonomy | [unassigned](../team-leads/unassigned.md) | 2026-05-04 | +| [p2-56b](p2-56b-expertise-tier-progression.md) | βœ… done | Expertise tier progression β€” 5-tier specialist XP ladder | [simulator-infra](../team-leads/simulator-infra.md) | 2026-05-04 | +| [p2-56c](p2-56c-master-grandmaster-auras.md) | 🟑 partial | Master / Grandmaster auras β€” adjacent-slot yield propagation | [unassigned](../team-leads/unassigned.md) | 2026-05-04 | +| [p2-57](p2-57-production-chain-typed-resources.md) | πŸ”΄ stub | "Production-chain typed resources β€” raw β†’ processed pipelines wired into mc-city" | [unassigned](../team-leads/unassigned.md) | 2026-05-03 | +| [p2-57a](p2-57a-typed-resource-stockpile.md) | 🟑 partial | Typed resource stockpile β€” raw vs processed taxonomy | [unassigned](../team-leads/unassigned.md) | 2026-05-04 | +| [p2-57b](p2-57b-consume-produce-edges.md) | πŸ”΄ stub | "Building consume/produce edges β€” stockpile coupled to unit quality" | [unassigned](../team-leads/unassigned.md) | 2026-05-03 | +| [p2-58](p2-58-ambient-encounter-rolls.md) | πŸ”΄ stub | "Ambient encounter rolls per tile moved β€” fauna_density Γ— ecology_tier" | [unassigned](../team-leads/unassigned.md) | 2026-05-03 | +| [p2-59](p2-59-pioneer-escort-mechanic.md) | πŸ”΄ stub | "Pioneer escort mechanic β€” protection rules vs ambient encounters" | [unassigned](../team-leads/unassigned.md) | 2026-05-03 | +| [p2-60](p2-60-weather-lens-godot-ui.md) | πŸ”΄ stub | "Weather / observation lens switcher in the Godot HUD" | [unassigned](../team-leads/unassigned.md) | 2026-05-03 | +| [p2-61](p2-61-observation-recording-gates-from-tech.md) | πŸ”΄ stub | "Bind mc-observation gate_bits to player tech state β€” recording gates per-field" | [unassigned](../team-leads/unassigned.md) | 2026-05-03 | +| [p2-62](p2-62-procedural-unit-and-building-renderer.md) | βœ… done | Procedural unit/building renderer β€” alpha-only visual substitute | [asset-sprite](../team-leads/asset-sprite.md) | 2026-05-04 | +| [p2-63](p2-63-mc-flora-biome-substrate-migration.md) | πŸ”΄ stub | "mc-flora generation: migrate biome filter to substrate_climate-aware path" | [unassigned](../team-leads/unassigned.md) | 2026-05-04 | -## Out of Scope +## Out of Scope (Game 2 / Game 3) -> These objectives are explicitly deferred. They are tracked for visibility but not blocking the current release. +> These objectives are explicitly future-scope. **Game 2 (Age of Kzzykt)** items introduce leylines, the Green school, and spacefaring. **Game 3 (Age of Elves)** items cover the full five-school magic system, Archons, and Arcane Ascension. None are part of the Game 1 Early Access release. -| ID | Status | Title | Tags | Owner | Updated | Blocked | -|---|---|---|---|---|---|---| -| [p1-14](p1-14-guide-magic-school-scope-drift.md) | ⚫ oos | Gate Game 2/3/4 magic-school content behind EpisodeGate (future-game scope) | β€” | β€” | 2026-04-17 | 🟒 unblocked | -| [g2-05](g2-05-tectonics-lithology-oos.md) | ⚫ oos | Tectonics + lithology axes for procedural map generation (Game 2) | β€” | β€” | 2026-04-30 | 🟒 unblocked | -| [g2-06](g2-06-soil-derivation-oos.md) | ⚫ oos | Soil derivation layer β€” emergent soil order from rock + climate + slope (Game 2) | β€” | β€” | 2026-04-30 | 🟒 unblocked | -| [g2-07](g2-07-flora-lifecycle-transitions-oos.md) | ⚫ oos | Flora lifecycle transitions β€” climate-driven succession over turns (Game 2) | β€” | β€” | 2026-05-01 | 🟒 unblocked | -| [g2-08](g2-08-fauna-population-dynamics-oos.md) | ⚫ oos | Fauna population dynamics β€” habitat_min, carrying_capacity, prey availability (Game 2) | β€” | β€” | 2026-05-01 | 🟒 unblocked | -| [g2-09](g2-09-flora-tolerance-driven-selection-oos.md) | ⚫ oos | Flora tolerance-driven selection β€” drought / fire / cold tolerances feed selector (Game 2) | β€” | β€” | 2026-05-01 | 🟒 unblocked | -| [g2-10](g2-10-fauna-migration-paths-oos.md) | ⚫ oos | Fauna migration paths β€” seasonal range shifts, reintroduction propagation (Game 2) | β€” | β€” | 2026-05-01 | 🟒 unblocked | -| [g2-01](g2-01-leylines-oos.md) | ⚫ oos | Ley lines β€” Game 2 (Age of Kzzykt) | β€” | β€” | 2026-04-17 | 🟒 unblocked | -| [g2-02](g2-02-additional-races-oos.md) | ⚫ oos | Kzzykt playable race β€” Game 2 (Age of Kzzykt) | β€” | β€” | 2026-04-17 | 🟒 unblocked | -| [g2-03](g2-03-green-school-oos.md) | ⚫ oos | Kzzykt Green school of magic β€” Game 2 (Age of Kzzykt) | β€” | β€” | 2026-04-17 | 🟒 unblocked | -| [g2-04](g2-04-multi-gpu-batch-simulate-oos.md) | ⚫ oos | Multi-GPU sharding for batch_simulate_gpu β€” out-of-scope (Game 2) | β€” | [warcouncil](../team-leads/warcouncil.md) | 2026-04-17 | 🟒 unblocked | -| [g2-11](g2-11-vertical-city-floor-stack-oos.md) | ⚫ oos | Vertical city floor stack (Game 2) β€” OOS | β€” | [unassigned](../team-leads/unassigned.md) | 2026-05-03 | πŸ”’ g2-12 | -| [g2-12](g2-12-underground-layer-stack-oos.md) | ⚫ oos | Underground layer stack (Game 2) β€” OOS | β€” | [unassigned](../team-leads/unassigned.md) | 2026-05-03 | 🟒 unblocked | -| [g3-01](g3-01-archons-oos.md) | ⚫ oos | Archons β€” Game 3 (Age of Elves) | β€” | β€” | 2026-04-17 | 🟒 unblocked | -| [g3-02](g3-02-life-school-oos.md) | ⚫ oos | Life school spellbook β€” Game 3 (Age of Elves) | β€” | β€” | 2026-04-17 | 🟒 unblocked | -| [g3-03](g3-03-death-school-oos.md) | ⚫ oos | Death school spellbook β€” Game 3 (Age of Elves) | β€” | β€” | 2026-04-17 | 🟒 unblocked | -| [g3-04](g3-04-chaos-school-oos.md) | ⚫ oos | Chaos school spellbook β€” Game 3 (Age of Elves) | β€” | β€” | 2026-04-17 | 🟒 unblocked | -| [g3-05](g3-05-aether-school-oos.md) | ⚫ oos | Aether school spellbook β€” Game 3 (Age of Elves) | β€” | β€” | 2026-04-17 | 🟒 unblocked | -| [g3-06](g3-06-arcane-ascension-oos.md) | ⚫ oos | Arcane Ascension victory β€” Game 3 (Age of Elves) | β€” | β€” | 2026-04-17 | 🟒 unblocked | -| [g4-01](g4-01-terran-race-oos.md) | ⚫ oos | Terran (Human) playable species β€” Game 4 (Age of Terrans) | β€” | β€” | 2026-04-17 | 🟒 unblocked | -| [g4-02](g4-02-psionics-oos.md) | ⚫ oos | Psionics ability system β€” Game 4 (Age of Terrans) | β€” | β€” | 2026-04-17 | 🟒 unblocked | -| [g4-03](g4-03-religious-victory-oos.md) | ⚫ oos | Religious victory condition β€” Game 4 (Age of Terrans) | β€” | β€” | 2026-04-17 | 🟒 unblocked | -| [g5-01](g5-01-phantasma-oos.md) | ⚫ oos | Phantasma playable species β€” Game 5 (Age of Ascension) | β€” | β€” | 2026-04-17 | 🟒 unblocked | -| [g5-02](g5-02-flugel-oos.md) | ⚫ oos | FlΓΌgel playable species β€” Game 5 (Age of Ascension) | β€” | β€” | 2026-04-17 | 🟒 unblocked | -| [g5-03](g5-03-gith-oos.md) | ⚫ oos | Gith playable species (Githyanki + Githzerai) β€” Game 5 (Age of Ascension) | β€” | β€” | 2026-04-17 | 🟒 unblocked | -| [g5-04](g5-04-demonia-oos.md) | ⚫ oos | Demonia playable species β€” Game 5 (Age of Ascension) | β€” | β€” | 2026-04-17 | 🟒 unblocked | -| [g6-01](g6-01-naval-combat-oos.md) | ⚫ oos | Naval combat β€” out-of-scope (post-v10) | β€” | β€” | 2026-04-26 | 🟒 unblocked | -| [g6-02](g6-02-caravan-trade-routes-oos.md) | ⚫ oos | Caravan trade routes β€” out-of-scope (post-v10) | β€” | β€” | 2026-04-26 | 🟒 unblocked | +| ID | Status | Title | Owner | Updated | +|---|---|---|---|---| +| [p1-14](p1-14-guide-magic-school-scope-drift.md) | ⚫ oos | Gate Game 2/3/4 magic-school content behind EpisodeGate (future-game scope) | β€” | 2026-04-17 | +| [g2-05](g2-05-tectonics-lithology-oos.md) | ⚫ oos | Tectonics + lithology axes for procedural map generation (Game 2) | β€” | 2026-04-30 | +| [g2-06](g2-06-soil-derivation-oos.md) | ⚫ oos | Soil derivation layer β€” emergent soil order from rock + climate + slope (Game 2) | β€” | 2026-04-30 | +| [g2-07](g2-07-flora-lifecycle-transitions-oos.md) | ⚫ oos | Flora lifecycle transitions β€” climate-driven succession over turns (Game 2) | β€” | 2026-05-01 | +| [g2-08](g2-08-fauna-population-dynamics-oos.md) | ⚫ oos | Fauna population dynamics β€” habitat_min, carrying_capacity, prey availability (Game 2) | β€” | 2026-05-01 | +| [g2-09](g2-09-flora-tolerance-driven-selection-oos.md) | ⚫ oos | Flora tolerance-driven selection β€” drought / fire / cold tolerances feed selector (Game 2) | β€” | 2026-05-01 | +| [g2-10](g2-10-fauna-migration-paths-oos.md) | ⚫ oos | Fauna migration paths β€” seasonal range shifts, reintroduction propagation (Game 2) | β€” | 2026-05-01 | +| [g2-01](g2-01-leylines-oos.md) | ⚫ oos | Ley lines β€” Game 2 (Age of Kzzykt) | β€” | 2026-04-17 | +| [g2-02](g2-02-additional-races-oos.md) | ⚫ oos | Kzzykt playable race β€” Game 2 (Age of Kzzykt) | β€” | 2026-04-17 | +| [g2-03](g2-03-green-school-oos.md) | ⚫ oos | Kzzykt Green school of magic β€” Game 2 (Age of Kzzykt) | β€” | 2026-04-17 | +| [g2-04](g2-04-multi-gpu-batch-simulate-oos.md) | ⚫ oos | Multi-GPU sharding for batch_simulate_gpu β€” out-of-scope (Game 2) | [warcouncil](../team-leads/warcouncil.md) | 2026-04-17 | +| [g2-11](g2-11-vertical-city-floor-stack-oos.md) | ⚫ oos | "Vertical city floor stack (Game 2) β€” OOS" | [unassigned](../team-leads/unassigned.md) | 2026-05-03 | +| [g2-12](g2-12-underground-layer-stack-oos.md) | ⚫ oos | "Underground layer stack (Game 2) β€” OOS" | [unassigned](../team-leads/unassigned.md) | 2026-05-03 | +| [g3-01](g3-01-archons-oos.md) | ⚫ oos | Archons β€” Game 3 (Age of Elves) | β€” | 2026-04-17 | +| [g3-02](g3-02-life-school-oos.md) | ⚫ oos | Life school spellbook β€” Game 3 (Age of Elves) | β€” | 2026-04-17 | +| [g3-03](g3-03-death-school-oos.md) | ⚫ oos | Death school spellbook β€” Game 3 (Age of Elves) | β€” | 2026-04-17 | +| [g3-04](g3-04-chaos-school-oos.md) | ⚫ oos | Chaos school spellbook β€” Game 3 (Age of Elves) | β€” | 2026-04-17 | +| [g3-05](g3-05-aether-school-oos.md) | ⚫ oos | Aether school spellbook β€” Game 3 (Age of Elves) | β€” | 2026-04-17 | +| [g3-06](g3-06-arcane-ascension-oos.md) | ⚫ oos | Arcane Ascension victory β€” Game 3 (Age of Elves) | β€” | 2026-04-17 | +| [g4-01](g4-01-terran-race-oos.md) | ⚫ oos | Terran (Human) playable species β€” Game 4 (Age of Terrans) | β€” | 2026-04-17 | +| [g4-02](g4-02-psionics-oos.md) | ⚫ oos | Psionics ability system β€” Game 4 (Age of Terrans) | β€” | 2026-04-17 | +| [g4-03](g4-03-religious-victory-oos.md) | ⚫ oos | Religious victory condition β€” Game 4 (Age of Terrans) | β€” | 2026-04-17 | +| [g5-01](g5-01-phantasma-oos.md) | ⚫ oos | Phantasma playable species β€” Game 5 (Age of Ascension) | β€” | 2026-04-17 | +| [g5-02](g5-02-flugel-oos.md) | ⚫ oos | FlΓΌgel playable species β€” Game 5 (Age of Ascension) | β€” | 2026-04-17 | +| [g5-03](g5-03-gith-oos.md) | ⚫ oos | Gith playable species (Githyanki + Githzerai) β€” Game 5 (Age of Ascension) | β€” | 2026-04-17 | +| [g5-04](g5-04-demonia-oos.md) | ⚫ oos | Demonia playable species β€” Game 5 (Age of Ascension) | β€” | 2026-04-17 | +| [g6-01](g6-01-naval-combat-oos.md) | ⚫ oos | Naval combat β€” out-of-scope (post-v10) | β€” | 2026-04-26 | +| [g6-02](g6-02-caravan-trade-routes-oos.md) | ⚫ oos | Caravan trade routes β€” out-of-scope (post-v10) | β€” | 2026-04-26 | ## Superseded -> These objectives were split into narrower children. Files are retained as index stubs so external references do not 404. +> These objectives were split into narrower children. Files are retained as index stubs so external references don't 404. The `superseded_by:` frontmatter field names the replacement IDs. -| ID | Status | Title | Tags | Owner | Updated | Blocked | -|---|---|---|---|---|---|---| -| [p1-27d](p1-27d-additive-value-estimate.md) | ♻️ superseded | Add `value_estimate_abstract` GdMcTreeController method β€” non-lossy MCTS service caller | β€” | [warcouncil](../team-leads/warcouncil.md) | 2026-04-25 | 🟒 unblocked | -| [p2-17](p2-17-sprite-assets.md) | ♻️ superseded | Sprite assets β€” superseded index (split into p2-22 … p2-28) | β€” | [asset-sprite](../team-leads/asset-sprite.md) | 2026-04-17 | 🟒 unblocked | +| ID | Status | Title | Owner | Updated | +|---|---|---|---|---| +| [p1-27d](p1-27d-additive-value-estimate.md) | ♻️ superseded | Add `value_estimate_abstract` GdMcTreeController method β€” non-lossy MCTS service caller | [warcouncil](../team-leads/warcouncil.md) | 2026-04-25 | +| [p2-17](p2-17-sprite-assets.md) | ♻️ superseded | Sprite assets β€” superseded index (split into p2-22 … p2-28) | [asset-sprite](../team-leads/asset-sprite.md) | 2026-04-17 | diff --git a/.project/objectives/p0-20d-gpu-walltime-real-host.md b/.project/objectives/p0-20d-gpu-walltime-real-host.md new file mode 100644 index 00000000..e1266fc2 --- /dev/null +++ b/.project/objectives/p0-20d-gpu-walltime-real-host.md @@ -0,0 +1,51 @@ +--- +id: p0-20d +title: GPU MCTS wall-time gate β€” measure on real-discrete-GPU test host +priority: p1 +status: stub +scope: game1 +category: ai +owner: warcouncil +created: 2026-05-04 +updated_at: 2026-05-04 +blocked_by: [] +follow_ups: [] +--- + +## Context + +Phase A + B + C of `p0-20-gpu-mcts-rollouts` shipped the full architectural rewrite to main: +- Live game uses `Tree` exclusively, dispatched via `AiBackend::probe()`-routed `iterate_gpu_batched`. +- Persistent staging buffer pool + 1024-rollout coalesced `wgpu::Queue::submit` (Phase B). +- AI quality empirically validated as byte-identical to the pre-Phase-C `Tree` baseline (50 seeds Γ— normal+hard, identical clan-win distribution: 35/3/4/2/3/3). + +The one un-met acceptance bullet from the parent objective is the **wall-time win**: +`AI_GPU_ROLLOUT=true ./tools/autoplay-batch.sh 10 300` median wall-time ≀ 0.80 Γ— CPU. (Note: `AI_GPU_ROLLOUT` env var was deleted in Phase C; the equivalent now is `MC_AI_BACKEND=gpu` vs `MC_AI_BACKEND=cpu`. The `apricot-run.sh` script's `gpu-walltime` mode still references the old env var name and needs updating.) + +apricot's bluefin host probes `Cpu` because no compute-capable discrete GPU adapter is available. Software Vulkan (lavapipe) is available for parity tests but is slower than CPU rayon β€” wrong direction for the wall-time gate. Measuring requires a host with a working hardware compute GPU. + +## Acceptance + +- ❌ Identify a test host with working compute-capable discrete GPU (candidates: plum's Apple Silicon Metal, a CUDA-capable box, an Intel/AMD discrete-GPU upgrade for apricot). +- ❌ Update `scripts/apricot-run.sh::gpu-walltime` mode to use `MC_AI_BACKEND=gpu|cpu` instead of the deleted `AI_GPU_ROLLOUT` env var. +- ❌ Run `gpu-walltime 10 300` on the chosen host. Median seed wall-time at `MC_AI_BACKEND=gpu` ≀ 0.80 Γ— `MC_AI_BACKEND=cpu`. +- ❌ If gate misses on first attempt, classify per the Phase B handoff: dispatch overhead (raise MAX_BATCH from 1024), readback latency (real ring-buffer overlap β€” Phase B explicitly skipped), or kernel time (WGSL-level optimization). + +## Source-of-truth rails + +- **Rust crate**: `mc-ai::gpu` owns dispatch + WGSL shader. Algorithm UNCHANGED from cpu_reference; backend just selects executor. +- **JSON path**: no new data; existing balance/setup configs apply. +- **mc-core wrapper**: existing `AiBackend` enum (Phase 1). +- **No new fallback paths.** Backend probe at boot decides; runtime stays. + +## Out of scope + +- Algorithm changes. Same byte-identical algorithm via `cpu_reference::batch_simulate_cpu` and `rollout.wgsl`. +- New `AbstractPlayerState` fields. The 64-byte/player layout is empirically sufficient (validated in p0-20 Phase C). +- Multi-GPU sharding. Single-GPU coalescing is the in-scope path. + +## References + +- Parent: `.project/objectives/p0-20-gpu-mcts-rollouts.md` (status: partial after Phase C close-out) +- Phase B handoff: `p0-20-gpu-mcts-rollouts.md::#phase-b-2026-05-04--dispatch-coalescing` +- Phase C close-out: `p0-20-gpu-mcts-rollouts.md::#phase-c-close-out-2026-05-04` diff --git a/public/games/age-of-dwarves/data/objectives.json b/public/games/age-of-dwarves/data/objectives.json index fe5439d5..3fea2a04 100644 --- a/public/games/age-of-dwarves/data/objectives.json +++ b/public/games/age-of-dwarves/data/objectives.json @@ -1,13 +1,13 @@ { - "generated_at": "2026-05-04T21:27:25Z", + "generated_at": "2026-05-05T02:37:18Z", "totals": { - "in_progress": 1, + "partial": 28, + "stub": 28, + "done": 154, "missing": 6, "oos": 28, - "partial": 28, - "done": 154, - "stub": 27, - "total": 244 + "in_progress": 1, + "total": 245 }, "objectives": [ { @@ -460,6 +460,16 @@ "updated_at": "2026-05-04", "summary": "The MCTS tree (`mcts_tree.rs`) and the `mc-turn` GPU fauna pipeline are both live\non `main`, but the AI cannot currently afford wide tree search: full\n`GridState` cloning (~12 MB at 256Γ—256) blows out RAM long before the tree is\ndeep enough to matter, and `TreeState::simulate()` is a 0.5 stub. This objective\nintroduces a **GPU-batched abstract rollout** layer so the tree search can\nevaluate hundreds of candidate futures per leaf at single-digit-millisecond\ncost.\n\n### 2026-04-17 update β€” GPU↔CPU numerical parity ACHIEVED\n\nPhase C structural work shipped in the earlier team pass but the parity test\nwas silently taking the skip path on headless hosts β€” the shader had never\nactually compiled on any adapter. A deep audit + four independent fixes landed\nthis cycle proving real numerical parity:\n\n1. **WGSL reserved-keyword bug**: `var active: u32 = 0u` at `rollout.wgsl:607`\n used the `active` reserved word β†’ Naga parse panic β†’ wgpu_core handler β†’ try_init\n worker thread panic β†’ timeout returned None β†’ skip-path. Renamed to\n `active_idx`; the shader now actually compiles. Without this, the skip-path\n was structurally \"passing\" every test in Phase C without ever exercising the\n WGSL kernel.\n2. **Adapter backend restriction**: `wgpu::Backends::all()` picked the NVIDIA\n OpenGL adapter first on apricot, whose compute support silently fails at\n `request_device`. Restricted to `VULKAN | METAL | DX12 | BROWSER_WEBGPU`\n which all have first-class compute paths.\n3. **Device limits fix**: `Limits::default()` targets a discrete GPU β€” too\n large for llvmpipe / lavapipe. Changed to\n `Limits::downlevel_defaults().using_resolution(adapter.limits())` so software\n Vulkan backends can satisfy device creation.\n4. **Action-walk order unified**: the root numerical divergence. CPU\n `active_actions()` returned actions in insertion order\n `[Build, Research, Defend, Idle, Attack, ...]`; WGSL iterated k=0..9 in\n `ActionKind::ALL` numerical order `[Build, Attack, Settle, Research, ...]`.\n Identical probabilities, identical RNG draw β†’ different action picked at\n every cumulative-sum boundary. Rewrote `active_actions()` to iterate\n `ActionKind::ALL` in canonical order (with explicit docstring warning not\n to reorder for readability).\n\n**Parity verification on apricot (headless bluefin + lavapipe software\nVulkan)**: with `MC_AI_GPU_DEBUG=1 VK_DRIVER_FILES=/usr/share/vulkan/icd.d/lvp_icd.x86_64.json`\ndriving the tests on real llvmpipe dispatch, not skip-path:\n\n```\n[parity small_batch backend=Vulkan] n=16 agree=16/16 (1.000) max_drift=0.000000\n[parity partial_workgroup backend=Vulkan] n=65 agree=65/65 (1.000) max_drift=0.000000\n[parity multi_workgroup backend=Vulkan] n=128 agree=128/128 (1.000) max_drift=0.000000\nbuckets: <1e-6=all others=0 across all three tests\n```\n\nNot 98% (the stated tolerance) β€” **100% agreement, bit-identical** on all 3\nquantitative parity tests (209 inputs total). Pre-fixes: 3–6% agreement with\nmax_drift 0.025–0.043 (action-boundary flips). Post-fix: integer fields\nbyte-equal, scalar fields byte-equal. WGSL kernel is now a provable,\nbyte-for-byte port of `rollout::walk`.\n\n### 2026-04-17 update β€” host-side infrastructure\n\n- `scripts/dev-setup/bluefin.sh` + `./run setup:bluefin` β€” idempotent installer\n for `weston`, `vulkan-tools`, `mesa-vulkan-drivers` on bootc/Bluefin systems\n via `rpm-ostree install --apply-live`. `--check` mode for CI.\n Delegates EDITβ†’RUN via `$AUTOPLAY_HOST` when invoked from EDIT.\n- `~/Code/bootc-bluefin/containerfiles/Containerfile.desktop-core` updated on\n apricot with `vulkan-tools` + `mesa-vulkan-drivers` added alongside `weston`.\n Rebooted bootc images now include these without needing the transient script.\n\n### 2026-04-17 update β€” fresh A5 attempt post-fix (failed on host SIGTERM)\n\nAfter the four WGSL parity fixes landed and GDExtension rebuilt, fresh A5\nbatches were attempted under multiple process-isolation strategies:\n\n| Strategy | Batch dir | Result |\n|---|---|---|\n| plain nohup | `.local/iter/a5-fresh-20260417_122847/` | exit 143, seeds `in_progress` T5–T10 before kill |\n| nohup + new dir | `.local/iter/a5-final-20260417_122936/` | games launched, no completion.marker written (process killed) |\n| bash SIGTERM trap | `.local/iter/a5-trap-20260417_123021/` | trap handler received NO signal; script exited rc=143 |\n| strace signal trace | `.local/iter/a5-strace-20260417_123200/` | revealed autoplay-batch.sh exits status **1** (not 143); no SIGTERM to parent. Root cause: `0/N games produced turn_stats.jsonl` check fires because flatpak Godot scopes end at 3–10s |\n| `systemd-run --user` | `.local/iter/warcouncil-a5-systemd-*/` | same β€” service `Active: inactive (dead)` after 2s, scope children SIGTERMed |\n| `KillMode=none` | `.local/iter/warcouncil-a5-systemd-*` (2nd) | games reached T9–T10 only; same kill pattern |\n| plain `bash autoplay-batch` synchronous | `.local/iter/a5-direct-123300/` | 10 games with 0-line `turn_stats.jsonl` β€” games get SIGTERMed during map generation |\n\nSeven distinct execution strategies, same failure pattern: flatpak Godot\nscopes SIGTERMed within 3–10s of launch, before any turn completes. Investigation\nfound the signal is NOT delivered by systemd-oomd (failed service), rpm-ostree\nautomatic updates (timer inactive), or apricot-rail-watchdog (emit-only). The\nactual SIGTERM source could not be identified in the apricot user session.\nParallel agent's own batches from earlier the same day (e.g.\n`.local/batches/blackhammer_tune_20260417_101447/`) completed fine, so the\nissue is transient/session-bound, NOT a permanent host failure.\n\n**Fresh A5 verdict β€” NOT HEALTHY, B5 therefore not launched.** Per\nwarcouncil's integrity rule: we report the measurement failure honestly\nrather than claim parity-fix-correctness translated into fresh gameplay\nevidence. Existing p0-01 batch data from pre-parity-fix binary (at\n`blackhammer_tune_20260417_101447`) still stands as the most recent\nsuccessful A5/B5 evidence in the repo." }, + { + "id": "p0-20d", + "title": "GPU MCTS wall-time gate β€” measure on real-discrete-GPU test host", + "priority": "p1", + "status": "stub", + "scope": "game1", + "owner": "warcouncil", + "updated_at": "2026-05-04", + "summary": "" + }, { "id": "p0-35", "title": "Ecology telemetry instrumentation β€” flora canopy / undergrowth fields in turn_stats.jsonl",