docs(runtime): activate risk board controller migration
This commit is contained in:
+18
-11
@@ -13,17 +13,16 @@
|
||||
|
||||
## Current State
|
||||
|
||||
- Stage: `M22_READINESS_CONTROLLER_PILOT_COMPLETE`
|
||||
- Active implementation step: none. M22-D is complete at source `ab83290`:
|
||||
focused Readiness/controller verification, normal captures and the full MVP
|
||||
handoff pass with exact-once markers, strict diagnostics `0` and owned
|
||||
workspace/process cleanup. M22-A is complete at source `0098b5b`; M22-B is
|
||||
complete at source `6647b05`; M22-C is complete at source `ab83290`. M21-D
|
||||
is complete at source `0c44800`; M20 is closed and no new implementation
|
||||
step is active.
|
||||
- Stage: `M23_RISK_BOARD_CONTROLLER_PILOT`
|
||||
- Active implementation step: `M23-A` (`IN_PROGRESS`) — plan and boundary
|
||||
activation for the Risk Board Controller/View migration. M22-D is complete
|
||||
at source `ab83290`: focused Readiness/controller verification, normal
|
||||
captures and the full MVP handoff pass with exact-once markers, strict
|
||||
diagnostics `0` and owned workspace/process cleanup. M22-A is complete at
|
||||
source `0098b5b`; M22-B is complete at source `6647b05`; M22-C is complete
|
||||
at source `ab83290`. M21-D is complete at source `0c44800`; M20 is closed.
|
||||
(M14 repository cleanup and M15 Runtime Foundation remain complete.)
|
||||
- Latest durable plan (complete):
|
||||
`docs/plans/M22_READINESS_CONTROLLER_PILOT.md`
|
||||
- Active durable plan: `docs/plans/M23_RISK_BOARD_CONTROLLER_PILOT.md`
|
||||
- M15 scope was limited to an additive shared service/UI foundation and a
|
||||
Settings integration pilot. No mass page rewrite, gameplay change, asset
|
||||
generation, cleanup, packaging or release work was authorized by this plan.
|
||||
@@ -113,6 +112,12 @@
|
||||
`100%` frames, `zh_CN`/`en`, `760x360`, `844x390`, `1280x720`, strict
|
||||
diagnostics `0`, archive SHA-256
|
||||
`7693816157e45f7c09eea8e5fe2609c4b3a9a9843eb98de0767ea8f5f5abfca2`).
|
||||
- M23 is now the bounded Risk Board Controller migration. Its activation plan
|
||||
is `docs/plans/M23_RISK_BOARD_CONTROLLER_PILOT.md`; `M23-A` is active before
|
||||
any Risk Board product code changes. The scope is limited to copied frozen
|
||||
Party/option view data, selection normalization and Review eligibility;
|
||||
accepted RSK-001 composition, input, focus, Risk Commitment navigation and
|
||||
persistence semantics remain frozen.
|
||||
- M16-B is complete at source `c8af889`: `ABGCompanyPageController` and
|
||||
`ABG_M16_COMPANY_PAGES_OK` centralize copied roster/detail facts and
|
||||
dismissal eligibility without Godot-node or persistence dependencies.
|
||||
@@ -1312,7 +1317,9 @@ the accepted PTY-002 View integration, focused DEV-4 candidate and full
|
||||
source-bound MVP audit all pass with exact-once markers, strict diagnostics
|
||||
`0`, 24 focused normal `100%` frames, 128 normal MVP frames and owned
|
||||
workspace cleanup. There is no active next implementation step; a later
|
||||
architecture seam or product change requires a new durable plan.
|
||||
architecture seam or product change requires a new durable plan. M23 Risk
|
||||
Board Controller Pilot is now active at `M23-A`; its pushed activation boundary
|
||||
is the next stopping point before Risk Board product code changes.
|
||||
Second-cycle systems/content, broader region/endgame production,
|
||||
device/package/store/release and human comprehension/fun gates remain outside
|
||||
this milestone and require their own explicitly activated durable plan.
|
||||
|
||||
@@ -0,0 +1,124 @@
|
||||
# M23 Risk Board Controller Pilot
|
||||
|
||||
## Status
|
||||
|
||||
- Plan: `M23_RISK_BOARD_CONTROLLER_PILOT`
|
||||
- Status: `IN_PROGRESS`
|
||||
- Activated: 2026-08-25
|
||||
- Baseline: `9ae160c` (`M22_READINESS_CONTROLLER_PILOT_COMPLETE`)
|
||||
- Owner authorization: the Owner authorized direct migration to the new code
|
||||
architecture; this is the next smallest first-cycle seam after Readiness.
|
||||
|
||||
## Objective
|
||||
|
||||
Move the first-cycle Risk Board view-data boundary onto an explicit,
|
||||
UI-independent controller while preserving the accepted RSK-001 composition,
|
||||
the frozen four-member party, three sourced risk options, local selection,
|
||||
Review boundary and `FormationRiskService`/Risk Commitment semantics. This is
|
||||
a structural Controller/View migration, not a risk-rule or visual redesign.
|
||||
|
||||
## Player/System Stopping Point
|
||||
|
||||
- Risk Board opens only from the authoritative accepted-party snapshot and
|
||||
keeps the same three sourced options, no-auto-selection state and local
|
||||
selection behavior;
|
||||
- the controller owns copied Company/Contract facts, frozen Recruit/position
|
||||
facts, relation/coverage/first-threat facts, option comparison facts,
|
||||
selection normalization and Review eligibility;
|
||||
- the existing Risk Board View keeps its accepted RSK-001 composition, static
|
||||
master, node names, hit areas, focus order, localization helpers, tooltips
|
||||
and callbacks;
|
||||
- Risk Commitment remains the next-page authority and no risk/battle receipt
|
||||
is created by this controller or page;
|
||||
- no accepted page, route, visual, input, economy, Save or risk rule changes.
|
||||
|
||||
## Architecture Contract
|
||||
|
||||
```text
|
||||
Readiness / FormationRiskService snapshot
|
||||
-> RiskBoardPageController (view-data assembly)
|
||||
-> RiskBoardViewData (deep-copied snapshot)
|
||||
-> Existing Godot RSK-001 Risk Board View composition
|
||||
-> Existing local selection / Risk Commitment commands
|
||||
```
|
||||
|
||||
The controller receives Company, Formation, local selected option and locale.
|
||||
It validates the ready formation boundary, deep-copies all 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 risk selection,
|
||||
commitment, battle or Save rules.
|
||||
|
||||
## Ordered Steps
|
||||
|
||||
### M23-A — Plan and boundary (`IN_PROGRESS`)
|
||||
|
||||
- Record the Risk Board stopping point, invariants and forbidden scope.
|
||||
- Inventory the current accepted-snapshot, option, selection, Review and focus
|
||||
branches before product code changes.
|
||||
- Commit and push this activation boundary before Risk Board product code.
|
||||
|
||||
Closure: the activation commit records the bounded Risk Board Controller/View
|
||||
migration, its frozen RSK-001 and downstream Risk Commitment invariants and
|
||||
its forbidden scope before any Risk Board product code changes.
|
||||
|
||||
### M23-B — Additive controller (`PENDING`)
|
||||
|
||||
Add `runtime/entry/risk_board_page_controller.gd` and a focused test covering:
|
||||
|
||||
- missing/invalid Company, Contract, ready Formation and accepted snapshot;
|
||||
- copied frozen Party/Recruit facts, position IDs and relation/coverage facts;
|
||||
- exactly three sourced option facts and deep-copy isolation;
|
||||
- selected-option normalization and no-auto-selection behavior;
|
||||
- Review/Back/Settings command eligibility and selection state.
|
||||
|
||||
### M23-C — View integration (`PENDING`)
|
||||
|
||||
- Inject one controller through Entry Shell/AppServices.
|
||||
- Make Risk Board rendering and summary facts consume controller output.
|
||||
- Preserve the accepted RSK-001 visual composition, node names, focus,
|
||||
touch targets, localization and callbacks.
|
||||
- Keep local selection, Risk Commitment navigation and all persistence/service
|
||||
calls unchanged.
|
||||
|
||||
### M23-D — Verification and handoff (`PENDING`)
|
||||
|
||||
- Run the focused controller, Risk, Readiness, Party, Guild, Market and Hire
|
||||
regressions.
|
||||
- Run normal `100%` Risk Board 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.
|
||||
|
||||
## Frozen Scope
|
||||
|
||||
- No visual redesign or new assets/audio/animation.
|
||||
- No changes to `FormationRiskService`, risk projections, Risk Commitment,
|
||||
battle receipts, Company, Contract, Save or economy semantics.
|
||||
- No migration of Risk Commitment, Battle, Result or Recovery pages in this
|
||||
plan.
|
||||
- No automatic recommendation or selection policy.
|
||||
- No mass rewrite or deletion of compatibility/history files.
|
||||
- No packaging, signing, store or release work.
|
||||
|
||||
## Acceptance Checks
|
||||
|
||||
- `ABG_M23_RISK_BOARD_CONTROLLER_OK` exactly once.
|
||||
- Existing `ABG_DEV4_RISK_OK`, Readiness, Party, Guild, Market and Hire
|
||||
markers remain green.
|
||||
- Normal `100%` Risk Board captures, 48px targets, no-auto-selection,
|
||||
selected Review, same-route focus and Settings return context remain green.
|
||||
- `ABG_MVP_FIRST_CYCLE_AUDIT_OK` remains green.
|
||||
|
||||
## Commit Boundaries
|
||||
|
||||
- `M23-A`: plan/checkpoint activation.
|
||||
- `M23-B`: controller and focused unit test.
|
||||
- `M23-C`: Entry Shell integration.
|
||||
- `M23-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 M23 RISK BOARD CONTROLLER MIGRATION READY`
|
||||
Reference in New Issue
Block a user