Files
Agent-System/internal/workflowdef/manifests/software_bootstrap.v2.json
T
weichenandCursor dba8139d56 feat(workflow): namespace task keys without breaking old instances
Published manifests now use bd_/pm_/tm_/sw_ prefixes so workflows cannot share a doc id. Frozen instances keep the old keys; lookup, templates, and duty checks treat the two names as the same task.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-19 10:50:25 +00:00

202 lines
6.5 KiB
JSON

{
"schema_version": 2,
"workflow_key": "software_bootstrap",
"product_domains": [
"non_medical_software"
],
"stages": [
{
"key": "S0_boundary",
"name": "S0 项目边界",
"position": 10,
"optional": false,
"manual_gate": true,
"doc_tasks": [
{
"key": "sw_software_charter",
"title": "项目章程",
"default_enabled": true,
"creator_configurable": false,
"blocking_when_enabled": true,
"executor_key": "software.doc.v1",
"quality_gate_key": "quality.generic.v1",
"output_doc_type": "sw_software_charter",
"output_doc_title": "项目章程"
},
{
"key": "sw_source_inventory",
"title": "资料与仓库清单",
"default_enabled": true,
"creator_configurable": true,
"blocking_when_enabled": true,
"executor_key": "software.doc.v1",
"quality_gate_key": "quality.generic.v1",
"output_doc_type": "sw_source_inventory",
"output_doc_title": "资料与仓库清单"
}
]
},
{
"key": "S1_current_state",
"name": "S1 现状基线",
"position": 20,
"optional": false,
"manual_gate": true,
"doc_tasks": [
{
"key": "sw_current_state_audit",
"title": "现状审计",
"default_enabled": true,
"creator_configurable": true,
"blocking_when_enabled": true,
"executor_key": "software.doc.v1",
"quality_gate_key": "quality.generic.v1",
"output_doc_type": "sw_current_state_audit",
"output_doc_title": "现状审计"
},
{
"key": "sw_architecture_baseline",
"title": "当前架构与依赖图",
"default_enabled": true,
"creator_configurable": true,
"blocking_when_enabled": true,
"executor_key": "software.doc.v1",
"quality_gate_key": "quality.generic.v1",
"output_doc_type": "sw_architecture_baseline",
"output_doc_title": "当前架构与依赖图"
},
{
"key": "sw_software_risk_register",
"title": "风险登记册",
"default_enabled": true,
"creator_configurable": false,
"blocking_when_enabled": true,
"executor_key": "software.doc.v1",
"quality_gate_key": "quality.generic.v1",
"output_doc_type": "sw_software_risk_register",
"output_doc_title": "风险登记册"
}
]
},
{
"key": "S2_product_baseline",
"name": "S2 产品基线",
"position": 30,
"optional": false,
"manual_gate": true,
"doc_tasks": [
{
"key": "sw_product_requirements",
"title": "产品与系统需求基线",
"default_enabled": true,
"creator_configurable": false,
"blocking_when_enabled": true,
"executor_key": "software.doc.v1",
"quality_gate_key": "quality.generic.v1",
"output_doc_type": "sw_product_requirements",
"output_doc_title": "产品与系统需求基线"
},
{
"key": "sw_scope_backlog",
"title": "范围化 backlog",
"default_enabled": true,
"creator_configurable": false,
"blocking_when_enabled": true,
"executor_key": "software.doc.v1",
"quality_gate_key": "quality.generic.v1",
"output_doc_type": "sw_scope_backlog",
"output_doc_title": "范围化 backlog"
}
]
},
{
"key": "S3_target_design",
"name": "S3 目标方案",
"position": 40,
"optional": false,
"manual_gate": true,
"doc_tasks": [
{
"key": "sw_target_architecture",
"title": "目标架构方案",
"default_enabled": true,
"creator_configurable": false,
"blocking_when_enabled": true,
"executor_key": "software.doc.v1",
"quality_gate_key": "quality.generic.v1",
"output_doc_type": "sw_target_architecture",
"output_doc_title": "目标架构方案"
},
{
"key": "sw_decision_log",
"title": "架构决策记录",
"default_enabled": true,
"creator_configurable": true,
"blocking_when_enabled": true,
"executor_key": "software.doc.v1",
"quality_gate_key": "quality.generic.v1",
"output_doc_type": "sw_decision_log",
"output_doc_title": "架构决策记录"
}
]
},
{
"key": "S4_bootstrap_roadmap",
"name": "S4 自举路线",
"position": 50,
"optional": false,
"manual_gate": true,
"doc_tasks": [
{
"key": "sw_bootstrap_roadmap",
"title": "分阶段建设路线",
"default_enabled": true,
"creator_configurable": false,
"blocking_when_enabled": true,
"executor_key": "software.doc.v1",
"quality_gate_key": "quality.generic.v1",
"output_doc_type": "sw_bootstrap_roadmap",
"output_doc_title": "分阶段建设路线"
},
{
"key": "sw_verification_strategy",
"title": "验证策略与测试矩阵",
"default_enabled": true,
"creator_configurable": false,
"blocking_when_enabled": true,
"executor_key": "software.doc.v1",
"quality_gate_key": "quality.generic.v1",
"output_doc_type": "sw_verification_strategy",
"output_doc_title": "验证策略与测试矩阵"
},
{
"key": "sw_operations_baseline",
"title": "部署运维与恢复基线",
"default_enabled": true,
"creator_configurable": true,
"blocking_when_enabled": true,
"executor_key": "software.doc.v1",
"quality_gate_key": "quality.generic.v1",
"output_doc_type": "sw_operations_baseline",
"output_doc_title": "部署运维与恢复基线"
},
{
"key": "sw_bootstrap_readiness",
"title": "自举就绪评审",
"default_enabled": true,
"creator_configurable": false,
"blocking_when_enabled": true,
"executor_key": "software.doc.v1",
"quality_gate_key": "quality.generic.v1",
"output_doc_type": "sw_bootstrap_readiness",
"output_doc_title": "自举就绪评审"
}
]
}
],
"completion_policy": {
"suggest_next_workflow": "software_delivery",
"auto_start_next": false
}
}