diff --git a/.agent-taskgraph/DECISIONS.md b/.agent-taskgraph/DECISIONS.md index 3addef2c..8611a2e6 100644 --- a/.agent-taskgraph/DECISIONS.md +++ b/.agent-taskgraph/DECISIONS.md @@ -18,3 +18,10 @@ - 五个结果页统一为“发生了什么 / 为什么 / 决定造成的差异 / 现在改变了 / 下一步”;玩法规格供值,UI 不重新计算。 - Foundation 与后续并行路径以技术架构最终目录为准,不再使用 `runtime/*/foundation/` 占位路径。 - Owner 重申当前任务付费图片无需逐次批准;仅限 P9.1 首战/诊断代表性视觉切片,最多 4 次付费调用且总额不超过 USD 5(含重试),保留任务 ID、成本和 hash。 + +## 2026-08-13 / P9.1 Foundation 基线纠正 + +- Foundation 在零产品改动下证明 `p9.1-contract-r1` 的 26 脚本清单错误:首个旧测试仍依赖当前 R10 已无的 `game.run`。 +- R10 完成记录与保留 summary SHA-256 `3de791bb6da14be19d97c194368cd14bc8bfb906013470e81b6e12da83736bf7` 明确列出 22 个权威脚本。 +- `p9.1-contract-r2` 只恢复这 22 个脚本;三个旧 Opening/Market `game.run` 测试和未列入 R10 summary 的 R3 dynamic 脚本保持原样并排除,不通过修改旧断言制造绿灯。 +- 原 terminal 归类为 `INVALID_CONTRACT_BASELINE`,不是产品 FAIL;同一角色/会话在新 context/identity ACK 后从 Step 0 重新开始。 diff --git a/.agent-taskgraph/STATUS.md b/.agent-taskgraph/STATUS.md index ad556e35..81556c69 100644 --- a/.agent-taskgraph/STATUS.md +++ b/.agent-taskgraph/STATUS.md @@ -3,7 +3,7 @@ | 任务 ID | 标题 | 状态 | 负责人 | 轮次 | 最后更新 | 卡点 | |---|---|---|---|---|---|---| -| ABG-P9.1-RUNTIME-FOUNDATION | P9.1 behavior-equivalent runtime foundation extraction | active | p91-runtime-foundation-developer | product 1 / recovery 2 | 2026-08-13T01:41:00Z | HAPI c70ab47f exact attempt-2 ACK; activation fast-forward pending | +| ABG-P9.1-RUNTIME-FOUNDATION | P9.1 behavior-equivalent runtime foundation extraction | active | p91-runtime-foundation-developer | product 1 / recovery 3 | 2026-08-13T02:04:00Z | zero-write INVALID_CONTRACT_BASELINE; contract corrected to accepted 22-test authority; fresh ACK pending | | ABG-P9.1-VISUAL-SLICE | P9.1 representative first-battle visual slice | active | p91-ux-visual-designer | product 1 / recovery 2 | 2026-08-13T01:41:00Z | HAPI 6395e268 exact attempt-2 ACK; activation fast-forward pending | diff --git a/.agent-taskgraph/graph.yaml b/.agent-taskgraph/graph.yaml index 6bb03d0e..c9d643b5 100644 --- a/.agent-taskgraph/graph.yaml +++ b/.agent-taskgraph/graph.yaml @@ -1,7 +1,7 @@ version: 1 batch: id: "abg-p9-1-continuous-development-01" - revision: "graph-p9.1-r2" + revision: "graph-p9.1-r3" spec: ".agent-taskgraph/spec.md" spec_revision: "p9.1-spec-r2" approved_by: "Owner" @@ -69,7 +69,7 @@ nodes: consumes: ["docs/runtime/PHASE9_1_ARBITRARY_PARTY_FIRST_SESSION_CONTRACT.md", "P9.0R10 fixed runtime source"] produces: ["runtime/domain/p9_1/session_state.gd", "runtime/domain/p9_1/session_service.gd", "runtime/domain/p9_1/battle_fixture.gd", "runtime/presentation/", "runtime/ui/session_presenter.gd", "runtime/ui/widgets.gd", "runtime/compat/p9_0_root_facade.gd"] writes: ["runtime/main.gd", "runtime/domain/p9_1/contracts.gd", "runtime/domain/p9_1/session_state.gd", "runtime/domain/p9_1/session_service.gd", "runtime/domain/p9_1/battle_fixture.gd", "runtime/presentation/", "runtime/ui/session_presenter.gd", "runtime/ui/widgets.gd", "runtime/compat/p9_0_root_facade.gd"] - acceptance: ["P9.0R1-R10 declared behavior remains equivalent", "Shared state has one owner", "Parallel extension APIs compile and are covered"] + acceptance: ["The exact accepted 22-script P9.0R10 summary remains green", "P9.0R1-R10 declared behavior remains equivalent", "Shared state has one owner", "Parallel extension APIs compile and are covered"] on_pass: "p91_domain_implementation" on_fail: "failed" max_attempts: 2 diff --git a/.agent-taskgraph/manifests/ABG-P9.1-RUNTIME-FOUNDATION.json b/.agent-taskgraph/manifests/ABG-P9.1-RUNTIME-FOUNDATION.json index c4ae585d..b6bc4df0 100644 --- a/.agent-taskgraph/manifests/ABG-P9.1-RUNTIME-FOUNDATION.json +++ b/.agent-taskgraph/manifests/ABG-P9.1-RUNTIME-FOUNDATION.json @@ -5,7 +5,7 @@ "baseline": "0121015594b2da4b1c6e451cc8adeeeebb812320", "branch": "agent/abg-p91-runtime-foundation", "worktree": "/Users/wusumac/Documents/game/tmp/aetherbound-guild-worktrees/p91-runtime-foundation", - "frozen_spec": ".agent-taskgraph/spec.md revision p9.1-spec-r2; docs/runtime/PHASE9_1_ARBITRARY_PARTY_FIRST_SESSION_CONTRACT.md revision p9.1-contract-r1", + "frozen_spec": ".agent-taskgraph/spec.md revision p9.1-spec-r2; docs/runtime/PHASE9_1_ARBITRARY_PARTY_FIRST_SESSION_CONTRACT.md revision p9.1-contract-r2", "graph_node": ".agent-taskgraph/graph.yaml#p91_runtime_foundation", "context_revision": "p91-runtime-foundation-r1", "context_mode": "deep", @@ -13,7 +13,7 @@ {"path": "AGENTS.md", "revision": "0121015", "reason": "repository execution, evidence and release boundaries"}, {"path": ".agent-taskgraph/PROJECT.md", "revision": "p9.1 profile", "reason": "confirmed runtime, model and write ownership"}, {"path": ".agent-taskgraph/spec.md", "revision": "p9.1-spec-r2", "reason": "frozen stage topology and scope"}, - {"path": "docs/runtime/PHASE9_1_ARBITRARY_PARTY_FIRST_SESSION_CONTRACT.md", "revision": "p9.1-contract-r1", "reason": "reconciled foundation paths, APIs and exact regression gate"}, + {"path": "docs/runtime/PHASE9_1_ARBITRARY_PARTY_FIRST_SESSION_CONTRACT.md", "revision": "p9.1-contract-r2", "reason": "reconciled foundation paths, APIs and exact accepted 22-script regression gate"}, {"path": "docs/runtime/p9_1/RUNTIME_ARCHITECTURE_SPEC.md", "revision": "7bc871d", "reason": "detailed extraction order and rollback criteria"}, {"path": "runtime/main.gd", "revision": "41204ac product authority", "reason": "accepted monolithic runtime to extract behavior-equivalently"}, {"path": "runtime/tests/", "revision": "P9.0R1-R10 accepted", "reason": "exact contract-listed regressions and facade seams"}, @@ -26,7 +26,7 @@ "runtime_requested": {"runtime": "hapi", "flavor": "codex", "model": "gpt-5.6-sol", "effort": "xhigh", "permission": "yolo", "visibility": "visible"}, "objective": "Behavior-equivalently extract the architect-defined P9.1 foundation from runtime/main.gd, keep one mutable source of truth, preserve the complete accepted P9.0R1-R10 surface, and leave stable disjoint APIs for later domain, UI and test workers.", "needs": ["p91_spec_integration"], - "consumes": ["p9.1-contract-r1", "P9.0R10 fixed runtime source", "exact 26-script regression manifest"], + "consumes": ["p9.1-contract-r2", "P9.0R10 fixed runtime source", "exact accepted 22-script R10 regression manifest"], "produces": ["architect-defined foundation files and clean pushed foundation candidate"], "writes": ["runtime/main.gd", "runtime/domain/p9_1/contracts.gd", "runtime/domain/p9_1/session_state.gd", "runtime/domain/p9_1/session_service.gd", "runtime/domain/p9_1/battle_fixture.gd", "runtime/presentation/", "runtime/ui/session_presenter.gd", "runtime/ui/widgets.gd", "runtime/compat/p9_0_root_facade.gd"], "pass_route": "p91_domain_implementation", @@ -37,7 +37,7 @@ "[ ] Extract battle clock, animation, audio, feedback, presenter and widgets without changing accepted values, timing, pixels or input behavior", "[ ] Keep main.gd as a thin RuntimeShell/facade and add no P9.1-only gameplay branch", "[ ] Leave old run_state.gd and old p9_1_* tests unchanged and excluded from the foundation pass claim", - "[ ] Run the exact 26 contract-listed scripts serially with unique markers and strict diagnostics zero", + "[ ] Run the exact 22 contract-listed R10 scripts serially with unique markers and strict diagnostics zero", "[ ] Rerun the four named 844x390 presentation regressions and compare accepted behavior", "[ ] Commit and push only the owned paths; worktree clean/upstream; no owned process remains" ], diff --git a/.agent-taskgraph/queue/active/ABG-P9.1-RUNTIME-FOUNDATION/context.md b/.agent-taskgraph/queue/active/ABG-P9.1-RUNTIME-FOUNDATION/context.md index 457f42e4..b5a82aab 100644 --- a/.agent-taskgraph/queue/active/ABG-P9.1-RUNTIME-FOUNDATION/context.md +++ b/.agent-taskgraph/queue/active/ABG-P9.1-RUNTIME-FOUNDATION/context.md @@ -1,7 +1,7 @@ # Context Manifest: ABG-P9.1-RUNTIME-FOUNDATION > Task ID: `ABG-P9.1-RUNTIME-FOUNDATION` -> Revision: `p91-runtime-foundation-r2` +> Revision: `p91-runtime-foundation-r3` > Mode: `deep` > Budget exception: `none` @@ -12,7 +12,7 @@ | `AGENTS.md` | 0121015 | repository execution, evidence and release boundaries | | `.agent-taskgraph/PROJECT.md` | p9.1 profile | confirmed runtime, model and write ownership | | `.agent-taskgraph/spec.md` | p9.1-spec-r2 | frozen stage topology and scope | -| `docs/runtime/PHASE9_1_ARBITRARY_PARTY_FIRST_SESSION_CONTRACT.md` | p9.1-contract-r1 | reconciled foundation paths, APIs and exact regression gate | +| `docs/runtime/PHASE9_1_ARBITRARY_PARTY_FIRST_SESSION_CONTRACT.md` | p9.1-contract-r2 | reconciled foundation paths, APIs and exact accepted 22-script regression gate | | `docs/runtime/p9_1/RUNTIME_ARCHITECTURE_SPEC.md` | 7bc871d | detailed extraction order and rollback criteria | | `runtime/main.gd` | 41204ac product authority | accepted monolithic runtime to extract behavior-equivalently | | `runtime/tests/` | P9.0R1-R10 accepted | exact contract-listed regressions and facade seams | @@ -28,3 +28,4 @@ - 2026-08-13T01:31:53+00:00: structured pre-dispatch manifest created. - 2026-08-13T01:36:00+00:00: attempt-1 stopped before implementation because the worker branch predated its queue Goal; zero writes. PMO authorized only a fast-forward to the current dispatch closure and a fresh identity ACK. +- 2026-08-13T02:04:00+00:00: product attempt remained zero-write and correctly terminaled on a PMO contract error. R10 retained authority proves exactly 22 scripts (summary SHA-256 `3de791bb...`); old `game.run` tests and non-authoritative R3 dynamic were removed from the foundation gate without editing them. diff --git a/.agent-taskgraph/queue/active/ABG-P9.1-RUNTIME-FOUNDATION/dispatch.md b/.agent-taskgraph/queue/active/ABG-P9.1-RUNTIME-FOUNDATION/dispatch.md index 8e2ddda7..27893064 100644 --- a/.agent-taskgraph/queue/active/ABG-P9.1-RUNTIME-FOUNDATION/dispatch.md +++ b/.agent-taskgraph/queue/active/ABG-P9.1-RUNTIME-FOUNDATION/dispatch.md @@ -3,19 +3,19 @@ | Field | Value | |---|---| | Task ID | ABG-P9.1-RUNTIME-FOUNDATION | -| Dispatch ID | dispatch:ABG-P9.1-RUNTIME-FOUNDATION:attempt-2 | +| Dispatch ID | dispatch:ABG-P9.1-RUNTIME-FOUNDATION:attempt-3 | | Role ref | role:p91-runtime-foundation-developer | | Role profile | roles/p91-runtime-foundation-developer/ROLE.md | | Role lifecycle | persistent | | Team revision | rev-p9.1-1 | | Goal ref | task:ABG-P9.1-RUNTIME-FOUNDATION | | Context manifest | context.md | -| Context revision | p91-runtime-foundation-r2 | -| Continuity | same verified HAPI session after zero-edit attempt-1 IDENTITY_BLOCKED exposed a stale worktree baseline; worktree is fast-forwarded before retry | +| Context revision | p91-runtime-foundation-r3 | +| Continuity | same HAPI session after zero-write INVALID_CONTRACT_BASELINE; PMO corrected only the frozen test manifest from invented 26 to retained-authority 22 | | Session ID | c70ab47f-b764-42a1-b4b5-2eab342e8b25 | -| Expected identity ACK | IDENTITY_READY dispatch_id=dispatch:ABG-P9.1-RUNTIME-FOUNDATION:attempt-2 role=role:p91-runtime-foundation-developer team_revision=rev-p9.1-1 goal=task:ABG-P9.1-RUNTIME-FOUNDATION context_revision=p91-runtime-foundation-r2 | -| Delivery | SENT: dispatch:ABG-P9.1-RUNTIME-FOUNDATION:attempt-2 via HAPI c70ab47f after pre-redispatch verification 1c19c2bb | -| Identity ACK | VERIFIED: IDENTITY_READY dispatch_id=dispatch:ABG-P9.1-RUNTIME-FOUNDATION:attempt-2 role=role:p91-runtime-foundation-developer team_revision=rev-p9.1-1 goal=task:ABG-P9.1-RUNTIME-FOUNDATION context_revision=p91-runtime-foundation-r2 | -| ACK evidence | exact standalone agent message observed in HAPI c70ab47f-b764-42a1-b4b5-2eab342e8b25 after clean worktree fast-forward; attempt-1 remains zero-edit IDENTITY_BLOCKED history | +| Expected identity ACK | IDENTITY_READY dispatch_id=dispatch:ABG-P9.1-RUNTIME-FOUNDATION:attempt-3 role=role:p91-runtime-foundation-developer team_revision=rev-p9.1-1 goal=task:ABG-P9.1-RUNTIME-FOUNDATION context_revision=p91-runtime-foundation-r3 | +| Delivery | NOT_SENT | +| Identity ACK | PENDING | +| ACK evidence | attempt-2 terminal retained as zero-write INVALID_CONTRACT_BASELINE; attempt-3 pending contract-r2 fast-forward and fresh ACK | Read Role, PROJECT, context, Goal and direct evidence in that order. Return the exact identity ACK before executing the Goal. diff --git a/.agent-taskgraph/queue/active/ABG-P9.1-RUNTIME-FOUNDATION/goal.md b/.agent-taskgraph/queue/active/ABG-P9.1-RUNTIME-FOUNDATION/goal.md index e5f1cd52..53953969 100644 --- a/.agent-taskgraph/queue/active/ABG-P9.1-RUNTIME-FOUNDATION/goal.md +++ b/.agent-taskgraph/queue/active/ABG-P9.1-RUNTIME-FOUNDATION/goal.md @@ -4,11 +4,11 @@ > Started: 2026-08-13T01:31:53+00:00 > Task ID: `ABG-P9.1-RUNTIME-FOUNDATION` > Baseline: `0121015594b2da4b1c6e451cc8adeeeebb812320; branch=agent/abg-p91-runtime-foundation; clean` -> Frozen spec: `.agent-taskgraph/spec.md revision p9.1-spec-r2; docs/runtime/PHASE9_1_ARBITRARY_PARTY_FIRST_SESSION_CONTRACT.md revision p9.1-contract-r1` +> Frozen spec: `.agent-taskgraph/spec.md revision p9.1-spec-r2; docs/runtime/PHASE9_1_ARBITRARY_PARTY_FIRST_SESSION_CONTRACT.md revision p9.1-contract-r2` > Graph node: `.agent-taskgraph/graph.yaml#p91_runtime_foundation` > Independent contract: 不适用 > Context manifest: `context.md` -> Context revision: `p91-runtime-foundation-r2` +> Context revision: `p91-runtime-foundation-r3` > Legal terminal: **ABG-P9.1-RUNTIME-FOUNDATION candidate ready** 或 **ABG-P9.1-RUNTIME-FOUNDATION redesign required: <最早失败边界>** ## Objective @@ -18,7 +18,7 @@ Behavior-equivalently extract the architect-defined P9.1 foundation from runtime ## 图输入、输出与写入范围 - 直接依赖(needs):p91_spec_integration -- 必须读取(consumes):p9.1-contract-r1, P9.0R10 fixed runtime source, exact 26-script regression manifest +- 必须读取(consumes):p9.1-contract-r2, P9.0R10 fixed runtime source, exact accepted 22-script R10 regression manifest - 必须产出(produces):architect-defined foundation files and clean pushed foundation candidate - 唯一写入范围(writes):runtime/main.gd, runtime/domain/p9_1/contracts.gd, runtime/domain/p9_1/session_state.gd, runtime/domain/p9_1/session_service.gd, runtime/domain/p9_1/battle_fixture.gd, runtime/presentation/, runtime/ui/session_presenter.gd, runtime/ui/widgets.gd, runtime/compat/p9_0_root_facade.gd - 路由:PASS -> p91_domain_implementation;FAIL -> failed;最大尝试 2 @@ -52,7 +52,7 @@ Behavior-equivalently extract the architect-defined P9.1 foundation from runtime - [ ] Extract battle clock, animation, audio, feedback, presenter and widgets without changing accepted values, timing, pixels or input behavior - [ ] Keep main.gd as a thin RuntimeShell/facade and add no P9.1-only gameplay branch - [ ] Leave old run_state.gd and old p9_1_* tests unchanged and excluded from the foundation pass claim -- [ ] Run the exact 26 contract-listed scripts serially with unique markers and strict diagnostics zero +- [ ] Run the exact 22 contract-listed R10 scripts serially with unique markers and strict diagnostics zero - [ ] Rerun the four named 844x390 presentation regressions and compare accepted behavior - [ ] Commit and push only the owned paths; worktree clean/upstream; no owned process remains diff --git a/.agent-taskgraph/queue/active/ABG-P9.1-RUNTIME-FOUNDATION/ledger.md b/.agent-taskgraph/queue/active/ABG-P9.1-RUNTIME-FOUNDATION/ledger.md index 49cc35e9..408944b6 100644 --- a/.agent-taskgraph/queue/active/ABG-P9.1-RUNTIME-FOUNDATION/ledger.md +++ b/.agent-taskgraph/queue/active/ABG-P9.1-RUNTIME-FOUNDATION/ledger.md @@ -6,24 +6,24 @@ | Goal ref | task:ABG-P9.1-RUNTIME-FOUNDATION | | Goal current path | queue/active/ABG-P9.1-RUNTIME-FOUNDATION/goal.md | | Context manifest | context.md | -| Context revision | p91-runtime-foundation-r2 | +| Context revision | p91-runtime-foundation-r3 | | Role ref | role:p91-runtime-foundation-developer | | Role lifecycle | persistent | | Role profile | roles/p91-runtime-foundation-developer/ROLE.md | | Role continuity | same verified HAPI session after zero-edit attempt-1 IDENTITY_BLOCKED exposed a stale worktree baseline; worktree is fast-forwarded before retry | | Reviewer Role ref | PENDING | | Reviewer Role profile | PENDING | -| Frozen spec | .agent-taskgraph/spec.md revision p9.1-spec-r2; docs/runtime/PHASE9_1_ARBITRARY_PARTY_FIRST_SESSION_CONTRACT.md revision p9.1-contract-r1 | +| Frozen spec | .agent-taskgraph/spec.md revision p9.1-spec-r2; docs/runtime/PHASE9_1_ARBITRARY_PARTY_FIRST_SESSION_CONTRACT.md revision p9.1-contract-r2 | | Graph node | .agent-taskgraph/graph.yaml#p91_runtime_foundation | | 依赖/路由 | needs: p91_spec_integration; PASS -> p91_domain_implementation; FAIL -> failed; max_attempts=2 | | 状态 | active | | 负责人 | p91-runtime-foundation-developer | | 分配理由 | 职责匹配 | -| 轮次 | product 1; dispatch recovery 2 | +| 轮次 | product 1; dispatch recovery 3; prior product work zero-write | | 开始时间 | 2026-08-13T01:31:53+00:00 | | 最后更新 | 2026-08-13T01:41:00+00:00 | -| 验收结果 | PENDING | -| 日志指针 | PENDING | +| 验收结果 | PMO contract correction pending fresh identity; prior redesign terminal reclassified INVALID_CONTRACT_BASELINE | +| 日志指针 | /tmp/abg-p91-foundation-baseline-efffb7b/logs/p9_0_boot_title_test.log; retained R10 summary SHA-256 3de791bb6da14be19d97c194368cd14bc8bfb906013470e81b6e12da83736bf7 | | Runtime requested | runtime=hapi; flavor=codex; model=gpt-5.6-sol; effort=xhigh; permission=yolo; visibility=visible | | Runtime observed | runtime=hapi; flavor=codex; model=gpt-5.6-sol; effort=xhigh; permission=yolo; visibility=visible | | Runtime verification | VERIFIED | @@ -46,3 +46,4 @@ Prepared from task-manifest.json. Do not hand-edit field names. | 2026-08-13T01:32:48+00:00 | inbox -> inbox | PMO | HAPI runtime VERIFIED; correct cwd/model/effort/yolo; zero-message watermark | commit binding and send Role bootstrap | | 2026-08-13T01:36:00+00:00 | inbox -> inbox | PMO | attempt-1 IDENTITY_BLOCKED: worker branch predated queue Goal; both worktree and product paths clean | fast-forward branch, verify, send attempt-2 bootstrap | | 2026-08-13T01:41:00+00:00 | inbox -> active | PMO | HAPI c70ab47f exact attempt-2 IDENTITY_READY after pre-redispatch VERIFIED | fast-forward activation commit, then execute Goal | +| 2026-08-13T02:04:00+00:00 | active -> active | PMO | zero-write terminal exposed PMO's 26-script contract error; retained R10 summary proves exact 22 scripts | freeze contract-r2, require fresh attempt-3 identity, rerun Step 0 | diff --git a/.agent-taskgraph/queue/active/ABG-P9.1-RUNTIME-FOUNDATION/task-manifest.json b/.agent-taskgraph/queue/active/ABG-P9.1-RUNTIME-FOUNDATION/task-manifest.json index f792e220..160b3424 100644 --- a/.agent-taskgraph/queue/active/ABG-P9.1-RUNTIME-FOUNDATION/task-manifest.json +++ b/.agent-taskgraph/queue/active/ABG-P9.1-RUNTIME-FOUNDATION/task-manifest.json @@ -5,7 +5,7 @@ "baseline": "0121015594b2da4b1c6e451cc8adeeeebb812320", "branch": "agent/abg-p91-runtime-foundation", "worktree": "/Users/wusumac/Documents/game/tmp/aetherbound-guild-worktrees/p91-runtime-foundation", - "frozen_spec": ".agent-taskgraph/spec.md revision p9.1-spec-r2; docs/runtime/PHASE9_1_ARBITRARY_PARTY_FIRST_SESSION_CONTRACT.md revision p9.1-contract-r1", + "frozen_spec": ".agent-taskgraph/spec.md revision p9.1-spec-r2; docs/runtime/PHASE9_1_ARBITRARY_PARTY_FIRST_SESSION_CONTRACT.md revision p9.1-contract-r2", "graph_node": ".agent-taskgraph/graph.yaml#p91_runtime_foundation", "context_revision": "p91-runtime-foundation-r1", "context_mode": "deep", @@ -27,8 +27,8 @@ }, { "path": "docs/runtime/PHASE9_1_ARBITRARY_PARTY_FIRST_SESSION_CONTRACT.md", - "revision": "p9.1-contract-r1", - "reason": "reconciled foundation paths, APIs and exact regression gate" + "revision": "p9.1-contract-r2", + "reason": "reconciled foundation paths, APIs and exact accepted 22-script regression gate" }, { "path": "docs/runtime/p9_1/RUNTIME_ARCHITECTURE_SPEC.md", @@ -68,9 +68,9 @@ "p91_spec_integration" ], "consumes": [ - "p9.1-contract-r1", + "p9.1-contract-r2", "P9.0R10 fixed runtime source", - "exact 26-script regression manifest" + "exact accepted 22-script R10 regression manifest" ], "produces": [ "architect-defined foundation files and clean pushed foundation candidate" @@ -94,7 +94,7 @@ "[ ] Extract battle clock, animation, audio, feedback, presenter and widgets without changing accepted values, timing, pixels or input behavior", "[ ] Keep main.gd as a thin RuntimeShell/facade and add no P9.1-only gameplay branch", "[ ] Leave old run_state.gd and old p9_1_* tests unchanged and excluded from the foundation pass claim", - "[ ] Run the exact 26 contract-listed scripts serially with unique markers and strict diagnostics zero", + "[ ] Run the exact 22 contract-listed R10 scripts serially with unique markers and strict diagnostics zero", "[ ] Rerun the four named 844x390 presentation regressions and compare accepted behavior", "[ ] Commit and push only the owned paths; worktree clean/upstream; no owned process remains" ], diff --git a/CURRENT_CHECKPOINT.md b/CURRENT_CHECKPOINT.md index 2e3dd936..ff41ae6d 100644 --- a/CURRENT_CHECKPOINT.md +++ b/CURRENT_CHECKPOINT.md @@ -36,9 +36,12 @@ Stage: `P9_1_FOUNDATION_AND_VISUAL_SLICE_PENDING_DISPATCH` P9.1 owns the next bounded runtime milestone. The three expert candidates are integrated and pushed at clean/upstream closure `ed4a9fa`; the frozen authority is `docs/runtime/PHASE9_1_ARBITRARY_PARTY_FIRST_SESSION_CONTRACT.md` revision -`p9.1-contract-r1`. It resolves automatic re-formation, one five-line result -grammar, final architecture paths, the exact 26-test foundation regression list -and disjoint later write scopes. The next gate is exclusive behavior-equivalent +`p9.1-contract-r2`. It resolves automatic re-formation, one five-line result +grammar, final architecture paths, the exact 22-test foundation regression list +and disjoint later write scopes. Contract r2 corrects the foundation baseline +from an invented 26 scripts to the retained R10 authority's exact 22 scripts +(summary SHA-256 `3de791bb...`); no old assertion or product source is changed. +The next gate is exclusive behavior-equivalent foundation extraction plus a non-runtime representative first-battle visual slice. Current-task image generation may proceed without another prompt within four paid calls and USD 5 total including retries. Chapters, bulk content, authoritative diff --git a/docs/reviews/PHASE9_GODOT_VERTICAL_SLICE_LEDGER.md b/docs/reviews/PHASE9_GODOT_VERTICAL_SLICE_LEDGER.md index 36ae73f7..2296bb6f 100644 --- a/docs/reviews/PHASE9_GODOT_VERTICAL_SLICE_LEDGER.md +++ b/docs/reviews/PHASE9_GODOT_VERTICAL_SLICE_LEDGER.md @@ -42,3 +42,4 @@ separate. | 2026-08-13 | product `41204ac`; Gallery `gHS8jEZdGa2x` | `P9_0R10_PAIR_ADAPTATION_H5_PREVIEW_READY` | All six pairs and two equipment choices pass 12 exact paths: safety HP `90/100` at `7.05s`, tempo HP `70/82` at `6.00s`, Coin 20, and actual Farstring ranged, Kindhand healing or second-position Wayrunner counter behavior. Parsed touch is `touch=5 fallback=0 direct=0`; 22 serial R1-R10 tests pass with strict markers zero. Eight `844x390` states pass 44px bounds after a fresh repair for English-130% result overflow. Browser inspection repaired the stale Title front/rear claim before final export. Runtime-only PCK inventory is 227 files with forbidden paths zero; nine-file manifest SHA-256 is `7aef140b95d4c5d5bcc5c5815f4ae02894ee49367a6fbeb87dc07915d258f859`, and remote PCK equals local. Gallery Canvas reaches the corrected Chinese Title with browser diagnostics zero after roughly four-minute cold start. Human comprehension/fun/visual/listening, exceptional-pair post-battle-two support, persistence, device, packaging, stores and release remain open. | | 2026-08-13 | Owner P9.1 TaskGraph authorization from closure `f0b7d7b` | `P9_1_EXPERT_SPEC_WAVE_PENDING_DISPATCH` | Owner authorizes visible parallel game-design, UX/visual, technical-architecture and later developer sessions. Batch `abg-p9-1-continuous-development-01` first freezes three disjoint specifications, then performs exclusive runtime extraction before parallel domain/UI/test implementation, integration, fresh review and H5 publishing. P9.0R10 remains the accepted product source. Runtime code is still frozen at this gate; HAPI control-plane verification and exact identity ACK are required before any expert task becomes active. Chapters, bulk content, paid media, packaging, devices, stores and release remain frozen. | | 2026-08-13 | expert candidates `0a62837`, `43d2d74`, `434656e`; integrated closure `ed4a9fa` | `P9_1_IMPLEMENTATION_CONTRACT_FROZEN` | PMO integrated the six-pair gameplay matrix, 25-frame UX/evidence flow and facade-first runtime architecture into `p9.1-contract-r1`. Reconciled decisions preserve original-member relative order during an explained Guild re-formation, use one five-line causal result grammar, select the architect's final file paths and freeze the exact 26-script foundation regression list. Graph/state validation pass and HEAD is clean/upstream. Owner authorizes the representative first-battle visual slice without another prompt within four paid image calls and USD 5 total including retries; task IDs/cost/hashes are required. Runtime product remains unchanged at this gate. | +| 2026-08-13 | Foundation Step 0 on zero-write source; retained R10 summary `3de791bb...` | `INVALID_CONTRACT_BASELINE_CORRECTED` | The first invented 26-list script still required historical `game.run`, absent from accepted R10 source while both files were unchanged. This is a PMO contract error, not product failure. `p9.1-contract-r2` restores the exact 22 scripts named by retained R10 evidence and keeps the three old Opening/Market tests plus unclaimed R3 dynamic script unchanged and excluded. Foundation requires a fresh context/identity ACK and Step-0 run; no product edit was made or waived. | diff --git a/docs/runtime/PHASE9_1_ARBITRARY_PARTY_FIRST_SESSION_CONTRACT.md b/docs/runtime/PHASE9_1_ARBITRARY_PARTY_FIRST_SESSION_CONTRACT.md index a6c835d4..98833302 100644 --- a/docs/runtime/PHASE9_1_ARBITRARY_PARTY_FIRST_SESSION_CONTRACT.md +++ b/docs/runtime/PHASE9_1_ARBITRARY_PARTY_FIRST_SESSION_CONTRACT.md @@ -1,7 +1,7 @@ # Phase 9.1 Arbitrary-Party First-Session Implementation Contract > Status: `FROZEN` -> Contract revision: `p9.1-contract-r1` +> Contract revision: `p9.1-contract-r2` > Frozen: 2026-08-13 > Accepted predecessor product source: `41204acafa911a505f5b24a493aa032983e706d1` > Predecessor closure: `f0b7d7b0234d8ad304f7b9d39fa99ded1dbfc27d` @@ -203,12 +203,11 @@ owner after foundation. ## 6. Behavior-Equivalent Foundation Gate -The exact non-capture P9.0 regression manifest is: +The exact accepted P9.0R10 regression manifest is the retained 22-test summary +whose SHA-256 is +`3de791bb6da14be19d97c194368cd14bc8bfb906013470e81b6e12da83736bf7`: ```text -p9_0_boot_title_test.gd -p9_0_layout_test.gd -p9_0_touch_test.gd p9_0r1_domain_test.gd p9_0r1_dynamic_slice_test.gd p9_0r1_layout_test.gd @@ -217,7 +216,6 @@ p9_0r2_character_animation_test.gd p9_0r2_dynamic_slice_test.gd p9_0r3_audio_lifecycle_test.gd p9_0r3_battle_feedback_test.gd -p9_0r3_dynamic_slice_test.gd p9_0r4_second_cycle_test.gd p9_0r4_touch_test.gd p9_0r5_first_session_arc_test.gd @@ -234,18 +232,21 @@ p9_0r10_pair_adaptation_test.gd p9_0r10_pair_adaptation_touch_test.gd ``` -The foundation task must run these exact 26 scripts serially from a clean +The foundation task must run these exact 22 scripts serially from a clean import, require each script's unique accepted terminal marker and scan all logs for strict diagnostics. It also reruns the preserved normal-render R8 front door, R9A formation, R10 adaptation, and R3 feedback capture scripts at `844x390` to detect presentation drift. Capture output is development evidence, not a new candidate. -Tracked `runtime/domain/run_state.gd` and the five pre-existing -`runtime/tests/p9_1_*` scripts belong to an older opening/Market lineage. P9.1 -foundation leaves them unchanged and excludes them from its pass claim. A later -integration-only commit may retire or reclassify them only with explicit source -search, replacement coverage and a contract amendment. +Tracked `runtime/domain/run_state.gd`, the five pre-existing +`runtime/tests/p9_1_*` scripts, `p9_0_boot_title_test.gd`, `p9_0_layout_test.gd` +and `p9_0_touch_test.gd` belong to the older opening/Market lineage. The latter +three still require `game.run`, which the accepted R10 runtime no longer exposes. +`p9_0r3_dynamic_slice_test.gd` was not part of the accepted R10 22-test summary. +P9.1 foundation leaves all of these unchanged and excludes them from its pass +claim. A later integration-only commit may retire or reclassify them only with +explicit source search, replacement coverage and a contract amendment. ## 7. P9.1 Implementation And Evidence Gate