@zeyue0329/xiaoma-cli 1.0.22 → 1.0.24
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/dist/agents/full-requirement-orchestrator.txt +504 -0
- package/dist/teams/team-all.txt +464 -0
- package/dist/teams/team-fullstack-with-database.txt +971 -2
- package/package.json +1 -1
- package/tools/installer/package.json +1 -1
- package/xiaoma-core/agent-teams/team-fullstack-with-database.yaml +2 -0
- package/xiaoma-core/agents/full-requirement-orchestrator.md +461 -0
- package/xiaoma-core/docs/workflow-optimizations-v2.md +154 -0
- package/xiaoma-core/scripts/build-validation/pre-dev-validation.sh +71 -0
- package/xiaoma-core/scripts/build-validation/progressive-validation.sh +88 -0
- package/xiaoma-core/scripts/build-validation/quick-check.sh +69 -0
- package/xiaoma-core/tasks/batch-story-generation.md +354 -0
- package/xiaoma-core/tasks/parallel-development-orchestration.md +477 -0
- package/xiaoma-core/tasks/project-integration-testing.md +477 -0
- package/xiaoma-core/templates/maven-lombok-template.xml +111 -0
- package/xiaoma-core/workflows/automated-story-development.yaml +104 -2
- package/xiaoma-core/workflows/full-requirement-automation.yaml +398 -0
- package//345/205/250/351/234/200/346/261/202/350/207/252/345/212/250/345/214/226/345/274/200/345/217/221/346/265/201/347/250/213/344/275/277/347/224/250/346/214/207/345/215/227.md +613 -0
|
@@ -12,6 +12,14 @@ workflow:
|
|
|
12
12
|
- enterprise-app
|
|
13
13
|
- api-first
|
|
14
14
|
|
|
15
|
+
# 优化增强:基于首周期经验的流程改进
|
|
16
|
+
optimizations:
|
|
17
|
+
- pre_development_build_check: true
|
|
18
|
+
- progressive_validation: true
|
|
19
|
+
- fast_feedback_loops: true
|
|
20
|
+
- error_prevention_protocols: true
|
|
21
|
+
- enhanced_quality_gates: true
|
|
22
|
+
|
|
15
23
|
sequence:
|
|
16
24
|
- step: story_development_cycle
|
|
17
25
|
action: repeat_until_all_stories_complete
|
|
@@ -43,6 +51,20 @@ workflow:
|
|
|
43
51
|
- 包含完整的数据库和API设计
|
|
44
52
|
- 设置故事状态为 "Draft"
|
|
45
53
|
- 必须通过格式和完整性验证
|
|
54
|
+
- 🆕 应用构建就绪规范(防止编译问题)
|
|
55
|
+
- 🆕 包含Lombok配置最佳实践
|
|
56
|
+
|
|
57
|
+
# 🆕 第1.5步:快速构建验证(30秒)
|
|
58
|
+
- agent: automation
|
|
59
|
+
action: quick_build_validation
|
|
60
|
+
duration: 30s
|
|
61
|
+
validation_criteria:
|
|
62
|
+
- template_compliance
|
|
63
|
+
- api_specs_completeness
|
|
64
|
+
- database_mapping_validity
|
|
65
|
+
on_failure:
|
|
66
|
+
action: return_to_sm
|
|
67
|
+
notes: "快速验证防止后续构建问题"
|
|
46
68
|
|
|
47
69
|
# 第2步:PO验证用户故事
|
|
48
70
|
- agent: po
|
|
@@ -70,6 +92,25 @@ workflow:
|
|
|
70
92
|
- 故事规模合理性
|
|
71
93
|
- 验证通过后状态变更为 "Approved"
|
|
72
94
|
|
|
95
|
+
# 🆕 第2.5步:预开发构建检查(2分钟)
|
|
96
|
+
- agent: automation
|
|
97
|
+
action: pre_development_build_check
|
|
98
|
+
duration: 2m
|
|
99
|
+
validation_criteria:
|
|
100
|
+
- maven_compilation_success
|
|
101
|
+
- dependency_analysis_pass
|
|
102
|
+
- lombok_configuration_valid
|
|
103
|
+
- java_version_compatible
|
|
104
|
+
on_failure:
|
|
105
|
+
action: fix_environment
|
|
106
|
+
max_retries: 1
|
|
107
|
+
notes: |
|
|
108
|
+
预开发构建验证:
|
|
109
|
+
- Maven clean compile成功
|
|
110
|
+
- 依赖冲突检查
|
|
111
|
+
- Lombok注解处理器配置
|
|
112
|
+
- Java版本兼容性
|
|
113
|
+
|
|
73
114
|
# 第3步:Dev开发用户故事
|
|
74
115
|
- agent: dev
|
|
75
116
|
action: develop_story
|
|
@@ -104,6 +145,21 @@ workflow:
|
|
|
104
145
|
- 执行自测验证
|
|
105
146
|
- 所有测试通过后状态变更为 "Review"
|
|
106
147
|
|
|
148
|
+
# 🆕 第3.5步:渐进式开发验证
|
|
149
|
+
- agent: dev
|
|
150
|
+
action: progressive_development_validation
|
|
151
|
+
stages:
|
|
152
|
+
- stage: compilation_check
|
|
153
|
+
duration: 30s
|
|
154
|
+
on_failure: fix_immediately
|
|
155
|
+
- stage: unit_test_quick
|
|
156
|
+
duration: 2m
|
|
157
|
+
on_failure: fix_and_retry
|
|
158
|
+
- stage: integration_test
|
|
159
|
+
duration: 5m
|
|
160
|
+
on_failure: analyze_impact
|
|
161
|
+
notes: "每个开发阶段后的快速验证"
|
|
162
|
+
|
|
107
163
|
# 第4步:Dev自测验证
|
|
108
164
|
- agent: dev
|
|
109
165
|
action: run_self_tests
|
|
@@ -191,8 +247,24 @@ workflow:
|
|
|
191
247
|
- Review: "开发完成,等待测试"
|
|
192
248
|
- Done: "所有工作完成"
|
|
193
249
|
|
|
194
|
-
#
|
|
250
|
+
# 质量门控(优化增强版)
|
|
195
251
|
quality_gates:
|
|
252
|
+
# 🆕 预开发质量门控
|
|
253
|
+
pre_development:
|
|
254
|
+
stage: before_development
|
|
255
|
+
duration: 2m
|
|
256
|
+
blocking: true
|
|
257
|
+
checks:
|
|
258
|
+
- maven_clean_compile
|
|
259
|
+
- dependency_analysis
|
|
260
|
+
- lombok_processor_config
|
|
261
|
+
- java_version_check
|
|
262
|
+
success_criteria:
|
|
263
|
+
- compilation_without_errors
|
|
264
|
+
- no_missing_dependencies
|
|
265
|
+
- annotation_processors_configured
|
|
266
|
+
failure_action: block_development
|
|
267
|
+
|
|
196
268
|
story_creation:
|
|
197
269
|
required_sections:
|
|
198
270
|
- 用户故事
|
|
@@ -200,11 +272,14 @@ workflow:
|
|
|
200
272
|
- 数据库设计相关
|
|
201
273
|
- API接口规范
|
|
202
274
|
- 任务分解
|
|
275
|
+
- 🆕 构建配置规范
|
|
276
|
+
- 🆕 Lombok最佳实践
|
|
203
277
|
validation_rules:
|
|
204
278
|
- 所有必填字段完整
|
|
205
279
|
- API规范包含完整示例
|
|
206
280
|
- 数据库实体映射正确
|
|
207
281
|
- 验收标准可测试
|
|
282
|
+
- 🆕 构建兼容性验证
|
|
208
283
|
|
|
209
284
|
story_validation:
|
|
210
285
|
criteria:
|
|
@@ -220,7 +295,13 @@ workflow:
|
|
|
220
295
|
- tests_passing: "所有测试通过"
|
|
221
296
|
- code_quality: "代码质量达标"
|
|
222
297
|
- documentation_updated: "文档已更新"
|
|
298
|
+
- 🆕 build_validation_passed: "构建验证通过"
|
|
299
|
+
- 🆕 no_compilation_issues: "无编译问题"
|
|
223
300
|
validation_checklist: dev-completion-checklist.md
|
|
301
|
+
progressive_checks:
|
|
302
|
+
- quick: 30s
|
|
303
|
+
- comprehensive: 2m
|
|
304
|
+
- full: 10m
|
|
224
305
|
|
|
225
306
|
qa_approval:
|
|
226
307
|
criteria:
|
|
@@ -230,8 +311,19 @@ workflow:
|
|
|
230
311
|
- security_validated: "安全性验证"
|
|
231
312
|
validation_checklist: qa-approval-checklist.md
|
|
232
313
|
|
|
233
|
-
#
|
|
314
|
+
# 错误处理和重试策略(优化增强版)
|
|
234
315
|
error_handling:
|
|
316
|
+
# 🆕 编译失败处理
|
|
317
|
+
compilation_failure:
|
|
318
|
+
detection_stage: pre_development
|
|
319
|
+
action: block_and_fix
|
|
320
|
+
auto_fix_attempts:
|
|
321
|
+
- update_maven_config
|
|
322
|
+
- fix_lombok_setup
|
|
323
|
+
- resolve_dependencies
|
|
324
|
+
max_retries: 2
|
|
325
|
+
escalation: "技术负责人介入"
|
|
326
|
+
|
|
235
327
|
story_creation_failure:
|
|
236
328
|
max_retries: 3
|
|
237
329
|
escalation: "通知项目经理"
|
|
@@ -244,10 +336,20 @@ workflow:
|
|
|
244
336
|
action: "开发者自行修复"
|
|
245
337
|
max_attempts: 5
|
|
246
338
|
escalation: "超过尝试次数通知架构师"
|
|
339
|
+
# 🆕 快速反馈循环
|
|
340
|
+
fast_feedback:
|
|
341
|
+
- immediate_compilation_check
|
|
342
|
+
- quick_unit_test_run
|
|
343
|
+
- progressive_validation
|
|
247
344
|
|
|
248
345
|
qa_failure:
|
|
249
346
|
action: "返回开发者修复"
|
|
250
347
|
impact_analysis: "评估对其他故事的影响"
|
|
348
|
+
# 🆕 预防措施
|
|
349
|
+
prevention:
|
|
350
|
+
- pre_qa_build_validation
|
|
351
|
+
- early_integration_testing
|
|
352
|
+
- compilation_verification
|
|
251
353
|
|
|
252
354
|
# 进度追踪
|
|
253
355
|
progress_tracking:
|
|
@@ -0,0 +1,398 @@
|
|
|
1
|
+
# Full Requirement Automation Workflow - 全需求自动化工作流
|
|
2
|
+
|
|
3
|
+
workflow:
|
|
4
|
+
name: full-requirement-automation
|
|
5
|
+
id: full-requirement-automation
|
|
6
|
+
title: 全需求自动化开发工作流 🌟
|
|
7
|
+
description: 完整需求从分析到交付的端到端自动化工作流
|
|
8
|
+
version: "2.0.0"
|
|
9
|
+
|
|
10
|
+
# 工作流分类和标签
|
|
11
|
+
category: project-automation
|
|
12
|
+
tags:
|
|
13
|
+
- full-automation
|
|
14
|
+
- batch-processing
|
|
15
|
+
- project-delivery
|
|
16
|
+
- parallel-development
|
|
17
|
+
|
|
18
|
+
# 工作流适用场景
|
|
19
|
+
use_cases:
|
|
20
|
+
- 完整PRD的端到端自动化开发
|
|
21
|
+
- 大型项目的批量故事管理
|
|
22
|
+
- 多团队并行开发协调
|
|
23
|
+
- 项目级质量控制和交付
|
|
24
|
+
|
|
25
|
+
# 工作流参与的智能体
|
|
26
|
+
agents:
|
|
27
|
+
primary_orchestrator:
|
|
28
|
+
agent: full-requirement-orchestrator
|
|
29
|
+
role: 全需求生命周期总指挥
|
|
30
|
+
responsibilities:
|
|
31
|
+
- 项目级编排和协调
|
|
32
|
+
- 批量故事管理
|
|
33
|
+
- 并行开发调度
|
|
34
|
+
- 项目交付控制
|
|
35
|
+
|
|
36
|
+
story_orchestrator:
|
|
37
|
+
agent: automation-orchestrator
|
|
38
|
+
role: 单故事开发执行器
|
|
39
|
+
responsibilities:
|
|
40
|
+
- 执行SM→PO→Dev→QA循环
|
|
41
|
+
- 故事级质量门控
|
|
42
|
+
- 个体故事状态管理
|
|
43
|
+
|
|
44
|
+
role_agents:
|
|
45
|
+
- agent: sm
|
|
46
|
+
role: 需求分析和故事创建
|
|
47
|
+
- agent: po
|
|
48
|
+
role: 故事验证和业务确认
|
|
49
|
+
- agent: dev
|
|
50
|
+
role: 开发实现和自测
|
|
51
|
+
- agent: qa
|
|
52
|
+
role: 质量验证和验收测试
|
|
53
|
+
- agent: database-architect
|
|
54
|
+
role: 数据库设计和优化
|
|
55
|
+
|
|
56
|
+
# 工作流阶段定义
|
|
57
|
+
phases:
|
|
58
|
+
phase_1_analysis:
|
|
59
|
+
name: 需求分析与规划
|
|
60
|
+
duration: "5-15分钟"
|
|
61
|
+
description: 深度分析PRD,生成完整故事清单和依赖关系
|
|
62
|
+
|
|
63
|
+
steps:
|
|
64
|
+
- step: prd_analysis
|
|
65
|
+
agent: full-requirement-orchestrator
|
|
66
|
+
action: analyze_requirement_document
|
|
67
|
+
inputs: ["prd.md", "existing_database_design.md"]
|
|
68
|
+
outputs: ["requirement_analysis.md"]
|
|
69
|
+
|
|
70
|
+
- step: story_generation
|
|
71
|
+
agent: full-requirement-orchestrator
|
|
72
|
+
action: generate_all_stories
|
|
73
|
+
inputs: ["requirement_analysis.md", "database_design.md"]
|
|
74
|
+
outputs:
|
|
75
|
+
- "project_story_backlog.md"
|
|
76
|
+
- "stories/"
|
|
77
|
+
- "story_dependency_graph.yaml"
|
|
78
|
+
|
|
79
|
+
- step: development_planning
|
|
80
|
+
agent: full-requirement-orchestrator
|
|
81
|
+
action: create_development_plan
|
|
82
|
+
inputs: ["story_dependency_graph.yaml"]
|
|
83
|
+
outputs:
|
|
84
|
+
- "parallel_development_plan.yaml"
|
|
85
|
+
- "development_roadmap.md"
|
|
86
|
+
|
|
87
|
+
quality_gates:
|
|
88
|
+
- gate: story_completeness_check
|
|
89
|
+
criteria: "所有识别的功能点都有对应故事"
|
|
90
|
+
- gate: dependency_consistency_check
|
|
91
|
+
criteria: "依赖关系逻辑一致且无环"
|
|
92
|
+
- gate: priority_logic_validation
|
|
93
|
+
criteria: "优先级分配符合业务价值"
|
|
94
|
+
|
|
95
|
+
phase_2_parallel_development:
|
|
96
|
+
name: 并行开发执行
|
|
97
|
+
duration: "主要时间消耗阶段(数小时到数天)"
|
|
98
|
+
description: 启动多条并行开发流水线,同时执行所有用户故事开发
|
|
99
|
+
|
|
100
|
+
parallel_pipelines:
|
|
101
|
+
pipeline_foundation:
|
|
102
|
+
focus: "基础设施和核心依赖"
|
|
103
|
+
agent_coordination: automation-orchestrator
|
|
104
|
+
story_selection: "priority=P0 AND category=foundation"
|
|
105
|
+
|
|
106
|
+
execution_flow:
|
|
107
|
+
- step: foundation_story_development
|
|
108
|
+
parallel_execution: true
|
|
109
|
+
story_cycle: "SM→PO→Dev→QA"
|
|
110
|
+
quality_gates: ["story_format", "implementation", "testing"]
|
|
111
|
+
|
|
112
|
+
- step: foundation_integration
|
|
113
|
+
action: integrate_foundation_components
|
|
114
|
+
validation: ["api_contracts", "database_schema", "authentication"]
|
|
115
|
+
|
|
116
|
+
pipeline_core_business:
|
|
117
|
+
focus: "核心业务功能"
|
|
118
|
+
agent_coordination: automation-orchestrator
|
|
119
|
+
story_selection: "priority=P1 AND category=business"
|
|
120
|
+
dependencies: ["pipeline_foundation"]
|
|
121
|
+
|
|
122
|
+
execution_flow:
|
|
123
|
+
- step: core_business_development
|
|
124
|
+
parallel_execution: true
|
|
125
|
+
story_cycle: "SM→PO→Dev→QA"
|
|
126
|
+
cross_story_coordination: true
|
|
127
|
+
|
|
128
|
+
- step: business_process_integration
|
|
129
|
+
action: validate_business_workflows
|
|
130
|
+
validation: ["end_to_end_flows", "business_rules", "data_consistency"]
|
|
131
|
+
|
|
132
|
+
pipeline_features:
|
|
133
|
+
focus: "特性功能开发"
|
|
134
|
+
agent_coordination: automation-orchestrator
|
|
135
|
+
story_selection: "priority=P2 AND category=features"
|
|
136
|
+
dependencies: ["pipeline_core_business"]
|
|
137
|
+
|
|
138
|
+
execution_flow:
|
|
139
|
+
- step: feature_development
|
|
140
|
+
parallel_execution: true
|
|
141
|
+
story_cycle: "SM→PO→Dev→QA"
|
|
142
|
+
|
|
143
|
+
- step: feature_integration
|
|
144
|
+
action: integrate_feature_modules
|
|
145
|
+
validation: ["ui_consistency", "api_compatibility", "performance"]
|
|
146
|
+
|
|
147
|
+
pipeline_support:
|
|
148
|
+
focus: "支撑功能开发"
|
|
149
|
+
agent_coordination: automation-orchestrator
|
|
150
|
+
story_selection: "priority=P3 AND category=support"
|
|
151
|
+
dependencies: ["pipeline_features"]
|
|
152
|
+
|
|
153
|
+
execution_flow:
|
|
154
|
+
- step: support_feature_development
|
|
155
|
+
parallel_execution: true
|
|
156
|
+
story_cycle: "SM→PO→Dev→QA"
|
|
157
|
+
|
|
158
|
+
synchronization_points:
|
|
159
|
+
sync_foundation_complete:
|
|
160
|
+
trigger: "pipeline_foundation完成"
|
|
161
|
+
validation: "基础API和认证系统就绪"
|
|
162
|
+
next_action: "启动pipeline_core_business"
|
|
163
|
+
|
|
164
|
+
sync_core_complete:
|
|
165
|
+
trigger: "pipeline_core_business完成"
|
|
166
|
+
validation: "核心业务流程就绪"
|
|
167
|
+
next_action: "启动pipeline_features"
|
|
168
|
+
|
|
169
|
+
sync_features_complete:
|
|
170
|
+
trigger: "pipeline_features完成"
|
|
171
|
+
validation: "所有功能模块就绪"
|
|
172
|
+
next_action: "启动pipeline_support"
|
|
173
|
+
|
|
174
|
+
monitoring_and_coordination:
|
|
175
|
+
- real_time_progress_tracking: 实时进度跟踪
|
|
176
|
+
- dependency_satisfaction_monitoring: 依赖满足监控
|
|
177
|
+
- quality_metrics_collection: 质量指标收集
|
|
178
|
+
- bottleneck_detection_and_resolution: 瓶颈检测和解决
|
|
179
|
+
- cross_pipeline_conflict_resolution: 跨流水线冲突解决
|
|
180
|
+
|
|
181
|
+
phase_3_project_integration:
|
|
182
|
+
name: 项目集成与验证
|
|
183
|
+
duration: "15-30分钟"
|
|
184
|
+
description: 执行项目级集成测试,确保系统完整性
|
|
185
|
+
|
|
186
|
+
steps:
|
|
187
|
+
- step: cross_module_integration
|
|
188
|
+
agent: full-requirement-orchestrator
|
|
189
|
+
action: execute_integration_testing
|
|
190
|
+
scope: "跨模块集成测试"
|
|
191
|
+
validation:
|
|
192
|
+
- api_integration_testing: API集成测试
|
|
193
|
+
- database_consistency_check: 数据库一致性检查
|
|
194
|
+
- cross_service_communication: 跨服务通信验证
|
|
195
|
+
|
|
196
|
+
- step: end_to_end_validation
|
|
197
|
+
agent: full-requirement-orchestrator
|
|
198
|
+
action: validate_business_processes
|
|
199
|
+
scope: "端到端业务流程验证"
|
|
200
|
+
validation:
|
|
201
|
+
- complete_user_journeys: 完整用户旅程
|
|
202
|
+
- business_workflow_execution: 业务工作流执行
|
|
203
|
+
- data_lifecycle_validation: 数据生命周期验证
|
|
204
|
+
|
|
205
|
+
- step: performance_validation
|
|
206
|
+
agent: full-requirement-orchestrator
|
|
207
|
+
action: execute_performance_testing
|
|
208
|
+
scope: "性能和扩展性验证"
|
|
209
|
+
validation:
|
|
210
|
+
- load_testing: 负载测试
|
|
211
|
+
- stress_testing: 压力测试
|
|
212
|
+
- scalability_validation: 扩展性验证
|
|
213
|
+
|
|
214
|
+
- step: security_validation
|
|
215
|
+
agent: full-requirement-orchestrator
|
|
216
|
+
action: execute_security_testing
|
|
217
|
+
scope: "安全性综合验证"
|
|
218
|
+
validation:
|
|
219
|
+
- vulnerability_scanning: 漏洞扫描
|
|
220
|
+
- penetration_testing: 渗透测试
|
|
221
|
+
- compliance_validation: 合规性验证
|
|
222
|
+
|
|
223
|
+
quality_gates:
|
|
224
|
+
- gate: integration_test_pass_rate
|
|
225
|
+
criteria: "集成测试通过率≥98%"
|
|
226
|
+
- gate: performance_benchmark_compliance
|
|
227
|
+
criteria: "性能指标满足基准要求"
|
|
228
|
+
- gate: security_vulnerability_threshold
|
|
229
|
+
criteria: "零高危安全漏洞"
|
|
230
|
+
- gate: business_process_validation
|
|
231
|
+
criteria: "所有业务流程验证通过"
|
|
232
|
+
|
|
233
|
+
phase_4_delivery:
|
|
234
|
+
name: 项目交付
|
|
235
|
+
duration: "5-10分钟"
|
|
236
|
+
description: 生成最终交付物和项目文档
|
|
237
|
+
|
|
238
|
+
steps:
|
|
239
|
+
- step: deliverable_packaging
|
|
240
|
+
agent: full-requirement-orchestrator
|
|
241
|
+
action: generate_project_deliverables
|
|
242
|
+
outputs:
|
|
243
|
+
- deployment_package: 部署包
|
|
244
|
+
- api_documentation: API文档
|
|
245
|
+
- user_documentation: 用户文档
|
|
246
|
+
- maintenance_guide: 维护指南
|
|
247
|
+
|
|
248
|
+
- step: handover_preparation
|
|
249
|
+
agent: full-requirement-orchestrator
|
|
250
|
+
action: prepare_project_handover
|
|
251
|
+
outputs:
|
|
252
|
+
- project_summary_report: 项目总结报告
|
|
253
|
+
- quality_metrics_report: 质量指标报告
|
|
254
|
+
- deployment_instructions: 部署说明
|
|
255
|
+
- support_contact_info: 支持联系信息
|
|
256
|
+
|
|
257
|
+
- step: final_validation
|
|
258
|
+
agent: full-requirement-orchestrator
|
|
259
|
+
action: validate_delivery_completeness
|
|
260
|
+
validation:
|
|
261
|
+
- deliverable_completeness: 交付物完整性
|
|
262
|
+
- documentation_quality: 文档质量
|
|
263
|
+
- deployment_readiness: 部署就绪度
|
|
264
|
+
- handover_checklist: 交接检查清单
|
|
265
|
+
|
|
266
|
+
# 工作流执行配置
|
|
267
|
+
execution:
|
|
268
|
+
# 并行执行配置
|
|
269
|
+
parallelization:
|
|
270
|
+
max_parallel_pipelines: 4
|
|
271
|
+
max_stories_per_pipeline: 15
|
|
272
|
+
resource_allocation: "dynamic"
|
|
273
|
+
load_balancing: "priority_based"
|
|
274
|
+
|
|
275
|
+
# 错误处理配置
|
|
276
|
+
error_handling:
|
|
277
|
+
retry_strategy: "exponential_backoff"
|
|
278
|
+
max_retries: 3
|
|
279
|
+
failure_escalation: "human_intervention"
|
|
280
|
+
rollback_capability: true
|
|
281
|
+
|
|
282
|
+
# 质量控制配置
|
|
283
|
+
quality_control:
|
|
284
|
+
continuous_monitoring: true
|
|
285
|
+
real_time_alerts: true
|
|
286
|
+
quality_gate_enforcement: "strict"
|
|
287
|
+
deviation_threshold: "5%"
|
|
288
|
+
|
|
289
|
+
# 监控和报告
|
|
290
|
+
monitoring:
|
|
291
|
+
progress_tracking: "real_time"
|
|
292
|
+
metrics_collection: "comprehensive"
|
|
293
|
+
dashboard_updates: "every_5_minutes"
|
|
294
|
+
notification_channels: ["email", "slack", "webhook"]
|
|
295
|
+
|
|
296
|
+
# 工作流模板和配置
|
|
297
|
+
templates:
|
|
298
|
+
enhanced_story_template: "enhanced-story-with-database-tmpl.yaml"
|
|
299
|
+
integration_test_template: "integration-test-tmpl.yaml"
|
|
300
|
+
deliverable_package_template: "project-deliverable-tmpl.yaml"
|
|
301
|
+
|
|
302
|
+
# 质量标准和验收标准
|
|
303
|
+
quality_standards:
|
|
304
|
+
story_level:
|
|
305
|
+
- acceptance_criteria_completeness: 100%
|
|
306
|
+
- unit_test_coverage: ≥80%
|
|
307
|
+
- code_quality_score: ≥8.5/10
|
|
308
|
+
- api_documentation_completeness: 100%
|
|
309
|
+
|
|
310
|
+
pipeline_level:
|
|
311
|
+
- integration_test_pass_rate: ≥95%
|
|
312
|
+
- cross_story_consistency: 100%
|
|
313
|
+
- performance_benchmark_compliance: 100%
|
|
314
|
+
|
|
315
|
+
project_level:
|
|
316
|
+
- end_to_end_test_coverage: 100%
|
|
317
|
+
- security_vulnerability_count: 0 (high severity)
|
|
318
|
+
- deployment_readiness_score: ≥9/10
|
|
319
|
+
- documentation_completeness: 100%
|
|
320
|
+
|
|
321
|
+
# 风险管理和缓解策略
|
|
322
|
+
risk_management:
|
|
323
|
+
identified_risks:
|
|
324
|
+
dependency_blocking:
|
|
325
|
+
probability: "medium"
|
|
326
|
+
impact: "high"
|
|
327
|
+
mitigation: "dynamic_dependency_resolution"
|
|
328
|
+
|
|
329
|
+
resource_contention:
|
|
330
|
+
probability: "low"
|
|
331
|
+
impact: "medium"
|
|
332
|
+
mitigation: "intelligent_load_balancing"
|
|
333
|
+
|
|
334
|
+
integration_conflicts:
|
|
335
|
+
probability: "medium"
|
|
336
|
+
impact: "high"
|
|
337
|
+
mitigation: "continuous_integration_validation"
|
|
338
|
+
|
|
339
|
+
quality_degradation:
|
|
340
|
+
probability: "low"
|
|
341
|
+
impact: "high"
|
|
342
|
+
mitigation: "strict_quality_gates"
|
|
343
|
+
|
|
344
|
+
monitoring_triggers:
|
|
345
|
+
- progress_deviation_threshold: "10%"
|
|
346
|
+
- quality_metric_decline: "5%"
|
|
347
|
+
- error_rate_spike: "2x baseline"
|
|
348
|
+
- dependency_satisfaction_delay: "15 minutes"
|
|
349
|
+
|
|
350
|
+
# 成功指标和KPI
|
|
351
|
+
success_metrics:
|
|
352
|
+
delivery_metrics:
|
|
353
|
+
- on_time_delivery_rate: ≥95%
|
|
354
|
+
- scope_completion_rate: 100%
|
|
355
|
+
- quality_standard_compliance: ≥98%
|
|
356
|
+
|
|
357
|
+
efficiency_metrics:
|
|
358
|
+
- automation_coverage: ≥90%
|
|
359
|
+
- parallel_processing_efficiency: ≥75%
|
|
360
|
+
- resource_utilization_rate: ≥80%
|
|
361
|
+
|
|
362
|
+
quality_metrics:
|
|
363
|
+
- defect_escape_rate: ≤2%
|
|
364
|
+
- customer_satisfaction_score: ≥8.5/10
|
|
365
|
+
- maintenance_cost_reduction: ≥30%
|
|
366
|
+
|
|
367
|
+
# 使用示例和最佳实践
|
|
368
|
+
usage_examples:
|
|
369
|
+
basic_usage:
|
|
370
|
+
command: "*agent full-requirement-orchestrator"
|
|
371
|
+
followed_by: "*start-full-requirement-automation"
|
|
372
|
+
|
|
373
|
+
advanced_configuration:
|
|
374
|
+
custom_prd: "*start-full-requirement-automation --prd custom_requirements.md"
|
|
375
|
+
parallel_config: "*start-full-requirement-automation --pipelines 6 --max-stories 10"
|
|
376
|
+
|
|
377
|
+
monitoring_and_control:
|
|
378
|
+
progress_check: "*monitor-project-progress"
|
|
379
|
+
quality_validation: "*validate-quality-gates"
|
|
380
|
+
issue_resolution: "*handle-cross-story-conflicts"
|
|
381
|
+
|
|
382
|
+
# 集成点和扩展能力
|
|
383
|
+
integrations:
|
|
384
|
+
existing_workflows:
|
|
385
|
+
- enhanced-fullstack-with-database: "story-level integration"
|
|
386
|
+
- automated-story-development: "individual story processing"
|
|
387
|
+
|
|
388
|
+
external_tools:
|
|
389
|
+
- mysql_mcp: "database operations"
|
|
390
|
+
- testing_frameworks: "automated testing"
|
|
391
|
+
- deployment_tools: "continuous deployment"
|
|
392
|
+
- monitoring_systems: "real-time monitoring"
|
|
393
|
+
|
|
394
|
+
customization_points:
|
|
395
|
+
- story_generation_rules: "自定义故事生成规则"
|
|
396
|
+
- quality_gate_criteria: "自定义质量门控标准"
|
|
397
|
+
- parallel_execution_strategy: "自定义并行执行策略"
|
|
398
|
+
- integration_test_scenarios: "自定义集成测试场景"
|