docs(p9.8): close contract state step

This commit is contained in:
2026-08-15 09:07:03 +08:00
parent e8b5817767
commit 5f428de04b
3 changed files with 42 additions and 8 deletions
+12 -3
View File
@@ -1,7 +1,7 @@
# P9.8 First Contract Completion Implementation Plan
> Status: `ACTIVE`
> Active step: `P9.8-STEP-2 CONTRACT STATE AND SAVE`
> Active step: `P9.8-STEP-3 ROUNDS 8-12`
> Baseline: `dc5a74ebb4b59d944fe303c80fb3410ba79fd9b6`
> Goal: `docs/goals/PHASE9_8_FIRST_CONTRACT_COMPLETION_GOAL.md`
> Contract: `docs/runtime/PHASE9_8_FIRST_CONTRACT_COMPLETION_CONTRACT.md`
@@ -22,8 +22,8 @@ verified, committed and pushed without pausing for routine authorization.
|---|---|---|---|
| P9.8-STEP-0 Contract | `COMPLETE` | Exact first-Contract scope and terminal are frozen. | Goal, contract, plan, checkpoint and ledger pushed. |
| P9.8-STEP-1 Content authority | `COMPLETE` | Markets 8-12, Artifact, promotion and boss objects resolve from deterministic validated data. | Source `3a26827`; content/schema tests and P9.7 regressions pass strict-clean. |
| P9.8-STEP-2 Contract state and save | `IN_PROGRESS` | P9.7 save migrates to v3 and all new decisions commit atomically. | Domain/persistence tests pass. |
| P9.8-STEP-3 Rounds 8-12 | `PENDING` | Five escalating Rounds reach capacity 10 and fixed Boss Muster. | Round counterfactual/settlement tests pass. |
| P9.8-STEP-2 Contract state and save | `COMPLETE` | P9.7 save migrates to v3 and all new decisions commit atomically. | Source `e8b5817`; domain/persistence and P9.7 regressions pass strict-clean. |
| P9.8-STEP-3 Rounds 8-12 | `IN_PROGRESS` | Five escalating Rounds reach capacity 10 and fixed Boss Muster. | Round counterfactual/settlement tests pass. |
| P9.8-STEP-4 Artifact and promotion | `PENDING` | One shared Artifact and one Recruit promotion visibly change battle grammar. | Choice/counterfactual tests pass. |
| P9.8-STEP-5 Boss and run close | `PENDING` | Both boss plans, defeat/recovery and exactly-once persistent clear work. | Boss/save/run-close tests pass. |
| P9.8-STEP-6 Complete runtime evidence | `PENDING` | The entire Contract is playable by touch with readable motion and results. | Full flow, five profiles, layouts, recording and regression pass. |
@@ -152,3 +152,12 @@ COMMIT: docs-only closure after immutable delivery.
Inventory SHA-256 is
`891818839515fff0b1a75540e7eaea024dfcb8e288758f72a8dff34a0ab329a6`
and covers 5/5 entries.
- Step 2 source `e8b5817` adds isolated P9.8 state/service/save-v3 modules.
Exact P9.7 Market 8 migrates with Company, inventory, HP and histories intact;
v0/v1 remain on preserved P9.7 authority, Artifact and promotion transactions
are idempotent, and interrupted v3 encounters restore the exact pre-battle
Market with zero offline rewards.
- Fresh Git-archive evidence at `/private/tmp/abg-p98-e8b5817-step2-r1/`
passes six P9.8/P9.7 markers with strict diagnostics zero. Inventory SHA-256
is `f76903db141a6e11d69cfa6b1999912c6e28207105abfb05e25d856c024fea9c`
and covers 8/8 entries.