@zeyue0329/xiaoma-cli 1.0.24 → 1.0.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ENHANCED_WORKFLOW_OPTIMIZATION.md +225 -0
- package/ENHANCED_WORKFLOW_OPTIMIZATION_SUMMARY.md +293 -0
- package/dist/teams/team-fullstack-with-database.txt +1447 -377
- package/package.json +1 -1
- package/tools/installer/package.json +1 -1
- package/xiaoma-core/agents/automated-fix-validator.yaml +578 -0
- package/xiaoma-core/agents/automated-quality-validator.yaml +544 -0
- package/xiaoma-core/agents/enhanced-workflow-orchestrator.yaml +303 -0
- package/xiaoma-core/agents/global-requirements-auditor.yaml +512 -0
- package/xiaoma-core/agents/intelligent-template-adapter.yaml +375 -0
- package/xiaoma-core/agents/issue-dispatcher.yaml +627 -0
- package/xiaoma-core/agents/master-execution-engine.yaml +529 -0
- package/xiaoma-core/agents/requirements-coverage-auditor.yaml +373 -0
- package/xiaoma-core/docs/ENHANCED_WORKFLOW_USAGE_GUIDE.md +306 -0
- package/xiaoma-core/docs/SERIAL_EXECUTION_WORKFLOW_GUIDE.md +347 -0
- package/xiaoma-core/docs/ULTIMATE_AUTOMATION_USAGE_GUIDE.md +291 -0
- package/xiaoma-core/docs/activate-enhanced-workflow.md +154 -0
- package/xiaoma-core/tasks/requirements-coverage-audit.md +198 -0
- package/xiaoma-core/templates/global-qa-monitoring-tmpl.yaml +442 -0
- package/xiaoma-core/templates/requirements-coverage-audit.yaml +329 -0
- package/xiaoma-core/templates/start-enhanced-workflow.yaml +347 -0
- package/xiaoma-core/workflows/enhanced-fullstack-with-database.yaml +177 -14
- package/xiaoma-core/workflows/enhanced-fullstack-with-qa-loop.yaml +766 -0
- package/xiaoma-core/workflows/full-requirement-automation.yaml +1267 -360
|
@@ -13999,404 +13999,1311 @@ optional_fields_examples:
|
|
|
13999
13999
|
==================== END: .xiaoma-core/templates/qa-gate-tmpl.yaml ====================
|
|
14000
14000
|
|
|
14001
14001
|
==================== START: .xiaoma-core/workflows/full-requirement-automation.yaml ====================
|
|
14002
|
-
#
|
|
14002
|
+
# <!-- Powered by XIAOMA™ Core -->
|
|
14003
|
+
# Ultimate Full Requirement Automation Workflow - 终极全需求自动化工作流
|
|
14004
|
+
# 集成增强串行执行和闭环质量保证系统
|
|
14003
14005
|
|
|
14004
14006
|
workflow:
|
|
14005
|
-
name: full-requirement-automation
|
|
14006
14007
|
id: full-requirement-automation
|
|
14007
|
-
|
|
14008
|
-
|
|
14009
|
-
|
|
14008
|
+
name: Ultimate Full Requirement Automation with Closed-Loop QA
|
|
14009
|
+
version: "3.0.0"
|
|
14010
|
+
description: >-
|
|
14011
|
+
终极全自动化端到端需求交付工作流,采用严格串行执行模式,集成闭环质量保证系统。
|
|
14012
|
+
从需求分析到最终交付的完全自动化解决方案,确保零人工干预、零缺陷交付。
|
|
14013
|
+
特色:全局需求审计、智能问题分发、自动化修复验证、持续质量改进、串行质量保证。
|
|
14014
|
+
核心原则:质量优先、串行执行、依赖验证、持续验证、零缺陷交付、端到端自动化。
|
|
14015
|
+
type: ultimate-automation
|
|
14016
|
+
# 项目类型支持
|
|
14017
|
+
project_types:
|
|
14018
|
+
- web-app
|
|
14019
|
+
- saas
|
|
14020
|
+
- enterprise-app
|
|
14021
|
+
- data-driven-app
|
|
14022
|
+
- api-first
|
|
14023
|
+
- mission-critical-system
|
|
14024
|
+
- full-stack-automation
|
|
14010
14025
|
|
|
14011
14026
|
# 工作流分类和标签
|
|
14012
|
-
category: project-automation
|
|
14027
|
+
category: ultimate-project-automation
|
|
14013
14028
|
tags:
|
|
14014
14029
|
- full-automation
|
|
14015
|
-
-
|
|
14016
|
-
-
|
|
14017
|
-
-
|
|
14018
|
-
|
|
14019
|
-
|
|
14020
|
-
|
|
14021
|
-
|
|
14022
|
-
- 大型项目的批量故事管理
|
|
14023
|
-
- 多团队并行开发协调
|
|
14024
|
-
- 项目级质量控制和交付
|
|
14025
|
-
|
|
14026
|
-
# 工作流参与的智能体
|
|
14030
|
+
- serial-execution
|
|
14031
|
+
- closed-loop-qa
|
|
14032
|
+
- zero-intervention
|
|
14033
|
+
- end-to-end-delivery
|
|
14034
|
+
- quality-assurance
|
|
14035
|
+
|
|
14036
|
+
# ========== 智能体生态系统 ==========
|
|
14027
14037
|
agents:
|
|
14028
|
-
|
|
14029
|
-
|
|
14030
|
-
|
|
14038
|
+
# 主控制器
|
|
14039
|
+
master_orchestrator:
|
|
14040
|
+
agent: master-execution-engine
|
|
14041
|
+
role: 终极工作流总控制器
|
|
14031
14042
|
responsibilities:
|
|
14032
|
-
-
|
|
14033
|
-
-
|
|
14034
|
-
-
|
|
14035
|
-
-
|
|
14036
|
-
|
|
14037
|
-
|
|
14038
|
-
|
|
14039
|
-
|
|
14043
|
+
- 端到端流程编排
|
|
14044
|
+
- 质量门控管理
|
|
14045
|
+
- 串行执行协调
|
|
14046
|
+
- 全局状态监控
|
|
14047
|
+
- 交付物生成
|
|
14048
|
+
|
|
14049
|
+
# 增强工作流编排器
|
|
14050
|
+
enhanced_orchestrator:
|
|
14051
|
+
agent: enhanced-workflow-orchestrator
|
|
14052
|
+
role: 增强工作流编排器
|
|
14053
|
+
responsibilities:
|
|
14054
|
+
- 任务规划和依赖管理
|
|
14055
|
+
- 串行处理优化
|
|
14056
|
+
- 回滚和恢复机制
|
|
14057
|
+
- 质量门控执行
|
|
14058
|
+
|
|
14059
|
+
# 全局需求审计器
|
|
14060
|
+
global_auditor:
|
|
14061
|
+
agent: global-requirements-auditor
|
|
14062
|
+
role: 全局需求审计器
|
|
14040
14063
|
responsibilities:
|
|
14041
|
-
-
|
|
14042
|
-
-
|
|
14043
|
-
-
|
|
14064
|
+
- 全面需求覆盖审计
|
|
14065
|
+
- 质量评估和验证
|
|
14066
|
+
- 问题识别和分析
|
|
14067
|
+
- 改进建议生成
|
|
14068
|
+
|
|
14069
|
+
# 智能问题分发器
|
|
14070
|
+
issue_dispatcher:
|
|
14071
|
+
agent: issue-dispatcher
|
|
14072
|
+
role: 智能问题分发器
|
|
14073
|
+
responsibilities:
|
|
14074
|
+
- 问题接收和分析
|
|
14075
|
+
- 智能分类和路由
|
|
14076
|
+
- 修复任务分发
|
|
14077
|
+
- 状态跟踪管理
|
|
14078
|
+
|
|
14079
|
+
# 自动化修复验证器
|
|
14080
|
+
fix_validator:
|
|
14081
|
+
agent: automated-fix-validator
|
|
14082
|
+
role: 自动化修复验证器
|
|
14083
|
+
responsibilities:
|
|
14084
|
+
- 多层修复验证
|
|
14085
|
+
- 回归测试执行
|
|
14086
|
+
- 质量标准确认
|
|
14087
|
+
- 修复决策制定
|
|
14044
14088
|
|
|
14089
|
+
# 核心角色智能体
|
|
14045
14090
|
role_agents:
|
|
14046
|
-
- agent:
|
|
14047
|
-
role:
|
|
14091
|
+
- agent: analyst
|
|
14092
|
+
role: 业务分析师
|
|
14093
|
+
- agent: pm
|
|
14094
|
+
role: 产品经理
|
|
14095
|
+
- agent: database-architect
|
|
14096
|
+
role: 数据库架构师
|
|
14097
|
+
- agent: ux-expert
|
|
14098
|
+
role: 用户体验专家
|
|
14099
|
+
- agent: architect
|
|
14100
|
+
role: 系统架构师
|
|
14048
14101
|
- agent: po
|
|
14049
|
-
role:
|
|
14102
|
+
role: 产品负责人
|
|
14103
|
+
- agent: sm
|
|
14104
|
+
role: 敏捷教练
|
|
14050
14105
|
- agent: dev
|
|
14051
|
-
role:
|
|
14106
|
+
role: 开发工程师
|
|
14052
14107
|
- agent: qa
|
|
14053
|
-
role:
|
|
14054
|
-
- agent:
|
|
14055
|
-
role:
|
|
14108
|
+
role: 质量保证工程师
|
|
14109
|
+
- agent: devops
|
|
14110
|
+
role: 运维工程师
|
|
14111
|
+
|
|
14112
|
+
# ========== 终极执行序列 ==========
|
|
14113
|
+
ultimate_sequence:
|
|
14114
|
+
# ===== 超级阶段1:智能需求分析与设计 =====
|
|
14115
|
+
mega_phase_1_intelligent_analysis:
|
|
14116
|
+
name: "智能需求分析与设计"
|
|
14117
|
+
duration: "45-75分钟"
|
|
14118
|
+
execution_mode: "strict_sequential"
|
|
14119
|
+
description: "从零开始的完整需求分析和设计,确保100%覆盖和质量"
|
|
14056
14120
|
|
|
14057
|
-
|
|
14058
|
-
|
|
14059
|
-
|
|
14060
|
-
|
|
14061
|
-
|
|
14062
|
-
|
|
14121
|
+
steps:
|
|
14122
|
+
# 1.1 项目发现与概要分析
|
|
14123
|
+
- step: project_discovery
|
|
14124
|
+
agent: analyst
|
|
14125
|
+
action: comprehensive_project_analysis
|
|
14126
|
+
creates: project-brief.md
|
|
14127
|
+
optional_steps:
|
|
14128
|
+
- brainstorming_session
|
|
14129
|
+
- market_research_prompt
|
|
14130
|
+
- stakeholder_analysis
|
|
14131
|
+
quality_gates:
|
|
14132
|
+
- completeness_check
|
|
14133
|
+
- feasibility_validation
|
|
14134
|
+
- 100_percent_completion_validated
|
|
14135
|
+
success_criteria:
|
|
14136
|
+
- project_brief_quality_score: ">95"
|
|
14137
|
+
- completeness_percentage: "100%"
|
|
14138
|
+
- feasibility_confirmed: true
|
|
14139
|
+
- stakeholder_alignment: "100%"
|
|
14140
|
+
wait_for_completion: true
|
|
14141
|
+
timeout: 1800
|
|
14142
|
+
notes: "全面项目发现和分析 - 必须100%完成"
|
|
14143
|
+
|
|
14144
|
+
# 1.2 产品需求深度分析
|
|
14145
|
+
- step: prd_creation
|
|
14146
|
+
agent: pm
|
|
14147
|
+
action: create_comprehensive_prd
|
|
14148
|
+
creates: prd.md
|
|
14149
|
+
requires: project-brief.md
|
|
14150
|
+
wait_for_previous: true
|
|
14151
|
+
quality_gates:
|
|
14152
|
+
- requirement_completeness
|
|
14153
|
+
- measurability_check
|
|
14154
|
+
- priority_validation
|
|
14155
|
+
- business_value_validation
|
|
14156
|
+
- 100_percent_completion_validated
|
|
14157
|
+
success_criteria:
|
|
14158
|
+
- prd_quality_score: ">98"
|
|
14159
|
+
- requirement_coverage: "100%"
|
|
14160
|
+
- priority_alignment: "100%"
|
|
14161
|
+
- business_value_score: ">90"
|
|
14162
|
+
dependency_validation:
|
|
14163
|
+
- verify_project_brief_completed
|
|
14164
|
+
- validate_previous_quality_gates
|
|
14165
|
+
timeout: 2400
|
|
14166
|
+
notes: "创建企业级产品需求文档 - 依赖项目概要完成"
|
|
14167
|
+
|
|
14168
|
+
# 1.3 现有系统分析(如果需要)
|
|
14169
|
+
- step: existing_system_analysis
|
|
14170
|
+
agent: database-architect
|
|
14171
|
+
action: analyze_existing_infrastructure
|
|
14172
|
+
creates: existing-system-analysis.md
|
|
14173
|
+
condition: has_existing_system
|
|
14174
|
+
requires: prd.md
|
|
14175
|
+
quality_gates:
|
|
14176
|
+
- system_completeness_check
|
|
14177
|
+
- integration_feasibility_check
|
|
14178
|
+
timeout: 1200
|
|
14179
|
+
notes: "分析现有系统和基础设施"
|
|
14180
|
+
|
|
14181
|
+
# 1.4 数据库架构设计
|
|
14182
|
+
- step: database_design
|
|
14183
|
+
agent: database-architect
|
|
14184
|
+
action: design_complete_database_architecture
|
|
14185
|
+
creates: database-design.md
|
|
14186
|
+
requires:
|
|
14187
|
+
- prd.md
|
|
14188
|
+
- existing-system-analysis.md (if exists)
|
|
14189
|
+
wait_for_previous: true
|
|
14190
|
+
quality_gates:
|
|
14191
|
+
- normalization_check
|
|
14192
|
+
- performance_optimization
|
|
14193
|
+
- scalability_validation
|
|
14194
|
+
- security_compliance_check
|
|
14195
|
+
- 100_percent_completion_validated
|
|
14196
|
+
success_criteria:
|
|
14197
|
+
- database_design_quality_score: ">95"
|
|
14198
|
+
- normalization_compliance: "100%"
|
|
14199
|
+
- performance_requirements_met: true
|
|
14200
|
+
- security_score: ">95"
|
|
14201
|
+
dependency_validation:
|
|
14202
|
+
- verify_prd_completed
|
|
14203
|
+
- validate_existing_analysis_if_required
|
|
14204
|
+
timeout: 2100
|
|
14205
|
+
notes: "企业级数据库架构设计 - 依赖PRD完成"
|
|
14206
|
+
|
|
14207
|
+
# 1.5 数据库脚本和代码生成
|
|
14208
|
+
- step: database_code_generation
|
|
14209
|
+
agent: database-architect
|
|
14210
|
+
action: generate_complete_database_assets
|
|
14211
|
+
creates:
|
|
14212
|
+
- database-scripts/
|
|
14213
|
+
- generated-code/
|
|
14214
|
+
requires: database-design.md
|
|
14215
|
+
wait_for_previous: true
|
|
14216
|
+
quality_gates:
|
|
14217
|
+
- syntax_validation
|
|
14218
|
+
- code_generation_validation
|
|
14219
|
+
- naming_convention_check
|
|
14220
|
+
- performance_optimization_check
|
|
14221
|
+
success_criteria:
|
|
14222
|
+
- code_quality_score: ">90"
|
|
14223
|
+
- script_syntax_validation: "100%"
|
|
14224
|
+
- naming_compliance: "100%"
|
|
14225
|
+
timeout: 1500
|
|
14226
|
+
notes: "生成完整数据库资产(脚本、实体、映射器)"
|
|
14227
|
+
|
|
14228
|
+
# 1.6 用户体验设计
|
|
14229
|
+
- step: ux_design
|
|
14230
|
+
agent: ux-expert
|
|
14231
|
+
action: create_comprehensive_ux_design
|
|
14232
|
+
creates: front-end-spec.md
|
|
14233
|
+
requires:
|
|
14234
|
+
- prd.md
|
|
14235
|
+
- database-design.md
|
|
14236
|
+
wait_for_previous: true
|
|
14237
|
+
quality_gates:
|
|
14238
|
+
- usability_validation
|
|
14239
|
+
- accessibility_check
|
|
14240
|
+
- responsive_design_validation
|
|
14241
|
+
- user_journey_completeness
|
|
14242
|
+
success_criteria:
|
|
14243
|
+
- ux_quality_score: ">90"
|
|
14244
|
+
- accessibility_compliance: "100%"
|
|
14245
|
+
- user_journey_coverage: "100%"
|
|
14246
|
+
timeout: 1800
|
|
14247
|
+
notes: "全面用户体验设计 - 依赖PRD和数据库设计"
|
|
14248
|
+
|
|
14249
|
+
# 1.7 系统架构设计
|
|
14250
|
+
- step: system_architecture
|
|
14251
|
+
agent: architect
|
|
14252
|
+
action: design_complete_system_architecture
|
|
14253
|
+
creates: fullstack-architecture.md
|
|
14254
|
+
requires:
|
|
14255
|
+
- prd.md
|
|
14256
|
+
- database-design.md
|
|
14257
|
+
- front-end-spec.md
|
|
14258
|
+
wait_for_previous: true
|
|
14259
|
+
quality_gates:
|
|
14260
|
+
- architecture_completeness
|
|
14261
|
+
- scalability_design
|
|
14262
|
+
- security_architecture
|
|
14263
|
+
- integration_architecture
|
|
14264
|
+
- performance_architecture
|
|
14265
|
+
success_criteria:
|
|
14266
|
+
- architecture_quality_score: ">95"
|
|
14267
|
+
- scalability_rating: ">90"
|
|
14268
|
+
- security_rating: ">95"
|
|
14269
|
+
- integration_score: ">90"
|
|
14270
|
+
timeout: 2400
|
|
14271
|
+
notes: "企业级全栈系统架构设计"
|
|
14272
|
+
|
|
14273
|
+
# 阶段1质量门控
|
|
14274
|
+
phase_quality_gates:
|
|
14275
|
+
- gate: design_phase_completeness
|
|
14276
|
+
criteria: "所有设计文档100%完成"
|
|
14277
|
+
- gate: cross_document_consistency
|
|
14278
|
+
criteria: "所有文档间一致性验证通过"
|
|
14279
|
+
- gate: technical_feasibility
|
|
14280
|
+
criteria: "技术可行性100%确认"
|
|
14281
|
+
- gate: business_alignment
|
|
14282
|
+
criteria: "业务需求100%对齐"
|
|
14283
|
+
|
|
14284
|
+
# ===== 超级阶段2:7层质量验证与调整 =====
|
|
14285
|
+
mega_phase_2_quality_validation:
|
|
14286
|
+
name: "7层质量验证与调整"
|
|
14287
|
+
duration: "30-45分钟"
|
|
14288
|
+
execution_mode: "strict_sequential"
|
|
14289
|
+
description: "企业级7层质量验证系统,确保零质量缺陷"
|
|
14063
14290
|
|
|
14064
14291
|
steps:
|
|
14065
|
-
|
|
14066
|
-
|
|
14067
|
-
|
|
14068
|
-
|
|
14069
|
-
|
|
14070
|
-
|
|
14071
|
-
|
|
14072
|
-
|
|
14073
|
-
|
|
14074
|
-
|
|
14075
|
-
|
|
14076
|
-
-
|
|
14077
|
-
-
|
|
14078
|
-
-
|
|
14079
|
-
|
|
14080
|
-
|
|
14081
|
-
|
|
14082
|
-
|
|
14083
|
-
|
|
14292
|
+
# 2.1 产品负责人全面验证
|
|
14293
|
+
- step: po_comprehensive_validation
|
|
14294
|
+
agent: po
|
|
14295
|
+
action: execute_7_layer_validation
|
|
14296
|
+
validates: all_design_artifacts
|
|
14297
|
+
uses: po-master-checklist
|
|
14298
|
+
quality_gates:
|
|
14299
|
+
- layer_1_syntax_format_validation # 100%必须通过
|
|
14300
|
+
- layer_2_content_completeness_validation # ≥90%标准
|
|
14301
|
+
- layer_3_content_quality_validation # ≥87%标准
|
|
14302
|
+
- layer_4_consistency_validation # ≥96%标准
|
|
14303
|
+
- layer_5_implementation_feasibility_validation # ≥83%标准
|
|
14304
|
+
- layer_6_business_value_validation # ≥82%标准
|
|
14305
|
+
- layer_7_final_integration_validation # ≥90%标准
|
|
14306
|
+
success_criteria:
|
|
14307
|
+
- overall_quality_score: ">95"
|
|
14308
|
+
- critical_layer_pass_rate: "100%"
|
|
14309
|
+
- consistency_score: ">96"
|
|
14310
|
+
- feasibility_score: ">85"
|
|
14311
|
+
timeout: 2100
|
|
14312
|
+
notes: "企业级7层质量验证系统"
|
|
14313
|
+
|
|
14314
|
+
# 2.2 智能问题修复(如果需要)
|
|
14315
|
+
- step: intelligent_issue_resolution
|
|
14316
|
+
agent: various
|
|
14317
|
+
action: fix_identified_issues
|
|
14318
|
+
condition: po_validation_issues_exist
|
|
14319
|
+
requires: po_comprehensive_validation
|
|
14320
|
+
execution_mode: sequential_fix_cycle
|
|
14321
|
+
fix_sequence:
|
|
14322
|
+
- syntax_and_format_fixes
|
|
14323
|
+
- content_completeness_fixes
|
|
14324
|
+
- quality_improvement_fixes
|
|
14325
|
+
- consistency_alignment_fixes
|
|
14326
|
+
quality_gates:
|
|
14327
|
+
- fix_completeness_validation
|
|
14328
|
+
- fix_quality_validation
|
|
14329
|
+
- regression_prevention_check
|
|
14330
|
+
success_criteria:
|
|
14331
|
+
- all_issues_resolved: "100%"
|
|
14332
|
+
- no_regression_introduced: true
|
|
14333
|
+
timeout: 1800
|
|
14334
|
+
notes: "智能化问题修复 - 串行解决所有质量问题"
|
|
14335
|
+
|
|
14336
|
+
# 阶段2质量门控
|
|
14337
|
+
phase_quality_gates:
|
|
14338
|
+
- gate: seven_layer_validation_complete
|
|
14339
|
+
criteria: "7层质量验证100%通过"
|
|
14340
|
+
- gate: zero_critical_issues
|
|
14341
|
+
criteria: "零关键质量问题"
|
|
14342
|
+
- gate: validation_consistency
|
|
14343
|
+
criteria: "验证结果一致性确认"
|
|
14344
|
+
|
|
14345
|
+
# ===== 超级阶段3:智能用户故事生成与开发 =====
|
|
14346
|
+
mega_phase_3_story_development:
|
|
14347
|
+
name: "智能用户故事生成与开发"
|
|
14348
|
+
duration: "60-120分钟"
|
|
14349
|
+
execution_mode: "strict_sequential_per_story"
|
|
14350
|
+
description: "全自动化用户故事生成、开发和验证"
|
|
14351
|
+
|
|
14352
|
+
steps:
|
|
14353
|
+
# 3.1 文档分片和准备
|
|
14354
|
+
- step: document_sharding
|
|
14355
|
+
agent: po
|
|
14356
|
+
action: shard_documents_for_development
|
|
14357
|
+
creates: sharded_docs
|
|
14358
|
+
requires: all_validated_artifacts
|
|
14359
|
+
wait_for_previous: true
|
|
14360
|
+
quality_gates:
|
|
14361
|
+
- sharding_completeness_check
|
|
14362
|
+
- dependency_preservation_check
|
|
14363
|
+
success_criteria:
|
|
14364
|
+
- sharding_coverage: "100%"
|
|
14365
|
+
- dependency_integrity: "100%"
|
|
14366
|
+
timeout: 900
|
|
14367
|
+
notes: "智能文档分片 - 为开发准备结构化输入"
|
|
14368
|
+
|
|
14369
|
+
# 3.2 增强用户故事创建
|
|
14370
|
+
- step: enhanced_story_creation
|
|
14371
|
+
agent: sm
|
|
14372
|
+
action: create_enhanced_stories_with_database
|
|
14373
|
+
creates: enhanced_stories/
|
|
14374
|
+
requires:
|
|
14375
|
+
- sharded_docs
|
|
14376
|
+
- database-design.md
|
|
14377
|
+
- generated-code/
|
|
14378
|
+
- fullstack-architecture.md
|
|
14379
|
+
execution_mode: sequential_per_epic
|
|
14380
|
+
completion_requirement: 100%
|
|
14381
|
+
template: enhanced-story-with-database-tmpl.yaml
|
|
14382
|
+
quality_gates:
|
|
14383
|
+
- template_compliance_100_percent
|
|
14384
|
+
- content_structure_validation
|
|
14385
|
+
- database_integration_validation
|
|
14386
|
+
- story_completeness_validation
|
|
14387
|
+
- acceptance_criteria_validation
|
|
14388
|
+
success_criteria:
|
|
14389
|
+
- story_quality_score: ">98"
|
|
14390
|
+
- template_compliance: "100%"
|
|
14391
|
+
- zero_validation_errors: true
|
|
14392
|
+
- acceptance_criteria_completeness: "100%"
|
|
14393
|
+
wait_for_previous_completion: true
|
|
14394
|
+
auto_correction:
|
|
14395
|
+
max_attempts: 5
|
|
14396
|
+
strategies:
|
|
14397
|
+
- immediate_auto_correction
|
|
14398
|
+
- template_based_correction
|
|
14399
|
+
- ai_guided_improvement
|
|
14400
|
+
timeout: 3600
|
|
14401
|
+
retry: 3
|
|
14402
|
+
notes: "企业级增强用户故事创建 - 每个史诗依次完成"
|
|
14403
|
+
|
|
14404
|
+
# 3.3 串行开发实现
|
|
14405
|
+
- step: sequential_development
|
|
14406
|
+
agent: dev
|
|
14407
|
+
action: implement_stories_sequentially
|
|
14408
|
+
creates: implementation_files/
|
|
14409
|
+
requires:
|
|
14410
|
+
- enhanced_stories/
|
|
14411
|
+
- generated-code/
|
|
14412
|
+
- fullstack-architecture.md
|
|
14413
|
+
execution_mode: sequential_per_story
|
|
14414
|
+
completion_requirement: 100%
|
|
14415
|
+
quality_gates:
|
|
14416
|
+
- implementation_quality_check
|
|
14417
|
+
- code_structure_validation
|
|
14418
|
+
- api_integration_validation
|
|
14419
|
+
- implementation_completeness_check
|
|
14420
|
+
- unit_test_coverage_check
|
|
14421
|
+
success_criteria:
|
|
14422
|
+
- implementation_quality_score: ">95"
|
|
14423
|
+
- code_coverage: ">90%"
|
|
14424
|
+
- zero_critical_bugs: true
|
|
14425
|
+
- api_contract_compliance: "100%"
|
|
14426
|
+
wait_for_previous_completion: true
|
|
14427
|
+
auto_correction:
|
|
14428
|
+
max_attempts: 5
|
|
14429
|
+
correction_strategies:
|
|
14430
|
+
- immediate_auto_correction
|
|
14431
|
+
- iterative_quality_improvement
|
|
14432
|
+
- architectural_guidance_correction
|
|
14433
|
+
timeout: 5400
|
|
14434
|
+
notes: "企业级串行开发实现 - 每个故事依次完成"
|
|
14435
|
+
|
|
14436
|
+
# 3.4 质量保证验证
|
|
14437
|
+
- step: comprehensive_qa
|
|
14438
|
+
agent: qa
|
|
14439
|
+
action: execute_comprehensive_qa_validation
|
|
14440
|
+
validates: implementation_files/
|
|
14441
|
+
requires: implementation_files/
|
|
14442
|
+
wait_for_previous: true
|
|
14443
|
+
quality_gates:
|
|
14444
|
+
- unit_test_validation
|
|
14445
|
+
- integration_test_validation
|
|
14446
|
+
- code_quality_assessment
|
|
14447
|
+
- security_validation
|
|
14448
|
+
- performance_validation
|
|
14449
|
+
success_criteria:
|
|
14450
|
+
- test_pass_rate: ">98%"
|
|
14451
|
+
- code_quality_score: ">90"
|
|
14452
|
+
- security_score: ">95"
|
|
14453
|
+
- performance_score: ">85"
|
|
14454
|
+
timeout: 2700
|
|
14455
|
+
notes: "全面质量保证验证"
|
|
14456
|
+
|
|
14457
|
+
# 阶段3质量门控
|
|
14458
|
+
phase_quality_gates:
|
|
14459
|
+
- gate: story_development_completeness
|
|
14460
|
+
criteria: "所有用户故事100%开发完成"
|
|
14461
|
+
- gate: implementation_quality_standards
|
|
14462
|
+
criteria: "实现质量达到企业标准"
|
|
14463
|
+
- gate: qa_validation_complete
|
|
14464
|
+
criteria: "QA验证100%通过"
|
|
14465
|
+
|
|
14466
|
+
# ===== 超级阶段4:全局质量审计与闭环修复 =====
|
|
14467
|
+
mega_phase_4_global_qa_loop:
|
|
14468
|
+
name: "全局质量审计与闭环修复"
|
|
14469
|
+
duration: "45-90分钟"
|
|
14470
|
+
execution_mode: "closed_loop_with_max_5_iterations"
|
|
14471
|
+
description: "企业级全局质量审计和智能闭环修复系统"
|
|
14472
|
+
|
|
14473
|
+
steps:
|
|
14474
|
+
# 4.1 全局需求审计
|
|
14475
|
+
- step: global_requirements_audit
|
|
14476
|
+
agent: global-requirements-auditor
|
|
14477
|
+
action: comprehensive_global_audit
|
|
14478
|
+
creates: global-audit-report.md
|
|
14479
|
+
requires:
|
|
14480
|
+
- all_stories_completed
|
|
14481
|
+
- all_implementations
|
|
14482
|
+
- all_test_results
|
|
14483
|
+
validation_dimensions:
|
|
14484
|
+
- prd_to_story_completeness # 100%覆盖要求
|
|
14485
|
+
- story_quality_assessment # ≥95%标准
|
|
14486
|
+
- implementation_completeness # 100%实现
|
|
14487
|
+
- test_coverage_validation # ≥90%覆盖
|
|
14488
|
+
- integration_verification # ≥95%集成
|
|
14489
|
+
- performance_benchmarks # ≥90%基准
|
|
14490
|
+
- security_compliance # ≥98%合规
|
|
14491
|
+
- business_value_realization # ≥85%价值
|
|
14492
|
+
quality_thresholds:
|
|
14493
|
+
critical_requirements_coverage: 100
|
|
14494
|
+
high_priority_completeness: 98
|
|
14495
|
+
overall_quality_score: 95
|
|
14496
|
+
test_coverage: 90
|
|
14497
|
+
security_score: 98
|
|
14084
14498
|
outputs:
|
|
14085
|
-
-
|
|
14086
|
-
-
|
|
14087
|
-
|
|
14088
|
-
|
|
14089
|
-
|
|
14090
|
-
|
|
14091
|
-
|
|
14092
|
-
|
|
14093
|
-
-
|
|
14094
|
-
|
|
14095
|
-
|
|
14096
|
-
|
|
14097
|
-
|
|
14098
|
-
|
|
14099
|
-
|
|
14100
|
-
|
|
14101
|
-
|
|
14102
|
-
|
|
14103
|
-
|
|
14104
|
-
|
|
14105
|
-
|
|
14106
|
-
|
|
14107
|
-
|
|
14108
|
-
|
|
14109
|
-
|
|
14110
|
-
|
|
14111
|
-
|
|
14112
|
-
|
|
14113
|
-
|
|
14114
|
-
|
|
14115
|
-
|
|
14116
|
-
|
|
14117
|
-
|
|
14118
|
-
|
|
14119
|
-
|
|
14120
|
-
|
|
14121
|
-
|
|
14122
|
-
|
|
14123
|
-
|
|
14124
|
-
|
|
14125
|
-
|
|
14126
|
-
|
|
14127
|
-
|
|
14128
|
-
|
|
14129
|
-
-
|
|
14130
|
-
|
|
14131
|
-
|
|
14132
|
-
|
|
14133
|
-
|
|
14134
|
-
|
|
14135
|
-
|
|
14136
|
-
|
|
14137
|
-
|
|
14138
|
-
|
|
14139
|
-
|
|
14140
|
-
|
|
14141
|
-
|
|
14142
|
-
|
|
14143
|
-
|
|
14144
|
-
|
|
14145
|
-
|
|
14146
|
-
|
|
14147
|
-
|
|
14148
|
-
|
|
14149
|
-
|
|
14150
|
-
|
|
14151
|
-
|
|
14152
|
-
|
|
14153
|
-
|
|
14154
|
-
|
|
14155
|
-
|
|
14156
|
-
|
|
14157
|
-
|
|
14158
|
-
|
|
14159
|
-
|
|
14160
|
-
|
|
14161
|
-
|
|
14162
|
-
|
|
14163
|
-
|
|
14164
|
-
|
|
14165
|
-
|
|
14166
|
-
|
|
14167
|
-
|
|
14168
|
-
|
|
14169
|
-
|
|
14170
|
-
|
|
14171
|
-
|
|
14172
|
-
|
|
14173
|
-
|
|
14174
|
-
|
|
14175
|
-
|
|
14176
|
-
|
|
14177
|
-
|
|
14178
|
-
|
|
14179
|
-
|
|
14180
|
-
|
|
14181
|
-
|
|
14182
|
-
|
|
14183
|
-
|
|
14184
|
-
|
|
14185
|
-
|
|
14499
|
+
- requirements_coverage_matrix
|
|
14500
|
+
- quality_assessment_report
|
|
14501
|
+
- identified_issues_list
|
|
14502
|
+
- improvement_recommendations
|
|
14503
|
+
timeout: 2400
|
|
14504
|
+
notes: "企业级全局深度审计 - 全面质量保证验证"
|
|
14505
|
+
|
|
14506
|
+
# 4.2 智能问题分发
|
|
14507
|
+
- step: intelligent_issue_dispatch
|
|
14508
|
+
agent: issue-dispatcher
|
|
14509
|
+
action: analyze_and_route_global_issues
|
|
14510
|
+
requires: global-audit-report.md
|
|
14511
|
+
condition: issues_identified
|
|
14512
|
+
routing_rules:
|
|
14513
|
+
requirement_gaps:
|
|
14514
|
+
target: sm
|
|
14515
|
+
action: create_missing_stories
|
|
14516
|
+
priority: CRITICAL
|
|
14517
|
+
story_quality_issues:
|
|
14518
|
+
target: sm
|
|
14519
|
+
action: refine_stories
|
|
14520
|
+
priority: HIGH
|
|
14521
|
+
implementation_defects:
|
|
14522
|
+
target: dev
|
|
14523
|
+
action: fix_defects
|
|
14524
|
+
priority: CRITICAL
|
|
14525
|
+
test_coverage_gaps:
|
|
14526
|
+
target: qa
|
|
14527
|
+
action: enhance_tests
|
|
14528
|
+
priority: HIGH
|
|
14529
|
+
integration_issues:
|
|
14530
|
+
target: architect
|
|
14531
|
+
action: resolve_integration
|
|
14532
|
+
priority: CRITICAL
|
|
14533
|
+
performance_issues:
|
|
14534
|
+
target: dev
|
|
14535
|
+
action: optimize_performance
|
|
14536
|
+
priority: HIGH
|
|
14537
|
+
security_vulnerabilities:
|
|
14538
|
+
target: dev
|
|
14539
|
+
action: fix_security_issues
|
|
14540
|
+
priority: CRITICAL
|
|
14541
|
+
tracking:
|
|
14542
|
+
- issue_id
|
|
14543
|
+
- assigned_agent
|
|
14544
|
+
- fix_deadline
|
|
14545
|
+
- current_status
|
|
14546
|
+
- impact_assessment
|
|
14547
|
+
timeout: 900
|
|
14548
|
+
notes: "企业级智能问题分发与任务指派"
|
|
14549
|
+
|
|
14550
|
+
# 4.3 串行问题修复循环
|
|
14551
|
+
- step: serial_fix_execution_cycle
|
|
14552
|
+
description: "串行执行所有修复任务"
|
|
14553
|
+
execution_mode: strict_sequential
|
|
14554
|
+
substeps:
|
|
14555
|
+
# 4.3.1 用户故事问题修复
|
|
14556
|
+
- substep: story_fixes
|
|
14557
|
+
agent: sm
|
|
14558
|
+
action: fix_story_issues_comprehensively
|
|
14559
|
+
condition: story_issues_exist
|
|
14560
|
+
auto_retry: 5
|
|
14561
|
+
validation: enhanced_story_quality_validator
|
|
14562
|
+
quality_gates:
|
|
14563
|
+
- story_fixes_complete
|
|
14564
|
+
- story_quality_validated
|
|
14565
|
+
- zero_story_defects
|
|
14566
|
+
- requirement_coverage_maintained
|
|
14567
|
+
success_criteria:
|
|
14568
|
+
- all_story_issues_resolved: 100%
|
|
14569
|
+
- story_quality_score: ">98"
|
|
14570
|
+
- template_compliance: "100%"
|
|
14571
|
+
timeout: 3000
|
|
14572
|
+
notes: "串行修复用户故事问题 - 必须100%完成才能继续"
|
|
14573
|
+
|
|
14574
|
+
# 4.3.2 实现问题修复
|
|
14575
|
+
- substep: implementation_fixes
|
|
14576
|
+
agent: dev
|
|
14577
|
+
action: fix_implementation_issues_comprehensively
|
|
14578
|
+
condition: code_issues_exist
|
|
14579
|
+
requires: story_fixes_completed
|
|
14580
|
+
auto_retry: 5
|
|
14581
|
+
validation: enhanced_code_quality_validator
|
|
14582
|
+
quality_gates:
|
|
14583
|
+
- implementation_fixes_complete
|
|
14584
|
+
- code_quality_validated
|
|
14585
|
+
- zero_implementation_defects
|
|
14586
|
+
- performance_standards_met
|
|
14587
|
+
success_criteria:
|
|
14588
|
+
- all_code_issues_resolved: 100%
|
|
14589
|
+
- code_quality_score: ">95"
|
|
14590
|
+
- performance_score: ">90"
|
|
14591
|
+
timeout: 4200
|
|
14592
|
+
notes: "串行修复实现问题 - 依赖故事修复完成"
|
|
14593
|
+
|
|
14594
|
+
# 4.3.3 测试和集成修复
|
|
14595
|
+
- substep: test_and_integration_fixes
|
|
14596
|
+
agent: qa
|
|
14597
|
+
action: fix_test_and_integration_issues
|
|
14598
|
+
condition: test_or_integration_issues_exist
|
|
14599
|
+
requires: implementation_fixes_completed
|
|
14600
|
+
auto_retry: 3
|
|
14601
|
+
validation: comprehensive_test_validator
|
|
14602
|
+
quality_gates:
|
|
14603
|
+
- test_coverage_fixes_complete
|
|
14604
|
+
- integration_issues_resolved
|
|
14605
|
+
- zero_test_gaps
|
|
14606
|
+
- end_to_end_validation
|
|
14607
|
+
success_criteria:
|
|
14608
|
+
- all_test_issues_resolved: 100%
|
|
14609
|
+
- test_coverage: ">95%"
|
|
14610
|
+
- integration_score: ">98"
|
|
14611
|
+
timeout: 2700
|
|
14612
|
+
notes: "串行修复测试和集成问题 - 依赖代码修复完成"
|
|
14613
|
+
|
|
14614
|
+
# 4.4 修复验证与决策
|
|
14615
|
+
- step: fix_validation_and_decision
|
|
14616
|
+
agent: automated-fix-validator
|
|
14617
|
+
action: validate_all_fixes_comprehensively
|
|
14618
|
+
requires: all_fixes_completed
|
|
14619
|
+
validation_layers:
|
|
14620
|
+
- static_code_analysis
|
|
14621
|
+
- unit_test_execution
|
|
14622
|
+
- integration_testing
|
|
14623
|
+
- e2e_testing
|
|
14624
|
+
- business_logic_validation
|
|
14625
|
+
- performance_validation
|
|
14626
|
+
- security_scanning
|
|
14627
|
+
- regression_testing
|
|
14628
|
+
regression_testing:
|
|
14629
|
+
scope: comprehensive_system_wide
|
|
14630
|
+
depth: full_regression_suite
|
|
14631
|
+
decision_outcomes:
|
|
14632
|
+
- approve_fixes_and_continue
|
|
14633
|
+
- reject_and_rework_fixes
|
|
14634
|
+
- conditional_approval_with_monitoring
|
|
14635
|
+
- escalate_for_expert_review
|
|
14636
|
+
success_criteria:
|
|
14637
|
+
- all_validation_layers_pass: true
|
|
14638
|
+
- zero_regression_detected: true
|
|
14639
|
+
- performance_maintained: true
|
|
14640
|
+
- security_maintained: true
|
|
14641
|
+
timeout: 2100
|
|
14642
|
+
notes: "全面修复验证和智能决策"
|
|
14643
|
+
|
|
14644
|
+
# 4.5 质量保证循环控制
|
|
14645
|
+
- step: qa_loop_control
|
|
14646
|
+
loop_configuration:
|
|
14647
|
+
max_iterations: 5
|
|
14648
|
+
exit_conditions:
|
|
14649
|
+
- no_critical_issues: true
|
|
14650
|
+
- no_high_priority_issues: true
|
|
14651
|
+
- quality_score: ">95"
|
|
14652
|
+
- all_requirements_covered: true
|
|
14653
|
+
- security_score: ">98"
|
|
14654
|
+
- performance_score: ">90"
|
|
14655
|
+
|
|
14656
|
+
loop_steps:
|
|
14657
|
+
- re_audit_after_fixes
|
|
14658
|
+
- route_new_issues_if_found
|
|
14659
|
+
- execute_fixes_if_needed
|
|
14660
|
+
- validate_new_fixes
|
|
14661
|
+
- assess_loop_exit_criteria
|
|
14662
|
+
|
|
14663
|
+
fallback_strategy:
|
|
14664
|
+
condition: max_iterations_reached
|
|
14665
|
+
action: escalate_to_expert_review
|
|
14666
|
+
includes:
|
|
14667
|
+
- comprehensive_issue_analysis
|
|
14668
|
+
- expert_recommendation_generation
|
|
14669
|
+
- risk_assessment_report
|
|
14670
|
+
|
|
14671
|
+
notes: "智能质量保证循环 - 自动循环直至企业级质量达标"
|
|
14672
|
+
|
|
14673
|
+
# 阶段4质量门控
|
|
14674
|
+
phase_quality_gates:
|
|
14675
|
+
- gate: global_audit_complete
|
|
14676
|
+
criteria: "全局审计100%完成"
|
|
14677
|
+
- gate: all_issues_resolved
|
|
14678
|
+
criteria: "所有识别问题100%解决"
|
|
14679
|
+
- gate: quality_loop_exit_criteria_met
|
|
14680
|
+
criteria: "质量循环退出条件满足"
|
|
14681
|
+
- gate: enterprise_quality_standards_achieved
|
|
14682
|
+
criteria: "企业级质量标准达成"
|
|
14683
|
+
|
|
14684
|
+
# ===== 超级阶段5:项目集成与最终交付 =====
|
|
14685
|
+
mega_phase_5_integration_delivery:
|
|
14686
|
+
name: "项目集成与最终交付"
|
|
14687
|
+
duration: "30-45分钟"
|
|
14688
|
+
execution_mode: "strict_sequential"
|
|
14689
|
+
description: "企业级项目集成、验证和交付准备"
|
|
14186
14690
|
|
|
14187
14691
|
steps:
|
|
14188
|
-
|
|
14189
|
-
|
|
14190
|
-
|
|
14191
|
-
|
|
14692
|
+
# 5.1 跨模块系统集成
|
|
14693
|
+
- step: comprehensive_system_integration
|
|
14694
|
+
agent: master-execution-engine
|
|
14695
|
+
action: execute_comprehensive_integration
|
|
14696
|
+
requires: quality_loop_completed
|
|
14697
|
+
scope: "全系统集成测试"
|
|
14698
|
+
integration_levels:
|
|
14699
|
+
- component_integration
|
|
14700
|
+
- service_integration
|
|
14701
|
+
- system_integration
|
|
14702
|
+
- cross_platform_integration
|
|
14192
14703
|
validation:
|
|
14193
|
-
- api_integration_testing
|
|
14194
|
-
-
|
|
14195
|
-
-
|
|
14196
|
-
|
|
14197
|
-
|
|
14198
|
-
|
|
14199
|
-
|
|
14704
|
+
- api_integration_testing
|
|
14705
|
+
- database_consistency_validation
|
|
14706
|
+
- cross_service_communication_testing
|
|
14707
|
+
- data_flow_validation
|
|
14708
|
+
- business_process_integration
|
|
14709
|
+
success_criteria:
|
|
14710
|
+
- integration_test_pass_rate: ">99%"
|
|
14711
|
+
- cross_service_reliability: ">98%"
|
|
14712
|
+
- data_consistency_score: "100%"
|
|
14713
|
+
timeout: 1800
|
|
14714
|
+
notes: "企业级全系统集成验证"
|
|
14715
|
+
|
|
14716
|
+
# 5.2 端到端业务流程验证
|
|
14717
|
+
- step: end_to_end_business_validation
|
|
14718
|
+
agent: master-execution-engine
|
|
14719
|
+
action: validate_complete_business_processes
|
|
14720
|
+
requires: comprehensive_system_integration
|
|
14200
14721
|
scope: "端到端业务流程验证"
|
|
14201
14722
|
validation:
|
|
14202
|
-
- complete_user_journeys
|
|
14203
|
-
- business_workflow_execution
|
|
14204
|
-
- data_lifecycle_validation
|
|
14205
|
-
|
|
14206
|
-
|
|
14207
|
-
|
|
14208
|
-
|
|
14209
|
-
|
|
14723
|
+
- complete_user_journeys
|
|
14724
|
+
- business_workflow_execution
|
|
14725
|
+
- data_lifecycle_validation
|
|
14726
|
+
- compliance_process_validation
|
|
14727
|
+
- error_handling_validation
|
|
14728
|
+
success_criteria:
|
|
14729
|
+
- business_process_success_rate: ">99%"
|
|
14730
|
+
- user_journey_completion_rate: "100%"
|
|
14731
|
+
- compliance_validation_score: "100%"
|
|
14732
|
+
timeout: 1500
|
|
14733
|
+
notes: "全面端到端业务流程验证"
|
|
14734
|
+
|
|
14735
|
+
# 5.3 性能和安全验证
|
|
14736
|
+
- step: performance_security_validation
|
|
14737
|
+
agent: master-execution-engine
|
|
14738
|
+
action: execute_performance_security_testing
|
|
14739
|
+
requires: end_to_end_business_validation
|
|
14740
|
+
scope: "性能和安全综合验证"
|
|
14210
14741
|
validation:
|
|
14211
|
-
- load_testing
|
|
14212
|
-
- stress_testing
|
|
14213
|
-
- scalability_validation
|
|
14214
|
-
|
|
14215
|
-
|
|
14216
|
-
|
|
14217
|
-
|
|
14218
|
-
|
|
14742
|
+
- load_testing
|
|
14743
|
+
- stress_testing
|
|
14744
|
+
- scalability_validation
|
|
14745
|
+
- vulnerability_scanning
|
|
14746
|
+
- penetration_testing
|
|
14747
|
+
- compliance_validation
|
|
14748
|
+
- data_protection_validation
|
|
14749
|
+
success_criteria:
|
|
14750
|
+
- performance_benchmark_compliance: "100%"
|
|
14751
|
+
- zero_high_severity_vulnerabilities: true
|
|
14752
|
+
- scalability_requirements_met: true
|
|
14753
|
+
- compliance_score: "100%"
|
|
14754
|
+
timeout: 2100
|
|
14755
|
+
notes: "企业级性能和安全验证"
|
|
14756
|
+
|
|
14757
|
+
# 5.4 最终产品验收
|
|
14758
|
+
- step: final_product_acceptance
|
|
14759
|
+
agent: po
|
|
14760
|
+
action: final_comprehensive_acceptance
|
|
14761
|
+
requires:
|
|
14762
|
+
- all_integrations_validated
|
|
14763
|
+
- all_validations_passed
|
|
14764
|
+
- quality_standards_achieved
|
|
14765
|
+
creates: final-acceptance-report.md
|
|
14766
|
+
sign_off_criteria:
|
|
14767
|
+
- all_requirements_implemented: true
|
|
14768
|
+
- zero_critical_defects: true
|
|
14769
|
+
- performance_benchmarks_met: true
|
|
14770
|
+
- security_clearance_obtained: true
|
|
14771
|
+
- compliance_requirements_satisfied: true
|
|
14772
|
+
- business_value_delivered: true
|
|
14219
14773
|
validation:
|
|
14220
|
-
-
|
|
14221
|
-
-
|
|
14222
|
-
-
|
|
14223
|
-
|
|
14224
|
-
|
|
14225
|
-
|
|
14226
|
-
|
|
14227
|
-
|
|
14228
|
-
|
|
14229
|
-
|
|
14230
|
-
|
|
14231
|
-
|
|
14232
|
-
|
|
14233
|
-
|
|
14234
|
-
|
|
14235
|
-
|
|
14236
|
-
|
|
14237
|
-
|
|
14238
|
-
|
|
14239
|
-
|
|
14240
|
-
|
|
14241
|
-
|
|
14242
|
-
|
|
14243
|
-
|
|
14244
|
-
-
|
|
14245
|
-
-
|
|
14246
|
-
-
|
|
14247
|
-
-
|
|
14248
|
-
|
|
14249
|
-
- step: handover_preparation
|
|
14250
|
-
agent: full-requirement-orchestrator
|
|
14251
|
-
action: prepare_project_handover
|
|
14252
|
-
outputs:
|
|
14253
|
-
- project_summary_report: 项目总结报告
|
|
14254
|
-
- quality_metrics_report: 质量指标报告
|
|
14255
|
-
- deployment_instructions: 部署说明
|
|
14256
|
-
- support_contact_info: 支持联系信息
|
|
14257
|
-
|
|
14258
|
-
- step: final_validation
|
|
14259
|
-
agent: full-requirement-orchestrator
|
|
14260
|
-
action: validate_delivery_completeness
|
|
14774
|
+
- final_quality_assessment
|
|
14775
|
+
- business_value_realization
|
|
14776
|
+
- user_acceptance_simulation
|
|
14777
|
+
- deployment_readiness_check
|
|
14778
|
+
success_criteria:
|
|
14779
|
+
- final_acceptance_score: ">98"
|
|
14780
|
+
- business_satisfaction: ">95"
|
|
14781
|
+
- deployment_readiness: "100%"
|
|
14782
|
+
timeout: 1200
|
|
14783
|
+
notes: "最终产品验收和签署"
|
|
14784
|
+
|
|
14785
|
+
# 5.5 交付包准备
|
|
14786
|
+
- step: delivery_package_preparation
|
|
14787
|
+
agent: devops
|
|
14788
|
+
action: prepare_comprehensive_delivery_package
|
|
14789
|
+
requires: final-acceptance-report.md
|
|
14790
|
+
creates: ultimate-delivery-package/
|
|
14791
|
+
includes:
|
|
14792
|
+
- validated_source_code
|
|
14793
|
+
- compiled_applications
|
|
14794
|
+
- database_migrations_and_scripts
|
|
14795
|
+
- deployment_configurations
|
|
14796
|
+
- monitoring_and_alerting_setup
|
|
14797
|
+
- security_configurations
|
|
14798
|
+
- backup_and_recovery_procedures
|
|
14799
|
+
- rollback_procedures
|
|
14800
|
+
- operational_runbooks
|
|
14801
|
+
- troubleshooting_guides
|
|
14261
14802
|
validation:
|
|
14262
|
-
-
|
|
14263
|
-
-
|
|
14264
|
-
-
|
|
14265
|
-
-
|
|
14266
|
-
|
|
14267
|
-
|
|
14268
|
-
|
|
14269
|
-
|
|
14270
|
-
|
|
14271
|
-
|
|
14272
|
-
|
|
14273
|
-
|
|
14274
|
-
|
|
14275
|
-
|
|
14276
|
-
|
|
14277
|
-
|
|
14278
|
-
|
|
14279
|
-
|
|
14280
|
-
|
|
14281
|
-
|
|
14282
|
-
|
|
14283
|
-
|
|
14284
|
-
|
|
14285
|
-
|
|
14286
|
-
|
|
14287
|
-
|
|
14288
|
-
|
|
14289
|
-
|
|
14290
|
-
|
|
14291
|
-
|
|
14292
|
-
|
|
14293
|
-
|
|
14294
|
-
|
|
14295
|
-
|
|
14296
|
-
|
|
14297
|
-
#
|
|
14298
|
-
|
|
14299
|
-
|
|
14300
|
-
|
|
14301
|
-
|
|
14302
|
-
|
|
14303
|
-
|
|
14304
|
-
|
|
14305
|
-
|
|
14306
|
-
|
|
14307
|
-
|
|
14308
|
-
|
|
14309
|
-
|
|
14310
|
-
|
|
14311
|
-
|
|
14312
|
-
-
|
|
14313
|
-
-
|
|
14314
|
-
-
|
|
14315
|
-
|
|
14316
|
-
|
|
14317
|
-
-
|
|
14318
|
-
-
|
|
14319
|
-
-
|
|
14320
|
-
-
|
|
14321
|
-
|
|
14322
|
-
|
|
14323
|
-
|
|
14324
|
-
|
|
14325
|
-
|
|
14326
|
-
|
|
14327
|
-
|
|
14328
|
-
|
|
14329
|
-
|
|
14330
|
-
|
|
14331
|
-
|
|
14332
|
-
|
|
14333
|
-
|
|
14334
|
-
|
|
14335
|
-
|
|
14336
|
-
|
|
14337
|
-
|
|
14338
|
-
|
|
14339
|
-
|
|
14340
|
-
|
|
14341
|
-
|
|
14342
|
-
|
|
14343
|
-
|
|
14344
|
-
|
|
14345
|
-
|
|
14346
|
-
|
|
14347
|
-
|
|
14348
|
-
|
|
14349
|
-
|
|
14350
|
-
|
|
14351
|
-
|
|
14352
|
-
|
|
14353
|
-
|
|
14354
|
-
|
|
14355
|
-
-
|
|
14356
|
-
|
|
14357
|
-
|
|
14358
|
-
|
|
14359
|
-
|
|
14360
|
-
-
|
|
14361
|
-
|
|
14362
|
-
|
|
14363
|
-
|
|
14364
|
-
|
|
14365
|
-
-
|
|
14366
|
-
|
|
14367
|
-
|
|
14368
|
-
|
|
14803
|
+
- package_completeness_check
|
|
14804
|
+
- deployment_script_validation
|
|
14805
|
+
- configuration_accuracy_check
|
|
14806
|
+
- documentation_completeness
|
|
14807
|
+
success_criteria:
|
|
14808
|
+
- package_completeness: "100%"
|
|
14809
|
+
- deployment_script_validation: "100%"
|
|
14810
|
+
- documentation_quality: ">95"
|
|
14811
|
+
timeout: 1500
|
|
14812
|
+
notes: "企业级交付包准备"
|
|
14813
|
+
|
|
14814
|
+
# 5.6 最终交付文档生成
|
|
14815
|
+
- step: final_delivery_documentation
|
|
14816
|
+
agent: master-execution-engine
|
|
14817
|
+
action: generate_comprehensive_delivery_documentation
|
|
14818
|
+
requires: ultimate-delivery-package/
|
|
14819
|
+
creates:
|
|
14820
|
+
- executive_summary_report.md
|
|
14821
|
+
- technical_delivery_report.md
|
|
14822
|
+
- quality_certification_report.md
|
|
14823
|
+
- deployment_guide.md
|
|
14824
|
+
- user_documentation/
|
|
14825
|
+
- maintenance_guide.md
|
|
14826
|
+
- support_contact_information.md
|
|
14827
|
+
validation:
|
|
14828
|
+
- documentation_completeness
|
|
14829
|
+
- documentation_accuracy
|
|
14830
|
+
- documentation_usability
|
|
14831
|
+
success_criteria:
|
|
14832
|
+
- documentation_completeness: "100%"
|
|
14833
|
+
- documentation_quality: ">95"
|
|
14834
|
+
- user_friendliness_score: ">90"
|
|
14835
|
+
timeout: 1200
|
|
14836
|
+
notes: "最终交付文档生成"
|
|
14837
|
+
|
|
14838
|
+
# 阶段5质量门控
|
|
14839
|
+
phase_quality_gates:
|
|
14840
|
+
- gate: system_integration_complete
|
|
14841
|
+
criteria: "系统集成100%完成"
|
|
14842
|
+
- gate: business_validation_passed
|
|
14843
|
+
criteria: "业务验证100%通过"
|
|
14844
|
+
- gate: final_acceptance_obtained
|
|
14845
|
+
criteria: "最终验收确认获得"
|
|
14846
|
+
- gate: delivery_package_ready
|
|
14847
|
+
criteria: "交付包完全就绪"
|
|
14848
|
+
|
|
14849
|
+
# ========== 工作流状态机(增强版)==========
|
|
14850
|
+
state_machine:
|
|
14851
|
+
states:
|
|
14852
|
+
- INITIALIZED: "工作流初始化"
|
|
14853
|
+
- INTELLIGENT_ANALYSIS: "智能需求分析中"
|
|
14854
|
+
- DESIGN_VALIDATION: "设计验证中"
|
|
14855
|
+
- QUALITY_VALIDATION: "质量验证中"
|
|
14856
|
+
- STORY_DEVELOPMENT: "故事开发中"
|
|
14857
|
+
- GLOBAL_AUDIT: "全局审计中"
|
|
14858
|
+
- ISSUE_IDENTIFIED: "发现问题"
|
|
14859
|
+
- SERIAL_FIX_IN_PROGRESS: "串行修复进行中"
|
|
14860
|
+
- FIX_VALIDATION: "修复验证中"
|
|
14861
|
+
- QUALITY_LOOP: "质量循环中"
|
|
14862
|
+
- SYSTEM_INTEGRATION: "系统集成中"
|
|
14863
|
+
- BUSINESS_VALIDATION: "业务验证中"
|
|
14864
|
+
- FINAL_ACCEPTANCE: "最终验收中"
|
|
14865
|
+
- DELIVERY_PREPARATION: "交付准备中"
|
|
14866
|
+
- COMPLETED: "已完成"
|
|
14867
|
+
- FAILED: "失败"
|
|
14868
|
+
- ESCALATED: "已升级"
|
|
14869
|
+
|
|
14870
|
+
transitions:
|
|
14871
|
+
- from: INITIALIZED
|
|
14872
|
+
to: INTELLIGENT_ANALYSIS
|
|
14873
|
+
trigger: workflow_start
|
|
14874
|
+
validation: system_readiness_check
|
|
14875
|
+
|
|
14876
|
+
- from: INTELLIGENT_ANALYSIS
|
|
14877
|
+
to: DESIGN_VALIDATION
|
|
14878
|
+
trigger: analysis_complete
|
|
14879
|
+
validation: analysis_quality_confirmed
|
|
14880
|
+
|
|
14881
|
+
- from: DESIGN_VALIDATION
|
|
14882
|
+
to: QUALITY_VALIDATION
|
|
14883
|
+
trigger: design_approved
|
|
14884
|
+
validation: design_completeness_verified
|
|
14885
|
+
|
|
14886
|
+
- from: QUALITY_VALIDATION
|
|
14887
|
+
to: STORY_DEVELOPMENT
|
|
14888
|
+
trigger: quality_validation_passed
|
|
14889
|
+
validation: seven_layer_validation_complete
|
|
14890
|
+
|
|
14891
|
+
- from: STORY_DEVELOPMENT
|
|
14892
|
+
to: GLOBAL_AUDIT
|
|
14893
|
+
trigger: development_complete
|
|
14894
|
+
validation: all_stories_implemented
|
|
14895
|
+
|
|
14896
|
+
- from: GLOBAL_AUDIT
|
|
14897
|
+
to: [ISSUE_IDENTIFIED, SYSTEM_INTEGRATION]
|
|
14898
|
+
trigger: audit_complete
|
|
14899
|
+
condition: "issues_found ? ISSUE_IDENTIFIED : SYSTEM_INTEGRATION"
|
|
14900
|
+
|
|
14901
|
+
- from: ISSUE_IDENTIFIED
|
|
14902
|
+
to: SERIAL_FIX_IN_PROGRESS
|
|
14903
|
+
trigger: issues_routed
|
|
14904
|
+
validation: fix_plan_approved
|
|
14905
|
+
|
|
14906
|
+
- from: SERIAL_FIX_IN_PROGRESS
|
|
14907
|
+
to: FIX_VALIDATION
|
|
14908
|
+
trigger: fixes_complete
|
|
14909
|
+
validation: all_fixes_implemented
|
|
14910
|
+
|
|
14911
|
+
- from: FIX_VALIDATION
|
|
14912
|
+
to: [QUALITY_LOOP, FAILED]
|
|
14913
|
+
trigger: validation_complete
|
|
14914
|
+
condition: "validation_passed ? QUALITY_LOOP : FAILED"
|
|
14915
|
+
|
|
14916
|
+
- from: QUALITY_LOOP
|
|
14917
|
+
to: [GLOBAL_AUDIT, ESCALATED]
|
|
14918
|
+
trigger: loop_iteration
|
|
14919
|
+
condition: "max_iterations_reached ? ESCALATED : GLOBAL_AUDIT"
|
|
14920
|
+
|
|
14921
|
+
- from: SYSTEM_INTEGRATION
|
|
14922
|
+
to: BUSINESS_VALIDATION
|
|
14923
|
+
trigger: integration_complete
|
|
14924
|
+
validation: integration_tests_passed
|
|
14925
|
+
|
|
14926
|
+
- from: BUSINESS_VALIDATION
|
|
14927
|
+
to: FINAL_ACCEPTANCE
|
|
14928
|
+
trigger: business_validation_complete
|
|
14929
|
+
validation: business_processes_validated
|
|
14930
|
+
|
|
14931
|
+
- from: FINAL_ACCEPTANCE
|
|
14932
|
+
to: DELIVERY_PREPARATION
|
|
14933
|
+
trigger: acceptance_obtained
|
|
14934
|
+
validation: final_sign_off_complete
|
|
14935
|
+
|
|
14936
|
+
- from: DELIVERY_PREPARATION
|
|
14937
|
+
to: COMPLETED
|
|
14938
|
+
trigger: delivery_ready
|
|
14939
|
+
validation: delivery_package_validated
|
|
14940
|
+
|
|
14941
|
+
- from: [FAILED, ESCALATED]
|
|
14942
|
+
to: COMPLETED
|
|
14943
|
+
trigger: manual_intervention
|
|
14944
|
+
validation: expert_resolution_confirmed
|
|
14945
|
+
|
|
14946
|
+
# ========== 质量保证配置(企业级)==========
|
|
14947
|
+
quality_assurance:
|
|
14948
|
+
# 企业级质量门控
|
|
14949
|
+
quality_gates:
|
|
14950
|
+
critical_gates:
|
|
14951
|
+
- system_health_check
|
|
14952
|
+
- requirement_coverage_100
|
|
14953
|
+
- zero_critical_defects
|
|
14954
|
+
- security_clearance_enterprise
|
|
14955
|
+
- performance_benchmarks_enterprise
|
|
14956
|
+
- compliance_validation_complete
|
|
14957
|
+
- business_value_realization
|
|
14958
|
+
|
|
14959
|
+
mandatory_gates:
|
|
14960
|
+
- template_compliance_100
|
|
14961
|
+
- code_quality_enterprise_standards
|
|
14962
|
+
- test_coverage_enterprise_minimum
|
|
14963
|
+
- documentation_completeness_enterprise
|
|
14964
|
+
- integration_validation_comprehensive
|
|
14965
|
+
- security_validation_comprehensive
|
|
14966
|
+
|
|
14967
|
+
recommended_gates:
|
|
14968
|
+
- user_experience_excellence
|
|
14969
|
+
- maintainability_index_high
|
|
14970
|
+
- technical_debt_ratio_minimal
|
|
14971
|
+
- scalability_future_proof
|
|
14972
|
+
|
|
14973
|
+
# 质量标准(企业级)
|
|
14974
|
+
quality_standards:
|
|
14975
|
+
overall_quality_score: 98 # 企业级标准
|
|
14976
|
+
requirement_coverage: 100 # 100%覆盖
|
|
14977
|
+
story_completeness: 98 # 98%完整性
|
|
14978
|
+
code_quality_score: 95 # 95代码质量
|
|
14979
|
+
test_coverage: 95 # 95%测试覆盖
|
|
14980
|
+
documentation_quality: 95 # 95文档质量
|
|
14981
|
+
performance_baseline: 98 # 98%性能基准
|
|
14982
|
+
security_score: 99 # 99安全分数
|
|
14983
|
+
integration_score: 98 # 98%集成分数
|
|
14984
|
+
business_value_score: 90 # 90%业务价值
|
|
14985
|
+
|
|
14986
|
+
# 自动修复策略(增强版)
|
|
14987
|
+
auto_correction:
|
|
14988
|
+
enabled: true
|
|
14989
|
+
execution_mode: intelligent_sequential
|
|
14990
|
+
max_attempts: 7 # 增加到7次
|
|
14991
|
+
strategies:
|
|
14992
|
+
- immediate_auto_correction
|
|
14993
|
+
- guided_correction_with_ai
|
|
14994
|
+
- template_based_correction
|
|
14995
|
+
- incremental_improvement
|
|
14996
|
+
- collaborative_refinement
|
|
14997
|
+
- expert_system_correction
|
|
14998
|
+
- machine_learning_optimization
|
|
14999
|
+
|
|
15000
|
+
sequential_validation:
|
|
15001
|
+
- validate_previous_completion
|
|
15002
|
+
- ensure_quality_gates_passed
|
|
15003
|
+
- verify_dependencies_satisfied
|
|
15004
|
+
- confirm_business_value_maintained
|
|
15005
|
+
|
|
15006
|
+
rollback_on_failure: true
|
|
15007
|
+
escalation_after_max_attempts: true
|
|
15008
|
+
wait_for_completion: true
|
|
15009
|
+
learning_from_corrections: true
|
|
15010
|
+
|
|
15011
|
+
# ========== 监控和报告(企业级)==========
|
|
15012
|
+
monitoring_and_reporting:
|
|
15013
|
+
real_time_monitoring:
|
|
15014
|
+
enabled: true
|
|
15015
|
+
update_frequency: REAL_TIME
|
|
15016
|
+
execution_mode: comprehensive
|
|
15017
|
+
metrics:
|
|
15018
|
+
- workflow_progress_detailed
|
|
15019
|
+
- quality_scores_multi_dimensional
|
|
15020
|
+
- issue_detection_rate
|
|
15021
|
+
- fix_success_rate
|
|
15022
|
+
- loop_iteration_count
|
|
15023
|
+
- agent_performance_analytics
|
|
15024
|
+
- resource_utilization_optimization
|
|
15025
|
+
- sla_compliance_tracking
|
|
15026
|
+
- sequential_completion_rate
|
|
15027
|
+
- dependency_satisfaction_rate
|
|
15028
|
+
- inter_task_quality_gates
|
|
15029
|
+
- business_value_realization
|
|
15030
|
+
- customer_satisfaction_prediction
|
|
15031
|
+
|
|
15032
|
+
alerting:
|
|
15033
|
+
- quality_degradation_early_warning
|
|
15034
|
+
- sla_breach_risk_prediction
|
|
15035
|
+
- loop_stuck_detection_ai
|
|
15036
|
+
- resource_exhaustion_prediction
|
|
15037
|
+
- critical_failure_immediate
|
|
15038
|
+
- sequential_execution_blocked
|
|
15039
|
+
- dependency_validation_failed
|
|
15040
|
+
- quality_gate_failure_analysis
|
|
15041
|
+
- business_impact_assessment
|
|
15042
|
+
|
|
15043
|
+
reporting:
|
|
15044
|
+
types:
|
|
15045
|
+
- executive_dashboard_real_time
|
|
15046
|
+
- technical_detail_report_comprehensive
|
|
15047
|
+
- quality_audit_report_enterprise
|
|
15048
|
+
- issue_tracking_report_detailed
|
|
15049
|
+
- performance_analysis_advanced
|
|
15050
|
+
- improvement_recommendations_ai
|
|
15051
|
+
- business_value_report
|
|
15052
|
+
- compliance_certification_report
|
|
15053
|
+
|
|
15054
|
+
frequency:
|
|
15055
|
+
real_time: [dashboard, alerts, critical_metrics]
|
|
15056
|
+
every_15_minutes: [progress_update, quality_trends]
|
|
15057
|
+
hourly: [comprehensive_status, performance_metrics]
|
|
15058
|
+
daily: [quality_summary, issue_summary, business_metrics]
|
|
15059
|
+
weekly: [trend_analysis, recommendations, optimization]
|
|
15060
|
+
on_completion: [final_report, lessons_learned, certification]
|
|
15061
|
+
|
|
15062
|
+
audit_trail:
|
|
15063
|
+
enabled: true
|
|
15064
|
+
retention: 365_days # 企业级保留期
|
|
15065
|
+
tracks:
|
|
15066
|
+
- all_decisions_with_context
|
|
15067
|
+
- quality_gate_results_detailed
|
|
15068
|
+
- issue_routing_intelligence
|
|
15069
|
+
- fix_attempts_comprehensive
|
|
15070
|
+
- validation_results_complete
|
|
15071
|
+
- state_transitions_with_reasoning
|
|
15072
|
+
- business_impact_tracking
|
|
15073
|
+
- compliance_evidence
|
|
15074
|
+
|
|
15075
|
+
# ========== 串行处理配置(终极版)==========
|
|
15076
|
+
serial_processing:
|
|
15077
|
+
enabled: true
|
|
15078
|
+
sequential_execution: strict_enterprise
|
|
15079
|
+
optimization_strategies:
|
|
15080
|
+
- dependency_aware_scheduling
|
|
15081
|
+
- quality_gate_enforcement_strict
|
|
15082
|
+
- completion_validation_comprehensive
|
|
15083
|
+
- progressive_improvement_ai
|
|
15084
|
+
- predictive_bottleneck_resolution
|
|
15085
|
+
- intelligent_resource_allocation
|
|
15086
|
+
|
|
15087
|
+
sequential_configuration:
|
|
15088
|
+
story_creation:
|
|
15089
|
+
execution_mode: sequential_with_validation
|
|
15090
|
+
completion_requirement: 100%
|
|
15091
|
+
quality_validation: mandatory_enterprise
|
|
15092
|
+
wait_for_previous: true
|
|
15093
|
+
dependency_validation: comprehensive
|
|
15094
|
+
|
|
15095
|
+
fix_execution:
|
|
15096
|
+
execution_mode: sequential_intelligent
|
|
15097
|
+
completion_requirement: 100%
|
|
15098
|
+
quality_validation: mandatory_enterprise
|
|
15099
|
+
dependency_enforcement: strict_enterprise
|
|
15100
|
+
regression_prevention: comprehensive
|
|
15101
|
+
|
|
15102
|
+
validation_execution:
|
|
15103
|
+
execution_mode: sequential_thorough
|
|
15104
|
+
completion_requirement: 100%
|
|
15105
|
+
comprehensive_validation: true
|
|
15106
|
+
progressive_validation: false
|
|
15107
|
+
enterprise_standards: true
|
|
15108
|
+
|
|
15109
|
+
# ========== 错误处理和恢复(企业级)==========
|
|
15110
|
+
error_handling:
|
|
15111
|
+
detection_mechanisms:
|
|
15112
|
+
- runtime_exception_monitoring_ai
|
|
15113
|
+
- validation_failure_prediction
|
|
15114
|
+
- timeout_detection_intelligent
|
|
15115
|
+
- resource_limit_prediction
|
|
15116
|
+
- quality_threshold_breach_early_warning
|
|
15117
|
+
- business_impact_assessment
|
|
15118
|
+
- compliance_deviation_detection
|
|
15119
|
+
|
|
15120
|
+
recovery_strategies:
|
|
15121
|
+
immediate_recovery:
|
|
15122
|
+
- automatic_retry_intelligent
|
|
15123
|
+
- alternative_path_ai
|
|
15124
|
+
- graceful_degradation_smart
|
|
15125
|
+
|
|
15126
|
+
checkpoint_recovery:
|
|
15127
|
+
- rollback_to_checkpoint_selective
|
|
15128
|
+
- partial_state_recovery_optimized
|
|
15129
|
+
- incremental_rebuild_intelligent
|
|
15130
|
+
|
|
15131
|
+
escalation_recovery:
|
|
15132
|
+
- supervisor_agent_intervention
|
|
15133
|
+
- expert_system_consultation
|
|
15134
|
+
- human_expert_escalation
|
|
15135
|
+
- emergency_bypass_controlled
|
|
15136
|
+
|
|
15137
|
+
retry_policy:
|
|
15138
|
+
max_retries: 7
|
|
15139
|
+
backoff_strategy: intelligent_exponential
|
|
15140
|
+
retry_delay_base: 30 # seconds
|
|
15141
|
+
max_retry_delay: 900 # 15 minutes
|
|
15142
|
+
learning_from_failures: true
|
|
15143
|
+
|
|
15144
|
+
failure_analysis:
|
|
15145
|
+
enabled: true
|
|
15146
|
+
ai_powered: true
|
|
15147
|
+
includes:
|
|
15148
|
+
- root_cause_analysis_deep
|
|
15149
|
+
- impact_assessment_comprehensive
|
|
15150
|
+
- prevention_recommendations_intelligent
|
|
15151
|
+
- process_improvement_suggestions_ai
|
|
15152
|
+
- business_continuity_planning
|
|
15153
|
+
|
|
15154
|
+
# ========== 成功标准(企业级)==========
|
|
15155
|
+
success_criteria:
|
|
15156
|
+
mandatory_criteria:
|
|
15157
|
+
- all_requirements_implemented: true
|
|
15158
|
+
- zero_critical_defects: true
|
|
15159
|
+
- quality_score_achieved: ">98"
|
|
15160
|
+
- test_coverage_met: ">95"
|
|
15161
|
+
- security_clearance: passed_enterprise
|
|
15162
|
+
- performance_benchmarks: met_enterprise
|
|
15163
|
+
- documentation_complete: true
|
|
15164
|
+
- sequential_completion_verified: true
|
|
15165
|
+
- inter_task_dependencies_validated: true
|
|
15166
|
+
- business_value_delivered: true
|
|
15167
|
+
- compliance_requirements_satisfied: true
|
|
15168
|
+
|
|
15169
|
+
quality_loop_exit:
|
|
15170
|
+
- no_critical_issues: true
|
|
15171
|
+
- no_high_priority_issues: true
|
|
15172
|
+
- medium_issues: "<3"
|
|
15173
|
+
- quality_improvement_trend: positive_strong
|
|
15174
|
+
- loop_iterations: "<5"
|
|
15175
|
+
- business_impact: positive
|
|
15176
|
+
|
|
15177
|
+
business_criteria:
|
|
15178
|
+
- user_acceptance: achieved_enterprise
|
|
15179
|
+
- business_value_delivered: true
|
|
15180
|
+
- roi_projected: positive_strong
|
|
15181
|
+
- risk_assessment: acceptable_enterprise
|
|
15182
|
+
- stakeholder_satisfaction: high
|
|
15183
|
+
- market_readiness: confirmed
|
|
15184
|
+
|
|
15185
|
+
technical_criteria:
|
|
15186
|
+
- scalability_validated: true
|
|
15187
|
+
- maintainability_score: ">90"
|
|
15188
|
+
- technical_debt_ratio: "<5%"
|
|
15189
|
+
- architecture_compliance: 100
|
|
15190
|
+
- performance_optimization: achieved
|
|
15191
|
+
- security_hardening: complete
|
|
15192
|
+
|
|
15193
|
+
# ========== 决策指导(企业级)==========
|
|
15194
|
+
decision_guidance:
|
|
15195
|
+
when_to_use:
|
|
15196
|
+
- mission_critical_applications
|
|
15197
|
+
- enterprise_grade_requirements
|
|
15198
|
+
- zero_defect_tolerance
|
|
15199
|
+
- regulatory_compliance_required
|
|
15200
|
+
- high_security_requirements
|
|
15201
|
+
- scalability_critical_systems
|
|
15202
|
+
- continuous_improvement_focus
|
|
15203
|
+
- end_to_end_automation_needed
|
|
15204
|
+
|
|
15205
|
+
benefits:
|
|
15206
|
+
- guaranteed_enterprise_quality_delivery
|
|
15207
|
+
- automated_issue_resolution_intelligent
|
|
15208
|
+
- continuous_validation_comprehensive
|
|
15209
|
+
- reduced_production_defects_significantly
|
|
15210
|
+
- improved_team_efficiency_measurable
|
|
15211
|
+
- comprehensive_audit_trail
|
|
15212
|
+
- business_value_maximization
|
|
15213
|
+
- compliance_assurance_automated
|
|
15214
|
+
|
|
15215
|
+
considerations:
|
|
15216
|
+
- longer_initial_cycle_time_justified
|
|
15217
|
+
- higher_computational_resources_optimized
|
|
15218
|
+
- requires_mature_agent_ecosystem
|
|
15219
|
+
- investment_in_automation_setup_roi_positive
|
|
15220
|
+
- enterprise_infrastructure_recommended
|
|
15221
|
+
|
|
15222
|
+
# ========== 使用示例和最佳实践 ==========
|
|
14369
15223
|
usage_examples:
|
|
14370
|
-
|
|
14371
|
-
command: "*
|
|
14372
|
-
|
|
15224
|
+
ultimate_basic_usage:
|
|
15225
|
+
command: "*start-full-requirement-automation"
|
|
15226
|
+
description: "启动终极全自动化需求交付"
|
|
15227
|
+
|
|
15228
|
+
enterprise_configuration:
|
|
15229
|
+
command: "*start-full-requirement-automation --mode=ENTERPRISE --quality=MAXIMUM --monitoring=COMPREHENSIVE"
|
|
15230
|
+
description: "企业级配置启动"
|
|
14373
15231
|
|
|
14374
|
-
|
|
14375
|
-
|
|
14376
|
-
|
|
15232
|
+
custom_requirements:
|
|
15233
|
+
command: "*start-full-requirement-automation --prd=custom_enterprise_requirements.md --compliance=SOX,GDPR,HIPAA"
|
|
15234
|
+
description: "自定义需求和合规启动"
|
|
14377
15235
|
|
|
14378
15236
|
monitoring_and_control:
|
|
14379
|
-
progress_check: "*monitor-
|
|
14380
|
-
quality_validation: "*validate-quality-gates"
|
|
14381
|
-
issue_resolution: "*handle-
|
|
15237
|
+
progress_check: "*monitor-ultimate-workflow-progress"
|
|
15238
|
+
quality_validation: "*validate-enterprise-quality-gates"
|
|
15239
|
+
issue_resolution: "*handle-enterprise-issues"
|
|
14382
15240
|
|
|
14383
|
-
#
|
|
15241
|
+
# ========== 集成和扩展能力 ==========
|
|
14384
15242
|
integrations:
|
|
14385
|
-
|
|
14386
|
-
- enhanced-fullstack-with-
|
|
14387
|
-
- automated-story-development: "
|
|
14388
|
-
|
|
14389
|
-
|
|
14390
|
-
|
|
14391
|
-
-
|
|
14392
|
-
-
|
|
14393
|
-
- monitoring_systems: "
|
|
15243
|
+
enhanced_workflows:
|
|
15244
|
+
- enhanced-fullstack-with-qa-loop: "完全集成"
|
|
15245
|
+
- automated-story-development: "深度集成"
|
|
15246
|
+
- requirements-coverage-audit: "内置集成"
|
|
15247
|
+
|
|
15248
|
+
external_enterprise_tools:
|
|
15249
|
+
- enterprise_databases: "全面支持"
|
|
15250
|
+
- ci_cd_pipelines: "深度集成"
|
|
15251
|
+
- monitoring_systems: "实时集成"
|
|
15252
|
+
- compliance_tools: "自动集成"
|
|
15253
|
+
- security_scanners: "持续集成"
|
|
15254
|
+
- performance_analyzers: "实时集成"
|
|
14394
15255
|
|
|
14395
15256
|
customization_points:
|
|
14396
|
-
-
|
|
14397
|
-
-
|
|
14398
|
-
-
|
|
14399
|
-
- integration_test_scenarios: "
|
|
15257
|
+
- quality_standards_enterprise: "可定制企业标准"
|
|
15258
|
+
- compliance_requirements: "可配置合规要求"
|
|
15259
|
+
- business_process_validation: "可定制业务流程"
|
|
15260
|
+
- integration_test_scenarios: "可扩展测试场景"
|
|
15261
|
+
|
|
15262
|
+
# ========== 执行示例命令 ==========
|
|
15263
|
+
execution_examples:
|
|
15264
|
+
start_ultimate_workflow: |
|
|
15265
|
+
*start-full-requirement-automation \
|
|
15266
|
+
--mode="ENTERPRISE_MAXIMUM_QUALITY" \
|
|
15267
|
+
--enable-sequential \
|
|
15268
|
+
--monitor-comprehensive \
|
|
15269
|
+
--quality-enterprise \
|
|
15270
|
+
--compliance-strict
|
|
15271
|
+
|
|
15272
|
+
monitor_ultimate_progress: |
|
|
15273
|
+
*monitor-ultimate-workflow \
|
|
15274
|
+
--show-all-metrics \
|
|
15275
|
+
--show-quality-gates \
|
|
15276
|
+
--show-business-value \
|
|
15277
|
+
--show-compliance-status
|
|
15278
|
+
|
|
15279
|
+
enterprise_intervention: |
|
|
15280
|
+
*ultimate-workflow-intervene \
|
|
15281
|
+
--workflow-id {id} \
|
|
15282
|
+
--action "enterprise_approval" \
|
|
15283
|
+
--justification "business_critical_deployment"
|
|
15284
|
+
|
|
15285
|
+
# ========== 预期成果(企业级)==========
|
|
15286
|
+
expected_outcomes:
|
|
15287
|
+
quality_improvements:
|
|
15288
|
+
- "零格式错误和结构缺陷"
|
|
15289
|
+
- "98%以上的整体质量分数"
|
|
15290
|
+
- "100%的模板合规性"
|
|
15291
|
+
- "98%以上的跨文档一致性"
|
|
15292
|
+
- "99%的安全合规性"
|
|
15293
|
+
|
|
15294
|
+
efficiency_gains:
|
|
15295
|
+
- "99.9%的自动化处理率"
|
|
15296
|
+
- "减少95%的人工返工需求"
|
|
15297
|
+
- "提高80%的文档处理速度"
|
|
15298
|
+
- "实现全程智能监控"
|
|
15299
|
+
- "零人工干预交付"
|
|
15300
|
+
|
|
15301
|
+
business_value:
|
|
15302
|
+
- "企业就绪的交付成果"
|
|
15303
|
+
- "完整的合规认证文档"
|
|
15304
|
+
- "详细的实施和维护指导"
|
|
15305
|
+
- "持续改进和优化建议"
|
|
15306
|
+
- "业务价值最大化确认"
|
|
14400
15307
|
==================== END: .xiaoma-core/workflows/full-requirement-automation.yaml ====================
|
|
14401
15308
|
|
|
14402
15309
|
==================== START: .xiaoma-core/workflows/enhanced-fullstack-with-database.yaml ====================
|
|
@@ -14520,11 +15427,23 @@ workflow:
|
|
|
14520
15427
|
- agent: po
|
|
14521
15428
|
validates: all_artifacts
|
|
14522
15429
|
uses: po-master-checklist
|
|
15430
|
+
quality_gates:
|
|
15431
|
+
- "system_health_check"
|
|
15432
|
+
- "template_understanding_verified"
|
|
15433
|
+
- "layer_1_syntax_format_validation"
|
|
15434
|
+
- "layer_2_content_completeness_validation"
|
|
15435
|
+
- "layer_3_content_quality_validation"
|
|
15436
|
+
- "layer_4_consistency_validation"
|
|
15437
|
+
- "layer_5_implementation_feasibility_validation"
|
|
15438
|
+
- "layer_6_business_value_validation"
|
|
14523
15439
|
notes: |
|
|
14524
|
-
|
|
14525
|
-
- Database design consistency
|
|
14526
|
-
- API alignment with database
|
|
14527
|
-
- Generated code quality
|
|
15440
|
+
Enhanced validation with multi-layer quality assurance:
|
|
15441
|
+
- Database design consistency (95% threshold)
|
|
15442
|
+
- API alignment with database (100% compliance)
|
|
15443
|
+
- Generated code quality (90% threshold)
|
|
15444
|
+
- Content completeness validation
|
|
15445
|
+
- Implementation feasibility assessment
|
|
15446
|
+
- Business value alignment verification
|
|
14528
15447
|
May require updates to any document.
|
|
14529
15448
|
|
|
14530
15449
|
- agent: various
|
|
@@ -14552,6 +15471,12 @@ workflow:
|
|
|
14552
15471
|
- generated-code/
|
|
14553
15472
|
repeats: for_each_epic
|
|
14554
15473
|
template: enhanced-story-with-database-tmpl.yaml
|
|
15474
|
+
quality_gates:
|
|
15475
|
+
- "template_compliance_100_percent"
|
|
15476
|
+
- "content_structure_validation"
|
|
15477
|
+
- "database_integration_validation"
|
|
15478
|
+
timeout: 1800 # 30 minutes per story
|
|
15479
|
+
retry: 3
|
|
14555
15480
|
notes: |
|
|
14556
15481
|
Enhanced story creation with comprehensive database and API integration:
|
|
14557
15482
|
- Use enhanced-story-with-database-tmpl.yaml template
|
|
@@ -14560,6 +15485,7 @@ workflow:
|
|
|
14560
15485
|
- Reference generated entity classes and mappers
|
|
14561
15486
|
- Provide data mapping relationships
|
|
14562
15487
|
- Include comprehensive testing requirements
|
|
15488
|
+
- Apply quality validation with 100% template compliance
|
|
14563
15489
|
Story starts in "Draft" status
|
|
14564
15490
|
|
|
14565
15491
|
- agent: dev
|
|
@@ -14568,11 +15494,21 @@ workflow:
|
|
|
14568
15494
|
requires:
|
|
14569
15495
|
- story.md
|
|
14570
15496
|
- generated-code/
|
|
15497
|
+
quality_gates:
|
|
15498
|
+
- "implementation_quality_check"
|
|
15499
|
+
- "code_structure_validation"
|
|
15500
|
+
- "api_integration_validation"
|
|
15501
|
+
auto_correction:
|
|
15502
|
+
max_attempts: 3
|
|
15503
|
+
correction_strategies:
|
|
15504
|
+
- "immediate_auto_correction"
|
|
15505
|
+
- "iterative_quality_improvement"
|
|
14571
15506
|
notes: |
|
|
14572
|
-
Dev implementation using generated code:
|
|
15507
|
+
Dev implementation using generated code with quality assurance:
|
|
14573
15508
|
- Use generated entities and mappers
|
|
14574
|
-
- Implement business logic
|
|
14575
|
-
- Connect frontend to APIs
|
|
15509
|
+
- Implement business logic with quality validation
|
|
15510
|
+
- Connect frontend to APIs with integration checks
|
|
15511
|
+
- Apply automated quality corrections when needed
|
|
14576
15512
|
Updates File List and marks story as "Review"
|
|
14577
15513
|
|
|
14578
15514
|
- agent: qa
|
|
@@ -14580,12 +15516,26 @@ workflow:
|
|
|
14580
15516
|
updates: implementation_files
|
|
14581
15517
|
requires: implementation_files
|
|
14582
15518
|
optional: true
|
|
15519
|
+
quality_gates:
|
|
15520
|
+
- "layer_7_final_integration_validation"
|
|
15521
|
+
- "global_consistency_validation"
|
|
15522
|
+
- "delivery_readiness_validation"
|
|
15523
|
+
quality_standards:
|
|
15524
|
+
overall_quality_score: 90
|
|
15525
|
+
implementation_feasibility: 85
|
|
15526
|
+
integration_completeness: 95
|
|
15527
|
+
retry_policy:
|
|
15528
|
+
max_retries: 3
|
|
15529
|
+
retry_delay: 60
|
|
14583
15530
|
notes: |
|
|
14584
|
-
QA review
|
|
14585
|
-
- Database query performance
|
|
14586
|
-
- API contract validation
|
|
14587
|
-
- Data integrity checks
|
|
14588
|
-
|
|
15531
|
+
Enhanced QA review with comprehensive quality validation:
|
|
15532
|
+
- Database query performance (performance benchmarks)
|
|
15533
|
+
- API contract validation (100% compliance)
|
|
15534
|
+
- Data integrity checks (comprehensive validation)
|
|
15535
|
+
- Integration testing with quality gates
|
|
15536
|
+
- Global consistency validation
|
|
15537
|
+
- Final delivery readiness assessment
|
|
15538
|
+
Updates story status with quality certification
|
|
14589
15539
|
|
|
14590
15540
|
- step: repeat_development_cycle
|
|
14591
15541
|
action: continue_for_all_stories
|
|
@@ -14662,8 +15612,128 @@ workflow:
|
|
|
14662
15612
|
database_to_ux: "Database design and code generation complete. UX Expert, please create UI specs considering data models."
|
|
14663
15613
|
ux_to_architect: "UI/UX spec complete. Architect, please create fullstack architecture integrating database layer."
|
|
14664
15614
|
architect_review: "Architecture complete. Any changes needed to PRD or database design?"
|
|
14665
|
-
po_validation: "All artifacts ready including database scripts and generated code. Validating
|
|
14666
|
-
|
|
15615
|
+
po_validation: "All artifacts ready including database scripts and generated code. Validating with enhanced quality assurance..."
|
|
15616
|
+
quality_validation: "Applying multi-layer quality validation with automated correction capabilities..."
|
|
15617
|
+
complete: "Project planning complete with database design, code generation, and quality certification. Ready for development."
|
|
15618
|
+
|
|
15619
|
+
# ========== 质量保证配置 ==========
|
|
15620
|
+
quality_assurance:
|
|
15621
|
+
# 质量门控配置
|
|
15622
|
+
quality_gates:
|
|
15623
|
+
critical_gates:
|
|
15624
|
+
- "system_health_check"
|
|
15625
|
+
- "template_understanding_verified"
|
|
15626
|
+
- "layer_1_syntax_format_validation"
|
|
15627
|
+
- "global_consistency_validation"
|
|
15628
|
+
- "delivery_readiness_final_validation"
|
|
15629
|
+
|
|
15630
|
+
failure_handling:
|
|
15631
|
+
critical_failure: "IMMEDIATE_STOP_AND_CORRECTION"
|
|
15632
|
+
quality_failure: "AUTOMATED_CORRECTION_CYCLE"
|
|
15633
|
+
integration_failure: "COMPREHENSIVE_REFINEMENT"
|
|
15634
|
+
|
|
15635
|
+
# 质量标准
|
|
15636
|
+
quality_standards:
|
|
15637
|
+
overall_quality_score: 90
|
|
15638
|
+
template_compliance: 100
|
|
15639
|
+
content_completeness: 90
|
|
15640
|
+
consistency_score: 95
|
|
15641
|
+
implementation_feasibility: 85
|
|
15642
|
+
business_value_alignment: 80
|
|
15643
|
+
database_design_quality: 95
|
|
15644
|
+
api_integration_quality: 90
|
|
15645
|
+
|
|
15646
|
+
# 自动纠错配置
|
|
15647
|
+
auto_correction:
|
|
15648
|
+
max_attempts: 3
|
|
15649
|
+
correction_strategies:
|
|
15650
|
+
- "immediate_auto_correction"
|
|
15651
|
+
- "iterative_quality_improvement"
|
|
15652
|
+
- "comprehensive_refinement_cycle"
|
|
15653
|
+
rollback_on_failure: true
|
|
15654
|
+
|
|
15655
|
+
# ========== 并行处理配置 ==========
|
|
15656
|
+
parallel_processing:
|
|
15657
|
+
enabled: true
|
|
15658
|
+
max_concurrent_tasks: 5
|
|
15659
|
+
batch_configuration:
|
|
15660
|
+
batch_size: 3
|
|
15661
|
+
batch_timeout: 2400 # 40分钟每批
|
|
15662
|
+
inter_batch_delay: 60 # 1分钟间隔
|
|
15663
|
+
|
|
15664
|
+
# ========== 监控和报告 ==========
|
|
15665
|
+
monitoring_and_reporting:
|
|
15666
|
+
real_time_monitoring:
|
|
15667
|
+
enabled: true
|
|
15668
|
+
update_frequency: "REAL_TIME"
|
|
15669
|
+
metrics:
|
|
15670
|
+
- "phase_progress"
|
|
15671
|
+
- "quality_scores"
|
|
15672
|
+
- "database_design_progress"
|
|
15673
|
+
- "code_generation_status"
|
|
15674
|
+
- "error_detection"
|
|
15675
|
+
- "correction_activity"
|
|
15676
|
+
- "performance_metrics"
|
|
15677
|
+
|
|
15678
|
+
reporting:
|
|
15679
|
+
executive_summary: true
|
|
15680
|
+
detailed_technical_report: true
|
|
15681
|
+
database_design_report: true
|
|
15682
|
+
code_generation_report: true
|
|
15683
|
+
quality_certification: true
|
|
15684
|
+
continuous_improvement_recommendations: true
|
|
15685
|
+
|
|
15686
|
+
notifications:
|
|
15687
|
+
progress_updates: true
|
|
15688
|
+
quality_alerts: true
|
|
15689
|
+
database_alerts: true
|
|
15690
|
+
completion_notifications: true
|
|
15691
|
+
error_notifications: true
|
|
15692
|
+
|
|
15693
|
+
# ========== 错误处理和恢复 ==========
|
|
15694
|
+
error_handling:
|
|
15695
|
+
retry_policy:
|
|
15696
|
+
max_retries: 3
|
|
15697
|
+
retry_delay: 60 # 1分钟
|
|
15698
|
+
exponential_backoff: true
|
|
15699
|
+
|
|
15700
|
+
rollback_policy:
|
|
15701
|
+
checkpoint_frequency: "EVERY_MAJOR_STEP"
|
|
15702
|
+
rollback_triggers:
|
|
15703
|
+
- "critical_failure"
|
|
15704
|
+
- "quality_failure_threshold_exceeded"
|
|
15705
|
+
- "database_design_failure"
|
|
15706
|
+
- "code_generation_failure"
|
|
15707
|
+
- "timeout_exceeded"
|
|
15708
|
+
|
|
15709
|
+
recovery_mechanisms:
|
|
15710
|
+
- "checkpoint_rollback"
|
|
15711
|
+
- "partial_recovery"
|
|
15712
|
+
- "database_design_recovery"
|
|
15713
|
+
- "code_regeneration"
|
|
15714
|
+
- "full_restart"
|
|
15715
|
+
|
|
15716
|
+
# ========== 成功标准 ==========
|
|
15717
|
+
success_criteria:
|
|
15718
|
+
technical_criteria:
|
|
15719
|
+
all_quality_gates_passed: true
|
|
15720
|
+
overall_quality_score_achieved: true
|
|
15721
|
+
zero_critical_errors: true
|
|
15722
|
+
template_compliance_100_percent: true
|
|
15723
|
+
database_design_validated: true
|
|
15724
|
+
code_generation_successful: true
|
|
15725
|
+
|
|
15726
|
+
business_criteria:
|
|
15727
|
+
implementation_readiness: true
|
|
15728
|
+
documentation_completeness: true
|
|
15729
|
+
stakeholder_acceptance: true
|
|
15730
|
+
database_performance_validated: true
|
|
15731
|
+
|
|
15732
|
+
process_criteria:
|
|
15733
|
+
execution_within_timeframe: true
|
|
15734
|
+
resource_utilization_optimized: true
|
|
15735
|
+
quality_standards_maintained: true
|
|
15736
|
+
database_integration_successful: true
|
|
14667
15737
|
==================== END: .xiaoma-core/workflows/enhanced-fullstack-with-database.yaml ====================
|
|
14668
15738
|
|
|
14669
15739
|
==================== START: .xiaoma-core/workflows/automated-story-development.yaml ====================
|