Files
aetherbound-guild/docs/runtime/M38_RISK_BOARD_PAGE_VIEW_VISUAL_AUDIT.md
T
2026-08-26 01:19:56 +08:00

4.9 KiB

M38 Risk Board Page View — Source-Bound Audit

Scope

RSK-001 Risk Board was extracted from entry_shell.gd into the passive UI-only ABGRiskBoardPageView. The View owns the normalized 16:9 canvas, static master, frozen Party header, three option columns, compact fact rows, focus order and local presentation. EntryShell remains the composition root and translates only deferred select_risk, review, back and settings intents. ABGRiskBoardPageController remains the authority for copied Party, coverage, option, selection and command facts.

The migration preserves the accepted M23 Risk Board. It does not alter Risk, Formation, Battle, settlement, Economy, Save, localization or input semantics. Normal 100% landscape is the visual scope; 130% text scale is not a gate.

Source-bound evidence

All formal attempts used tools/run_test_attempt.py with an immutable archive of source 948291d726af2466bb3a0c5e49eb120b9912e770, owned HOME/cache/TMP roots, strict diagnostics and complete process-group cleanup.

Check Attempt Result
View contract m38-risk-board-view-contract-source-bound / 20260825T170834Z-16666 PASS; ABG_M38_RISK_BOARD_VIEW_CONTRACT_OK exactly once; strict diagnostics 0; workspace removed
Controller and route regressions m38-risk-board-regression-source-bound / 20260825T170912Z-17181 PASS; View, M23 controller, DEV-4 Foundation/Party/Readiness/Risk, RSK-002, DEV-5 Opening/UI and M12 markers exactly once; strict diagnostics 0; workspace removed
DEV-4 candidate m38-dev4-candidate-source-bound / 20260825T171026Z-18460 PASS; ABG_DEV4_CANDIDATE_SUITE_OK exactly once; 24 normal frames; parsed touch; strict diagnostics 0; evidence archive SHA-256 1f4a0895aff14f6d097699401685e1f72b9953158fb4931bef83dd68d62f7b03
Normal Risk Board capture set m38-risk-board-capture-source-bound-100 / 20260825T171655Z-25135 PASS; ABG_M38_RISK_BOARD_CAPTURE_SET_OK exactly once; 24 retained frames with four Risk Board fixtures at text scale 100%; strict diagnostics 0; evidence archive SHA-256 c9faed9e9dfb612e40ff5552184910635abe12c51ea4ac45aee05ea8cfec4a44
MVP first-cycle audit m38-mvp-audit / 20260825T171235Z-20568 PASS; ABG_MVP_FIRST_CYCLE_AUDIT_OK exactly once; 180 evidence files and 128 normal 100% frames; zh_CN/en; 760x360, 844x390, 1280x720; strict diagnostics 0; evidence archive SHA-256 51a5df969bdd1d44c9d6476bd85e208a79e01d546531b17a62362f669685344a

The focused contract and regression attempts retained no evidence archive; their complete terminal logs and exact marker counts remain in the compact attempt journals under /private/tmp/aetherbound-guild-test-evidence/.

Visual equivalence

The four M38 Risk Board captures from the source-bound normal capture archive were compared with the M23 baseline archive m23-mvp-audit/20260825T064958Z-84412 (source 8ac91f2). Comparison was byte-level decoded image content, with zero changed pixels and no diff bounding box in every fixture.

Fixture M23 baseline SHA-256 M38 SHA-256 Equal
760x360 zh_CN ee996eb69f49c17f83c5dbd8c23897ee25ccc479bc1f9497616764da96c67cbd ee996eb69f49c17f83c5dbd8c23897ee25ccc479bc1f9497616764da96c67cbd yes
844x390 en 50f32b9ffce663cef60afc9e11621ad18ee01bc005961121664fa8abef8fbe0a 50f32b9ffce663cef60afc9e11621ad18ee01bc005961121664fa8abef8fbe0a yes
1280x720 zh_CN 969196baa011b3134b1551d312d9c487caf56cb643c26fe8248eb2a9aa774dca 969196baa011b3134b1551d312d9c487caf56cb643c26fe8248eb2a9aa774dca yes
1280x720 en 29cf02baf93966f59a9461a69729629f8419daef8146c2ccc871d9377633b7d3 29cf02baf93966f59a9461a69729629f8419daef8146c2ccc871d9377633b7d3 yes

This is a structural equivalence check, not a replacement for Owner visual acceptance.

Boundary audit

  • ABGRiskBoardPageView imports only the passive View base, UI-only InitialCompanyArt and the approved RSK-001 static master.
  • The View owns Godot nodes, normalized layout, focus, local localization, portrait presentation and formatting; it emits only the four named intents.
  • It has no FormationRiskService, Save, RuntimeContentRegistry, compatibility-facade, current_screen or EntryShell-global dependency.
  • EntryShell retains Risk Board snapshot acquisition, local selection, Risk Commitment handoff, settings caller context and route/service semantics.
  • The option fact icon is attached to its option Button before return; this keeps the extracted tree ownership-complete and strict Godot diagnostics at zero.
  • Deferred intent wiring preserves the existing touch/focus behavior during page replacement.

Remaining scope

M38 closes only Risk Board. Risk Commitment, Market, Guild, Battle and later Views remain outside this plan and require separate owner-authorized plans. No packaging, iOS export, signing, deployment, store or release work is included.