ded3253b08
按四不写原则移除 PR #159 引入、已被策划 V2 取代的整条 V1 链路 删除 runtime_protocol 下六个 V1 模块(planning_storage/submit/approval/coordinator/hydrate/provider_usage) V1 与 V2 共用的 GDD 数据模型抽到新模块 planning_gdd_model.rs 供 V2 继续复用 删除 prompt manifest 中 planning Agent 目录、role overlay、plan sections 与 supervisorPlan 组合及对应生成常量 删除四个 V1 提示词文件(roles/project-planning.md、plan/common.md、plan/supervisor-identity.md、plan/supervisor-playbook.md) 删除 game-creator.config.json 与配置代码中的 planning 能力开关 删除 CLI --swarm-chat 的 --plan 入口与 swarm_cli 中的 plan source 分支 删除 provider_retry 的 planning session binding 与 plan 专用请求指纹链路 删除 provider_action_batch 的 plan.submit_gdd v4 批次形状校验与 planning 绑定字段 删除 tool_policy_snapshot / agent_native_tools / tool_plan_protocol 中的 plan 根阶段收窄与 plan.submit_gdd 身份门 删除 main_loop 的 plan_gdd blocker 投影、plan 信封修复回路与 plan submit 业务拒绝限流 删除 pending_recovery 与 recovery_scan 的 plan submit 锚点恢复、planning session 投影恢复与审批投影恢复 删除 acceptance_graph 的 Fast GDD 取证覆盖校验与 plan 根验收前置门 删除 agent_db 的 plan.provider_usage、plan.gdd_decided、plan_submit_gdd.committed 三条专用持久车道及其预留配额 删除 AgentRuntimeState 的 plan_submit_gdd_rejection_count 字段 runtime_tools 的委派、run_status、goal_contract 恢复为通用路径(移除 plan 根对称性守卫与 acceptance gate 钩子) 同步删除只覆盖 V1 行为的测试用例(planning 澄清、锚点恢复、plan 根委派门、plan 提示词组合等)
252 lines
7.9 KiB
JSON
252 lines
7.9 KiB
JSON
{
|
|
"schemaVersion": 1,
|
|
"id": "genarrative.agent-runtime",
|
|
"version": "2026-08-11.1",
|
|
"sections": {
|
|
"common": "common.md",
|
|
"isolatedTemplateCatalogIntro": "isolated-template-catalog-intro.md",
|
|
"isolatedAgentContract": "isolated-agent-contract.md",
|
|
"platformDefault": "platform/default.md",
|
|
"platformLinux": "platform/linux.md",
|
|
"providerIsolatedToolContract": "provider/isolated-tool-contract.md",
|
|
"providerAutonomousRunProfile": "provider/autonomous-run-profile.md",
|
|
"providerAutonomousSupervisorManifest": "provider/autonomous-supervisor-manifest.md",
|
|
"providerInitialCollaborationRepair": "provider/initial-collaboration-repair.md",
|
|
"providerAutonomousInitialCollaborationRepair": "provider/autonomous-initial-collaboration-repair.md",
|
|
"providerSupervisorDeliveryConvergenceRepair": "provider/supervisor-delivery-convergence-repair.md",
|
|
"providerManifestDagWaitRepair": "provider/manifest-dag-wait-repair.md",
|
|
"providerDelegatedPlaytestRepair": "provider/delegated-playtest-repair.md",
|
|
"supervisorIdentityContract": "supervisor/identity-contract.md",
|
|
"supervisorFinalReplyContract": "supervisor/final-reply-contract.md",
|
|
"supervisorIntro": "supervisor/intro.md",
|
|
"supervisorVisualWithoutEditor": "supervisor/visual-contract-without-editor.md",
|
|
"supervisorVisualWithEditor": "supervisor/visual-contract-with-editor.md",
|
|
"supervisorPlaybook": "supervisor/playbook.md",
|
|
"supervisorClaimGate": "supervisor/claim-gate.md",
|
|
"supervisorRepair": "supervisor/repair.md"
|
|
},
|
|
"compositions": {
|
|
"runtime": [
|
|
"$header",
|
|
"common",
|
|
"isolatedTemplateCatalogIntro",
|
|
"$isolatedAgentTemplates",
|
|
"isolatedAgentContract",
|
|
"$platform"
|
|
],
|
|
"supervisor": [
|
|
"$base",
|
|
"supervisorIdentityContract",
|
|
"supervisorIntro",
|
|
"$visualContract",
|
|
"supervisorPlaybook",
|
|
"supervisorClaimGate",
|
|
"supervisorRepair"
|
|
],
|
|
"supervisorChat": {
|
|
"identity": "supervisorIdentityContract",
|
|
"finalReply": "supervisorFinalReplyContract"
|
|
}
|
|
},
|
|
"variants": {
|
|
"platform": {
|
|
"default": "platformDefault",
|
|
"linux": "platformLinux"
|
|
},
|
|
"visualContract": {
|
|
"editorConfigured": "supervisorVisualWithEditor",
|
|
"editorUnavailable": "supervisorVisualWithoutEditor"
|
|
}
|
|
},
|
|
"roleOverlays": [],
|
|
"providerFragments": {
|
|
"isolatedToolContract": "providerIsolatedToolContract",
|
|
"autonomousRunProfile": "providerAutonomousRunProfile",
|
|
"autonomousSupervisorManifest": "providerAutonomousSupervisorManifest",
|
|
"initialCollaborationRepair": "providerInitialCollaborationRepair",
|
|
"autonomousInitialCollaborationRepair": "providerAutonomousInitialCollaborationRepair",
|
|
"supervisorDeliveryConvergenceRepair": "providerSupervisorDeliveryConvergenceRepair",
|
|
"manifestDagWaitRepair": "providerManifestDagWaitRepair",
|
|
"delegatedPlaytestRepair": "providerDelegatedPlaytestRepair"
|
|
},
|
|
"agentCatalog": {
|
|
"supervisor": {
|
|
"id": "supervisor",
|
|
"label": "项目总控",
|
|
"role": "Project Supervisor",
|
|
"briefPathName": "project-supervisor.md",
|
|
"roles": [
|
|
{
|
|
"id": "project-supervisor",
|
|
"role": "Project Supervisor",
|
|
"taskId": "project-supervisor",
|
|
"toolId": "agent.runtime.project-supervisor",
|
|
"briefPathName": "project-supervisor.md"
|
|
}
|
|
]
|
|
},
|
|
"groups": [
|
|
{
|
|
"id": "design",
|
|
"label": "策划组",
|
|
"role": "Director + Gameplay",
|
|
"briefPathName": "design.md",
|
|
"roles": [
|
|
{
|
|
"id": "director",
|
|
"role": "Director",
|
|
"taskId": "design-director",
|
|
"toolId": "agent.role.brief.design.director",
|
|
"briefPathName": "director.md"
|
|
},
|
|
{
|
|
"id": "gameplay",
|
|
"role": "Gameplay",
|
|
"taskId": "design-foundation",
|
|
"toolId": "agent.role.brief.design.gameplay",
|
|
"briefPathName": "gameplay.md"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "balance",
|
|
"label": "数值组",
|
|
"role": "Director + Difficulty",
|
|
"briefPathName": "balance.md",
|
|
"roles": [
|
|
{
|
|
"id": "director",
|
|
"role": "Director",
|
|
"taskId": "balance-director",
|
|
"toolId": "agent.role.brief.balance.director",
|
|
"briefPathName": "director.md"
|
|
},
|
|
{
|
|
"id": "difficulty",
|
|
"role": "Difficulty",
|
|
"taskId": "balance-seed",
|
|
"toolId": "agent.role.brief.balance.difficulty",
|
|
"briefPathName": "difficulty.md"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "art",
|
|
"label": "美术组",
|
|
"role": "Director + Asset + Polish",
|
|
"briefPathName": "art.md",
|
|
"roles": [
|
|
{
|
|
"id": "director",
|
|
"role": "Director",
|
|
"taskId": "art-director",
|
|
"toolId": "agent.role.brief.art.director",
|
|
"briefPathName": "director.md"
|
|
},
|
|
{
|
|
"id": "asset",
|
|
"role": "Asset",
|
|
"taskId": "art-asset-plan",
|
|
"toolId": "agent.role.brief.art.asset",
|
|
"briefPathName": "asset.md"
|
|
},
|
|
{
|
|
"id": "polish",
|
|
"role": "Polish",
|
|
"taskId": "art-polish",
|
|
"toolId": "agent.role.brief.art.polish",
|
|
"briefPathName": "polish.md"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "audio",
|
|
"label": "音乐组",
|
|
"role": "Director + SFX",
|
|
"briefPathName": "audio.md",
|
|
"roles": [
|
|
{
|
|
"id": "director",
|
|
"role": "Director",
|
|
"taskId": "audio-director",
|
|
"toolId": "agent.role.brief.audio.director",
|
|
"briefPathName": "director.md"
|
|
},
|
|
{
|
|
"id": "sfx",
|
|
"role": "SFX",
|
|
"taskId": "audio-asset-plan",
|
|
"toolId": "agent.role.brief.audio.sfx",
|
|
"briefPathName": "sfx.md"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "code",
|
|
"label": "程序组",
|
|
"role": "Director + Code + Review + Preview + Playtest",
|
|
"briefPathName": "code.md",
|
|
"roles": [
|
|
{
|
|
"id": "director",
|
|
"role": "Director",
|
|
"taskId": "code-director",
|
|
"toolId": "agent.role.brief.code.director",
|
|
"briefPathName": "director.md"
|
|
},
|
|
{
|
|
"id": "code",
|
|
"role": "Code",
|
|
"taskId": "code-prototype",
|
|
"toolId": "agent.role.brief.code.code",
|
|
"briefPathName": "code.md"
|
|
},
|
|
{
|
|
"id": "review",
|
|
"role": "Review",
|
|
"taskId": "quality-review",
|
|
"toolId": "agent.role.brief.code.review",
|
|
"briefPathName": "review.md"
|
|
},
|
|
{
|
|
"id": "preview",
|
|
"role": "Preview",
|
|
"taskId": "preview-readiness",
|
|
"toolId": "agent.role.brief.code.preview",
|
|
"briefPathName": "preview.md"
|
|
},
|
|
{
|
|
"id": "playtest",
|
|
"role": "Playtest",
|
|
"taskId": "preview-playtest",
|
|
"toolId": "agent.role.brief.code.playtest",
|
|
"briefPathName": "playtest.md"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "publishing",
|
|
"label": "运营组",
|
|
"role": "Director + Publish",
|
|
"briefPathName": "publishing.md",
|
|
"roles": [
|
|
{
|
|
"id": "director",
|
|
"role": "Director",
|
|
"taskId": "publish-strategy",
|
|
"toolId": "agent.role.brief.publishing.director",
|
|
"briefPathName": "director.md"
|
|
},
|
|
{
|
|
"id": "publish",
|
|
"role": "Publish",
|
|
"taskId": "publish-package",
|
|
"toolId": "agent.role.brief.publishing.publish",
|
|
"briefPathName": "publish.md"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|