docs: dispatch bounded system contract repair

This commit is contained in:
2026-08-10 19:16:21 +08:00
parent cce573a3d5
commit 14d25860df
10 changed files with 299 additions and 15 deletions
@@ -0,0 +1,27 @@
# Context Manifest: ABG-SYSTEM-REPAIR
> Task ID: `ABG-SYSTEM-REPAIR`
> Revision: `1`
> Mode: `balanced`
> Budget exception: `none`
## 必须读取(默认不超过 8 项)
| 路径或稳定引用 | Revision / 范围 | 为什么本 Goal 必须读 |
|---|---|---|
| `.agent-taskgraph/PROJECT.md` | design-batch-01 / graph-r2 | project boundaries and confirmed execution profile |
| `.agent-taskgraph/roles/systems-designer/ROLE.md` | rev-1 repair handoff | persistent responsibility and failed-candidate continuity |
| `.agent-taskgraph/spec.md` | design-spec-r1 | frozen complete-design scope |
| `.agent-taskgraph/graph.yaml` | graph-r2#system_design_repair | repair node routes and dependencies |
| `.agent-taskgraph/queue/failed/ABG-SYSTEM-DESIGN/report.md` | candidate 22b21f8 review FAIL | six blocking findings and passing boundaries |
| `docs/product/` | candidate 22b21f8 | four fixed source documents to repair |
## 按需检索(先搜索,再局部读取)
| 路径/范围 | 触发条件 | 检索提示 |
|---|---|---|
| source tree | Goal 需要实现细节时 | 先 rg,再局部读取 |
## 最近 Delta
- 2026-08-10T11:10:13+00:00: structured pre-dispatch manifest created.
@@ -0,0 +1,21 @@
# Dispatch Bootstrap: ABG-SYSTEM-REPAIR
| Field | Value |
|---|---|
| Task ID | ABG-SYSTEM-REPAIR |
| Dispatch ID | dispatch:ABG-SYSTEM-REPAIR:attempt-1 |
| Role ref | role:systems-designer |
| Role profile | roles/systems-designer/ROLE.md |
| Role lifecycle | persistent |
| Team revision | rev-1 |
| Goal ref | task:ABG-SYSTEM-REPAIR |
| Context manifest | context.md |
| Context revision | 1 |
| Continuity | Failed candidate 22b21f8 to Owner-approved bounded repair in the same persistent role |
| Session ID | 019feb14-e6ad-77a0-b43d-ad3f0308c8ab |
| Expected identity ACK | IDENTITY_READY dispatch_id=dispatch:ABG-SYSTEM-REPAIR:attempt-1 role=role:systems-designer team_revision=rev-1 goal=task:ABG-SYSTEM-REPAIR context_revision=1 |
| Delivery | SENT: 2026-08-10T19:11:48+08:00 dispatch:ABG-SYSTEM-REPAIR:attempt-1 via Codex CLI resume |
| Identity ACK | VERIFIED: IDENTITY_READY dispatch_id=dispatch:ABG-SYSTEM-REPAIR:attempt-1 role=role:systems-designer team_revision=rev-1 goal=task:ABG-SYSTEM-REPAIR context_revision=1 |
| ACK evidence | JSONL line 184 at `/Users/wusumac/.codex/sessions/2026/08/10/rollout-2026-08-10T17-50-43-019feb14-e6ad-77a0-b43d-ad3f0308c8ab.jsonl` |
Read Role, PROJECT, context, Goal and direct evidence in that order. Return the exact identity ACK before executing the Goal.
@@ -0,0 +1,74 @@
# Goal: Repair cross-document system, economy, pacing and save contracts
> Stage: complete-design phase 1 repair
> Started: 2026-08-10T11:10:13+00:00
> Task ID: `ABG-SYSTEM-REPAIR`
> Baseline: `22b21f8749077a6b0a71e210be981b12d722ae45; branch=agent/abg-system-design; clean`
> Frozen spec: `.agent-taskgraph/spec.md revision design-spec-r1`
> Graph node: `.agent-taskgraph/graph.yaml#system_design_repair`
> Independent contract: 不适用
> Context manifest: `context.md`
> Context revision: `1`
> Legal terminal: **ABG-SYSTEM-REPAIR candidate ready** 或 **ABG-SYSTEM-REPAIR redesign required: <最早失败边界>**
## Objective
Repair the six independently reviewed contradictions in candidate 22b21f8 so the four product contracts are mutually consistent, arithmetically executable and implementation-ready without expanding scope.
## 图输入、输出与写入范围
- 直接依赖(needs):failed system_design candidate 22b21f8
- 必须读取(consumes):.agent-taskgraph/queue/failed/ABG-SYSTEM-DESIGN/report.md, docs/product/ at 22b21f8
- 必须产出(produces):docs/product/GAME_PRODUCT_CONTRACT.md, docs/product/SYSTEMS_AND_BATTLE.md, docs/product/ECONOMY_AND_BALANCE.md, docs/product/SAVE_AND_FAILURE_CONTRACT.md
- 唯一写入范围(writes):docs/product/GAME_PRODUCT_CONTRACT.md, docs/product/SYSTEMS_AND_BATTLE.md, docs/product/ECONOMY_AND_BALANCE.md, docs/product/SAVE_AND_FAILURE_CONTRACT.md
- 路由:PASS -> presentation_design;FAIL -> failed;最大尝试 1
## 分配记录
- Role ref:`role:systems-designer`
- 角色职责:Original player loop, battle, profession, economy, balance, save and failure contracts
- 角色生命周期:persistent
- 派给:systems-designer
- 分配理由:职责匹配
- 连续性:Failed candidate 22b21f8 to Owner-approved bounded repair in the same persistent role
- 工作区:`/Users/wusumac/Documents/game/tmp/aetherbound-guild-worktrees/system-design`(分支:`agent/abg-system-design`)
- Runtime requested:`runtime=codex-native; flavor=codex; model=gpt-5.6-sol; effort=xhigh; permission=yolo; visibility=headless`
- Runtime observed:`runtime=codex-native; flavor=codex; model=gpt-5.6-sol; effort=xhigh; permission=yolo; visibility=headless`
- Runtime verification:`VERIFIED`
- Session evidence:`thread 019feb14-e6ad-77a0-b43d-ad3f0308c8ab; exec session 10105; JSONL /Users/wusumac/.codex/sessions/2026/08/10/rollout-2026-08-10T17-50-43-019feb14-e6ad-77a0-b43d-ad3f0308c8ab.jsonl`
- Dispatch bootstrap:`dispatch.md`
- Dispatch message:`SENT: 2026-08-10T19:11:48+08:00 dispatch:ABG-SYSTEM-REPAIR:attempt-1 via Codex CLI resume`
- Identity ACK:`VERIFIED: IDENTITY_READY dispatch_id=dispatch:ABG-SYSTEM-REPAIR:attempt-1 role=role:systems-designer team_revision=rev-1 goal=task:ABG-SYSTEM-REPAIR context_revision=1`
- 完整启动方式:派发预览批准后由所选 runtime 控制面生成
## 报告协议
- 完成、失败或阻塞时通知 PMO,并引用任务号、legal terminal 和证据路径。
- worker 不修改 PMO 管理的 queue ledger、STATUS 或角色注册表。
## 验收标准(证据门)
- [ ] One canonical defeat, battle-retreat and noncombat-withdrawal authority; all cross-document references agree
- [ ] Atomic operation state machine defines crash recovery and duplicate retry behavior at every durable point
- [ ] Expedition math reaches the declared campaign budget and five profiles include explicit decision timestamps and maximum gaps
- [ ] Counter-item price, XP multiplier, level cap, skill points, stat conversion and recruit cap are executable for every legal input
- [ ] Cache fixtures include target 25 over [30,30,40] and cannot produce a zero-loss dominant strategy
- [ ] Damage formula resolves criticals and enforces the five-percent Raw floor after clamps and rounding
- [ ] Targeted link, variable, count, contradiction and git diff --check audits pass
- [ ] Commit only the four owned product documents and leave the worktree clean
## Frozen(禁止触碰,明确列出)
- Do not modify reference, content, presentation, prototype or taskgraph files
- Do not add runtime code, choose an engine, generate assets, package or publish
- Do not expand the frozen 30/12/24/100/8/320 content scope
- Do not rewrite passing originality or product boundaries except a directly necessary cross-reference
## Estimate
design repair 60-120m; verification 30-45m; confidence high
## 完成时交付
- graph 节点约定的 produces
- 验收证据与残余风险
@@ -0,0 +1,46 @@
# 台账记录:ABG-SYSTEM-REPAIR
| 字段 | 值 |
|---|---|
| 任务 ID | ABG-SYSTEM-REPAIR |
| Goal ref | task:ABG-SYSTEM-REPAIR |
| Goal current path | queue/active/ABG-SYSTEM-REPAIR/goal.md |
| Context manifest | context.md |
| Context revision | 1 |
| Role ref | role:systems-designer |
| Role lifecycle | persistent |
| Role profile | roles/systems-designer/ROLE.md |
| Role continuity | Failed candidate 22b21f8 to Owner-approved bounded repair in the same persistent role |
| Reviewer Role ref | PENDING |
| Reviewer Role profile | PENDING |
| Frozen spec | .agent-taskgraph/spec.md revision design-spec-r1 |
| Graph node | .agent-taskgraph/graph.yaml#system_design_repair |
| 依赖/路由 | needs: failed system_design candidate 22b21f8; PASS -> presentation_design; FAIL -> failed; max_attempts=1 |
| 状态 | active |
| 负责人 | 019feb14-e6ad-77a0-b43d-ad3f0308c8ab / systems-designer |
| 分配理由 | 职责匹配 |
| 轮次 | 1 |
| 开始时间 | 2026-08-10T11:10:13+00:00 |
| 最后更新 | 2026-08-10T19:12:03+08:00 |
| 验收结果 | PENDING |
| 日志指针 | `/Users/wusumac/.codex/sessions/2026/08/10/rollout-2026-08-10T17-50-43-019feb14-e6ad-77a0-b43d-ad3f0308c8ab.jsonl` |
| Runtime requested | runtime=codex-native; flavor=codex; model=gpt-5.6-sol; effort=xhigh; permission=yolo; visibility=headless |
| Runtime observed | runtime=codex-native; flavor=codex; model=gpt-5.6-sol; effort=xhigh; permission=yolo; visibility=headless |
| Runtime verification | VERIFIED |
| Session ID | 019feb14-e6ad-77a0-b43d-ad3f0308c8ab |
| Runtime evidence | `/Users/wusumac/.codex/sessions/2026/08/10/rollout-2026-08-10T17-50-43-019feb14-e6ad-77a0-b43d-ad3f0308c8ab.jsonl` |
| Dispatch bootstrap | dispatch.md |
| Dispatch message | SENT: 2026-08-10T19:11:48+08:00 dispatch:ABG-SYSTEM-REPAIR:attempt-1 via Codex CLI resume |
| Identity ACK | VERIFIED: IDENTITY_READY dispatch_id=dispatch:ABG-SYSTEM-REPAIR:attempt-1 role=role:systems-designer team_revision=rev-1 goal=task:ABG-SYSTEM-REPAIR context_revision=1 |
| 等待归属 | 在等谁:worker;等什么:bounded repair candidate;静默 20 分钟必须诊断 |
## 备注
Prepared from task-manifest.json. Do not hand-edit field names.
## 状态转换历史(追加式)
| 时间 | from -> to | 操作者 | 依据/证据 | 唯一下一步 |
|---|---|---|---|---|
| 2026-08-10T11:10:13+00:00 | created -> inbox | PMO | structured manifest | run pre-dispatch validation |
| 2026-08-10T19:12:03+08:00 | inbox -> active | PMO | JSONL line 179 runtime + line 184 exact identity ACK | monitor bounded repair candidate |
@@ -0,0 +1,96 @@
{
"task_id": "ABG-SYSTEM-REPAIR",
"title": "Repair cross-document system, economy, pacing and save contracts",
"stage": "complete-design phase 1 repair",
"baseline": "22b21f8749077a6b0a71e210be981b12d722ae45",
"branch": "agent/abg-system-design",
"worktree": "/Users/wusumac/Documents/game/tmp/aetherbound-guild-worktrees/system-design",
"frozen_spec": ".agent-taskgraph/spec.md revision design-spec-r1",
"graph_node": ".agent-taskgraph/graph.yaml#system_design_repair",
"context_revision": "1",
"context_mode": "balanced",
"context_items": [
{
"path": ".agent-taskgraph/PROJECT.md",
"revision": "design-batch-01 / graph-r2",
"reason": "project boundaries and confirmed execution profile"
},
{
"path": ".agent-taskgraph/roles/systems-designer/ROLE.md",
"revision": "rev-1 repair handoff",
"reason": "persistent responsibility and failed-candidate continuity"
},
{
"path": ".agent-taskgraph/spec.md",
"revision": "design-spec-r1",
"reason": "frozen complete-design scope"
},
{
"path": ".agent-taskgraph/graph.yaml",
"revision": "graph-r2#system_design_repair",
"reason": "repair node routes and dependencies"
},
{
"path": ".agent-taskgraph/queue/failed/ABG-SYSTEM-DESIGN/report.md",
"revision": "candidate 22b21f8 review FAIL",
"reason": "six blocking findings and passing boundaries"
},
{
"path": "docs/product/",
"revision": "candidate 22b21f8",
"reason": "four fixed source documents to repair"
}
],
"role_id": "systems-designer",
"role_lifecycle": "persistent",
"role_responsibility": "Original player loop, battle, profession, economy, balance, save and failure contracts",
"role_continuity": "Failed candidate 22b21f8 to Owner-approved bounded repair in the same persistent role",
"runtime_requested": {
"runtime": "codex-native",
"flavor": "codex",
"model": "gpt-5.6-sol",
"effort": "xhigh",
"permission": "yolo",
"visibility": "headless"
},
"objective": "Repair the six independently reviewed contradictions in candidate 22b21f8 so the four product contracts are mutually consistent, arithmetically executable and implementation-ready without expanding scope.",
"needs": [
"failed system_design candidate 22b21f8"
],
"consumes": [
".agent-taskgraph/queue/failed/ABG-SYSTEM-DESIGN/report.md",
"docs/product/ at 22b21f8"
],
"produces": [
"docs/product/GAME_PRODUCT_CONTRACT.md",
"docs/product/SYSTEMS_AND_BATTLE.md",
"docs/product/ECONOMY_AND_BALANCE.md",
"docs/product/SAVE_AND_FAILURE_CONTRACT.md"
],
"writes": [
"docs/product/GAME_PRODUCT_CONTRACT.md",
"docs/product/SYSTEMS_AND_BATTLE.md",
"docs/product/ECONOMY_AND_BALANCE.md",
"docs/product/SAVE_AND_FAILURE_CONTRACT.md"
],
"pass_route": "presentation_design",
"fail_route": "failed",
"max_attempts": 1,
"acceptance": [
"[ ] One canonical defeat, battle-retreat and noncombat-withdrawal authority; all cross-document references agree",
"[ ] Atomic operation state machine defines crash recovery and duplicate retry behavior at every durable point",
"[ ] Expedition math reaches the declared campaign budget and five profiles include explicit decision timestamps and maximum gaps",
"[ ] Counter-item price, XP multiplier, level cap, skill points, stat conversion and recruit cap are executable for every legal input",
"[ ] Cache fixtures include target 25 over [30,30,40] and cannot produce a zero-loss dominant strategy",
"[ ] Damage formula resolves criticals and enforces the five-percent Raw floor after clamps and rounding",
"[ ] Targeted link, variable, count, contradiction and git diff --check audits pass",
"[ ] Commit only the four owned product documents and leave the worktree clean"
],
"frozen": [
"Do not modify reference, content, presentation, prototype or taskgraph files",
"Do not add runtime code, choose an engine, generate assets, package or publish",
"Do not expand the frozen 30/12/24/100/8/320 content scope",
"Do not rewrite passing originality or product boundaries except a directly necessary cross-reference"
],
"estimate": "design repair 60-120m; verification 30-45m; confidence high"
}