bmad-method 6.2.3-next.6 → 6.2.3-next.8

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.
Files changed (57) hide show
  1. package/.claude-plugin/marketplace.json +0 -1
  2. package/package.json +1 -1
  3. package/src/bmm-skills/1-analysis/bmad-agent-analyst/SKILL.md +6 -4
  4. package/src/bmm-skills/1-analysis/bmad-agent-tech-writer/SKILL.md +6 -4
  5. package/src/bmm-skills/1-analysis/bmad-document-project/workflow.md +8 -10
  6. package/src/bmm-skills/1-analysis/bmad-prfaq/SKILL.md +12 -9
  7. package/src/bmm-skills/1-analysis/bmad-product-brief/SKILL.md +1 -6
  8. package/src/bmm-skills/1-analysis/research/bmad-domain-research/workflow.md +8 -6
  9. package/src/bmm-skills/1-analysis/research/bmad-market-research/workflow.md +8 -6
  10. package/src/bmm-skills/1-analysis/research/bmad-technical-research/workflow.md +8 -6
  11. package/src/bmm-skills/2-plan-workflows/bmad-agent-pm/SKILL.md +6 -4
  12. package/src/bmm-skills/2-plan-workflows/bmad-agent-ux-designer/SKILL.md +6 -4
  13. package/src/bmm-skills/2-plan-workflows/bmad-create-prd/workflow.md +8 -9
  14. package/src/bmm-skills/2-plan-workflows/bmad-create-ux-design/workflow.md +8 -9
  15. package/src/bmm-skills/2-plan-workflows/bmad-edit-prd/steps-e/step-e-01-discovery.md +1 -1
  16. package/src/bmm-skills/2-plan-workflows/bmad-edit-prd/steps-e/step-e-01b-legacy-conversion.md +1 -1
  17. package/src/bmm-skills/2-plan-workflows/bmad-edit-prd/steps-e/step-e-02-review.md +1 -1
  18. package/src/bmm-skills/2-plan-workflows/bmad-edit-prd/steps-e/step-e-03-edit.md +1 -1
  19. package/src/bmm-skills/2-plan-workflows/bmad-edit-prd/steps-e/step-e-04-complete.md +1 -1
  20. package/src/bmm-skills/2-plan-workflows/bmad-edit-prd/workflow.md +8 -9
  21. package/src/bmm-skills/2-plan-workflows/bmad-validate-prd/workflow.md +8 -9
  22. package/src/bmm-skills/3-solutioning/bmad-agent-architect/SKILL.md +6 -4
  23. package/src/bmm-skills/3-solutioning/bmad-check-implementation-readiness/workflow.md +8 -10
  24. package/src/bmm-skills/3-solutioning/bmad-create-architecture/workflow.md +8 -14
  25. package/src/bmm-skills/3-solutioning/bmad-create-epics-and-stories/workflow.md +10 -12
  26. package/src/bmm-skills/3-solutioning/bmad-generate-project-context/workflow.md +8 -12
  27. package/src/bmm-skills/4-implementation/bmad-agent-dev/SKILL.md +6 -4
  28. package/src/bmm-skills/4-implementation/bmad-agent-qa/SKILL.md +6 -4
  29. package/src/bmm-skills/4-implementation/bmad-agent-quick-flow-solo-dev/SKILL.md +6 -4
  30. package/src/bmm-skills/4-implementation/bmad-agent-sm/SKILL.md +6 -4
  31. package/src/core-skills/bmad-advanced-elicitation/SKILL.md +1 -2
  32. package/src/core-skills/bmad-distillator/SKILL.md +0 -1
  33. package/src/core-skills/bmad-distillator/resources/distillate-format-reference.md +9 -9
  34. package/src/core-skills/bmad-party-mode/workflow.md +5 -12
  35. package/tools/installer/ide/platform-codes.yaml +0 -1
  36. package/src/bmm-skills/2-plan-workflows/create-prd/data/domain-complexity.csv +0 -15
  37. package/src/bmm-skills/2-plan-workflows/create-prd/data/prd-purpose.md +0 -197
  38. package/src/bmm-skills/2-plan-workflows/create-prd/data/project-types.csv +0 -11
  39. package/src/bmm-skills/2-plan-workflows/create-prd/steps-v/step-v-01-discovery.md +0 -224
  40. package/src/bmm-skills/2-plan-workflows/create-prd/steps-v/step-v-02-format-detection.md +0 -191
  41. package/src/bmm-skills/2-plan-workflows/create-prd/steps-v/step-v-02b-parity-check.md +0 -209
  42. package/src/bmm-skills/2-plan-workflows/create-prd/steps-v/step-v-03-density-validation.md +0 -174
  43. package/src/bmm-skills/2-plan-workflows/create-prd/steps-v/step-v-04-brief-coverage-validation.md +0 -214
  44. package/src/bmm-skills/2-plan-workflows/create-prd/steps-v/step-v-05-measurability-validation.md +0 -228
  45. package/src/bmm-skills/2-plan-workflows/create-prd/steps-v/step-v-06-traceability-validation.md +0 -217
  46. package/src/bmm-skills/2-plan-workflows/create-prd/steps-v/step-v-07-implementation-leakage-validation.md +0 -205
  47. package/src/bmm-skills/2-plan-workflows/create-prd/steps-v/step-v-08-domain-compliance-validation.md +0 -243
  48. package/src/bmm-skills/2-plan-workflows/create-prd/steps-v/step-v-09-project-type-validation.md +0 -263
  49. package/src/bmm-skills/2-plan-workflows/create-prd/steps-v/step-v-10-smart-validation.md +0 -209
  50. package/src/bmm-skills/2-plan-workflows/create-prd/steps-v/step-v-11-holistic-quality-validation.md +0 -264
  51. package/src/bmm-skills/2-plan-workflows/create-prd/steps-v/step-v-12-completeness-validation.md +0 -242
  52. package/src/bmm-skills/2-plan-workflows/create-prd/steps-v/step-v-13-report-complete.md +0 -232
  53. package/src/bmm-skills/2-plan-workflows/create-prd/workflow-validate-prd.md +0 -65
  54. package/src/core-skills/bmad-init/SKILL.md +0 -100
  55. package/src/core-skills/bmad-init/resources/core-module.yaml +0 -25
  56. package/src/core-skills/bmad-init/scripts/bmad_init.py +0 -624
  57. package/src/core-skills/bmad-init/scripts/tests/test_bmad_init.py +0 -393
