@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
|
@@ -0,0 +1,544 @@
|
|
|
1
|
+
# Automated Quality Validator
|
|
2
|
+
# 自动化质量验证器 - 多层次质量保证系统
|
|
3
|
+
|
|
4
|
+
meta:
|
|
5
|
+
name: "Automated Quality Validator"
|
|
6
|
+
version: "2.0"
|
|
7
|
+
description: "多层次、全方位自动化质量验证系统"
|
|
8
|
+
created_date: "2025-09-10"
|
|
9
|
+
validation_philosophy: "ZERO_TOLERANCE_FOR_QUALITY_DEFECTS"
|
|
10
|
+
|
|
11
|
+
# ========== 质量验证架构 ==========
|
|
12
|
+
quality_validation_architecture:
|
|
13
|
+
validation_layers:
|
|
14
|
+
count: 7
|
|
15
|
+
execution_mode: "SEQUENTIAL_WITH_GATES"
|
|
16
|
+
failure_handling: "IMMEDIATE_CORRECTION_AND_RETRY"
|
|
17
|
+
success_criteria: "ALL_LAYERS_PASS"
|
|
18
|
+
|
|
19
|
+
validation_philosophy:
|
|
20
|
+
- "质量第一,速度第二"
|
|
21
|
+
- "宁可多验证,不可有缺陷"
|
|
22
|
+
- "自动化纠错,人工干预最小化"
|
|
23
|
+
- "全流程质量追踪"
|
|
24
|
+
|
|
25
|
+
# ========== 第一层:语法和格式验证 ==========
|
|
26
|
+
layer_1_syntax_format_validation:
|
|
27
|
+
name: "Syntax and Format Validation"
|
|
28
|
+
priority: "CRITICAL"
|
|
29
|
+
description: "验证文档的基本语法、格式和结构合规性"
|
|
30
|
+
|
|
31
|
+
validators:
|
|
32
|
+
- validator: "markdown_syntax_validator"
|
|
33
|
+
description: "Markdown语法验证"
|
|
34
|
+
checks:
|
|
35
|
+
- markdown_syntax_correctness
|
|
36
|
+
- header_hierarchy_validation
|
|
37
|
+
- list_format_validation
|
|
38
|
+
- table_format_validation
|
|
39
|
+
- link_format_validation
|
|
40
|
+
- code_block_format_validation
|
|
41
|
+
error_handling: "AUTO_CORRECTION"
|
|
42
|
+
pass_criteria: "SYNTAX_ERROR_COUNT_ZERO"
|
|
43
|
+
|
|
44
|
+
- validator: "yaml_frontmatter_validator"
|
|
45
|
+
description: "YAML前置元数据验证"
|
|
46
|
+
checks:
|
|
47
|
+
- yaml_syntax_validation
|
|
48
|
+
- required_metadata_presence
|
|
49
|
+
- metadata_format_validation
|
|
50
|
+
- metadata_value_validation
|
|
51
|
+
error_handling: "AUTO_CORRECTION"
|
|
52
|
+
pass_criteria: "YAML_VALID_AND_COMPLETE"
|
|
53
|
+
|
|
54
|
+
- validator: "template_structure_validator"
|
|
55
|
+
description: "模板结构验证"
|
|
56
|
+
checks:
|
|
57
|
+
- required_sections_presence:
|
|
58
|
+
- "状态"
|
|
59
|
+
- "用户故事"
|
|
60
|
+
- "验收标准"
|
|
61
|
+
- "数据库设计相关"
|
|
62
|
+
- "API接口规范"
|
|
63
|
+
- "任务/子任务"
|
|
64
|
+
- "开发者说明"
|
|
65
|
+
- "变更日志"
|
|
66
|
+
- "开发者代理记录"
|
|
67
|
+
- "QA结果"
|
|
68
|
+
- section_order_validation
|
|
69
|
+
- subsection_completeness
|
|
70
|
+
- header_level_consistency
|
|
71
|
+
error_handling: "STRUCTURE_RECONSTRUCTION"
|
|
72
|
+
pass_criteria: "STRUCTURE_100_COMPLIANT"
|
|
73
|
+
|
|
74
|
+
- validator: "content_format_validator"
|
|
75
|
+
description: "内容格式验证"
|
|
76
|
+
checks:
|
|
77
|
+
- user_story_format: "^\\*\\*作为\\*\\*.*\\*\\*我希望\\*\\*.*\\*\\*以便\\*\\*.*$"
|
|
78
|
+
- status_value_validation:
|
|
79
|
+
["Draft", "Approved", "InProgress", "Review", "Done", "Completed"]
|
|
80
|
+
- table_format_consistency
|
|
81
|
+
- json_code_block_validation
|
|
82
|
+
- bash_code_block_validation
|
|
83
|
+
error_handling: "FORMAT_STANDARDIZATION"
|
|
84
|
+
pass_criteria: "FORMAT_COMPLIANCE_100"
|
|
85
|
+
|
|
86
|
+
layer_success_criteria:
|
|
87
|
+
syntax_errors: 0
|
|
88
|
+
format_violations: 0
|
|
89
|
+
structure_defects: 0
|
|
90
|
+
overall_score: 100
|
|
91
|
+
|
|
92
|
+
# ========== 第二层:内容完整性验证 ==========
|
|
93
|
+
layer_2_content_completeness_validation:
|
|
94
|
+
name: "Content Completeness Validation"
|
|
95
|
+
priority: "CRITICAL"
|
|
96
|
+
description: "验证文档内容的完整性和必要信息的存在"
|
|
97
|
+
|
|
98
|
+
validators:
|
|
99
|
+
- validator: "user_story_completeness_validator"
|
|
100
|
+
description: "用户故事完整性验证"
|
|
101
|
+
checks:
|
|
102
|
+
- user_story_presence_and_format
|
|
103
|
+
- acceptance_criteria_completeness
|
|
104
|
+
- acceptance_criteria_measurability
|
|
105
|
+
- story_value_proposition_clarity
|
|
106
|
+
scoring_method: "COMPLETENESS_PERCENTAGE"
|
|
107
|
+
pass_criteria: "COMPLETENESS_SCORE_95_PLUS"
|
|
108
|
+
|
|
109
|
+
- validator: "database_design_completeness_validator"
|
|
110
|
+
description: "数据库设计完整性验证"
|
|
111
|
+
checks:
|
|
112
|
+
- entities_table_completeness:
|
|
113
|
+
required_columns: ["实体名称", "表名", "主要用途", "关键字段"]
|
|
114
|
+
minimum_entities: 1
|
|
115
|
+
- data_operations_completeness:
|
|
116
|
+
required_operations: ["查询操作", "插入操作", "更新操作", "删除操作"]
|
|
117
|
+
operation_descriptions: "DETAILED_AND_SPECIFIC"
|
|
118
|
+
- business_rules_presence:
|
|
119
|
+
minimum_rules: 3
|
|
120
|
+
rule_specificity: "ACTIONABLE_AND_TESTABLE"
|
|
121
|
+
scoring_method: "WEIGHTED_COMPLETENESS"
|
|
122
|
+
pass_criteria: "DB_DESIGN_SCORE_90_PLUS"
|
|
123
|
+
|
|
124
|
+
- validator: "api_specification_completeness_validator"
|
|
125
|
+
description: "API规范完整性验证"
|
|
126
|
+
checks:
|
|
127
|
+
- api_endpoints_table_completeness:
|
|
128
|
+
required_columns: ["序号", "接口名称", "HTTP方法", "路径", "说明", "状态"]
|
|
129
|
+
minimum_endpoints: 1
|
|
130
|
+
- api_detailed_design_completeness:
|
|
131
|
+
required_elements:
|
|
132
|
+
[
|
|
133
|
+
"接口描述",
|
|
134
|
+
"HTTP方法",
|
|
135
|
+
"请求路径",
|
|
136
|
+
"请求参数",
|
|
137
|
+
"响应数据结构",
|
|
138
|
+
"请求示例",
|
|
139
|
+
"响应示例",
|
|
140
|
+
"错误码定义",
|
|
141
|
+
]
|
|
142
|
+
example_quality: "REALISTIC_AND_COMPREHENSIVE"
|
|
143
|
+
- data_mapping_completeness:
|
|
144
|
+
mapping_tables_presence: true
|
|
145
|
+
mapping_accuracy: "FIELD_LEVEL_MAPPING"
|
|
146
|
+
scoring_method: "API_COMPLETENESS_MATRIX"
|
|
147
|
+
pass_criteria: "API_SPEC_SCORE_90_PLUS"
|
|
148
|
+
|
|
149
|
+
- validator: "implementation_guidance_completeness_validator"
|
|
150
|
+
description: "实施指导完整性验证"
|
|
151
|
+
checks:
|
|
152
|
+
- task_breakdown_completeness:
|
|
153
|
+
backend_tasks_presence: true
|
|
154
|
+
frontend_tasks_presence: true
|
|
155
|
+
testing_tasks_presence: true
|
|
156
|
+
task_specificity: "ACTIONABLE_WITH_CLEAR_DELIVERABLES"
|
|
157
|
+
- developer_notes_completeness:
|
|
158
|
+
database_context: "COMPREHENSIVE"
|
|
159
|
+
api_context: "COMPREHENSIVE"
|
|
160
|
+
integration_context: "COMPREHENSIVE"
|
|
161
|
+
testing_context: "COMPREHENSIVE"
|
|
162
|
+
- qa_results_completeness:
|
|
163
|
+
test_categories_coverage: ["数据库操作正确性", "API接口功能性", "性能测试结果"]
|
|
164
|
+
results_specificity: "QUANTITATIVE_WITH_METRICS"
|
|
165
|
+
scoring_method: "IMPLEMENTATION_READINESS_SCORE"
|
|
166
|
+
pass_criteria: "IMPLEMENTATION_SCORE_85_PLUS"
|
|
167
|
+
|
|
168
|
+
layer_success_criteria:
|
|
169
|
+
user_story_completeness: 95
|
|
170
|
+
database_design_completeness: 90
|
|
171
|
+
api_specification_completeness: 90
|
|
172
|
+
implementation_guidance_completeness: 85
|
|
173
|
+
overall_completeness_score: 90
|
|
174
|
+
|
|
175
|
+
# ========== 第三层:内容质量验证 ==========
|
|
176
|
+
layer_3_content_quality_validation:
|
|
177
|
+
name: "Content Quality Validation"
|
|
178
|
+
priority: "HIGH"
|
|
179
|
+
description: "验证内容的准确性、清晰度和专业性"
|
|
180
|
+
|
|
181
|
+
validators:
|
|
182
|
+
- validator: "technical_accuracy_validator"
|
|
183
|
+
description: "技术准确性验证"
|
|
184
|
+
checks:
|
|
185
|
+
- database_design_accuracy:
|
|
186
|
+
entity_relationship_logic: "TECHNICALLY_SOUND"
|
|
187
|
+
sql_naming_conventions: "STANDARD_COMPLIANT"
|
|
188
|
+
data_type_appropriateness: "OPTIMAL_CHOICES"
|
|
189
|
+
- api_design_accuracy:
|
|
190
|
+
rest_principles_compliance: "RESTFUL_DESIGN"
|
|
191
|
+
http_method_appropriateness: "SEMANTICALLY_CORRECT"
|
|
192
|
+
status_code_accuracy: "HTTP_STANDARD_COMPLIANT"
|
|
193
|
+
json_schema_validity: "VALID_JSON_STRUCTURE"
|
|
194
|
+
- implementation_accuracy:
|
|
195
|
+
technology_stack_consistency: "COHERENT_CHOICES"
|
|
196
|
+
architectural_pattern_adherence: "BEST_PRACTICES"
|
|
197
|
+
security_consideration_adequacy: "COMPREHENSIVE_COVERAGE"
|
|
198
|
+
scoring_method: "EXPERT_SYSTEM_EVALUATION"
|
|
199
|
+
pass_criteria: "TECHNICAL_ACCURACY_SCORE_90_PLUS"
|
|
200
|
+
|
|
201
|
+
- validator: "clarity_and_readability_validator"
|
|
202
|
+
description: "清晰度和可读性验证"
|
|
203
|
+
checks:
|
|
204
|
+
- language_clarity:
|
|
205
|
+
sentence_structure: "CLEAR_AND_CONCISE"
|
|
206
|
+
terminology_consistency: "STANDARDIZED_USAGE"
|
|
207
|
+
technical_explanation_quality: "ACCESSIBLE_TO_TARGET_AUDIENCE"
|
|
208
|
+
- documentation_clarity:
|
|
209
|
+
instruction_actionability: "STEP_BY_STEP_CLEAR"
|
|
210
|
+
example_quality: "REALISTIC_AND_HELPFUL"
|
|
211
|
+
context_sufficiency: "COMPREHENSIVE_BACKGROUND"
|
|
212
|
+
- visual_organization:
|
|
213
|
+
table_readability: "WELL_FORMATTED"
|
|
214
|
+
section_flow_logic: "LOGICAL_PROGRESSION"
|
|
215
|
+
information_hierarchy: "CLEAR_STRUCTURE"
|
|
216
|
+
scoring_method: "READABILITY_METRICS_ANALYSIS"
|
|
217
|
+
pass_criteria: "CLARITY_SCORE_85_PLUS"
|
|
218
|
+
|
|
219
|
+
- validator: "professional_quality_validator"
|
|
220
|
+
description: "专业质量验证"
|
|
221
|
+
checks:
|
|
222
|
+
- documentation_professionalism:
|
|
223
|
+
consistency_in_style: "UNIFORM_PRESENTATION"
|
|
224
|
+
completeness_of_information: "THOROUGH_COVERAGE"
|
|
225
|
+
attention_to_detail: "HIGH_PRECISION"
|
|
226
|
+
- business_alignment:
|
|
227
|
+
requirement_traceability: "CLEAR_LINKAGE"
|
|
228
|
+
value_proposition_articulation: "COMPELLING_AND_CLEAR"
|
|
229
|
+
stakeholder_consideration: "COMPREHENSIVE_PERSPECTIVE"
|
|
230
|
+
- implementation_readiness:
|
|
231
|
+
actionability_of_tasks: "IMMEDIATELY_EXECUTABLE"
|
|
232
|
+
resource_requirement_clarity: "WELL_DEFINED"
|
|
233
|
+
risk_and_dependency_identification: "PROACTIVE_CONSIDERATION"
|
|
234
|
+
scoring_method: "PROFESSIONAL_STANDARDS_ASSESSMENT"
|
|
235
|
+
pass_criteria: "PROFESSIONAL_QUALITY_SCORE_85_PLUS"
|
|
236
|
+
|
|
237
|
+
layer_success_criteria:
|
|
238
|
+
technical_accuracy: 90
|
|
239
|
+
clarity_and_readability: 85
|
|
240
|
+
professional_quality: 85
|
|
241
|
+
overall_quality_score: 87
|
|
242
|
+
|
|
243
|
+
# ========== 第四层:一致性验证 ==========
|
|
244
|
+
layer_4_consistency_validation:
|
|
245
|
+
name: "Consistency Validation"
|
|
246
|
+
priority: "HIGH"
|
|
247
|
+
description: "验证跨文档和内部一致性"
|
|
248
|
+
|
|
249
|
+
validators:
|
|
250
|
+
- validator: "terminology_consistency_validator"
|
|
251
|
+
description: "术语一致性验证"
|
|
252
|
+
checks:
|
|
253
|
+
- entity_naming_consistency:
|
|
254
|
+
database_entity_names: "EXACT_MATCH_ACROSS_DOCUMENTS"
|
|
255
|
+
api_resource_names: "CONSISTENT_NAMING_CONVENTION"
|
|
256
|
+
variable_naming: "STANDARDIZED_PATTERNS"
|
|
257
|
+
- technical_term_consistency:
|
|
258
|
+
framework_names: "CONSISTENT_USAGE"
|
|
259
|
+
technology_references: "STANDARDIZED_TERMINOLOGY"
|
|
260
|
+
status_values: "UNIFORM_ACROSS_ALL_DOCUMENTS"
|
|
261
|
+
- business_term_consistency:
|
|
262
|
+
domain_terminology: "CONSISTENT_DEFINITIONS"
|
|
263
|
+
role_names: "STANDARDIZED_ACROSS_STORIES"
|
|
264
|
+
process_terminology: "UNIFIED_LANGUAGE"
|
|
265
|
+
scoring_method: "TERMINOLOGY_DICTIONARY_MATCHING"
|
|
266
|
+
pass_criteria: "TERMINOLOGY_CONSISTENCY_95_PLUS"
|
|
267
|
+
|
|
268
|
+
- validator: "structural_consistency_validator"
|
|
269
|
+
description: "结构一致性验证"
|
|
270
|
+
checks:
|
|
271
|
+
- template_structure_uniformity:
|
|
272
|
+
section_presence: "IDENTICAL_ACROSS_ALL_DOCUMENTS"
|
|
273
|
+
section_ordering: "CONSISTENT_SEQUENCE"
|
|
274
|
+
subsection_structure: "UNIFORM_HIERARCHY"
|
|
275
|
+
- format_consistency:
|
|
276
|
+
table_formats: "IDENTICAL_STRUCTURE"
|
|
277
|
+
code_block_formatting: "CONSISTENT_STYLE"
|
|
278
|
+
list_formatting: "UNIFORM_PATTERNS"
|
|
279
|
+
- content_organization_consistency:
|
|
280
|
+
information_flow: "LOGICAL_AND_CONSISTENT"
|
|
281
|
+
detail_level_consistency: "APPROPRIATE_DEPTH_UNIFORMLY"
|
|
282
|
+
example_format_consistency: "STANDARDIZED_PRESENTATION"
|
|
283
|
+
scoring_method: "STRUCTURAL_PATTERN_ANALYSIS"
|
|
284
|
+
pass_criteria: "STRUCTURAL_CONSISTENCY_95_PLUS"
|
|
285
|
+
|
|
286
|
+
- validator: "cross_reference_consistency_validator"
|
|
287
|
+
description: "交叉引用一致性验证"
|
|
288
|
+
checks:
|
|
289
|
+
- internal_reference_integrity:
|
|
290
|
+
section_references: "ALL_REFERENCES_VALID"
|
|
291
|
+
table_references: "ACCURATE_CROSS_LINKS"
|
|
292
|
+
figure_references: "PROPER_LINKAGE"
|
|
293
|
+
- cross_document_reference_integrity:
|
|
294
|
+
story_to_story_references: "VALID_CROSS_REFERENCES"
|
|
295
|
+
epic_level_references: "CONSISTENT_EPIC_LINKAGE"
|
|
296
|
+
version_references: "ACCURATE_VERSION_TRACKING"
|
|
297
|
+
- external_reference_consistency:
|
|
298
|
+
template_references: "ACCURATE_TEMPLATE_LINKS"
|
|
299
|
+
file_path_references: "VALID_FILE_PATHS"
|
|
300
|
+
url_references: "ACCESSIBLE_AND_RELEVANT"
|
|
301
|
+
scoring_method: "REFERENCE_GRAPH_VALIDATION"
|
|
302
|
+
pass_criteria: "REFERENCE_INTEGRITY_98_PLUS"
|
|
303
|
+
|
|
304
|
+
layer_success_criteria:
|
|
305
|
+
terminology_consistency: 95
|
|
306
|
+
structural_consistency: 95
|
|
307
|
+
cross_reference_consistency: 98
|
|
308
|
+
overall_consistency_score: 96
|
|
309
|
+
|
|
310
|
+
# ========== 第五层:实施可行性验证 ==========
|
|
311
|
+
layer_5_implementation_feasibility_validation:
|
|
312
|
+
name: "Implementation Feasibility Validation"
|
|
313
|
+
priority: "MEDIUM"
|
|
314
|
+
description: "验证设计的实施可行性和技术合理性"
|
|
315
|
+
|
|
316
|
+
validators:
|
|
317
|
+
- validator: "database_design_feasibility_validator"
|
|
318
|
+
description: "数据库设计可行性验证"
|
|
319
|
+
checks:
|
|
320
|
+
- schema_design_validity:
|
|
321
|
+
table_structure_soundness: "NORMALIZATION_APPROPRIATE"
|
|
322
|
+
relationship_design_correctness: "FOREIGN_KEY_LOGIC_VALID"
|
|
323
|
+
index_strategy_reasonableness: "PERFORMANCE_OPTIMIZED"
|
|
324
|
+
- data_operation_feasibility:
|
|
325
|
+
query_complexity_assessment: "REASONABLE_PERFORMANCE"
|
|
326
|
+
transaction_design_soundness: "ACID_COMPLIANT"
|
|
327
|
+
scalability_considerations: "GROWTH_ACCOMMODATING"
|
|
328
|
+
- technology_stack_compatibility:
|
|
329
|
+
database_technology_alignment: "CONSISTENT_WITH_ARCHITECTURE"
|
|
330
|
+
orm_framework_compatibility: "MYBATIS_PLUS_COMPATIBLE"
|
|
331
|
+
performance_characteristics: "ACCEPTABLE_PERFORMANCE_PROFILE"
|
|
332
|
+
scoring_method: "DATABASE_EXPERT_SYSTEM_ANALYSIS"
|
|
333
|
+
pass_criteria: "DATABASE_FEASIBILITY_85_PLUS"
|
|
334
|
+
|
|
335
|
+
- validator: "api_design_feasibility_validator"
|
|
336
|
+
description: "API设计可行性验证"
|
|
337
|
+
checks:
|
|
338
|
+
- rest_api_design_soundness:
|
|
339
|
+
resource_modeling_appropriateness: "RESTFUL_RESOURCE_DESIGN"
|
|
340
|
+
http_method_semantic_correctness: "HTTP_SEMANTICS_COMPLIANT"
|
|
341
|
+
status_code_usage_accuracy: "PROPER_STATUS_CODE_SELECTION"
|
|
342
|
+
- implementation_complexity_assessment:
|
|
343
|
+
endpoint_implementation_complexity: "REASONABLE_DEVELOPMENT_EFFORT"
|
|
344
|
+
data_transformation_complexity: "MANAGEABLE_MAPPING_LOGIC"
|
|
345
|
+
error_handling_comprehensiveness: "ROBUST_ERROR_MANAGEMENT"
|
|
346
|
+
- integration_feasibility:
|
|
347
|
+
frontend_integration_simplicity: "FRONTEND_FRIENDLY_DESIGN"
|
|
348
|
+
backend_service_integration: "LOOSE_COUPLING_MAINTAINED"
|
|
349
|
+
third_party_service_compatibility: "EXTERNAL_INTEGRATION_READY"
|
|
350
|
+
scoring_method: "API_DESIGN_EXPERT_EVALUATION"
|
|
351
|
+
pass_criteria: "API_FEASIBILITY_85_PLUS"
|
|
352
|
+
|
|
353
|
+
- validator: "implementation_task_feasibility_validator"
|
|
354
|
+
description: "实施任务可行性验证"
|
|
355
|
+
checks:
|
|
356
|
+
- task_decomposition_adequacy:
|
|
357
|
+
granularity_appropriateness: "ACTIONABLE_TASK_SIZE"
|
|
358
|
+
dependency_identification_completeness: "ALL_DEPENDENCIES_IDENTIFIED"
|
|
359
|
+
skill_requirement_clarity: "CLEAR_EXPERTISE_REQUIREMENTS"
|
|
360
|
+
- effort_estimation_reasonableness:
|
|
361
|
+
development_effort_estimates: "REALISTIC_TIME_ESTIMATES"
|
|
362
|
+
testing_effort_allocation: "ADEQUATE_QA_TIME"
|
|
363
|
+
integration_effort_consideration: "INTEGRATION_COMPLEXITY_ACCOUNTED"
|
|
364
|
+
- resource_requirement_clarity:
|
|
365
|
+
human_resource_requirements: "CLEAR_ROLE_DEFINITIONS"
|
|
366
|
+
technology_resource_requirements: "INFRASTRUCTURE_NEEDS_DEFINED"
|
|
367
|
+
timeline_feasibility: "REALISTIC_SCHEDULE_EXPECTATIONS"
|
|
368
|
+
scoring_method: "PROJECT_MANAGEMENT_FEASIBILITY_ANALYSIS"
|
|
369
|
+
pass_criteria: "IMPLEMENTATION_FEASIBILITY_80_PLUS"
|
|
370
|
+
|
|
371
|
+
layer_success_criteria:
|
|
372
|
+
database_design_feasibility: 85
|
|
373
|
+
api_design_feasibility: 85
|
|
374
|
+
implementation_task_feasibility: 80
|
|
375
|
+
overall_feasibility_score: 83
|
|
376
|
+
|
|
377
|
+
# ========== 第六层:业务价值验证 ==========
|
|
378
|
+
layer_6_business_value_validation:
|
|
379
|
+
name: "Business Value Validation"
|
|
380
|
+
priority: "MEDIUM"
|
|
381
|
+
description: "验证业务价值对齐和需求追踪"
|
|
382
|
+
|
|
383
|
+
validators:
|
|
384
|
+
- validator: "requirement_traceability_validator"
|
|
385
|
+
description: "需求可追踪性验证"
|
|
386
|
+
checks:
|
|
387
|
+
- acceptance_criteria_coverage:
|
|
388
|
+
requirement_coverage_completeness: "ALL_REQUIREMENTS_ADDRESSED"
|
|
389
|
+
acceptance_criteria_testability: "MEASURABLE_AND_VERIFIABLE"
|
|
390
|
+
success_criteria_clarity: "UNAMBIGUOUS_SUCCESS_DEFINITION"
|
|
391
|
+
- user_story_value_articulation:
|
|
392
|
+
user_benefit_clarity: "CLEAR_USER_VALUE_PROPOSITION"
|
|
393
|
+
business_impact_identification: "BUSINESS_BENEFIT_ARTICULATED"
|
|
394
|
+
priority_justification: "PRIORITY_RATIONALE_CLEAR"
|
|
395
|
+
- epic_level_alignment:
|
|
396
|
+
epic_goal_contribution: "CONTRIBUTES_TO_EPIC_OBJECTIVES"
|
|
397
|
+
strategic_alignment: "BUSINESS_STRATEGY_ALIGNED"
|
|
398
|
+
stakeholder_value_delivery: "STAKEHOLDER_NEEDS_ADDRESSED"
|
|
399
|
+
scoring_method: "REQUIREMENT_ENGINEERING_ANALYSIS"
|
|
400
|
+
pass_criteria: "REQUIREMENT_TRACEABILITY_85_PLUS"
|
|
401
|
+
|
|
402
|
+
- validator: "user_experience_impact_validator"
|
|
403
|
+
description: "用户体验影响验证"
|
|
404
|
+
checks:
|
|
405
|
+
- user_journey_consideration:
|
|
406
|
+
user_workflow_impact: "POSITIVE_WORKFLOW_IMPACT"
|
|
407
|
+
usability_improvement: "ENHANCED_USER_EXPERIENCE"
|
|
408
|
+
accessibility_consideration: "INCLUSIVE_DESIGN_PRINCIPLES"
|
|
409
|
+
- interface_design_quality:
|
|
410
|
+
ui_component_appropriateness: "SUITABLE_INTERFACE_ELEMENTS"
|
|
411
|
+
interaction_design_soundness: "INTUITIVE_USER_INTERACTIONS"
|
|
412
|
+
responsive_design_consideration: "MULTI_DEVICE_COMPATIBILITY"
|
|
413
|
+
- performance_impact_assessment:
|
|
414
|
+
response_time_considerations: "ACCEPTABLE_PERFORMANCE_TARGETS"
|
|
415
|
+
scalability_user_impact: "PERFORMANCE_UNDER_LOAD"
|
|
416
|
+
reliability_assurance: "HIGH_AVAILABILITY_DESIGN"
|
|
417
|
+
scoring_method: "UX_IMPACT_ASSESSMENT_FRAMEWORK"
|
|
418
|
+
pass_criteria: "UX_IMPACT_SCORE_80_PLUS"
|
|
419
|
+
|
|
420
|
+
layer_success_criteria:
|
|
421
|
+
requirement_traceability: 85
|
|
422
|
+
user_experience_impact: 80
|
|
423
|
+
overall_business_value_score: 82
|
|
424
|
+
|
|
425
|
+
# ========== 第七层:最终集成验证 ==========
|
|
426
|
+
layer_7_final_integration_validation:
|
|
427
|
+
name: "Final Integration Validation"
|
|
428
|
+
priority: "CRITICAL"
|
|
429
|
+
description: "最终集成验证和交付准备"
|
|
430
|
+
|
|
431
|
+
validators:
|
|
432
|
+
- validator: "end_to_end_document_validator"
|
|
433
|
+
description: "端到端文档验证"
|
|
434
|
+
checks:
|
|
435
|
+
- document_flow_coherence:
|
|
436
|
+
logical_story_progression: "COHERENT_NARRATIVE_FLOW"
|
|
437
|
+
information_completeness: "NO_INFORMATION_GAPS"
|
|
438
|
+
cross_section_consistency: "SEAMLESS_INFORMATION_FLOW"
|
|
439
|
+
- implementation_readiness:
|
|
440
|
+
development_team_readiness: "ACTIONABLE_FOR_DEVELOPERS"
|
|
441
|
+
testing_team_readiness: "TESTABLE_SPECIFICATIONS"
|
|
442
|
+
deployment_readiness: "DEPLOYMENT_CONSIDERATIONS_ADDRESSED"
|
|
443
|
+
- maintenance_consideration:
|
|
444
|
+
documentation_maintainability: "EASY_TO_UPDATE_AND_MAINTAIN"
|
|
445
|
+
knowledge_transfer_readiness: "COMPREHENSIVE_KNOWLEDGE_CAPTURE"
|
|
446
|
+
future_enhancement_consideration: "EXTENSIBILITY_DESIGNED"
|
|
447
|
+
scoring_method: "HOLISTIC_DOCUMENT_EVALUATION"
|
|
448
|
+
pass_criteria: "DOCUMENT_INTEGRATION_90_PLUS"
|
|
449
|
+
|
|
450
|
+
- validator: "quality_metrics_achievement_validator"
|
|
451
|
+
description: "质量指标达成验证"
|
|
452
|
+
checks:
|
|
453
|
+
- all_layer_success_verification:
|
|
454
|
+
layer_1_success: "SYNTAX_FORMAT_PERFECT"
|
|
455
|
+
layer_2_success: "CONTENT_COMPLETE"
|
|
456
|
+
layer_3_success: "QUALITY_HIGH"
|
|
457
|
+
layer_4_success: "CONSISTENCY_MAINTAINED"
|
|
458
|
+
layer_5_success: "FEASIBILITY_CONFIRMED"
|
|
459
|
+
layer_6_success: "BUSINESS_VALUE_ALIGNED"
|
|
460
|
+
- overall_quality_score_calculation:
|
|
461
|
+
weighted_score_computation: "COMPREHENSIVE_QUALITY_METRICS"
|
|
462
|
+
benchmark_comparison: "INDUSTRY_STANDARD_EXCEEDED"
|
|
463
|
+
continuous_improvement_identification: "ENHANCEMENT_OPPORTUNITIES_NOTED"
|
|
464
|
+
- delivery_certification:
|
|
465
|
+
quality_certification: "QUALITY_STANDARDS_MET"
|
|
466
|
+
completeness_certification: "COMPREHENSIVE_DOCUMENTATION"
|
|
467
|
+
implementation_readiness_certification: "READY_FOR_DEVELOPMENT"
|
|
468
|
+
scoring_method: "COMPREHENSIVE_QUALITY_DASHBOARD"
|
|
469
|
+
pass_criteria: "OVERALL_QUALITY_90_PLUS"
|
|
470
|
+
|
|
471
|
+
layer_success_criteria:
|
|
472
|
+
end_to_end_document_quality: 90
|
|
473
|
+
quality_metrics_achievement: 90
|
|
474
|
+
overall_integration_score: 90
|
|
475
|
+
|
|
476
|
+
# ========== 质量纠错和改进系统 ==========
|
|
477
|
+
quality_correction_and_improvement_system:
|
|
478
|
+
immediate_correction_triggers:
|
|
479
|
+
- critical_failures: ["syntax_errors", "missing_required_sections", "format_violations"]
|
|
480
|
+
correction_action: "IMMEDIATE_AUTO_CORRECTION"
|
|
481
|
+
retry_attempts: 3
|
|
482
|
+
escalation: "MANUAL_INTERVENTION_IF_AUTO_CORRECTION_FAILS"
|
|
483
|
+
|
|
484
|
+
- quality_deficiencies: ["content_gaps", "clarity_issues", "consistency_problems"]
|
|
485
|
+
correction_action: "ITERATIVE_IMPROVEMENT"
|
|
486
|
+
improvement_rounds: 2
|
|
487
|
+
success_criteria: "QUALITY_THRESHOLD_ACHIEVED"
|
|
488
|
+
|
|
489
|
+
- feasibility_concerns: ["implementation_complexity", "technical_soundness"]
|
|
490
|
+
correction_action: "EXPERT_SYSTEM_OPTIMIZATION"
|
|
491
|
+
optimization_focus: "TECHNICAL_REFINEMENT"
|
|
492
|
+
validation_requirement: "EXPERT_APPROVAL"
|
|
493
|
+
|
|
494
|
+
continuous_improvement_loop:
|
|
495
|
+
- feedback_collection:
|
|
496
|
+
validation_results_analysis: "IDENTIFY_IMPROVEMENT_PATTERNS"
|
|
497
|
+
quality_trend_monitoring: "TRACK_QUALITY_EVOLUTION"
|
|
498
|
+
user_feedback_integration: "INCORPORATE_USER_INSIGHTS"
|
|
499
|
+
|
|
500
|
+
- process_optimization:
|
|
501
|
+
validator_effectiveness_assessment: "OPTIMIZE_VALIDATION_ALGORITHMS"
|
|
502
|
+
correction_strategy_refinement: "IMPROVE_AUTO_CORRECTION_ACCURACY"
|
|
503
|
+
quality_standard_evolution: "RAISE_QUALITY_BARS_PROGRESSIVELY"
|
|
504
|
+
|
|
505
|
+
# ========== 报告和仪表板系统 ==========
|
|
506
|
+
reporting_and_dashboard_system:
|
|
507
|
+
real_time_quality_dashboard:
|
|
508
|
+
- layer_by_layer_status: "VISUAL_PROGRESS_TRACKING"
|
|
509
|
+
- quality_score_monitoring: "REAL_TIME_SCORE_UPDATES"
|
|
510
|
+
- correction_activity_log: "AUTO_CORRECTION_TRANSPARENCY"
|
|
511
|
+
- overall_progress_indicator: "COMPLETION_PERCENTAGE"
|
|
512
|
+
|
|
513
|
+
comprehensive_quality_report:
|
|
514
|
+
- executive_summary: "HIGH_LEVEL_QUALITY_OVERVIEW"
|
|
515
|
+
- detailed_layer_analysis: "GRANULAR_VALIDATION_RESULTS"
|
|
516
|
+
- improvement_recommendations: "ACTIONABLE_ENHANCEMENT_SUGGESTIONS"
|
|
517
|
+
- quality_certification: "FORMAL_QUALITY_ATTESTATION"
|
|
518
|
+
|
|
519
|
+
trend_analysis_reporting:
|
|
520
|
+
- quality_evolution_tracking: "QUALITY_IMPROVEMENT_OVER_TIME"
|
|
521
|
+
- common_issue_identification: "PATTERN_RECOGNITION_INSIGHTS"
|
|
522
|
+
- best_practice_recommendations: "PROVEN_QUALITY_STRATEGIES"
|
|
523
|
+
|
|
524
|
+
# ========== 成功标准定义 ==========
|
|
525
|
+
overall_success_criteria:
|
|
526
|
+
individual_layer_requirements:
|
|
527
|
+
layer_1_syntax_format: 100
|
|
528
|
+
layer_2_content_completeness: 90
|
|
529
|
+
layer_3_content_quality: 87
|
|
530
|
+
layer_4_consistency: 96
|
|
531
|
+
layer_5_implementation_feasibility: 83
|
|
532
|
+
layer_6_business_value: 82
|
|
533
|
+
layer_7_final_integration: 90
|
|
534
|
+
|
|
535
|
+
overall_quality_requirements:
|
|
536
|
+
minimum_overall_score: 90
|
|
537
|
+
critical_failure_tolerance: 0
|
|
538
|
+
quality_consistency_requirement: "ALL_DOCUMENTS_MEET_STANDARDS"
|
|
539
|
+
|
|
540
|
+
delivery_readiness_criteria:
|
|
541
|
+
documentation_completeness: "100%"
|
|
542
|
+
implementation_readiness: "DEVELOPMENT_READY"
|
|
543
|
+
quality_certification: "FORMALLY_CERTIFIED"
|
|
544
|
+
stakeholder_acceptance: "BUSINESS_APPROVED"
|