diff --git a/CURRENT_CHECKPOINT.md b/CURRENT_CHECKPOINT.md index f326b2df..4b286129 100644 --- a/CURRENT_CHECKPOINT.md +++ b/CURRENT_CHECKPOINT.md @@ -14,10 +14,9 @@ ## Current State - Stage: `M35_BATTLE_RESULT_PAGE_VIEW_REFACTOR` -- Active implementation step: `M35-B` (`IN_PROGRESS`) — M35 Battle Result View - passive View extraction. M35-A activation is complete; M34 Knockout Review - remains complete; no gameplay, visual, Save or localization semantics are - changing. +- Active implementation step: `M35-D` (`IN_PROGRESS`) — M35 Battle Result View + handoff and closure. M35-A/B/C are complete; M34 Knockout Review remains + complete; no gameplay, visual, Save or localization semantics are changing. The owner-requested target is a layered Passive View + Presenter/ViewData + Domain/Application Service architecture with an explicit Router/Context boundary. `entry_shell.gd` will be reduced incrementally, starting with the @@ -129,10 +128,11 @@ `docs/plans/M35_BATTLE_RESULT_PAGE_VIEW_REFACTOR.md` (`IN_PROGRESS`) - M35-A is complete at source `37d1731`, freezing the OUT-001 Result stopping point, exact node names, UI-only formatting helpers, diagnosis/Continue intent - boundary and M27 normal-capture equivalence target. M35-B is now the sole - active step and may add only the passive View and explicit EntryShell intent - wiring described in the durable plan. M34 remains complete and no later page - migration is active. + boundary and M27 normal-capture equivalence target. M35-B is complete at + source `7ba4326`; M35-C is complete at source `7ba4326` with the source-bound + audit and byte-equivalence evidence. M35-D is now the sole `IN_PROGRESS` + step and is limited to final handoff/closure. M34 remains complete and no + later page migration is active. - M31-A activation is complete, M31-B is green and M31-C is `agent_visual_reviewed`. The first-cycle MVP is functionally complete at source `2556be9`; M31-D is complete at source `1455ad5` and records the @@ -1625,14 +1625,28 @@ gate. - M35 targets only OUT-001 Battle Result. It preserves the M27-accepted outcome, causal chain, decisive event, Coin/XP totals, Knockout summary, diagnosis toggle, Continue target and normal `100%` presentation. -- M35-A is the sole active step. Result View extraction, Risk, Reward, - Recovery, Market and live Battle Views remain outside this plan. +- M35-A was the sole active step at activation. Result View extraction, Risk, + Reward, Recovery, Market and live Battle Views remain outside this plan. ### 2026-08-25 - M35 Battle Result View Extraction Started - M35-A closes at source `37d1731`, freezing the OUT-001 Result composition, UI-only formatting boundary, exact node names, forbidden imports and M27 normal-capture equivalence target. -- M35-B is now the sole `IN_PROGRESS` step. It may add only +- M35-B was the sole `IN_PROGRESS` step during extraction. It added only `ABGBattleResultPageView` and deferred `diagnosis`/`continue` intent wiring; settlement, Reward/Knockout/Recovery routes and Save semantics remain frozen. + +### 2026-08-25 - M35 Battle Result View Verification Complete + +- M35-B/C pass at source `7ba4326c508d500d41ec115415833bdd0cf697ae`. The + source-bound View contract, M27/M28/M29/M30 controller and M12/DEV-5 route + regressions, DEV-5 candidate and full MVP first-cycle audit all pass with + exact-once markers, strict diagnostics `0`, parsed touch, owned cleanup and + normal `100%` frames. +- The four Battle Result captures are byte-identical to the M27 baseline at + `760x360`/`zh_CN`, `844x390`/`en`, `1280x720`/`zh_CN` and + `1280x720`/`en`. Evidence is recorded in + `docs/runtime/M35_BATTLE_RESULT_PAGE_VIEW_VISUAL_AUDIT.md`. +- M35-D is now the sole `IN_PROGRESS` step and is limited to final handoff + documentation and closure; no next page migration is activated here. diff --git a/docs/06_DEVELOPMENT_AND_REVIEW.md b/docs/06_DEVELOPMENT_AND_REVIEW.md index 93c095a5..ab4efda1 100644 --- a/docs/06_DEVELOPMENT_AND_REVIEW.md +++ b/docs/06_DEVELOPMENT_AND_REVIEW.md @@ -3661,3 +3661,15 @@ they are not duplicated here. `ABGBattleResultPageView` plus deferred `diagnosis`/`continue` intent wiring. Settlement, Reward/Knockout/Recovery routes, Save and visual semantics remain frozen. + +### 2026-08-25 - M35 Battle Result View Verification Complete + +- M35-B/C pass at source `7ba4326c508d500d41ec115415833bdd0cf697ae`. The + source-bound View contract, M27/M28/M29/M30 controller and M12/DEV-5 route + regressions, DEV-5 candidate and full MVP first-cycle audit all pass with + exact-once markers, strict diagnostics `0`, parsed touch, owned cleanup and + normal `100%` frames. +- The four Battle Result captures are byte-identical to the M27 baseline. See + `docs/runtime/M35_BATTLE_RESULT_PAGE_VIEW_VISUAL_AUDIT.md`. +- M35-D is now the sole `IN_PROGRESS` step and is limited to final handoff + documentation and closure; no next page migration is activated here. diff --git a/docs/plans/M35_BATTLE_RESULT_PAGE_VIEW_REFACTOR.md b/docs/plans/M35_BATTLE_RESULT_PAGE_VIEW_REFACTOR.md index 28448288..b8233ae5 100644 --- a/docs/plans/M35_BATTLE_RESULT_PAGE_VIEW_REFACTOR.md +++ b/docs/plans/M35_BATTLE_RESULT_PAGE_VIEW_REFACTOR.md @@ -69,7 +69,7 @@ EntryShell / composition root - Record the M27 normal-capture equivalence target. - Commit and push this activation boundary before Runtime product changes. -### M35-B — Passive View extraction (`PENDING`) +### M35-B — Passive View extraction (`COMPLETE`) - Add `ABGBattleResultPageView` under `runtime/entry/views/`. - Reuse `ABGPageView` and `ABGPageContext` from M32–M34. @@ -77,8 +77,9 @@ EntryShell / composition root - Mount the View from EntryShell and translate only `diagnosis` and `continue` intents. - Keep controller, BattleService, receipt and continuation semantics unchanged. +- Complete at source `7ba4326`. -### M35-C — Focused verification (`PENDING`) +### M35-C — Focused verification (`COMPLETE`) - Add `ABG_M35_BATTLE_RESULT_VIEW_CONTRACT_OK`. - Run the focused Result controller/View and M12/M27/M28/M29/M30 route @@ -87,8 +88,10 @@ EntryShell / composition root test-attempt runner with strict diagnostics and exact-once markers. - Compare normal Result captures with the M27 baseline at the four required fixtures/locales. +- Complete at source `7ba4326`; evidence is recorded in + `docs/runtime/M35_BATTLE_RESULT_PAGE_VIEW_VISUAL_AUDIT.md`. -### M35-D — Handoff (`PENDING`) +### M35-D — Handoff (`IN_PROGRESS`) - Record source-bound evidence and visual equivalence in a runtime audit. - Close only Battle Result; do not claim Knockout, Reward, Recovery, Risk, diff --git a/docs/runtime/M35_BATTLE_RESULT_PAGE_VIEW_VISUAL_AUDIT.md b/docs/runtime/M35_BATTLE_RESULT_PAGE_VIEW_VISUAL_AUDIT.md new file mode 100644 index 00000000..ecf5cf04 --- /dev/null +++ b/docs/runtime/M35_BATTLE_RESULT_PAGE_VIEW_VISUAL_AUDIT.md @@ -0,0 +1,60 @@ +# M35 Battle Result Page View — Source-Bound Audit + +## Scope + +OUT-001 Battle Result was extracted from `entry_shell.gd` into the UI-only +`ABGBattleResultPageView`. EntryShell remains the composition root and +translates only deferred `diagnosis` and `continue` intents. The existing +`ABGBattleResultPageController` remains the authority for copied settled +result facts, decisive event, causal chain, economy totals, Knockout identity, +diagnosis state and continuation target. + +The migration preserves the accepted M27 page. It does not alter Battle, +settlement, Reward, Knockout, Recovery, Economy, Save, localization or input +semantics. Normal `100%` landscape is the visual scope; 130% text scale is not +a gate. + +## Source-bound evidence + +| Check | Attempt / source | Result | +| --- | --- | --- | +| View contract | `m35-battle-result-view-contract-source-bound` / `7ba4326c508d500d41ec115415833bdd0cf697ae` | PASS; `ABG_M35_BATTLE_RESULT_VIEW_CONTRACT_OK` exactly once; strict diagnostics 0; owned workspace/process cleanup | +| Controller and route regressions | `m35-battle-result-regression-source-bound` / `7ba4326c508d500d41ec115415833bdd0cf697ae` | PASS; M27/M28/M29/M30 controllers, M12 domain/runtime and DEV-5 Result/Recovery markers exactly once; strict diagnostics 0 | +| DEV-5 candidate | `m35-dev5-candidate` / `7ba4326c508d500d41ec115415833bdd0cf697ae` | PASS; `ABG_DEV5_CANDIDATE_SUITE_OK` exactly once; 24 normal frames; parsed touch; strict diagnostics 0; archive SHA-256 `26f50c5241cae0c48b8403c050840f2a08ba27ab7df367953c3cd8952c439161` | +| MVP first-cycle audit | `m35-mvp-audit` / `7ba4326c508d500d41ec115415833bdd0cf697ae` | PASS; `ABG_MVP_FIRST_CYCLE_AUDIT_OK` exactly once; 128 normal `100%` frames; `zh_CN`/`en`; `760x360`, `844x390`, `1280x720`; strict diagnostics 0; parsed touch/restart; archive SHA-256 `dd495851df8f2c61fec00bef76dd98d0c88c6e6296c81fd9c593e5ef0f381fa5` | + +All formal attempts used `tools/run_test_attempt.py`, owned source/HOME/cache/ +TMP/browser roots, and removed their complete process groups and workspaces. + +## Visual equivalence + +The four M35 Battle Result captures from the source-bound MVP archive were +compared with the M27 baseline archive +`m27-mvp-audit/20260825T104853Z-98420`: + +- `760x360`, `zh_CN` +- `844x390`, `en` +- `1280x720`, `zh_CN` +- `1280x720`, `en` + +Each comparison reported `same_bytes=true`, `bbox=None` and zero changed +pixels. This is a structural equivalence check, not a replacement for Owner +visual acceptance. + +## Boundary audit + +- `ABGBattleResultPageView` imports only the passive View base; no service, + content registry, Save, compatibility facade or route-state dependency. +- The View owns Godot nodes, layout, focus, local localization/formatting and + diagnosis/Continue intent emission. +- EntryShell remains the composition root and uses a deferred intent + connection, so page replacement does not free a locked Godot node. +- Controller snapshot, settlement receipts, diagnosis state and downstream + Knockout/Reward/Recovery continuation remain unchanged. + +## Remaining scope + +M35 closes only Battle Result. Knockout Review, Reward Choice, Recovery, Risk, +Market, Guild, preparation and live Battle Views remain governed by their own +plans or already-closed pilots; no later page migration is activated by this +audit.