chore: route R4 failures to bounded repairs

This commit is contained in:
2026-08-11 11:22:11 +08:00
parent 062770666e
commit cdc547d90d
13 changed files with 415 additions and 3 deletions
@@ -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.
@@ -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.
@@ -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: <earliest boundary>**
## 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.
@@ -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 |
@@ -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.
@@ -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.
@@ -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: <earliest boundary>**
## 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.
@@ -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 |