From cdc547d90d3520d69adfcb1761892e5a804182f1 Mon Sep 17 00:00:00 2001 From: wusumac <736139669@qq.com> Date: Tue, 11 Aug 2026 11:22:11 +0800 Subject: [PATCH] chore: route R4 failures to bounded repairs --- .agent-taskgraph/ROLES.md | 5 +- .agent-taskgraph/STATUS.md | 2 + .agent-taskgraph/graph.yaml | 95 ++++++++++++++++++- .../context.md | 23 +++++ .../dispatch.md | 21 ++++ .../goal.md | 56 +++++++++++ .../ledger.md | 41 ++++++++ .../context.md | 23 +++++ .../dispatch.md | 21 ++++ .../goal.md | 58 +++++++++++ .../ledger.md | 41 ++++++++ .../hidden-profession-art-repairer-r5/ROLE.md | 16 ++++ .../run-creation-contract-repairer-r5/ROLE.md | 16 ++++ 13 files changed, 415 insertions(+), 3 deletions(-) create mode 100644 .agent-taskgraph/queue/inbox/ABG-V2-HIDDEN-PROFESSION-ART-REPAIR/context.md create mode 100644 .agent-taskgraph/queue/inbox/ABG-V2-HIDDEN-PROFESSION-ART-REPAIR/dispatch.md create mode 100644 .agent-taskgraph/queue/inbox/ABG-V2-HIDDEN-PROFESSION-ART-REPAIR/goal.md create mode 100644 .agent-taskgraph/queue/inbox/ABG-V2-HIDDEN-PROFESSION-ART-REPAIR/ledger.md create mode 100644 .agent-taskgraph/queue/inbox/ABG-V2-RUN-CREATION-TRANSACTION-REPAIR/context.md create mode 100644 .agent-taskgraph/queue/inbox/ABG-V2-RUN-CREATION-TRANSACTION-REPAIR/dispatch.md create mode 100644 .agent-taskgraph/queue/inbox/ABG-V2-RUN-CREATION-TRANSACTION-REPAIR/goal.md create mode 100644 .agent-taskgraph/queue/inbox/ABG-V2-RUN-CREATION-TRANSACTION-REPAIR/ledger.md create mode 100644 .agent-taskgraph/roles/hidden-profession-art-repairer-r5/ROLE.md create mode 100644 .agent-taskgraph/roles/run-creation-contract-repairer-r5/ROLE.md diff --git a/.agent-taskgraph/ROLES.md b/.agent-taskgraph/ROLES.md index 48d92b07..1c65abc8 100644 --- a/.agent-taskgraph/ROLES.md +++ b/.agent-taskgraph/ROLES.md @@ -1,6 +1,6 @@ # 角色注册表 -> Team revision: `rev-6` +> Team revision: `rev-7` | Role ID | 名称 | 生命周期 | 状态 | 核心职责 | 当前 Goal | Session ID | 最后更新 | |---|---|---|---|---|---|---|---| @@ -18,6 +18,8 @@ | experience-production-reviewer-r3 | 体验与生产独立复审员 R3 | task-scoped | retired | 固定版本可理解性、页面覆盖、美术音频生产、可访问性与原创性 | task:ABG-V2-EXPERIENCE-REVIEW-R3 | 44652407-b548-4f47-b78e-fca47657103f | 2026-08-11 | | systems-integrity-reviewer-r4 | 系统完整性独立复审员 R4 | task-scoped | retired | 固定版本核心循环、战斗、经济、节奏、存档、失败与机械内容一致性 | task:ABG-V2-SYSTEMS-REVIEW-R4 | ba21ab5a-b78f-4c30-ad12-94b457dcec71 | 2026-08-11 | | experience-production-reviewer-r4 | 体验与生产独立复审员 R4 | task-scoped | retired | 固定版本可理解性、页面覆盖、美术音频生产、可访问性与原创性 | task:ABG-V2-EXPERIENCE-REVIEW-R4 | 0e8eec99-d95f-4b98-a9bf-cb5ac46433e1 | 2026-08-11 | +| run-creation-contract-repairer-r5 | 开局种子与事务合同修复员 | task-scoped | reserved | 统一开局 seed、offer receipt、选择恢复与 current_run 原子提交 | task:ABG-V2-RUN-CREATION-TRANSACTION-REPAIR | PENDING | 2026-08-11 | +| hidden-profession-art-repairer-r5 | 隐藏职业美术绑定修复员 | task-scoped | reserved | 对齐 PF-H01..H06 父职业、轮廓、道具、动作与生产规格 | task:ABG-V2-HIDDEN-PROFESSION-ART-REPAIR | PENDING | 2026-08-11 | ## 编制变更历史 @@ -29,3 +31,4 @@ | 2026-08-11 | rev-4 | R1 失败修复后拆为系统完整性与体验生产两个并行只读 reviewer | Owner:`可以再多几个会话,10个以内我觉得都OK` | 六个写入会话已交候选;新增两个 reviewer,总量不超过 10 | | 2026-08-11 | rev-5 | Experience R3 FAIL 后复用 UX/Art/Audio/Validator 会话并新增一个 Reference 修复会话 | 同一 Owner 并发授权;不扩大产品范围 | 五个互斥修复 Goal;Systems R3 继续只读固定版本 | | 2026-08-11 | rev-6 | H1 集成全绿后新增两个全新 R4 独立 reviewer | Owner 已授权最多 10 个可见会话与 fresh 双审 | 两个 reviewer 只读同一固定源 `db932cf`;R1-R3 结论只作历史 | +| 2026-08-11 | rev-7 | R4 双 FAIL 后新增两个互斥 task-scoped 修复角色 | 既有 Owner 并发授权;失败路由不扩大产品范围 | seed/transaction 三文档与 hidden-art 单文档并行,之后 validator H2 + fresh R5 | diff --git a/.agent-taskgraph/STATUS.md b/.agent-taskgraph/STATUS.md index f90e1ed2..471bad75 100644 --- a/.agent-taskgraph/STATUS.md +++ b/.agent-taskgraph/STATUS.md @@ -24,6 +24,8 @@ | ABG-V2-CROSSDOC-VALIDATOR-REPAIR | R3 跨文档矛盾回归门 | failed | design-validator-v2 | 1/1 | 2026-08-11T10:17:06+08:00 | INVALID:真实整合文档出现 3 个 parser 假阴性;转 H1 | | ABG-V2-ANTI-DOMINANCE-SIMULATION-REPAIR | 固定种子构筑反支配模拟修复 | review | systems-designer | 1/1 | 2026-08-11T10:17:06+08:00 | `cb53794` -> `b65646c` 已整合;模拟与 hashes 通过;待 H1/R4 | | ABG-V2-CROSSDOC-VALIDATOR-H1 | 真实文档 validator 集成修复 | review | design-validator-v2 | 1/1 | 2026-08-11T10:44:55+08:00 | `49e128f` -> `bcb2931` 已整合;20-case/self/full/JSON 与反支配回放全绿;待 R4 双审 | +| ABG-V2-RUN-CREATION-TRANSACTION-REPAIR | 开局 seed 与可恢复事务修复 | inbox | run-creation-contract-repairer-r5 | 1/1 | 2026-08-11T11:14:28+08:00 | preparing 0/1:clean worktree ready;待 HAPI session + ACK | +| ABG-V2-HIDDEN-PROFESSION-ART-REPAIR | 隐藏职业内容到美术绑定修复 | inbox | hidden-profession-art-repairer-r5 | 1/1 | 2026-08-11T11:14:28+08:00 | preparing 0/1:clean worktree ready;待 HAPI session + ACK | ## 批次 diff --git a/.agent-taskgraph/graph.yaml b/.agent-taskgraph/graph.yaml index cc6e2615..d080b38e 100644 --- a/.agent-taskgraph/graph.yaml +++ b/.agent-taskgraph/graph.yaml @@ -1,7 +1,7 @@ version: 1 batch: id: "recruit-line-redesign-02" - revision: "graph-r9" + revision: "graph-r10" spec: ".agent-taskgraph/spec.md" spec_revision: "design-spec-r3" approved_by: "Owner" @@ -376,7 +376,7 @@ nodes: title: "Owner approves complete design before HTML prototype redesign" kind: "human_gate" goal_ref: "decision:ABG-V2-OWNER-GATE" - needs: ["v2_review_synthesis"] + needs: ["v2_review_synthesis_r5"] consumes: ["integrated design", "independent review"] produces: ["owner accept or revise decision"] writes: [] @@ -384,3 +384,94 @@ nodes: on_pass: "done" on_fail: "failed" max_attempts: 1 + + - id: "v2_r4_seed_transaction_repair" + title: "Repair provisional Recruit seed and transaction authority" + kind: "expert" + goal_ref: "task:ABG-V2-RUN-CREATION-TRANSACTION-REPAIR" + needs: ["v2_systems_review_r4"] + consumes: ["Systems R4 Gate 3 FAIL", "run creation, save and recruit generation authorities"] + produces: ["durable pre-run seed allocation", "reproducible offer receipt", "atomic current_run commit and retry rules"] + writes: ["docs/product/GAME_PRODUCT_CONTRACT.md", "docs/product/SAVE_AND_FAILURE_CONTRACT.md", "docs/content/RECRUIT_GENERATION.md"] + acceptance: ["The seed exists durably before offers", "Crash and retry reproduce identical offers/selection", "Run creation commits once without free reroll or duplicate mutation"] + on_pass: "v2_r4_reintegration" + on_fail: "failed" + max_attempts: 1 + + - id: "v2_r4_hidden_profession_art_repair" + title: "Repair hidden profession content-to-art bindings" + kind: "expert" + goal_ref: "task:ABG-V2-HIDDEN-PROFESSION-ART-REPAIR" + needs: ["v2_experience_review_r4"] + consumes: ["Experience R4 Gate 7 FAIL", "PF-H01..H06 content production briefs"] + produces: ["exact hidden-profession parent, silhouette, prop and motion bindings"] + writes: ["docs/presentation/ART_ASSET_AND_ANIMATION_CATALOG.md"] + acceptance: ["PF-H01..H06 match content mechanics and production briefs", "No unresolved parent binding remains", "Art totals and other profession rows stay unchanged"] + on_pass: "v2_r4_reintegration" + on_fail: "failed" + max_attempts: 1 + + - id: "v2_r4_reintegration" + title: "Integrate R4 bounded repairs" + kind: "merge" + goal_ref: "task:ABG-V2-R4-REINTEGRATION" + needs: ["v2_r4_seed_transaction_repair", "v2_r4_hidden_profession_art_repair"] + consumes: ["two disjoint repair candidates"] + produces: ["one integrated R4-repaired revision"] + writes: ["docs/reviews/PRE_DEVELOPMENT_READINESS_AUDIT.md"] + acceptance: ["Both exact failure boundaries close", "Existing validators and anti-dominance replay remain green"] + on_pass: "v2_r4_validator_h2" + on_fail: "failed" + max_attempts: 1 + + - id: "v2_r4_validator_h2" + title: "Add R4 contradiction regression gates" + kind: "expert" + goal_ref: "task:ABG-V2-R4-VALIDATOR-H2" + needs: ["v2_r4_reintegration"] + consumes: ["integrated repaired authorities", "both R4 FAIL reports"] + produces: ["positive parser coverage and isolated negative mutations for both contradictions"] + writes: ["docs/reviews/DESIGN_VALIDATION_CONTRACT.md", "tools/validate_predevelopment_design.py"] + acceptance: ["Real repaired documents pass", "Seed-order/transaction mutation fails", "Hidden-profession art mismatch/unresolved mutation fails"] + on_pass: "v2_systems_review_r5" + on_fail: "failed" + max_attempts: 1 + + - id: "v2_systems_review_r5" + title: "Fresh systems integrity review after R4 repairs" + kind: "verifier" + goal_ref: "task:ABG-V2-SYSTEMS-REVIEW-R5" + needs: ["v2_r4_validator_h2"] + consumes: ["new immutable R5 review source"] + produces: ["read-only systems PASS/FAIL/INVALID terminal"] + writes: [] + acceptance: ["All systems gates rerun from zero including provisional seed transaction"] + on_pass: "v2_experience_review_r5" + on_fail: "failed" + max_attempts: 1 + + - id: "v2_experience_review_r5" + title: "Fresh experience and production review after R4 repairs" + kind: "verifier" + goal_ref: "task:ABG-V2-EXPERIENCE-REVIEW-R5" + needs: ["v2_r4_validator_h2"] + consumes: ["new immutable R5 review source"] + produces: ["read-only experience PASS/FAIL/INVALID terminal"] + writes: [] + acceptance: ["All experience gates rerun from zero including hidden-profession production binding"] + on_pass: "v2_review_synthesis_r5" + on_fail: "failed" + max_attempts: 1 + + - id: "v2_review_synthesis_r5" + title: "PMO R5 dual-review synthesis" + kind: "merge" + goal_ref: "task:ABG-V2-REVIEW-SYNTHESIS-R5" + needs: ["v2_systems_review_r5", "v2_experience_review_r5"] + consumes: ["systems R5 terminal", "experience R5 terminal"] + produces: ["one PMO acceptance or earliest repair route"] + writes: [".agent-taskgraph/queue/review/", ".agent-taskgraph/STATUS.md"] + acceptance: ["Both reviewers used the same fixed revision", "Both terminals PASS", "Human and implementation gates remain explicit"] + on_pass: "owner_v2_gate" + on_fail: "failed" + max_attempts: 1 diff --git a/.agent-taskgraph/queue/inbox/ABG-V2-HIDDEN-PROFESSION-ART-REPAIR/context.md b/.agent-taskgraph/queue/inbox/ABG-V2-HIDDEN-PROFESSION-ART-REPAIR/context.md new file mode 100644 index 00000000..dddf87fc --- /dev/null +++ b/.agent-taskgraph/queue/inbox/ABG-V2-HIDDEN-PROFESSION-ART-REPAIR/context.md @@ -0,0 +1,23 @@ +# Context Manifest: ABG-V2-HIDDEN-PROFESSION-ART-REPAIR + +> Task ID: `ABG-V2-HIDDEN-PROFESSION-ART-REPAIR` +> Revision: `1` +> Mode: `balanced` +> Budget exception: `none` + +## 必须读取(默认不超过 8 项) + +| 路径或稳定引用 | Revision / 范围 | 为什么本 Goal 必须读 | +|---|---|---| +| `AGENTS.md` | current | repository boundary | +| `.agent-taskgraph/PROJECT.md` | rev-7 | runtime and Frozen rules | +| `.agent-taskgraph/roles/hidden-profession-art-repairer-r5/ROLE.md` | rev-7 | role boundary | +| current `dispatch.md` and `goal.md` | context-1 | identity and exact write scope | +| `.agent-taskgraph/spec.md` | design-spec-r3 | product boundary | +| `.agent-taskgraph/queue/failed/ABG-V2-EXPERIENCE-REVIEW-R4/report.md` | R4-FAIL | exact contradiction | +| `docs/content/PROFESSION_CATALOG.md` | baseline PF-H01..H06 | content-owned production briefs | +| `docs/presentation/ART_ASSET_AND_ANIMATION_CATALOG.md` | baseline | sole write authority | + +## 按需检索(先搜索,再局部读取) + +- Validator and anti-dominance tools only to run existing gates; do not edit them. diff --git a/.agent-taskgraph/queue/inbox/ABG-V2-HIDDEN-PROFESSION-ART-REPAIR/dispatch.md b/.agent-taskgraph/queue/inbox/ABG-V2-HIDDEN-PROFESSION-ART-REPAIR/dispatch.md new file mode 100644 index 00000000..2ba83079 --- /dev/null +++ b/.agent-taskgraph/queue/inbox/ABG-V2-HIDDEN-PROFESSION-ART-REPAIR/dispatch.md @@ -0,0 +1,21 @@ +# Dispatch Bootstrap: ABG-V2-HIDDEN-PROFESSION-ART-REPAIR + +| Field | Value | +|---|---| +| Task ID | ABG-V2-HIDDEN-PROFESSION-ART-REPAIR | +| Dispatch ID | dispatch:ABG-V2-HIDDEN-PROFESSION-ART-REPAIR:attempt-1 | +| Role ref | role:hidden-profession-art-repairer-r5 | +| Role profile | roles/hidden-profession-art-repairer-r5/ROLE.md | +| Role lifecycle | task-scoped | +| Team revision | rev-7 | +| Goal ref | task:ABG-V2-HIDDEN-PROFESSION-ART-REPAIR | +| Context manifest | context.md | +| Context revision | 1 | +| Continuity | fresh R5 repair role after Experience R4 Gate 7 FAIL | +| Session ID | PENDING | +| Expected identity ACK | IDENTITY_READY dispatch_id=dispatch:ABG-V2-HIDDEN-PROFESSION-ART-REPAIR:attempt-1 role=role:hidden-profession-art-repairer-r5 team_revision=rev-7 goal=task:ABG-V2-HIDDEN-PROFESSION-ART-REPAIR context_revision=1 | +| 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 editing. diff --git a/.agent-taskgraph/queue/inbox/ABG-V2-HIDDEN-PROFESSION-ART-REPAIR/goal.md b/.agent-taskgraph/queue/inbox/ABG-V2-HIDDEN-PROFESSION-ART-REPAIR/goal.md new file mode 100644 index 00000000..9d5e8ca6 --- /dev/null +++ b/.agent-taskgraph/queue/inbox/ABG-V2-HIDDEN-PROFESSION-ART-REPAIR/goal.md @@ -0,0 +1,56 @@ +# Goal: ABG-V2 Hidden Profession Art Repair + +> Stage: bounded R4 experience-failure repair +> Started: 2026-08-11T11:14:28+08:00 +> Task ID: `ABG-V2-HIDDEN-PROFESSION-ART-REPAIR` +> Baseline: `062770666e109986e36717645d7e8ca14e15ece1; branch=agent/abg-v2-hidden-art-binding-r5; clean` +> Frozen spec: `.agent-taskgraph/spec.md revision design-spec-r3` +> Graph node: `.agent-taskgraph/graph.yaml#v2_r4_hidden_profession_art_repair` +> Independent contract: `.agent-taskgraph/queue/failed/ABG-V2-EXPERIENCE-REVIEW-R4/report.md` +> Context manifest: `context.md` +> Context revision: `1` +> Legal terminal: **ABG-V2-HIDDEN-PROFESSION-ART-REPAIR candidate ready** or **ABG-V2-HIDDEN-PROFESSION-ART-REPAIR redesign required: ** + +## Objective + +Close only Experience R4 Gate 7 by making every `PF-H01..H06` art row exactly +match the content-owned parent pair, combat identity, prop silhouette, action +verbs and production brief, and remove all unresolved hidden-parent language. + +## 图输入、输出与写入范围 + +- 直接依赖(needs):v2_experience_review_r4 +- 必须读取(consumes):Experience R4 report, `PROFESSION_CATALOG.md`, current art catalog +- 必须产出(produces):six exact hidden-profession content-to-art bindings and resolved audit wording +- 唯一写入范围(writes):`docs/presentation/ART_ASSET_AND_ANIMATION_CATALOG.md` +- 路由:PASS -> v2_r4_reintegration; FAIL -> failed; 最大尝试 1 + +## 分配记录 + +- Role ref:`role:hidden-profession-art-repairer-r5` +- 角色职责:Align PF-H01..H06 parent bindings, silhouettes, props, motion codes and production briefs with content authority +- 角色生命周期:task-scoped +- 派给:hidden-profession-art-repairer-r5 +- 分配理由:职责匹配 +- 连续性:fresh R5 repair role after Experience R4 Gate 7 FAIL +- 工作区:`/Users/wusumac/Documents/game/tmp/aetherbound-guild-worktrees/repair-hidden-art-r5`(分支:`agent/abg-v2-hidden-art-binding-r5`) +- Runtime requested:`runtime=hapi; flavor=codex; model=gpt-5.6-sol; effort=xhigh; permission=bypassPermissions; visibility=visible` +- Runtime observed:`PENDING` +- Runtime verification:`PENDING` +- Session evidence:`PENDING` +- Dispatch bootstrap:`dispatch.md` +- Dispatch message:`NOT_SENT` +- Identity ACK:`PENDING` +- 完整启动方式:HAPI Hub helper spawn after clean-worktree preflight + +## 验收标准(证据门) + +- [ ] `ART-PRO-H01..H06` each names the exact `PF-Hxx` parent pair and preserves its content mechanics/production brief. +- [ ] Silhouette, held/worn props, VFX cues and motion verbs/codes are feasible translations of the corresponding content row; no swapped hidden identity remains. +- [ ] All unresolved hidden-parent/post-merge language is replaced by exact resolved bindings. +- [ ] Art counts, IDs, base/advanced professions and unrelated recruit/enemy/environment rows remain unchanged. +- [ ] Existing validator and anti-dominance commands remain green; exact one-file diff, commit, push and clean terminal. + +## Frozen + +No content/product/UI/audio/validator/HTML/runtime/media generation/package/release changes. diff --git a/.agent-taskgraph/queue/inbox/ABG-V2-HIDDEN-PROFESSION-ART-REPAIR/ledger.md b/.agent-taskgraph/queue/inbox/ABG-V2-HIDDEN-PROFESSION-ART-REPAIR/ledger.md new file mode 100644 index 00000000..ee33342e --- /dev/null +++ b/.agent-taskgraph/queue/inbox/ABG-V2-HIDDEN-PROFESSION-ART-REPAIR/ledger.md @@ -0,0 +1,41 @@ +# Ledger: ABG-V2-HIDDEN-PROFESSION-ART-REPAIR + +| Field | Value | +|---|---| +| 任务 ID | ABG-V2-HIDDEN-PROFESSION-ART-REPAIR | +| Goal ref | task:ABG-V2-HIDDEN-PROFESSION-ART-REPAIR | +| Goal current path | queue/inbox/ABG-V2-HIDDEN-PROFESSION-ART-REPAIR/goal.md | +| Context manifest | context.md | +| Context revision | 1 | +| Role ref | role:hidden-profession-art-repairer-r5 | +| Role lifecycle | task-scoped | +| Role profile | roles/hidden-profession-art-repairer-r5/ROLE.md | +| Role continuity | fresh R5 repair role after Experience R4 Gate 7 FAIL | +| Reviewer Role ref | PENDING | +| Reviewer Role profile | PENDING | +| Frozen spec | .agent-taskgraph/spec.md design-spec-r3 | +| Graph node | .agent-taskgraph/graph.yaml#v2_r4_hidden_profession_art_repair | +| 依赖/路由 | needs: v2_experience_review_r4; PASS -> v2_r4_reintegration; FAIL -> failed | +| 状态 | inbox | +| 负责人 | hidden-profession-art-repairer-r5 | +| 分配理由 | 职责匹配 | +| 轮次 | 第 1 次 | +| 开始时间 | 2026-08-11T11:14:28+08:00 | +| 最后更新 | 2026-08-11T11:14:28+08:00 | +| 验收结果 | PENDING | +| 日志指针 | PENDING | +| Runtime requested | runtime=hapi; flavor=codex; model=gpt-5.6-sol; effort=xhigh; permission=bypassPermissions; 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 | + +## State History + +| Time | From -> To | Operator | Evidence | Next | +|---|---|---|---|---| +| 2026-08-11T11:14:28+08:00 | created -> inbox | PMO | Experience R4 legal FAIL and clean isolated worktree | create verified HAPI session | diff --git a/.agent-taskgraph/queue/inbox/ABG-V2-RUN-CREATION-TRANSACTION-REPAIR/context.md b/.agent-taskgraph/queue/inbox/ABG-V2-RUN-CREATION-TRANSACTION-REPAIR/context.md new file mode 100644 index 00000000..e05069c0 --- /dev/null +++ b/.agent-taskgraph/queue/inbox/ABG-V2-RUN-CREATION-TRANSACTION-REPAIR/context.md @@ -0,0 +1,23 @@ +# Context Manifest: ABG-V2-RUN-CREATION-TRANSACTION-REPAIR + +> Task ID: `ABG-V2-RUN-CREATION-TRANSACTION-REPAIR` +> Revision: `1` +> Mode: `deep` +> Budget exception: `none` + +## 必须读取(默认不超过 8 项) + +| 路径或稳定引用 | Revision / 范围 | 为什么本 Goal 必须读 | +|---|---|---| +| `AGENTS.md` | current | repository boundary | +| `.agent-taskgraph/PROJECT.md` | rev-7 | runtime and Frozen rules | +| `.agent-taskgraph/roles/run-creation-contract-repairer-r5/ROLE.md` | rev-7 | role boundary | +| current `dispatch.md` and `goal.md` | context-1 | identity and exact write scope | +| `.agent-taskgraph/spec.md` | design-spec-r3 | product boundary | +| `.agent-taskgraph/queue/failed/ABG-V2-SYSTEMS-REVIEW-R4/report.md` | R4-FAIL | exact contradiction | +| `docs/product/GAME_PRODUCT_CONTRACT.md` + `docs/product/SAVE_AND_FAILURE_CONTRACT.md` | baseline | product/save authority | +| `docs/content/RECRUIT_GENERATION.md` | baseline | deterministic generation authority | + +## 按需检索(先搜索,再局部读取) + +- Validator and anti-dominance tools only to run existing gates; do not edit them. diff --git a/.agent-taskgraph/queue/inbox/ABG-V2-RUN-CREATION-TRANSACTION-REPAIR/dispatch.md b/.agent-taskgraph/queue/inbox/ABG-V2-RUN-CREATION-TRANSACTION-REPAIR/dispatch.md new file mode 100644 index 00000000..cce724c5 --- /dev/null +++ b/.agent-taskgraph/queue/inbox/ABG-V2-RUN-CREATION-TRANSACTION-REPAIR/dispatch.md @@ -0,0 +1,21 @@ +# Dispatch Bootstrap: ABG-V2-RUN-CREATION-TRANSACTION-REPAIR + +| Field | Value | +|---|---| +| Task ID | ABG-V2-RUN-CREATION-TRANSACTION-REPAIR | +| Dispatch ID | dispatch:ABG-V2-RUN-CREATION-TRANSACTION-REPAIR:attempt-1 | +| Role ref | role:run-creation-contract-repairer-r5 | +| Role profile | roles/run-creation-contract-repairer-r5/ROLE.md | +| Role lifecycle | task-scoped | +| Team revision | rev-7 | +| Goal ref | task:ABG-V2-RUN-CREATION-TRANSACTION-REPAIR | +| Context manifest | context.md | +| Context revision | 1 | +| Continuity | fresh R5 repair role after Systems R4 Gate 3 FAIL | +| Session ID | PENDING | +| Expected identity ACK | IDENTITY_READY dispatch_id=dispatch:ABG-V2-RUN-CREATION-TRANSACTION-REPAIR:attempt-1 role=role:run-creation-contract-repairer-r5 team_revision=rev-7 goal=task:ABG-V2-RUN-CREATION-TRANSACTION-REPAIR context_revision=1 | +| 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 editing. diff --git a/.agent-taskgraph/queue/inbox/ABG-V2-RUN-CREATION-TRANSACTION-REPAIR/goal.md b/.agent-taskgraph/queue/inbox/ABG-V2-RUN-CREATION-TRANSACTION-REPAIR/goal.md new file mode 100644 index 00000000..81749653 --- /dev/null +++ b/.agent-taskgraph/queue/inbox/ABG-V2-RUN-CREATION-TRANSACTION-REPAIR/goal.md @@ -0,0 +1,58 @@ +# Goal: ABG-V2 Run Creation Transaction Repair + +> Stage: bounded R4 systems-failure repair +> Started: 2026-08-11T11:14:28+08:00 +> Task ID: `ABG-V2-RUN-CREATION-TRANSACTION-REPAIR` +> Baseline: `062770666e109986e36717645d7e8ca14e15ece1; branch=agent/abg-v2-run-creation-transaction-r5; clean` +> Frozen spec: `.agent-taskgraph/spec.md revision design-spec-r3` +> Graph node: `.agent-taskgraph/graph.yaml#v2_r4_seed_transaction_repair` +> Independent contract: `.agent-taskgraph/queue/failed/ABG-V2-SYSTEMS-REVIEW-R4/report.md` +> Context manifest: `context.md` +> Context revision: `1` +> Legal terminal: **ABG-V2-RUN-CREATION-TRANSACTION-REPAIR candidate ready** or **ABG-V2-RUN-CREATION-TRANSACTION-REPAIR redesign required: ** + +## Objective + +Close only the R4 Gate 3 contradiction. Allocate and durably persist the run +seed before provisional offers are generated, keep the four offers and choose-two +selection reproducible across crash/retry, and atomically promote the accepted +draft into `current_run` exactly once without a free-reroll path. + +## 图输入、输出与写入范围 + +- 直接依赖(needs):v2_systems_review_r4 +- 必须读取(consumes):Systems R4 report and the three owned authorities +- 必须产出(produces):one coherent run-creation draft/receipt/commit contract across all three files +- 唯一写入范围(writes):`docs/product/GAME_PRODUCT_CONTRACT.md`, `docs/product/SAVE_AND_FAILURE_CONTRACT.md`, `docs/content/RECRUIT_GENERATION.md` +- 路由:PASS -> v2_r4_reintegration; FAIL -> failed; 最大尝试 1 + +## 分配记录 + +- Role ref:`role:run-creation-contract-repairer-r5` +- 角色职责:Unify pre-run seed allocation, deterministic offers, recoverable selection and atomic current_run commit +- 角色生命周期:task-scoped +- 派给:run-creation-contract-repairer-r5 +- 分配理由:职责匹配 +- 连续性:fresh R5 repair role after Systems R4 Gate 3 FAIL +- 工作区:`/Users/wusumac/Documents/game/tmp/aetherbound-guild-worktrees/repair-run-creation-r5`(分支:`agent/abg-v2-run-creation-transaction-r5`) +- Runtime requested:`runtime=hapi; flavor=codex; model=gpt-5.6-sol; effort=xhigh; permission=bypassPermissions; visibility=visible` +- Runtime observed:`PENDING` +- Runtime verification:`PENDING` +- Session evidence:`PENDING` +- Dispatch bootstrap:`dispatch.md` +- Dispatch message:`NOT_SENT` +- Identity ACK:`PENDING` +- 完整启动方式:HAPI Hub helper spawn after clean-worktree preflight + +## 验收标准(证据门) + +- [ ] A durable `run_creation_draft` (or exact equivalent) owns the reserved `run_seed` before offer generation and survives interruption. +- [ ] Offer IDs/output hashes are deterministically bound to seed + indices 0..3; choice is exactly two, revisable before commit, and idempotently receipted. +- [ ] Crash before/after each durable write has an exact retry result; duplicate commit, stale draft, corrupt primary/backup and clock rollback have explicit outcomes. +- [ ] Commit atomically moves the same seed and selected Recruits into `current_run` once; restart/cancel cannot reroll offers for free. +- [ ] First-minute player flow remains four offers -> choose two -> revise -> commit; no extra page or player-facing complexity is added. +- [ ] Existing validator and anti-dominance commands remain green; exact three-file diff, commit, push and clean terminal. + +## Frozen + +No balance/formula/content count/profession/art/audio/UI/validator/HTML/runtime/media/package/release changes. diff --git a/.agent-taskgraph/queue/inbox/ABG-V2-RUN-CREATION-TRANSACTION-REPAIR/ledger.md b/.agent-taskgraph/queue/inbox/ABG-V2-RUN-CREATION-TRANSACTION-REPAIR/ledger.md new file mode 100644 index 00000000..cf3b4f71 --- /dev/null +++ b/.agent-taskgraph/queue/inbox/ABG-V2-RUN-CREATION-TRANSACTION-REPAIR/ledger.md @@ -0,0 +1,41 @@ +# Ledger: ABG-V2-RUN-CREATION-TRANSACTION-REPAIR + +| Field | Value | +|---|---| +| 任务 ID | ABG-V2-RUN-CREATION-TRANSACTION-REPAIR | +| Goal ref | task:ABG-V2-RUN-CREATION-TRANSACTION-REPAIR | +| Goal current path | queue/inbox/ABG-V2-RUN-CREATION-TRANSACTION-REPAIR/goal.md | +| Context manifest | context.md | +| Context revision | 1 | +| Role ref | role:run-creation-contract-repairer-r5 | +| Role lifecycle | task-scoped | +| Role profile | roles/run-creation-contract-repairer-r5/ROLE.md | +| Role continuity | fresh R5 repair role after Systems R4 Gate 3 FAIL | +| Reviewer Role ref | PENDING | +| Reviewer Role profile | PENDING | +| Frozen spec | .agent-taskgraph/spec.md design-spec-r3 | +| Graph node | .agent-taskgraph/graph.yaml#v2_r4_seed_transaction_repair | +| 依赖/路由 | needs: v2_systems_review_r4; PASS -> v2_r4_reintegration; FAIL -> failed | +| 状态 | inbox | +| 负责人 | run-creation-contract-repairer-r5 | +| 分配理由 | 职责匹配 | +| 轮次 | 第 1 次 | +| 开始时间 | 2026-08-11T11:14:28+08:00 | +| 最后更新 | 2026-08-11T11:14:28+08:00 | +| 验收结果 | PENDING | +| 日志指针 | PENDING | +| Runtime requested | runtime=hapi; flavor=codex; model=gpt-5.6-sol; effort=xhigh; permission=bypassPermissions; 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 | + +## State History + +| Time | From -> To | Operator | Evidence | Next | +|---|---|---|---|---| +| 2026-08-11T11:14:28+08:00 | created -> inbox | PMO | Systems R4 legal FAIL and clean isolated worktree | create verified HAPI session | diff --git a/.agent-taskgraph/roles/hidden-profession-art-repairer-r5/ROLE.md b/.agent-taskgraph/roles/hidden-profession-art-repairer-r5/ROLE.md new file mode 100644 index 00000000..79891e65 --- /dev/null +++ b/.agent-taskgraph/roles/hidden-profession-art-repairer-r5/ROLE.md @@ -0,0 +1,16 @@ +# Role: Hidden Profession Art Repairer R5 + +| 字段 | 值 | +|---|---| +| Role ID | hidden-profession-art-repairer-r5 | +| Team revision | rev-7 | +| Origin | initial:graph-r10 | +| 生命周期 | task-scoped | +| 状态 | reserved | +| 核心职责 | Align PF-H01..H06 parent bindings, silhouettes, props, motion codes and production briefs with content authority | +| 负责范围 | `docs/presentation/ART_ASSET_AND_ANIMATION_CATALOG.md` only | +| 明确不负责 | Profession mechanics/content edits, UI, audio, validator, HTML, runtime or release | +| 当前 Goal | task:ABG-V2-HIDDEN-PROFESSION-ART-REPAIR | +| 当前 Session ID | PENDING | +| 连续性记录 | fresh R5 repair role after Experience R4 Gate 7 FAIL | +| 最后更新 | 2026-08-11T11:14:28+08:00 / PMO | diff --git a/.agent-taskgraph/roles/run-creation-contract-repairer-r5/ROLE.md b/.agent-taskgraph/roles/run-creation-contract-repairer-r5/ROLE.md new file mode 100644 index 00000000..458e6dce --- /dev/null +++ b/.agent-taskgraph/roles/run-creation-contract-repairer-r5/ROLE.md @@ -0,0 +1,16 @@ +# Role: Run Creation Contract Repairer R5 + +| 字段 | 值 | +|---|---| +| Role ID | run-creation-contract-repairer-r5 | +| Team revision | rev-7 | +| Origin | initial:graph-r10 | +| 生命周期 | task-scoped | +| 状态 | reserved | +| 核心职责 | Unify pre-run seed allocation, deterministic offers, recoverable selection and atomic current_run commit | +| 负责范围 | `GAME_PRODUCT_CONTRACT.md`, `SAVE_AND_FAILURE_CONTRACT.md`, `RECRUIT_GENERATION.md` | +| 明确不负责 | Balance, battle, content counts, presentation, art/audio, validator, HTML, runtime or release | +| 当前 Goal | task:ABG-V2-RUN-CREATION-TRANSACTION-REPAIR | +| 当前 Session ID | PENDING | +| 连续性记录 | fresh R5 repair role after Systems R4 Gate 3 FAIL | +| 最后更新 | 2026-08-11T11:14:28+08:00 / PMO |