7.7 KiB
M26 Battle Live Controller Pilot
Status
- Plan:
M26_BATTLE_LIVE_CONTROLLER_PILOT - Status:
COMPLETE - Activated: 2026-08-25
- Baseline:
59cba62(M25_BATTLE_OPENING_CONTROLLER_PILOT_COMPLETE) - Owner authorization: the Owner requested continuation after M25 closure and authorized the next bounded architecture seam without changing accepted gameplay or presentation.
Objective
Move the first-cycle BAT-002 Live Battle view-data boundary onto an explicit, UI-independent controller while preserving the accepted automatic-observation field, event/timeline states, diagnostic controls, interruption boundary and immutable OUT-001 handoff. This is a structural Controller/View migration, not a battle-rule, timing or visual redesign.
Player/System Stopping Point
- Live Battle opens only from the authoritative observation receipt and keeps the same waiting/event/outcome/interruption state semantics;
- the controller owns copied Company/Contract facts, battle and observation identity, frozen Party/enemy facts, current/recent event facts, playback state, interruption/error facts and command eligibility;
- the existing BAT-002 View keeps its accepted field/rail art, static layout, node names, hit areas, focus order, localization helpers, tooltips and callbacks;
BattleService.preview_observation,commit_observationand the existing receipt/OUT-001/BAT-003..006 boundaries remain the only transaction and handoff authorities;- no accepted page, route, visual, input, economy, Save or Battle rule changes.
Architecture Contract
BattleService observation snapshot + transient playback facts
-> BattleLivePageController (view-data assembly)
-> BattleLiveViewData (deep-copied snapshot)
-> Existing Godot BAT-002 View composition
-> Existing playback / inspect / pause / interruption commands
The controller receives Company, Battle, observation, current event, state,
resume, interruption, error and notice facts. It validates the active
observation boundary, deep-copies returned facts and exposes only view state
and command eligibility. It never loads, saves or mutates persistence and
never accesses Godot nodes, current_screen, facade or Entry Shell globals.
It does not duplicate observation, timeline, settlement, recovery or handoff
rules.
Ordered Steps
M26-A — Plan and boundary (IN_PROGRESS)
- Record the BAT-002 Live Battle stopping point, invariants and forbidden scope.
- Inventory waiting/event/paused/inspect/outcome/interruption/error branches, receipt identity and BAT-003..006/OUT-001 handoffs before product code.
- Commit and push this activation boundary before Live Battle product code.
M26-B — Additive controller (COMPLETE)
Add runtime/entry/battle_live_page_controller.gd and a focused test covering:
- missing/invalid Company, active Battle and observation boundaries;
- copied battle/receipt/observation identity, frozen Party/enemy facts, current event and recent-event facts;
- waiting/event-resolved/paused/inspect/outcome/interrupted/invalid states;
- pause/speed/inspect/settings/next-boundary/retry/safe-exit eligibility and deep-copy isolation.
Closure: source 31ed44f adds ABGBattleLivePageController and its focused
ABG_M26_BATTLE_LIVE_CONTROLLER_OK test. The controller validates the active
observation/receipt boundary, copies Company/Contract, battle, observation,
Party, enemy, current/recent event, playback, interruption and error facts,
classifies waiting/event/paused/inspect/outcome/interrupted/invalid states and
exposes diagnostic command eligibility without Godot-node, persistence or
BattleService transaction dependencies. The source-bound focused attempt is
/private/tmp/aetherbound-guild-test-evidence/m26-battle-live-controller-focused/20260825T101026Z-61009
with exact-once marker, strict diagnostics 0, owned workspace/process
cleanup. This focused unit attempt emits no retained image/artifact files;
its result.json and command.log retain the exact-once marker and
source-bound revision.
M26-C — View integration (COMPLETE)
- Inject one controller through Entry Shell/AppServices.
- Make BAT-002 rendering and summary/diagnostic facts consume controller output.
- Preserve the accepted field/rail presentation, node names, focus, touch targets, localization and callbacks.
- Keep all BattleService preview/commit, receipt, settlement and handoff calls unchanged.
Closure: source 37b5032 injects the controller through Entry Shell/
AppServices, refreshes copied BattleLiveViewData at every render boundary and
makes the accepted BAT-002 art, top controls, field facts, bottom boundary and
BAT-003/004 overlays consume controller-owned battle, observation, Party,
enemy, event, playback and command data. BattleService preview/commit,
receipt, settlement and handoff semantics remain unchanged. The focused
source-bound integration attempt is
/private/tmp/aetherbound-guild-test-evidence/m26-battle-live-focused/20260825T101937Z-69933
with 51 evidence files, exact-once ABG_M26_BATTLE_LIVE_CONTROLLER_OK,
ABG_DEV5_BATTLE_UI_OK and ABG_DEV5_CANDIDATE_SUITE_OK markers, strict
diagnostics 0, observation/BAT-003/004 regressions and owned
workspace/process cleanup. Its archive SHA-256 is
961dcc73e3abeb7b8ce420e582f838fe3abceb1c39b7048a5d650b379aeebefd.
M26-D — Verification and handoff (COMPLETE)
- Run the focused controller, BAT-002, BAT-003/004, observation, BAT-001, Risk Commitment, Risk, Readiness, Party, Guild, Market and Hire regressions.
- Run normal
100%Live Battle captures at the required landscape fixtures. - Run the full MVP first-cycle audit and require strict diagnostics
0. - Close with a focused pushed commit and update the checkpoint.
Closure: the source-bound full MVP first-cycle audit from source 2c872f9
passes ABG_MVP_FIRST_CYCLE_AUDIT_OK exactly once with 180 evidence files,
128 normal 100% frames across zh_CN/en and 760x360, 844x390,
1280x720, strict diagnostics 0, parsed touch coverage, restart-to-Market
and owned workspace/process cleanup. The retained archive is
/private/tmp/aetherbound-guild-test-evidence/m26-mvp-audit/20260825T102223Z-72665
with archive SHA-256
cf905fbf5f03301d0078e619b1abc40e352204a25e82a952d25172849bd05df5.
M26 closes without changing BAT-002 presentation, observation/timeline
semantics, interruption boundaries, handoffs or any later page.
Frozen Scope
- No visual redesign or new assets/audio/animation.
- No changes to
BattleService, observation/timeline rules, battle receipts, settlement, reward, recovery, Risk Commitment, FormationRiskService, Company, Contract, Save or economy semantics. - No migration of Battle Result, Knockout, Reward or Recovery pages in this plan.
- No time advancement, auto-play policy, interruption policy or new handoff policy.
- No mass rewrite or deletion of compatibility/history files.
- No packaging, signing, store or release work.
Acceptance Checks
ABG_M26_BATTLE_LIVE_CONTROLLER_OKexactly once.- Existing
ABG_DEV5_BATTLE_UI_OK, observation, BAT-003/004, BAT-001, Risk Commitment, Risk, Readiness, Party, Guild, Market and Hire markers remain green. - Normal
100%Live Battle captures, 48px targets, explicit pause/speed/ inspect boundaries, interruption retry/safe-exit behavior and OUT-001 handoff remain green. ABG_MVP_FIRST_CYCLE_AUDIT_OKremains green.
Commit Boundaries
M26-A: plan/checkpoint activation.M26-B: controller and focused unit test.M26-C: Entry Shell integration.M26-D: evidence and closure.
Each boundary must pass its narrowest focused checks and be pushed before the
next step becomes IN_PROGRESS; a failed check keeps the current step active.
Final Handoff
ABG M26 BATTLE LIVE CONTROLLER MIGRATION READY