Continued FULL_GAME_GOAL. The three side systems had authored content but no
runtime, so none of their numbers were actually used. Added a Python-authoritative
engine and a GDScript mirror (parity gate over 3 profile tiers) plus a real UI.
- 5 partners: tiered low-pressure tasks derived from play counters (distance,
relics, records, wins, new skies), no combat and no failure penalty, claim
once per tier for gold/crystal.
- 167 records: progress from play counters, stage rewards every third record,
one-time claims, no miss penalty or daily streak; list shows claimable
milestones and X/167 progress.
- 6 black-market offers: crystal-only purchases (relic/emblem/material/cosmetic/
time/recovery), no pay-to-win; insufficient balance is a clean rejection.
- Skyport 旅团事务 page with three tabs; claims/purchases route through the
real engines and persist. Added battle_wins/total_gold_earned/partner_claims/
revive_charges/cosmetics profile fields with normalization, and victory now
increments the win/earned counters in both slice and world flows.
- side_systems_ui_test drives tabs/claims/purchases/locale through real hooks;
registered alongside parity in the full gate. Added p3a_side capture and
ignored regenerated artifact files.
All gates pass incl. 25 UI captures; P2_CHECKS_PASS. prototype/ untracked.
Continued FULL_GAME_GOAL. The 600-node world existed as data+engine but the
playable map still used the 10-node slice. Added an additive world navigator
that leaves the proven slice loop untouched.
- Skyport entry -> 远征世界 page: 5 region tabs / 12 chapters / 10 nodes
(two-column grids), lock rule order <= highest_node+1, node detail card and
launch CTA placed above the lists so they are visible on 390x844.
- Launch runs a real WorldContent scenario through the shared battle shell
with growth modifiers applied. Victory routes through battle_finished:
grants gold/crystal once, advances highest_node, derives chapter/region/boss/
final counters from the cleared set, accumulates prestige essence source;
defeat returns to the world. zh/en labels incl. 60 chapter-theme translations.
- Fixed two real bugs uncovered while wiring: WorldContent's regions()/
chapters()/nodes() did not initialise the lazy cache (first open rendered
empty), and GameRoot paused the battle after setup with no resume, freezing
real-time play at frame 0. Tests can still pause explicitly after start_node.
- world_map_ui_test drives navigation/lock/launch/win/locale through real UI
hooks; registered in the full gate. Added a p3a_world capture shot and the
regenerated-artifact ignore entries.
All gates pass incl. 24 UI captures; P2_CHECKS_PASS. prototype/ untracked.
Continued FULL_GAME_GOAL. The growth systems were mechanically complete but a
player had no way to use them. Added a full-screen growth page (PAGE_GROWTH):
- skyport "旅团成长" button + bottom-nav "旅团" entry;
- 6 hero cards with star upgrade + 4 talent slots, showing costs/owned state;
- glass panels over the live scene (matches the new visual language, not the
form-like settings page);
- buttons call invest_talent/upgrade_star on GameRoot, which run the real actions
and persist to profile.
growth_page_test verifies rows build for unlocked heroes and the UI-path call
invests + persists a talent. Added p3a_growth capture. Text keys zh/en added +
bundled data synced. Two regression bugs caught during dev: missing _record helper
and a non-executable runner script.
New gate registered; full P2_CHECKS_PASS. prototype/ untracked.
Owner said "you decide the feature". Chose H04 attack frames: H01/H02/H03
already had real 4-frame attacks, but H04 (the first hero recruited at N02)
was still a static single frame — the one visible gap in "characters feel
alive". In scope, no gameplay balance change, no owner decision needed.
- Generated a 4-pose hammer-smash strip via gpt-image-2.6 with H04's approved
idle as identity anchor + 4-slot layout guide (task_jK8QMFpRiOlJ1VfklPKFdQ6ayuw0E2yL),
downloaded with curl --noproxy. chroma_key_atlas.py with custom per-pose rects
(uneven spacing) -> pack_animation_strip.py -> 384x96 atlas, 96px cells,
foot_y=84, fps=10, matching H04's runtime format.
- Replaced the single-frame H04 attack source; provenance saved under
PRODUCTION/source/sprite_runs/H04/run/; ledger hashes updated.
- breathing_test now covers H04 attack (9 stages, frames 0/1/2/3 advance);
hero_frame_for_test probe confirmed the forced frame applies to the live
battle unit (forced=true, frame=2); p3a_h04_attack capture added.
- Docs updated: 48/49/RELEASE_GOAL now say H02+H03+H04 done, enemies remain.
Full gate P2_CHECKS_PASS. prototype/ untracked.
Continued Phase ASSET from RELEASE_GOAL.md using the proven H02 strip pipeline.
- Generated a 4-pose staff-cast strip via gpt-image-2.6 with H03's approved idle
as identity anchor + 4-slot layout guide (task_GR7UULprR6kj7bT6I2X5j72qGcFrOxzF).
The source came back 1536x1024 with poses at uneven x positions, so I used
chroma_key_atlas.py with custom per-pose rects, then pack_animation_strip.py
to a 384x96 atlas (96px cells, foot_y=84, fps=10) matching H03's runtime format.
- Replaced the single-frame H03 attack source; provenance saved under
PRODUCTION/source/sprite_runs/H03/run/ (raw strip, frames, rects, prompt, task).
Ledger updated with raw/runtime hashes.
- breathing_test now asserts H03 attack advances through distinct frames at
runtime (8 stages pass); p3a_h03_attack_390_zh_CN.png shows the cast pose in
a real battle (agent_visual_reviewed). Full gate P2_CHECKS_PASS.
Two of three starting heroes (H02, H03) now have real 4-frame attacks; H04 and
enemies remain single-frame (same pipeline, owner time/cost). prototype/ untracked.
Produced H02's first genuine multi-frame action animation via the established
H01 sprite pipeline, after the owner asked whether AI generation could make
characters feel more alive.
GIF route investigated first and rejected: the owner correctly diagnosed that
macOS system proxy (127.0.0.1:7897) caused the CDN download to truncate; with
curl --noproxy '*' the full file downloaded. But gpt-image-2.6-gif returned a
static 2x2 PNG with near-identical poses - worse than the existing breathing
tween for idle, so not adopted. Recorded in the ledger honestly.
Final method (reliable precedent): gpt-image-2.6 generated a 4-pose archer
strip (draw bow -> release -> recover) using H02's approved idle as identity
anchor and H01's 4-slot layout guide. chroma_key_atlas.py keyed magenta, split
4 frames and locked them to a shared foot line (y=747). pack_animation_strip.py
packed a 384x96 atlas at 96px cells, foot_y=84, fps=12 - byte-format identical
to H02's existing runtime atlas. Replaced the single-frame H02 attack source
(symlink resolves to the new atlas).
Provenance: raw strip, task manifest, 4 keyed frames and prompt saved under
PRODUCTION/source/sprite_runs/H02/run/; runtime manifest records task_id and
pipeline; generated_art_processing_ledger hashes updated.
Verification: breathing_test now asserts H02 attack advances through all 4
frames (0/1/2/3) at runtime (automated_verified); p3a_h02_attack_390_zh_CN.png
shows the hero in the drawn-bow pose in a real battle (agent_visual_reviewed).
Added a capture-only force_hero_attack_frame_for_test hook. Full gate
P2_CHECKS_PASS. prototype/ stays untracked and untouched.
Found while inspecting the victory capture at reduced size: focal enemy name
plates displayed raw keys like [content.enemy.E-R1-F2-V1]. Two real bugs:
1. Only 3 of the 9 battle enemies had UI text keys; UiText.t returns "[key]"
on a miss. Added the 5 missing names (zh_CN + en_US) sourced from the
authoritative mvp_launch_content.json (Bandit Scout, Stone Golem, Goblin
Bomber, Storm Sprite, Void Cultist). Added a HUD guard so any future miss
falls back to the bare content id instead of a bracketed raw key.
2. GameRoot._start_active_wave hardcoded _battle.setup("zh_CN", ...); setup()
uses that to reset the HUD locale, so English players saw Chinese enemy
names in battle. Pass the shell locale instead.
enemy_name_test.gd (12 plates across 3 nodes x 2 locales) asserts no raw keys,
no empty names, and ASCII names under en_US. Registered as full-gate step
"enemy name plates". Added 360/430 victory captures for viewport coverage of
the new ribbon (visual check clean). Full gate P2_CHECKS_PASS, bundle sync PASS.
prototype/ stays untracked and untouched.
Phase A1 of PRODUCTION/47 release-readiness roadmap. Owner asked to keep
optimizing toward a shippable state without stopping; a durable staged roadmap
now records honest stage (vertical slice), evidence levels, ranked gaps and
owner/device/release gates that cannot be passed locally.
Dedicated victory presentation (game_root.gd): full-node victory now shows a
chest ribbon "region · node N cleared", "expedition success", a rolling gold
number, a crystal chip, and a new-ally chip (e.g. H04 on N02), with a static
final value under reduced motion. Replaces the generic dialog that was reused
by every modal. New text keys in both locales.
Two real bugs found and fixed while capturing the real player path:
- battle_scene.gd showed its own result modal even with use_external_progress
(GameRoot path), stacking an untranslated raw-key dialog on top of the
celebration. It now only renders its own modal in stand-alone/debug runs.
- BattleScene HUD lives in a CanvasLayer (layer 0), which draws above plain
Controls regardless of tree order, so GameRoot's victory/defeat/event modal
was hidden behind the battle canvas during combat. GameRoot modals now live
in a layer=10 CanvasLayer and render on top.
capture_runner.gd gains a real GameRoot victory shot (p3a_victory_390_zh_CN).
reward_celebration_test.gd now also asserts the region-clear ribbon and the
new-ally chip (5 stages). Full gate P2_CHECKS_PASS, log audit clean. Visual
verdict stays agent_visual_reviewed; appeal and feel remain a human gate.
prototype/ stays untracked and untouched.
PRODUCTION/44 named a next falsifying test: at the busiest representative
state (five enemies plus a flooded damage-number pool), does feedback still
avoid priority state values? Implemented run_busy_state_test.sh with a
geometric probe over every live floating number against all enemy plates,
timer bar and manual controls, plus a real-render capture.
The first attempt at fanning stacked numbers (vertical stagger) actually
pushed them INTO the nameplate band (167px^2 overlap); the geometric test
caught it and I reverted to a sprite-above band with horizontal drift only.
The authoritative anti-goal is covering state values (HP/shield/countdown/
buttons), not the sprite itself, so numbers over the sprite are correct.
Final result: 0px^2 overlap with 16 numbers live, pool capped, reduced-motion
propagates. The busy capture was agent-visually reviewed: focus stays on the
enemy target and its plate stays readable.
tools/run_p2_checks.sh now runs 26 gates; all pass, including parity, pacing,
feedback, log audit and the full capture matrix. Honest open item: stacked
numbers in synchronous injection still cluster; real feel needs a human
recording.
GameRoot had 40 player-facing Chinese literals hardcoded, which broke the
seven-locale architecture from ADR-009 and meant the en_US table was never
actually reachable. Every string now comes from a key in both ship locales.
The text validator reports 61 distinct keys referenced from scripts and all
present in both tables.
The Archive tab now opens a real settings page: language toggle, low-power
toggle and a mute flag. Language switching propagates to the header, page
labels, settings rows, note and the live battle HUD. Low power is wired to
the battle scene and therefore to VFX frame stepping.
The first English capture exposed that labels built once in _ready() did not
update on locale change; the title, settings rows and note are now refreshed
through the same path as the buttons. Captures include the settings page in
both locales.
tools/run_p2_checks.sh still runs 15 gates; all pass.
Event nodes N04 and N07 now present two bounded options (immediate gold versus
permanent crystal) instead of silently granting gold. The data lives with the
rest of the launch content, the strings are keyed in both ship locales, and an
event-choice flow test verifies two options, the reward, and completion.
The modal stacks its actions vertically: two 220px buttons overflowed the
390px viewport and clipped the second choice.
Chapter balance is now measured rather than assumed. tools/simulate_chapter.py
plays all ten nodes with two profiles: the minimum-effort profile clears 9/10
(N08 needs taps), and the active profile clears 10/10 including the boss. That
is the evidence that manual input changes the outcome and that the chapter is
completable. The boss HP scale bug found by this simulation was fixed earlier.
tools/run_p2_checks.sh still runs 15 gates; all pass.
The 6/10/1/10 content was frozen in the data pack but never reached a running
game. This adds the full chapter and the shell that makes it playable.
Content. tools/build_launch_content.py turns the data pack's relative enemy
stats into data/mvp_launch_content.json with explicit per-node HP scales and
wave composition. The simulator accepts per-scenario enemy specs and an HP
scale; P2 scenarios carry neither, so the 300-result parity gate still passes.
Progression. ProfileStore owns the durable profile (schema 2, atomic write,
corrupt fallback, claim-once). GameRoot routes skyport -> map -> battle ->
result -> map. Only recruited heroes contribute roster DPS, so unlocking H04
at node 2 and spending gold on upgrades actually make the next battle stronger
-- the core CH fantasy that was missing when every hero counted from the start.
Three real defects surfaced while testing the loop and were fixed: P3a nodes
fell back to N01's reward id (so a second clear was silently de-duplicated),
the visible-roster set ignored unlocks, and the test itself read duration from
the live state where only the result document has that field.
tools/run_p2_checks.sh now runs 14 gates; all pass. P3a loop test drives two
nodes, reward, unlock and save/reload. The capture matrix includes the skyport
and map pages. Open gates remain the real-device and human ones.
VFX. The three feedback effects existed only as IDs in the contract. They
are now generated as low-resolution transparent sprite sheets (16/32/64px,
hard pixel clusters, nearest filtering) with their own manifest. VfxView
advances frame indices without interpolation, finishes deterministically, and
drops intermediate frames in low-power mode while keeping the final state.
The battle scene maps authoritative sim events to effects: shield_break,
cast_ultimate and hit. Feedback can no longer disagree with the simulation.
Node caps. The stage now clamps visible enemies to five and visible heroes to
five, with a test that supplies seven enemies and six heroes, checks the real
node counts and verifies stale nodes are released when content shrinks.
tools/run_p2_checks.sh now runs 13 gates; all pass. PRODUCTION/38 records
P2-VFX-01 and the node-count portion of P2-BAT-03 as PASS, so P2 local
acceptance is complete. Open gates are the real-device ones (safe-area inset,
frame time, memory, heat) plus human comprehension and willingness to
continue; no local automation can grant those.
Numbers. The paper runner (tools/mvp_validation_sim.py) and the Godot
runtime adapter were two independent rewrites of the same rules and had
drifted: seed derivation, damage order, the weakness rule and the shield
rebuild semantics all differed, so the runtime never actually reproduced
the paper numbers and P2-BAT-01 could never pass.
- add data/mvp_battle_rules.json as the single source of balance data and
of the per-run seed derivation, read by both engines
- derive the efficiency factor from SHA-256 (48-bit prefix) so Python and
GDScript land on the same float64
- port the paper semantics into battle_sim.gd and expose the simulation as
a stepwise state machine so a live scene can drive it at 1x/2x/3x
- add tools/mvp_parity_gate.py: diffs 300 results field by field, event
log by event log, and exits non-zero on any difference
- freeze data/mvp_validation_seed_reference.json so unapproved numeric
drift fails the gate
- note that GDScript's roundf() is half-away-from-zero while Python's
round() is banker's rounding; the runtime uses String.num instead
UI. The sample had no real UI carrier, no localization and no touch path,
so the NinePatch, dynamic text, safe area and input cases had nothing to
be proven against.
- add the battle HUD, laid out from the contract table rather than container
stretch ratios, reproducing the 390x844 rectangles exactly and adapting
360x800 / 430x932 with the stage kept as priority space
- add runtime text tables for zh_CN and en_US and a key validator that
proves both locales carry the same keys and every content id has a string
- add NinePatch frames with a 6px border band and 6px cut corners
- add the live battle scene, the capture runner and the 1x/2x/3x
equivalence test
tools/run_p2_checks.sh runs the nine gates in one command; all pass.