51 lines
4.5 KiB
JSON
51 lines
4.5 KiB
JSON
{
|
|
"task_id": "ABG-P9.1-RUNTIME-FOUNDATION",
|
|
"title": "P9.1 behavior-equivalent runtime foundation extraction",
|
|
"stage": "implementation-foundation",
|
|
"baseline": "e9fe1bcffd4364049e22dc8f697ad1ffe4611a4a",
|
|
"branch": "agent/abg-p91-runtime-foundation",
|
|
"worktree": "/Users/wusumac/Documents/game/tmp/aetherbound-guild-worktrees/p91-runtime-foundation",
|
|
"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_runtime_foundation",
|
|
"context_revision": "p91-runtime-foundation-r4",
|
|
"context_mode": "deep",
|
|
"context_items": [
|
|
{"path": "AGENTS.md", "revision": "0121015", "reason": "repository execution, evidence and release boundaries"},
|
|
{"path": ".agent-taskgraph/PROJECT.md", "revision": "p9.1 profile", "reason": "confirmed runtime, model and write ownership"},
|
|
{"path": ".agent-taskgraph/spec.md", "revision": "p9.1-spec-r2", "reason": "frozen stage topology and scope"},
|
|
{"path": "docs/runtime/PHASE9_1_ARBITRARY_PARTY_FIRST_SESSION_CONTRACT.md", "revision": "p9.1-contract-r2", "reason": "reconciled foundation paths, APIs and exact accepted 22-script regression gate"},
|
|
{"path": "docs/runtime/p9_1/RUNTIME_ARCHITECTURE_SPEC.md", "revision": "7bc871d", "reason": "detailed extraction order and rollback criteria"},
|
|
{"path": "runtime/main.gd", "revision": "41204ac product authority", "reason": "accepted monolithic runtime to extract behavior-equivalently"},
|
|
{"path": "runtime/tests/", "revision": "P9.0R1-R10 accepted", "reason": "exact contract-listed regressions and facade seams"},
|
|
{"path": "docs/runtime/PHASE9_0R10_PAIR_ADAPTATION_CONTRACT.md", "revision": "P9.0R10", "reason": "latest accepted product behavior boundary"}
|
|
],
|
|
"role_id": "p91-runtime-foundation-developer",
|
|
"role_lifecycle": "persistent",
|
|
"role_responsibility": "Extract one authoritative runtime state, command, snapshot, clock, presenter and compatibility boundary without changing accepted P9.0 behavior",
|
|
"role_continuity": "attempts 1-3 ended before product writes; attempt-4 is a clean redispatch from contract-r2 and source e9fe1bc",
|
|
"runtime_requested": {"runtime": "hapi", "flavor": "codex", "model": "gpt-5.6-sol", "effort": "xhigh", "permission": "yolo", "visibility": "visible"},
|
|
"objective": "Behavior-equivalently extract the architect-defined P9.1 foundation from runtime/main.gd, keep one mutable source of truth, preserve the complete accepted P9.0R1-R10 surface, and leave stable disjoint APIs for later domain, UI and test workers.",
|
|
"needs": ["p91_spec_integration"],
|
|
"consumes": ["p9.1-contract-r2", "P9.0R10 fixed runtime source", "exact accepted 22-script R10 regression manifest"],
|
|
"produces": ["architect-defined foundation files and clean pushed foundation candidate"],
|
|
"writes": ["runtime/main.gd", "runtime/domain/p9_1/contracts.gd", "runtime/domain/p9_1/session_state.gd", "runtime/domain/p9_1/session_service.gd", "runtime/domain/p9_1/battle_fixture.gd", "runtime/presentation/", "runtime/ui/session_presenter.gd", "runtime/ui/widgets.gd", "runtime/compat/p9_0_root_facade.gd"],
|
|
"pass_route": "p91_domain_implementation",
|
|
"fail_route": "failed",
|
|
"max_attempts": 2,
|
|
"acceptance": [
|
|
"[ ] Introduce exactly one authoritative FirstSessionState and FirstSessionService with immutable snapshots and atomic command results",
|
|
"[ ] Extract battle clock, animation, audio, feedback, presenter and widgets without changing accepted values, timing, pixels or input behavior",
|
|
"[ ] Keep main.gd as a thin RuntimeShell/facade and add no P9.1-only gameplay branch",
|
|
"[ ] Leave old run_state.gd and old p9_1_* tests unchanged and excluded from the foundation pass claim",
|
|
"[ ] Run the exact 22 contract-listed R10 scripts serially with unique markers and strict diagnostics zero",
|
|
"[ ] Rerun the four named 844x390 presentation regressions and compare accepted behavior",
|
|
"[ ] Commit and push only the owned paths; worktree clean/upstream; no owned process remains"
|
|
],
|
|
"frozen": [
|
|
"Do not implement the six-pair P9.1 downstream gameplay matrix, new screens or new test expectations",
|
|
"Do not change assets, paid generation, product values, timing, copy, node names or accepted P9.0 assertions",
|
|
"Do not edit PMO TaskGraph files, checkpoint, ledger, packaging, devices, stores or release files"
|
|
],
|
|
"estimate": "foundation extraction 4-6h; exact regression and presentation gate 1-2h; confidence medium"
|
|
}
|