chore: route zero-recruit state repair

This commit is contained in:
2026-08-11 00:37:19 +08:00
parent 619732c1bb
commit bfbc54cb10
17 changed files with 83 additions and 9 deletions
@@ -0,0 +1,9 @@
# Context: ABG-V2-REVIEW
- Context revision: `1`
- Read `AGENTS.md`, `.agent-taskgraph/spec.md` revision `design-spec-r3`,
`docs/reviews/PRE_DEVELOPMENT_READINESS_AUDIT.md`,
`docs/reviews/DESIGN_VALIDATION_CONTRACT.md` and this Goal.
- Review only fixed Git revision `7ffd6b0`; later main changes are out of scope.
- Reference archive is structural evidence only; do not extract or copy assets.
- Existing reviewer observation is context, not verdict evidence.
@@ -0,0 +1,10 @@
# Dispatch: ABG-V2-REVIEW
- Dispatch ID: `dispatch:ABG-V2-REVIEW:r1`
- Role: `role:independent-reviewer-v2`
- Team revision: `rev-3`
- Goal: `task:ABG-V2-REVIEW`
- Context revision: `1`
- Runtime: HAPI visible Codex `gpt-5.6-sol / xhigh / yolo`
- Session: `HAPI 5161887f-fc11-4850-92b7-321ac8aa1bc2`
- Identity ACK: `IDENTITY_READY role:independent-reviewer-v2 team:rev-3 goal:task:ABG-V2-REVIEW context:1 dispatch:ABG-V2-REVIEW:r1`
@@ -0,0 +1,54 @@
# Goal: ABG-V2 Independent Recruit-Line Design Review
> Task ID: `ABG-V2-REVIEW`
> Frozen spec: `.agent-taskgraph/spec.md` revision `design-spec-r3`
> Graph node: `v2_independent_review`
> Fixed revision: `7ffd6b0`
> Repository: `/Users/wusumac/Documents/game/aetherbound_guild`
> Legal terminal: `ABG-V2-REVIEW PASS` or `ABG-V2-REVIEW FAIL: <earliest failed boundary>` or `ABG-V2-REVIEW INVALID: <review environment boundary>`
## Role
Act as a fresh independent reviewer. The fixed revision is immutable. Use a
reviewer-owned detached archive or worktree and isolated temporary outputs.
Never edit, commit, merge, push, generate media, package or repair.
## Required Gates
1. Prove the reviewed tree is exactly `7ffd6b0`, clean and contains the six
integrated authorities plus the readiness audit and repaired validator.
2. Run the validator self-test, human-readable full audit and JSON audit from
zero. Require exact counts, zero diagnostics and deterministic output.
3. Review the ten-minute loop as a player decision chain: shop offers,
recruit/buy, equip, reorder one horizontal line, choose risk, automatic
combat, casualty/reward and the next shop decision.
4. Check deployment capacity versus cumulative recruitment, dismissal,
permanent casualty, replacement, price pressure, retreat and recovery for
exploits or unrecoverable contradictions.
5. Check deterministic battle, five pacing profiles, no-decision gaps,
solvency, anti-dominance and complete save/failure transaction semantics.
6. Audit all 42 professions, 36 traits, 320 equipment, 60 artifacts, 100
ordinary/elite enemies, 16 bosses and eight regions for schema coherence and
decision-bearing differentiation. Use full mechanical checks plus targeted
semantic sampling; report any filler family precisely.
7. Audit 49 screen definitions, onboarding, EN/zh_CN, 130% text, touch and
controller input, empty/error/confirmation/interruption, reduced motion,
mute and low-power states. This is a design review, not runtime evidence.
8. Audit art, animation, VFX, music, ambience, SFX and generated-recruit voice
scope for feasibility, traceability, readability and absence of fixed-cast
assumptions.
9. Check reference claims distinguish confirmed observation, lower bound,
inference and original invention. Fail copied names, prose, formulas,
layouts, source or commercial assets.
10. Confirm old `prototype/site/` and `tools/validate_design_contracts.py` are
explicitly superseded and are not being presented as current evidence.
## Terminal Rules
- `PASS` only if every required gate passes on the fixed revision.
- `FAIL` for a product/design/evidence defect; stop at the earliest defensible
boundary and cite file/line evidence plus checks already completed.
- `INVALID` for archive, command, parser, environment, timeout or reviewer
process failure; do not turn it into product FAIL and do not retry silently.
- Human fun, comprehension, visual acceptance, listening, device, runtime,
packaging and release remain open even after PASS.
@@ -0,0 +1,8 @@
# Ledger: ABG-V2-REVIEW
| Time | State | Evidence | Next action |
|---|---|---|---|
| 2026-08-11T00:28:00+08:00 | inbox | Fixed integrated revision `7ffd6b0`; validator self-test 15 and full errors=0; repository clean | Verify/reuse Owner-created HAPI reviewer and obtain exact ACK |
| 2026-08-11T00:27:47+08:00 | inbox | HAPI reuse VERIFIED: session `5161887f`, Codex gpt-5.6-sol/xhigh/yolo, idle watermark captured | Send reviewer bootstrap and await exact ACK |
| 2026-08-11T00:29:00+08:00 | review | Exact independent reviewer ACK observed in HAPI | Review immutable `7ffd6b0` and report one legal terminal |
| 2026-08-11T00:34:00+08:00 | failed | `FAIL`: final Recruit dismissal can produce an undefined zero-Recruit Market state | Route product/save repair to systems role and UI synchronization to presentation role; require fresh reviewer |
@@ -0,0 +1,21 @@
# ABG-V2-REVIEW Report
Terminal: `ABG-V2-REVIEW FAIL: dismissal can create an undefined zero-recruit Market state`
Fixed revision: `7ffd6b0`
Reviewer: HAPI `5161887f-fc11-4850-92b7-321ac8aa1bc2`
Gates 1-3 passed: immutable detached archive, validator self-test/full/JSON,
deterministic hashes and the ten-minute core loop were coherent.
Earliest failure: Gate 4. Product and systems allow dismissing a lone Recruit;
save removes it without a recovery or run-close transition; protected offers
exist only after casualties; company-collapse evaluation occurs only after
failure settlement; and UX redirects an empty party back to Market. A low-Coin
player can therefore reach a zero-Recruit Market with no atomic exit except an
unrelated manual abandonment flow.
Repair route: prohibit final-survivor dismissal at preview and commit time;
retain a separate explicit run-abandonment transaction. Synchronize product,
economy, save and UX authority, then use a fresh reviewer on a new fixed
revision.
@@ -0,0 +1,39 @@
{
"status": "VERIFIED",
"phase": "pre-redispatch",
"verification_id": "2fcecd26-e6c8-4058-9496-787fef8a00f2",
"goal_ref": "task:ABG-V2-REVIEW",
"session_id": "5161887f-fc11-4850-92b7-321ac8aa1bc2",
"machine_id": "a15888ad-d405-4884-a407-c28ddd8b397c",
"machine_name": "小吴家",
"machine_host": "wusumacdeMac-mini.local",
"pid": "84826",
"flavor": "codex",
"cwd": "/Users/wusumac/Documents/game",
"model": "gpt-5.6-sol",
"effort": "xhigh",
"permission": "yolo",
"messages_received": 1,
"message_watermark": {
"latest_page_count": 1,
"latest_message_id": "2cc44f77-782f-477a-8671-135a1ce7983c",
"snapshot_head_seq": 148,
"snapshot_head_at": 1786371979782,
"epoch": 0,
"captured_at": "2026-08-10T16:27:47.072068+00:00"
},
"active": true,
"thinking": false,
"lifecycle": "running",
"catalog": {
"status": "VERIFIED",
"source": "/api/machines/:id/codex-models",
"checked_at": "2026-08-10T16:27:46.771961+00:00",
"model": "gpt-5.6-sol",
"effort": "xhigh",
"model_supported": true,
"effort_supported": true
},
"evidence": "HAPI Hub session metadata, model catalog, and message watermark",
"verified_at": "2026-08-10T16:27:47.072113+00:00"
}