diff --git a/.agent-taskgraph/STATUS.md b/.agent-taskgraph/STATUS.md index 9201ebbf..b69589e3 100644 --- a/.agent-taskgraph/STATUS.md +++ b/.agent-taskgraph/STATUS.md @@ -8,6 +8,8 @@ +| ABG-P9.1-FOUNDATION-HARNESS-CLEANUP-H3 | Repair legacy dynamic-slice test cleanup boundary (fresh dispatch) | inbox | p91-test-developer | 1 | now | preparing 0/1: session not created | + ## 当前批次总结 - 批次:`abg-p9-1-continuous-development-01`。 diff --git a/.agent-taskgraph/queue/inbox/ABG-P9.1-FOUNDATION-HARNESS-CLEANUP-H3/context.md b/.agent-taskgraph/queue/inbox/ABG-P9.1-FOUNDATION-HARNESS-CLEANUP-H3/context.md new file mode 100644 index 00000000..a6a9ca54 --- /dev/null +++ b/.agent-taskgraph/queue/inbox/ABG-P9.1-FOUNDATION-HARNESS-CLEANUP-H3/context.md @@ -0,0 +1,28 @@ +# Context Manifest: ABG-P9.1-FOUNDATION-HARNESS-CLEANUP-H3 + +> Task ID: `ABG-P9.1-FOUNDATION-HARNESS-CLEANUP-H3` +> Revision: `p91-foundation-harness-cleanup-h3` +> Mode: `balanced` +> Budget exception: `none` + +## 必须读取(默认不超过 8 项) + +| 路径或稳定引用 | Revision / 范围 | 为什么本 Goal 必须读 | +|---|---|---| +| `AGENTS.md` | f9b1b22 product source | test ownership and evidence boundaries | +| `.agent-taskgraph/PROJECT.md` | P9.1 profile | downstream freeze and HAPI runtime | +| `.agent-taskgraph/spec.md` | p9.1-spec-r2 | frozen milestone scope | +| `docs/runtime/PHASE9_1_ARBITRARY_PARTY_FIRST_SESSION_CONTRACT.md` | p9.1-contract-r2 | strict diagnostics and exact regression authority | +| `.agent-taskgraph/queue/failed/ABG-P9.1-FOUNDATION-ATOMICITY-REVIEW-R7/report.md` | terminal f1cbe276 | row 13 ObjectDB cleanup boundary | +| `runtime/tests/p9_0r1_dynamic_slice_test.gd` | f9b1b22 product source | sole owned test harness file | +| `runtime/tests/p9_0r2_dynamic_slice_test.gd` | f9b1b22 product source | neighboring teardown pattern for comparison | + +## 按需检索(先搜索,再局部读取) + +| 路径/范围 | 触发条件 | 检索提示 | +|---|---|---| +| source tree | Goal 需要实现细节时 | 先 rg,再局部读取 | + +## 最近 Delta + +- 2026-08-13T12:06:34+00:00: structured pre-dispatch manifest created. diff --git a/.agent-taskgraph/queue/inbox/ABG-P9.1-FOUNDATION-HARNESS-CLEANUP-H3/dispatch.md b/.agent-taskgraph/queue/inbox/ABG-P9.1-FOUNDATION-HARNESS-CLEANUP-H3/dispatch.md new file mode 100644 index 00000000..046e8e32 --- /dev/null +++ b/.agent-taskgraph/queue/inbox/ABG-P9.1-FOUNDATION-HARNESS-CLEANUP-H3/dispatch.md @@ -0,0 +1,21 @@ +# Dispatch Bootstrap: ABG-P9.1-FOUNDATION-HARNESS-CLEANUP-H3 + +| Field | Value | +|---|---| +| Task ID | ABG-P9.1-FOUNDATION-HARNESS-CLEANUP-H3 | +| Dispatch ID | dispatch:ABG-P9.1-FOUNDATION-HARNESS-CLEANUP-H3:attempt-1 | +| Role ref | role:p91-test-developer | +| Role profile | roles/p91-test-developer/ROLE.md | +| Role lifecycle | persistent | +| Team revision | rev-p9.1-1 | +| Goal ref | task:ABG-P9.1-FOUNDATION-HARNESS-CLEANUP-H3 | +| Context manifest | context.md | +| Context revision | p91-foundation-harness-cleanup-h3 | +| Continuity | fresh dispatch after H1/H2 identity topology INVALID; no product writes occurred in prior attempts | +| Session ID | PENDING | +| Expected identity ACK | IDENTITY_READY dispatch_id=dispatch:ABG-P9.1-FOUNDATION-HARNESS-CLEANUP-H3:attempt-1 role=role:p91-test-developer team_revision=rev-p9.1-1 goal=task:ABG-P9.1-FOUNDATION-HARNESS-CLEANUP-H3 context_revision=p91-foundation-harness-cleanup-h3 | +| Delivery | NOT_SENT | +| Identity ACK | PENDING | +| ACK evidence | PENDING | + +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/inbox/ABG-P9.1-FOUNDATION-HARNESS-CLEANUP-H3/goal.md b/.agent-taskgraph/queue/inbox/ABG-P9.1-FOUNDATION-HARNESS-CLEANUP-H3/goal.md new file mode 100644 index 00000000..549969de --- /dev/null +++ b/.agent-taskgraph/queue/inbox/ABG-P9.1-FOUNDATION-HARNESS-CLEANUP-H3/goal.md @@ -0,0 +1,72 @@ +# Goal: Repair legacy dynamic-slice test cleanup boundary (fresh dispatch) + +> Stage: foundation-harness-cleanup-hotfix +> Started: 2026-08-13T12:06:34+00:00 +> Task ID: `ABG-P9.1-FOUNDATION-HARNESS-CLEANUP-H3` +> Baseline: `f4cf62cabd17b771c3fca9ab4868b5f730751ba5; branch=agent/abg-p91-test-cleanup-h2b; 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-r2` +> Graph node: `.agent-taskgraph/graph.yaml#p91_foundation_harness_cleanup_h1` +> Independent contract: 不适用 +> Context manifest: `context.md` +> Context revision: `p91-foundation-harness-cleanup-h3` +> Legal terminal: **ABG-P9.1-FOUNDATION-HARNESS-CLEANUP-H3 candidate ready** 或 **ABG-P9.1-FOUNDATION-HARNESS-CLEANUP-H3 redesign required: <最早失败边界>** + +## Objective + +Repair only the legacy p9_0r1 dynamic-slice test teardown so its normal regression exits without ObjectDB/resource cleanup diagnostics. Preserve all functional assertions, marker text, gameplay/runtime source and accepted behavior. Reproduce the warning, make the smallest test-only cleanup change, run focused strict diagnostics, commit and push a clean candidate for fresh independent R8 review. + +## 图输入、输出与写入范围 + +- 直接依赖(needs):p91_foundation_atomicity_h1 candidate f9b1b22; R7 INVALID strict-diagnostics boundary +- 必须读取(consumes):f9b1b22 fixed product source, R7 terminal f1cbe276, p9.1-contract-r2, neighboring accepted teardown tests +- 必须产出(produces):Fresh test-only cleanup candidate +- 唯一写入范围(writes):runtime/tests/p9_0r1_dynamic_slice_test.gd +- 路由:PASS -> p91_foundation_atomicity_review_r8;FAIL -> failed;最大尝试 1 + +## 分配记录 + +- Role ref:`role:p91-test-developer` +- 角色职责:Implement test matrices and repair one legacy teardown harness boundary without changing product code +- 角色生命周期:persistent +- 派给:p91-test-developer +- 分配理由:职责匹配 +- 连续性:fresh dispatch after H1/H2 identity topology INVALID; no product writes occurred in prior attempts +- 工作区:`/Users/wusumac/Documents/game/tmp/aetherbound-guild-worktrees/p91-test-cleanup-h2b`(分支:`agent/abg-p91-test-cleanup-h2b`) +- Runtime requested:`runtime=hapi; flavor=codex; model=gpt-5.6-sol; effort=xhigh; permission=yolo; visibility=visible` +- Runtime observed:`PENDING` +- Runtime verification:`PENDING` +- Session evidence:`PENDING` +- Dispatch bootstrap:`dispatch.md` +- Dispatch message:`NOT_SENT` +- Identity ACK:`PENDING` +- 完整启动方式:派发预览批准后由所选 runtime 控制面生成 + +## 报告协议 + +- 完成、失败或阻塞时通知 PMO,并引用任务号、legal terminal 和证据路径。 +- worker 不修改 PMO 管理的 queue ledger、STATUS 或角色注册表。 + +## 验收标准(证据门) + +- [ ] Reproduce the row-13 ObjectDB/resource cleanup warning on immutable product source +- [ ] Change only runtime/tests/p9_0r1_dynamic_slice_test.gd teardown; preserve marker, assertions and functional flow +- [ ] Focused normal dynamic-slice run has the exact marker and zero strict diagnostics +- [ ] Commit/push one clean/upstream candidate and record source-bound evidence +- [ ] Do not run packaging, H5, device, release or downstream Domain/UI/Test work + +## Frozen(禁止触碰,明确列出) + +- Do not change runtime product code, scenes, assets, values, timing, copy or accepted assertions +- Do not change any file outside the sole test path +- Do not weaken strict diagnostics or delete the test from the regression list +- Do not edit PMO queue, graph, checkpoint, ledger or release files from the worker +- Do not start downstream P9.1 Domain/UI/Test implementation + +## Estimate + +focused reproduction/repair 20-40m; verification 20m; confidence medium + +## 完成时交付 + +- graph 节点约定的 produces +- 验收证据与残余风险 diff --git a/.agent-taskgraph/queue/inbox/ABG-P9.1-FOUNDATION-HARNESS-CLEANUP-H3/ledger.md b/.agent-taskgraph/queue/inbox/ABG-P9.1-FOUNDATION-HARNESS-CLEANUP-H3/ledger.md new file mode 100644 index 00000000..551ac9d9 --- /dev/null +++ b/.agent-taskgraph/queue/inbox/ABG-P9.1-FOUNDATION-HARNESS-CLEANUP-H3/ledger.md @@ -0,0 +1,45 @@ +# 台账记录:ABG-P9.1-FOUNDATION-HARNESS-CLEANUP-H3 + +| 字段 | 值 | +|---|---| +| 任务 ID | ABG-P9.1-FOUNDATION-HARNESS-CLEANUP-H3 | +| Goal ref | task:ABG-P9.1-FOUNDATION-HARNESS-CLEANUP-H3 | +| Goal current path | queue/inbox/ABG-P9.1-FOUNDATION-HARNESS-CLEANUP-H3/goal.md | +| Context manifest | context.md | +| Context revision | p91-foundation-harness-cleanup-h3 | +| Role ref | role:p91-test-developer | +| Role lifecycle | persistent | +| Role profile | roles/p91-test-developer/ROLE.md | +| Role continuity | fresh dispatch after H1/H2 identity topology INVALID; no product writes occurred in prior attempts | +| 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-r2 | +| Graph node | .agent-taskgraph/graph.yaml#p91_foundation_harness_cleanup_h1 | +| 依赖/路由 | needs: p91_foundation_atomicity_h1 candidate f9b1b22; R7 INVALID strict-diagnostics boundary; PASS -> p91_foundation_atomicity_review_r8; FAIL -> failed; max_attempts=1 | +| 状态 | inbox | +| 负责人 | p91-test-developer | +| 分配理由 | 职责匹配 | +| 轮次 | 1 | +| 开始时间 | 2026-08-13T12:06:34+00:00 | +| 最后更新 | 2026-08-13T12:06:34+00:00 | +| 验收结果 | PENDING | +| 日志指针 | PENDING | +| Runtime requested | runtime=hapi; flavor=codex; model=gpt-5.6-sol; effort=xhigh; permission=yolo; visibility=visible | +| Runtime observed | PENDING | +| Runtime verification | PENDING | +| Session ID | PENDING | +| Runtime evidence | PENDING | +| Dispatch bootstrap | dispatch.md | +| Dispatch message | NOT_SENT | +| Identity ACK | PENDING | +| 等待归属 | 在等谁:PMO;等什么:spawn + runtime verification + IDENTITY_READY;静默 5 分钟必须诊断并告知 Owner | + +## 备注 + +Prepared from task-manifest.json. Do not hand-edit field names. + +## 状态转换历史(追加式) + +| 时间 | from -> to | 操作者 | 依据/证据 | 唯一下一步 | +|---|---|---|---|---| +| 2026-08-13T12:06:34+00:00 | created -> inbox | PMO | structured manifest | run pre-dispatch validation | diff --git a/.agent-taskgraph/queue/inbox/ABG-P9.1-FOUNDATION-HARNESS-CLEANUP-H3/task-manifest.json b/.agent-taskgraph/queue/inbox/ABG-P9.1-FOUNDATION-HARNESS-CLEANUP-H3/task-manifest.json new file mode 100644 index 00000000..177f42a2 --- /dev/null +++ b/.agent-taskgraph/queue/inbox/ABG-P9.1-FOUNDATION-HARNESS-CLEANUP-H3/task-manifest.json @@ -0,0 +1,95 @@ +{ + "task_id": "ABG-P9.1-FOUNDATION-HARNESS-CLEANUP-H3", + "title": "Repair legacy dynamic-slice test cleanup boundary (fresh dispatch)", + "stage": "foundation-harness-cleanup-hotfix", + "baseline": "f4cf62cabd17b771c3fca9ab4868b5f730751ba5", + "branch": "agent/abg-p91-test-cleanup-h2b", + "worktree": "/Users/wusumac/Documents/game/tmp/aetherbound-guild-worktrees/p91-test-cleanup-h2b", + "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_foundation_harness_cleanup_h1", + "context_revision": "p91-foundation-harness-cleanup-h3", + "context_mode": "balanced", + "context_items": [ + { + "path": "AGENTS.md", + "revision": "f9b1b22 product source", + "reason": "test ownership and evidence boundaries" + }, + { + "path": ".agent-taskgraph/PROJECT.md", + "revision": "P9.1 profile", + "reason": "downstream freeze and HAPI runtime" + }, + { + "path": ".agent-taskgraph/spec.md", + "revision": "p9.1-spec-r2", + "reason": "frozen milestone scope" + }, + { + "path": "docs/runtime/PHASE9_1_ARBITRARY_PARTY_FIRST_SESSION_CONTRACT.md", + "revision": "p9.1-contract-r2", + "reason": "strict diagnostics and exact regression authority" + }, + { + "path": ".agent-taskgraph/queue/failed/ABG-P9.1-FOUNDATION-ATOMICITY-REVIEW-R7/report.md", + "revision": "terminal f1cbe276", + "reason": "row 13 ObjectDB cleanup boundary" + }, + { + "path": "runtime/tests/p9_0r1_dynamic_slice_test.gd", + "revision": "f9b1b22 product source", + "reason": "sole owned test harness file" + }, + { + "path": "runtime/tests/p9_0r2_dynamic_slice_test.gd", + "revision": "f9b1b22 product source", + "reason": "neighboring teardown pattern for comparison" + } + ], + "role_id": "p91-test-developer", + "role_lifecycle": "persistent", + "role_responsibility": "Implement test matrices and repair one legacy teardown harness boundary without changing product code", + "role_continuity": "fresh dispatch after H1/H2 identity topology INVALID; no product writes occurred in prior attempts", + "runtime_requested": { + "runtime": "hapi", + "flavor": "codex", + "model": "gpt-5.6-sol", + "effort": "xhigh", + "permission": "yolo", + "visibility": "visible" + }, + "objective": "Repair only the legacy p9_0r1 dynamic-slice test teardown so its normal regression exits without ObjectDB/resource cleanup diagnostics. Preserve all functional assertions, marker text, gameplay/runtime source and accepted behavior. Reproduce the warning, make the smallest test-only cleanup change, run focused strict diagnostics, commit and push a clean candidate for fresh independent R8 review.", + "needs": [ + "p91_foundation_atomicity_h1 candidate f9b1b22; R7 INVALID strict-diagnostics boundary" + ], + "consumes": [ + "f9b1b22 fixed product source", + "R7 terminal f1cbe276", + "p9.1-contract-r2", + "neighboring accepted teardown tests" + ], + "produces": [ + "Fresh test-only cleanup candidate" + ], + "writes": [ + "runtime/tests/p9_0r1_dynamic_slice_test.gd" + ], + "pass_route": "p91_foundation_atomicity_review_r8", + "fail_route": "failed", + "max_attempts": 1, + "acceptance": [ + "[ ] Reproduce the row-13 ObjectDB/resource cleanup warning on immutable product source", + "[ ] Change only runtime/tests/p9_0r1_dynamic_slice_test.gd teardown; preserve marker, assertions and functional flow", + "[ ] Focused normal dynamic-slice run has the exact marker and zero strict diagnostics", + "[ ] Commit/push one clean/upstream candidate and record source-bound evidence", + "[ ] Do not run packaging, H5, device, release or downstream Domain/UI/Test work" + ], + "frozen": [ + "Do not change runtime product code, scenes, assets, values, timing, copy or accepted assertions", + "Do not change any file outside the sole test path", + "Do not weaken strict diagnostics or delete the test from the regression list", + "Do not edit PMO queue, graph, checkpoint, ledger or release files from the worker", + "Do not start downstream P9.1 Domain/UI/Test implementation" + ], + "estimate": "focused reproduction/repair 20-40m; verification 20m; confidence medium" +}