@@ -1,214 +0,0 @@
1
- ---
2
- name: 'step-v-04-brief-coverage-validation'
3
- description: 'Product Brief Coverage Check - Validate PRD covers all content from Product Brief (if used as input)'
4
-
5
- # File references (ONLY variables used in this step)
6
- nextStepFile: './step-v-05-measurability-validation.md'
7
- prdFile: '{prd_file_path}'
8
- productBrief: '{product_brief_path}'
9
- validationReportPath: '{validation_report_path}'
10
- ---
11
-
12
- # Step 4: Product Brief Coverage Validation
13
-
14
- ## STEP GOAL:
15
-
16
- Validate that PRD covers all content from Product Brief (if brief was used as input), mapping brief content to PRD sections and identifying gaps.
17
-
18
- ## MANDATORY EXECUTION RULES (READ FIRST):
19
-
20
- ### Universal Rules:
21
-
22
- - 🛑 NEVER generate content without user input
23
- - 📖 CRITICAL: Read the complete step file before taking any action
24
- - 🔄 CRITICAL: When loading next step with 'C', ensure entire file is read
25
- - 📋 YOU ARE A FACILITATOR, not a content generator
26
- - ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
27
-
28
- ### Role Reinforcement:
29
-
30
- - ✅ You are a Validation Architect and Quality Assurance Specialist
31
- - ✅ If you already have been given communication or persona patterns, continue to use those while playing this new role
32
- - ✅ We engage in systematic validation, not collaborative dialogue
33
- - ✅ You bring analytical rigor and traceability expertise
34
- - ✅ This step runs autonomously - no user input needed
35
-
36
- ### Step-Specific Rules:
37
-
38
- - 🎯 Focus ONLY on Product Brief coverage (conditional on brief existence)
39
- - 🚫 FORBIDDEN to validate other aspects in this step
40
- - 💬 Approach: Systematic mapping and gap analysis
41
- - 🚪 This is a validation sequence step - auto-proceeds when complete
42
-
43
- ## EXECUTION PROTOCOLS:
44
-
45
- - 🎯 Check if Product Brief exists in input documents
46
- - 💬 If no brief: Skip this check and report "N/A - No Product Brief"
47
- - 🎯 If brief exists: Map brief content to PRD sections
48
- - 💾 Append coverage findings to validation report
49
- - 📖 Display "Proceeding to next check..." and load next step
50
- - 🚫 FORBIDDEN to pause or request user input
51
-
52
- ## CONTEXT BOUNDARIES:
53
-
54
- - Available context: PRD file, input documents from step 1, validation report
55
- - Focus: Product Brief coverage only (conditional)
56
- - Limits: Don't validate other aspects, conditional execution
57
- - Dependencies: Step 1 completed - input documents loaded
58
-
59
- ## MANDATORY SEQUENCE
60
-
61
- **CRITICAL:** Follow this sequence exactly. Do not skip, reorder, or improvise unless user explicitly requests a change.
62
-
63
- ### 1. Check for Product Brief
64
-
65
- Check if Product Brief was loaded in step 1's inputDocuments:
66
-
67
- **IF no Product Brief found:**
68
- Append to validation report:
69
- ```markdown
70
- ## Product Brief Coverage
71
-
72
- **Status:** N/A - No Product Brief was provided as input
73
- ```
74
-
75
- Display: "**Product Brief Coverage: Skipped** (No Product Brief provided)
76
-
77
- **Proceeding to next validation check...**"
78
-
79
- Without delay, read fully and follow: {nextStepFile}
80
-
81
- **IF Product Brief exists:** Continue to step 2 below
82
-
83
- ### 2. Attempt Sub-Process Validation
84
-
85
- **Try to use Task tool to spawn a subprocess:**
86
-
87
- "Perform Product Brief coverage validation:
88
-
89
- 1. Load the Product Brief
90
- 2. Extract key content:
91
- - Vision statement
92
- - Target users/personas
93
- - Problem statement
94
- - Key features
95
- - Goals/objectives
96
- - Differentiators
97
- - Constraints
98
- 3. For each item, search PRD for corresponding coverage
99
- 4. Classify coverage: Fully Covered / Partially Covered / Not Found / Intentionally Excluded
100
- 5. Note any gaps with severity: Critical / Moderate / Informational
101
-
102
- Return structured coverage map with classifications."
103
-
104
- ### 3. Graceful Degradation (if Task tool unavailable)
105
-
106
- If Task tool unavailable, perform analysis directly:
107
-
108
- **Extract from Product Brief:**
109
- - Vision: What is this product?
110
- - Users: Who is it for?
111
- - Problem: What problem does it solve?
112
- - Features: What are the key capabilities?
113
- - Goals: What are the success criteria?
114
- - Differentiators: What makes it unique?
115
-
116
- **For each item, search PRD:**
117
- - Scan Executive Summary for vision
118
- - Check User Journeys or user personas
119
- - Look for problem statement
120
- - Review Functional Requirements for features
121
- - Check Success Criteria section
122
- - Search for differentiators
123
-
124
- **Classify coverage:**
125
- - **Fully Covered:** Content present and complete
126
- - **Partially Covered:** Content present but incomplete
127
- - **Not Found:** Content missing from PRD
128
- - **Intentionally Excluded:** Content explicitly out of scope
129
-
130
- ### 4. Assess Coverage and Severity
131
-
132
- **For each gap (Partially Covered or Not Found):**
133
- - Is this Critical? (Core vision, primary users, main features)
134
- - Is this Moderate? (Secondary features, some goals)
135
- - Is this Informational? (Nice-to-have features, minor details)
136
-
137
- **Note:** Some exclusions may be intentional (valid scoping decisions)
138
-
139
- ### 5. Report Coverage Findings to Validation Report
140
-
141
- Append to validation report:
142
-
143
- ```markdown
144
- ## Product Brief Coverage
145
-
146
- **Product Brief:** {brief_file_name}
147
-
148
- ### Coverage Map
149
-
150
- **Vision Statement:** [Fully/Partially/Not Found/Intentionally Excluded]
151
- [If gap: Note severity and specific missing content]
152
-
153
- **Target Users:** [Fully/Partially/Not Found/Intentionally Excluded]
154
- [If gap: Note severity and specific missing content]
155
-
156
- **Problem Statement:** [Fully/Partially/Not Found/Intentionally Excluded]
157
- [If gap: Note severity and specific missing content]
158
-
159
- **Key Features:** [Fully/Partially/Not Found/Intentionally Excluded]
160
- [If gap: List specific features with severity]
161
-
162
- **Goals/Objectives:** [Fully/Partially/Not Found/Intentionally Excluded]
163
- [If gap: Note severity and specific missing content]
164
-
165
- **Differentiators:** [Fully/Partially/Not Found/Intentionally Excluded]
166
- [If gap: Note severity and specific missing content]
167
-
168
- ### Coverage Summary
169
-
170
- **Overall Coverage:** [percentage or qualitative assessment]
171
- **Critical Gaps:** [count] [list if any]
172
- **Moderate Gaps:** [count] [list if any]
173
- **Informational Gaps:** [count] [list if any]
174
-
175
- **Recommendation:**
176
- [If critical gaps exist] "PRD should be revised to cover critical Product Brief content."
177
- [If moderate gaps] "Consider addressing moderate gaps for complete coverage."
178
- [If minimal gaps] "PRD provides good coverage of Product Brief content."
179
- ```
180
-
181
- ### 6. Display Progress and Auto-Proceed
182
-
183
- Display: "**Product Brief Coverage Validation Complete**
184
-
185
- Overall Coverage: {assessment}
186
-
187
- **Proceeding to next validation check...**"
188
-
189
- Without delay, read fully and follow: {nextStepFile} (step-v-05-measurability-validation.md)
190
-
191
- ---
192
-
193
- ## 🚨 SYSTEM SUCCESS/FAILURE METRICS
194
-
195
- ### ✅ SUCCESS:
196
-
197
- - Checked for Product Brief existence correctly
198
- - If no brief: Reported "N/A" and skipped gracefully
199
- - If brief exists: Mapped all key brief content to PRD sections
200
- - Coverage classified appropriately (Fully/Partially/Not Found/Intentionally Excluded)
201
- - Severity assessed for gaps (Critical/Moderate/Informational)
202
- - Findings reported to validation report
203
- - Auto-proceeds to next validation step
204
- - Subprocess attempted with graceful degradation
205
-
206
- ### ❌ SYSTEM FAILURE:
207
-
208
- - Not checking for brief existence before attempting validation
209
- - If brief exists: not mapping all key content areas
210
- - Missing coverage classifications
211
- - Not reporting findings to validation report
212
- - Not auto-proceeding
213
-
214
- **Master Rule:** Product Brief coverage is conditional - skip if no brief, validate thoroughly if brief exists. Always auto-proceed.
@@ -1,228 +0,0 @@
1
- ---
2
- name: 'step-v-05-measurability-validation'
3
- description: 'Measurability Validation - Validate that all requirements (FRs and NFRs) are measurable and testable'
4
-
5
- # File references (ONLY variables used in this step)
6
- nextStepFile: './step-v-06-traceability-validation.md'
7
- prdFile: '{prd_file_path}'
8
- validationReportPath: '{validation_report_path}'
9
- ---
10
-
11
- # Step 5: Measurability Validation
12
-
13
- ## STEP GOAL:
14
-
15
- Validate that all Functional Requirements (FRs) and Non-Functional Requirements (NFRs) are measurable, testable, and follow proper format without implementation details.
16
-
17
- ## MANDATORY EXECUTION RULES (READ FIRST):
18
-
19
- ### Universal Rules:
20
-
21
- - 🛑 NEVER generate content without user input
22
- - 📖 CRITICAL: Read the complete step file before taking any action
23
- - 🔄 CRITICAL: When loading next step with 'C', ensure entire file is read
24
- - 📋 YOU ARE A FACILITATOR, not a content generator
25
- - ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
26
-
27
- ### Role Reinforcement:
28
-
29
- - ✅ You are a Validation Architect and Quality Assurance Specialist
30
- - ✅ If you already have been given communication or persona patterns, continue to use those while playing this new role
31
- - ✅ We engage in systematic validation, not collaborative dialogue
32
- - ✅ You bring analytical rigor and requirements engineering expertise
33
- - ✅ This step runs autonomously - no user input needed
34
-
35
- ### Step-Specific Rules:
36
-
37
- - 🎯 Focus ONLY on FR and NFR measurability
38
- - 🚫 FORBIDDEN to validate other aspects in this step
39
- - 💬 Approach: Systematic requirement-by-requirement analysis
40
- - 🚪 This is a validation sequence step - auto-proceeds when complete
41
-
42
- ## EXECUTION PROTOCOLS:
43
-
44
- - 🎯 Extract all FRs and NFRs from PRD
45
- - 💾 Validate each for measurability and format
46
- - 📖 Append findings to validation report
47
- - 📖 Display "Proceeding to next check..." and load next step
48
- - 🚫 FORBIDDEN to pause or request user input
49
-
50
- ## CONTEXT BOUNDARIES:
51
-
52
- - Available context: PRD file, validation report
53
- - Focus: FR and NFR measurability only
54
- - Limits: Don't validate other aspects, don't pause for user input
55
- - Dependencies: Steps 2-4 completed - initial validation checks done
56
-
57
- ## MANDATORY SEQUENCE
58
-
59
- **CRITICAL:** Follow this sequence exactly. Do not skip, reorder, or improvise unless user explicitly requests a change.
60
-
61
- ### 1. Attempt Sub-Process Validation
62
-
63
- **Try to use Task tool to spawn a subprocess:**
64
-
65
- "Perform measurability validation on this PRD:
66
-
67
- **Functional Requirements (FRs):**
68
- 1. Extract all FRs from Functional Requirements section
69
- 2. Check each FR for:
70
- - '[Actor] can [capability]' format compliance
71
- - No subjective adjectives (easy, fast, simple, intuitive, etc.)
72
- - No vague quantifiers (multiple, several, some, many, etc.)
73
- - No implementation details (technology names, library names, data structures unless capability-relevant)
74
- 3. Document violations with line numbers
75
-
76
- **Non-Functional Requirements (NFRs):**
77
- 1. Extract all NFRs from Non-Functional Requirements section
78
- 2. Check each NFR for:
79
- - Specific metrics with measurement methods
80
- - Template compliance (criterion, metric, measurement method, context)
81
- - Context included (why this matters, who it affects)
82
- 3. Document violations with line numbers
83
-
84
- Return structured findings with violation counts and examples."
85
-
86
- ### 2. Graceful Degradation (if Task tool unavailable)
87
-
88
- If Task tool unavailable, perform analysis directly:
89
-
90
- **Functional Requirements Analysis:**
91
-
92
- Extract all FRs and check each for:
93
-
94
- **Format compliance:**
95
- - Does it follow "[Actor] can [capability]" pattern?
96
- - Is actor clearly defined?
97
- - Is capability actionable and testable?
98
-
99
- **No subjective adjectives:**
100
- - Scan for: easy, fast, simple, intuitive, user-friendly, responsive, quick, efficient (without metrics)
101
- - Note line numbers
102
-
103
- **No vague quantifiers:**
104
- - Scan for: multiple, several, some, many, few, various, number of
105
- - Note line numbers
106
-
107
- **No implementation details:**
108
- - Scan for: React, Vue, Angular, PostgreSQL, MongoDB, AWS, Docker, Kubernetes, Redux, etc.
109
- - Unless capability-relevant (e.g., "API consumers can access...")
110
- - Note line numbers
111
-
112
- **Non-Functional Requirements Analysis:**
113
-
114
- Extract all NFRs and check each for:
115
-
116
- **Specific metrics:**
117
- - Is there a measurable criterion? (e.g., "response time < 200ms", not "fast response")
118
- - Can this be measured or tested?
119
-
120
- **Template compliance:**
121
- - Criterion defined?
122
- - Metric specified?
123
- - Measurement method included?
124
- - Context provided?
125
-
126
- ### 3. Tally Violations
127
-
128
- **FR Violations:**
129
- - Format violations: count
130
- - Subjective adjectives: count
131
- - Vague quantifiers: count
132
- - Implementation leakage: count
133
- - Total FR violations: sum
134
-
135
- **NFR Violations:**
136
- - Missing metrics: count
137
- - Incomplete template: count
138
- - Missing context: count
139
- - Total NFR violations: sum
140
-
141
- **Total violations:** FR violations + NFR violations
142
-
143
- ### 4. Report Measurability Findings to Validation Report
144
-
145
- Append to validation report:
146
-
147
- ```markdown
148
- ## Measurability Validation
149
-
150
- ### Functional Requirements
151
-
152
- **Total FRs Analyzed:** {count}
153
-
154
- **Format Violations:** {count}
155
- [If violations exist, list examples with line numbers]
156
-
157
- **Subjective Adjectives Found:** {count}
158
- [If found, list examples with line numbers]
159
-
160
- **Vague Quantifiers Found:** {count}
161
- [If found, list examples with line numbers]
162
-
163
- **Implementation Leakage:** {count}
164
- [If found, list examples with line numbers]
165
-
166
- **FR Violations Total:** {total}
167
-
168
- ### Non-Functional Requirements
169
-
170
- **Total NFRs Analyzed:** {count}
171
-
172
- **Missing Metrics:** {count}
173
- [If missing, list examples with line numbers]
174
-
175
- **Incomplete Template:** {count}
176
- [If incomplete, list examples with line numbers]
177
-
178
- **Missing Context:** {count}
179
- [If missing, list examples with line numbers]
180
-
181
- **NFR Violations Total:** {total}
182
-
183
- ### Overall Assessment
184
-
185
- **Total Requirements:** {FRs + NFRs}
186
- **Total Violations:** {FR violations + NFR violations}
187
-
188
- **Severity:** [Critical if >10 violations, Warning if 5-10, Pass if <5]
189
-
190
- **Recommendation:**
191
- [If Critical] "Many requirements are not measurable or testable. Requirements must be revised to be testable for downstream work."
192
- [If Warning] "Some requirements need refinement for measurability. Focus on violating requirements above."
193
- [If Pass] "Requirements demonstrate good measurability with minimal issues."
194
- ```
195
-
196
- ### 5. Display Progress and Auto-Proceed
197
-
198
- Display: "**Measurability Validation Complete**
199
-
200
- Total Violations: {count} ({severity})
201
-
202
- **Proceeding to next validation check...**"
203
-
204
- Without delay, read fully and follow: {nextStepFile} (step-v-06-traceability-validation.md)
205
-
206
- ---
207
-
208
- ## 🚨 SYSTEM SUCCESS/FAILURE METRICS
209
-
210
- ### ✅ SUCCESS:
211
-
212
- - All FRs extracted and analyzed for measurability
213
- - All NFRs extracted and analyzed for measurability
214
- - Violations documented with line numbers
215
- - Severity assessed correctly
216
- - Findings reported to validation report
217
- - Auto-proceeds to next validation step
218
- - Subprocess attempted with graceful degradation
219
-
220
- ### ❌ SYSTEM FAILURE:
221
-
222
- - Not analyzing all FRs and NFRs
223
- - Missing line numbers for violations
224
- - Not reporting findings to validation report
225
- - Not assessing severity
226
- - Not auto-proceeding
227
-
228
- **Master Rule:** Requirements must be testable to be useful. Validate every requirement for measurability, document violations, auto-proceed.
@@ -1,217 +0,0 @@
1
- ---
2
- name: 'step-v-06-traceability-validation'
3
- description: 'Traceability Validation - Validate the traceability chain from vision → success → journeys → FRs is intact'
4
-
5
- # File references (ONLY variables used in this step)
6
- nextStepFile: './step-v-07-implementation-leakage-validation.md'
7
- prdFile: '{prd_file_path}'
8
- validationReportPath: '{validation_report_path}'
9
- ---
10
-
11
- # Step 6: Traceability Validation
12
-
13
- ## STEP GOAL:
14
-
15
- Validate the traceability chain from Executive Summary → Success Criteria → User Journeys → Functional Requirements is intact, ensuring every requirement traces back to a user need or business objective.
16
-
17
- ## MANDATORY EXECUTION RULES (READ FIRST):
18
-
19
- ### Universal Rules:
20
-
21
- - 🛑 NEVER generate content without user input
22
- - 📖 CRITICAL: Read the complete step file before taking any action
23
- - 🔄 CRITICAL: When loading next step with 'C', ensure entire file is read
24
- - 📋 YOU ARE A FACILITATOR, not a content generator
25
- - ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
26
-
27
- ### Role Reinforcement:
28
-
29
- - ✅ You are a Validation Architect and Quality Assurance Specialist
30
- - ✅ If you already have been given communication or persona patterns, continue to use those while playing this new role
31
- - ✅ We engage in systematic validation, not collaborative dialogue
32
- - ✅ You bring analytical rigor and traceability matrix expertise
33
- - ✅ This step runs autonomously - no user input needed
34
-
35
- ### Step-Specific Rules:
36
-
37
- - 🎯 Focus ONLY on traceability chain validation
38
- - 🚫 FORBIDDEN to validate other aspects in this step
39
- - 💬 Approach: Systematic chain validation and orphan detection
40
- - 🚪 This is a validation sequence step - auto-proceeds when complete
41
-
42
- ## EXECUTION PROTOCOLS:
43
-
44
- - 🎯 Build and validate traceability matrix
45
- - 💾 Identify broken chains and orphan requirements
46
- - 📖 Append findings to validation report
47
- - 📖 Display "Proceeding to next check..." and load next step
48
- - 🚫 FORBIDDEN to pause or request user input
49
-
50
- ## CONTEXT BOUNDARIES:
51
-
52
- - Available context: PRD file, validation report
53
- - Focus: Traceability chain validation only
54
- - Limits: Don't validate other aspects, don't pause for user input
55
- - Dependencies: Steps 2-5 completed - initial validations done
56
-
57
- ## MANDATORY SEQUENCE
58
-
59
- **CRITICAL:** Follow this sequence exactly. Do not skip, reorder, or improvise unless user explicitly requests a change.
60
-
61
- ### 1. Attempt Sub-Process Validation
62
-
63
- **Try to use Task tool to spawn a subprocess:**
64
-
65
- "Perform traceability validation on this PRD:
66
-
67
- 1. Extract content from Executive Summary (vision, goals)
68
- 2. Extract Success Criteria
69
- 3. Extract User Journeys (user types, flows, outcomes)
70
- 4. Extract Functional Requirements (FRs)
71
- 5. Extract Product Scope (in-scope items)
72
-
73
- **Validate chains:**
74
- - Executive Summary → Success Criteria: Does vision align with defined success?
75
- - Success Criteria → User Journeys: Are success criteria supported by user journeys?
76
- - User Journeys → Functional Requirements: Does each FR trace back to a user journey?
77
- - Scope → FRs: Do MVP scope FRs align with in-scope items?
78
-
79
- **Identify orphans:**
80
- - FRs not traceable to any user journey or business objective
81
- - Success criteria not supported by user journeys
82
- - User journeys without supporting FRs
83
-
84
- Build traceability matrix and identify broken chains and orphan FRs.
85
-
86
- Return structured findings with chain status and orphan list."
87
-
88
- ### 2. Graceful Degradation (if Task tool unavailable)
89
-
90
- If Task tool unavailable, perform analysis directly:
91
-
92
- **Step 1: Extract key elements**
93
- - Executive Summary: Note vision, goals, objectives
94
- - Success Criteria: List all criteria
95
- - User Journeys: List user types and their flows
96
- - Functional Requirements: List all FRs
97
- - Product Scope: List in-scope items
98
-
99
- **Step 2: Validate Executive Summary → Success Criteria**
100
- - Does Executive Summary mention the success dimensions?
101
- - Are Success Criteria aligned with vision?
102
- - Note any misalignment
103
-
104
- **Step 3: Validate Success Criteria → User Journeys**
105
- - For each success criterion, is there a user journey that achieves it?
106
- - Note success criteria without supporting journeys
107
-
108
- **Step 4: Validate User Journeys → FRs**
109
- - For each user journey/flow, are there FRs that enable it?
110
- - List FRs with no clear user journey origin
111
- - Note orphan FRs (requirements without traceable source)
112
-
113
- **Step 5: Validate Scope → FR Alignment**
114
- - Does MVP scope align with essential FRs?
115
- - Are in-scope items supported by FRs?
116
- - Note misalignments
117
-
118
- **Step 6: Build traceability matrix**
119
- - Map each FR to its source (journey or business objective)
120
- - Note orphan FRs
121
- - Identify broken chains
122
-
123
- ### 3. Tally Traceability Issues
124
-
125
- **Broken chains:**
126
- - Executive Summary → Success Criteria gaps: count
127
- - Success Criteria → User Journeys gaps: count
128
- - User Journeys → FRs gaps: count
129
- - Scope → FR misalignments: count
130
-
131
- **Orphan elements:**
132
- - Orphan FRs (no traceable source): count
133
- - Unsupported success criteria: count
134
- - User journeys without FRs: count
135
-
136
- **Total issues:** Sum of all broken chains and orphans
137
-
138
- ### 4. Report Traceability Findings to Validation Report
139
-
140
- Append to validation report:
141
-
142
- ```markdown
143
- ## Traceability Validation
144
-
145
- ### Chain Validation
146
-
147
- **Executive Summary → Success Criteria:** [Intact/Gaps Identified]
148
- {If gaps: List specific misalignments}
149
-
150
- **Success Criteria → User Journeys:** [Intact/Gaps Identified]
151
- {If gaps: List unsupported success criteria}
152
-
153
- **User Journeys → Functional Requirements:** [Intact/Gaps Identified]
154
- {If gaps: List journeys without supporting FRs}
155
-
156
- **Scope → FR Alignment:** [Intact/Misaligned]
157
- {If misaligned: List specific issues}
158
-
159
- ### Orphan Elements
160
-
161
- **Orphan Functional Requirements:** {count}
162
- {List orphan FRs with numbers}
163
-
164
- **Unsupported Success Criteria:** {count}
165
- {List unsupported criteria}
166
-
167
- **User Journeys Without FRs:** {count}
168
- {List journeys without FRs}
169
-
170
- ### Traceability Matrix
171
-
172
- {Summary table showing traceability coverage}
173
-
174
- **Total Traceability Issues:** {total}
175
-
176
- **Severity:** [Critical if orphan FRs exist, Warning if gaps, Pass if intact]
177
-
178
- **Recommendation:**
179
- [If Critical] "Orphan requirements exist - every FR must trace back to a user need or business objective."
180
- [If Warning] "Traceability gaps identified - strengthen chains to ensure all requirements are justified."
181
- [If Pass] "Traceability chain is intact - all requirements trace to user needs or business objectives."
182
- ```
183
-
184
- ### 5. Display Progress and Auto-Proceed
185
-
186
- Display: "**Traceability Validation Complete**
187
-
188
- Total Issues: {count} ({severity})
189
-
190
- **Proceeding to next validation check...**"
191
-
192
- Without delay, read fully and follow: {nextStepFile} (step-v-07-implementation-leakage-validation.md)
193
-
194
- ---
195
-
196
- ## 🚨 SYSTEM SUCCESS/FAILURE METRICS
197
-
198
- ### ✅ SUCCESS:
199
-
200
- - All traceability chains validated systematically
201
- - Orphan FRs identified with numbers
202
- - Broken chains documented
203
- - Traceability matrix built
204
- - Severity assessed correctly
205
- - Findings reported to validation report
206
- - Auto-proceeds to next validation step
207
- - Subprocess attempted with graceful degradation
208
-
209
- ### ❌ SYSTEM FAILURE:
210
-
211
- - Not validating all traceability chains
212
- - Missing orphan FR detection
213
- - Not building traceability matrix
214
- - Not reporting findings to validation report
215
- - Not auto-proceeding
216
-
217
- **Master Rule:** Every requirement should trace to a user need or business objective. Orphan FRs indicate broken traceability that must be fixed.