siesa-agents 2.1.2 → 2.1.3-dev.0

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 (114) hide show
  1. package/README.md +83 -83
  2. package/bin/install.js +400 -400
  3. package/bin/prepare-publish.js +26 -26
  4. package/bin/restore-folders.js +26 -26
  5. package/bmad-core/agent-teams/team-all.yaml +15 -15
  6. package/bmad-core/agent-teams/team-fullstack.yaml +19 -19
  7. package/bmad-core/agent-teams/team-ide-minimal.yaml +11 -11
  8. package/bmad-core/agent-teams/team-no-ui.yaml +14 -14
  9. package/bmad-core/agents/analyst.md +84 -84
  10. package/bmad-core/agents/architect.md +94 -94
  11. package/bmad-core/agents/backend-agent.md +189 -189
  12. package/bmad-core/agents/bmad-master.md +110 -110
  13. package/bmad-core/agents/bmad-orchestrator.md +147 -147
  14. package/bmad-core/agents/dev.md +81 -81
  15. package/bmad-core/agents/frontend-agent.md +168 -168
  16. package/bmad-core/agents/pm.md +84 -84
  17. package/bmad-core/agents/po.md +79 -79
  18. package/bmad-core/agents/qa.md +91 -91
  19. package/bmad-core/agents/sm.md +65 -65
  20. package/bmad-core/agents/ux-expert.md +69 -69
  21. package/bmad-core/checklists/architect-checklist.md +440 -440
  22. package/bmad-core/checklists/backend-checklist.md +142 -142
  23. package/bmad-core/checklists/change-checklist.md +184 -184
  24. package/bmad-core/checklists/frontend-checklist.md +105 -105
  25. package/bmad-core/checklists/pm-checklist.md +372 -372
  26. package/bmad-core/checklists/po-master-checklist.md +434 -434
  27. package/bmad-core/checklists/story-dod-checklist.md +96 -96
  28. package/bmad-core/checklists/story-draft-checklist.md +155 -155
  29. package/bmad-core/core-config.yaml +22 -22
  30. package/bmad-core/data/backend-standards.md +439 -439
  31. package/bmad-core/data/bmad-kb.md +809 -809
  32. package/bmad-core/data/brainstorming-techniques.md +38 -38
  33. package/bmad-core/data/elicitation-methods.md +156 -156
  34. package/bmad-core/data/frontend-standards.md +323 -323
  35. package/bmad-core/data/technical-preferences.md +5 -5
  36. package/bmad-core/data/test-levels-framework.md +148 -148
  37. package/bmad-core/data/test-priorities-matrix.md +174 -174
  38. package/bmad-core/enhanced-ide-development-workflow.md +248 -248
  39. package/bmad-core/install-manifest.yaml +230 -230
  40. package/bmad-core/tasks/advanced-elicitation.md +119 -119
  41. package/bmad-core/tasks/apply-qa-fixes.md +150 -150
  42. package/bmad-core/tasks/brownfield-create-epic.md +162 -162
  43. package/bmad-core/tasks/brownfield-create-story.md +149 -149
  44. package/bmad-core/tasks/correct-course.md +72 -72
  45. package/bmad-core/tasks/create-brownfield-story.md +314 -314
  46. package/bmad-core/tasks/create-component.md +102 -102
  47. package/bmad-core/tasks/create-deep-research-prompt.md +280 -280
  48. package/bmad-core/tasks/create-doc.md +103 -103
  49. package/bmad-core/tasks/create-entity.md +132 -132
  50. package/bmad-core/tasks/create-feature.md +90 -90
  51. package/bmad-core/tasks/create-next-story.md +114 -114
  52. package/bmad-core/tasks/create-service.md +117 -117
  53. package/bmad-core/tasks/create-use-case.md +140 -140
  54. package/bmad-core/tasks/document-project.md +345 -345
  55. package/bmad-core/tasks/execute-checklist.md +88 -88
  56. package/bmad-core/tasks/facilitate-brainstorming-session.md +138 -138
  57. package/bmad-core/tasks/generate-ai-frontend-prompt.md +53 -53
  58. package/bmad-core/tasks/index-docs.md +175 -175
  59. package/bmad-core/tasks/kb-mode-interaction.md +77 -77
  60. package/bmad-core/tasks/nfr-assess.md +345 -345
  61. package/bmad-core/tasks/qa-gate.md +163 -163
  62. package/bmad-core/tasks/review-story.md +316 -316
  63. package/bmad-core/tasks/risk-profile.md +355 -355
  64. package/bmad-core/tasks/scaffold-backend.md +110 -110
  65. package/bmad-core/tasks/scaffold-frontend.md +78 -78
  66. package/bmad-core/tasks/shard-doc.md +187 -187
  67. package/bmad-core/tasks/test-design.md +176 -176
  68. package/bmad-core/tasks/trace-requirements.md +266 -266
  69. package/bmad-core/tasks/validate-next-story.md +136 -136
  70. package/bmad-core/templates/architecture-tmpl.yaml +662 -662
  71. package/bmad-core/templates/brainstorming-output-tmpl.yaml +156 -156
  72. package/bmad-core/templates/brownfield-architecture-tmpl.yaml +477 -477
  73. package/bmad-core/templates/brownfield-prd-tmpl.yaml +281 -281
  74. package/bmad-core/templates/competitor-analysis-tmpl.yaml +307 -307
  75. package/bmad-core/templates/front-end-architecture-tmpl.yaml +258 -258
  76. package/bmad-core/templates/front-end-spec-tmpl.yaml +350 -350
  77. package/bmad-core/templates/fullstack-architecture-tmpl.yaml +824 -824
  78. package/bmad-core/templates/market-research-tmpl.yaml +253 -253
  79. package/bmad-core/templates/prd-tmpl.yaml +203 -203
  80. package/bmad-core/templates/project-brief-tmpl.yaml +222 -222
  81. package/bmad-core/templates/qa-gate-tmpl.yaml +103 -103
  82. package/bmad-core/templates/story-tmpl.yaml +138 -138
  83. package/bmad-core/user-guide.md +530 -530
  84. package/bmad-core/utils/bmad-doc-template.md +327 -327
  85. package/bmad-core/utils/workflow-management.md +71 -71
  86. package/bmad-core/workflows/brownfield-fullstack.yaml +298 -298
  87. package/bmad-core/workflows/brownfield-service.yaml +188 -188
  88. package/bmad-core/workflows/brownfield-ui.yaml +198 -198
  89. package/bmad-core/workflows/greenfield-fullstack.yaml +241 -241
  90. package/bmad-core/workflows/greenfield-service.yaml +207 -207
  91. package/bmad-core/workflows/greenfield-ui.yaml +236 -236
  92. package/bmad-core/working-in-the-brownfield.md +606 -606
  93. package/claude/commands/BMad/agents/backend.md +187 -187
  94. package/claude/commands/BMad/agents/frontend.md +150 -150
  95. package/claude/hooks/file-restriction-hook.py +51 -0
  96. package/claude/hooks/track-agent.py +67 -0
  97. package/claude/settings.local.json +37 -1
  98. package/github/b-mad-expert.md +742 -742
  99. package/github/chatmodes/analyst.chatmode.md +89 -89
  100. package/github/chatmodes/architect.chatmode.md +97 -97
  101. package/github/chatmodes/backend.chatmode.md +194 -194
  102. package/github/chatmodes/bmad-master.chatmode.md +115 -115
  103. package/github/chatmodes/bmad-orchestrator.chatmode.md +152 -152
  104. package/github/chatmodes/dev.chatmode.md +86 -86
  105. package/github/chatmodes/frontend.chatmode.md +157 -157
  106. package/github/chatmodes/pm.chatmode.md +89 -89
  107. package/github/chatmodes/po.chatmode.md +84 -84
  108. package/github/chatmodes/qa.chatmode.md +96 -96
  109. package/github/chatmodes/sm.chatmode.md +70 -70
  110. package/github/chatmodes/ux-expert.chatmode.md +74 -74
  111. package/index.js +9 -9
  112. package/package.json +37 -37
  113. package/vscode/mcp.json +11 -11
  114. package/vscode/settings.json +12 -12
@@ -1,222 +1,222 @@
1
- # <!-- Powered by BMAD™ Core -->
2
- template:
3
- id: project-brief-template-v2
4
- name: Project Brief
5
- version: 2.0
6
- output:
7
- format: markdown
8
- filename: docs/brief.md
9
- title: "Project Brief: {{project_name}}"
10
-
11
- workflow:
12
- mode: interactive
13
- elicitation: advanced-elicitation
14
- custom_elicitation:
15
- title: "Project Brief Elicitation Actions"
16
- options:
17
- - "Expand section with more specific details"
18
- - "Validate against similar successful products"
19
- - "Stress test assumptions with edge cases"
20
- - "Explore alternative solution approaches"
21
- - "Analyze resource/constraint trade-offs"
22
- - "Generate risk mitigation strategies"
23
- - "Challenge scope from MVP minimalist view"
24
- - "Brainstorm creative feature possibilities"
25
- - "If only we had [resource/capability/time]..."
26
- - "Proceed to next section"
27
-
28
- sections:
29
- - id: introduction
30
- instruction: |
31
- This template guides creation of a comprehensive Project Brief that serves as the foundational input for product development.
32
-
33
- Start by asking the user which mode they prefer:
34
-
35
- 1. **Interactive Mode** - Work through each section collaboratively
36
- 2. **YOLO Mode** - Generate complete draft for review and refinement
37
-
38
- Before beginning, understand what inputs are available (brainstorming results, market research, competitive analysis, initial ideas) and gather project context.
39
-
40
- - id: executive-summary
41
- title: Executive Summary
42
- instruction: |
43
- Create a concise overview that captures the essence of the project. Include:
44
- - Product concept in 1-2 sentences
45
- - Primary problem being solved
46
- - Target market identification
47
- - Key value proposition
48
- template: "{{executive_summary_content}}"
49
-
50
- - id: problem-statement
51
- title: Problem Statement
52
- instruction: |
53
- Articulate the problem with clarity and evidence. Address:
54
- - Current state and pain points
55
- - Impact of the problem (quantify if possible)
56
- - Why existing solutions fall short
57
- - Urgency and importance of solving this now
58
- template: "{{detailed_problem_description}}"
59
-
60
- - id: proposed-solution
61
- title: Proposed Solution
62
- instruction: |
63
- Describe the solution approach at a high level. Include:
64
- - Core concept and approach
65
- - Key differentiators from existing solutions
66
- - Why this solution will succeed where others haven't
67
- - High-level vision for the product
68
- template: "{{solution_description}}"
69
-
70
- - id: target-users
71
- title: Target Users
72
- instruction: |
73
- Define and characterize the intended users with specificity. For each user segment include:
74
- - Demographic/firmographic profile
75
- - Current behaviors and workflows
76
- - Specific needs and pain points
77
- - Goals they're trying to achieve
78
- sections:
79
- - id: primary-segment
80
- title: "Primary User Segment: {{segment_name}}"
81
- template: "{{primary_user_description}}"
82
- - id: secondary-segment
83
- title: "Secondary User Segment: {{segment_name}}"
84
- condition: Has secondary user segment
85
- template: "{{secondary_user_description}}"
86
-
87
- - id: goals-metrics
88
- title: Goals & Success Metrics
89
- instruction: Establish clear objectives and how to measure success. Make goals SMART (Specific, Measurable, Achievable, Relevant, Time-bound)
90
- sections:
91
- - id: business-objectives
92
- title: Business Objectives
93
- type: bullet-list
94
- template: "- {{objective_with_metric}}"
95
- - id: user-success-metrics
96
- title: User Success Metrics
97
- type: bullet-list
98
- template: "- {{user_metric}}"
99
- - id: kpis
100
- title: Key Performance Indicators (KPIs)
101
- type: bullet-list
102
- template: "- {{kpi}}: {{definition_and_target}}"
103
-
104
- - id: mvp-scope
105
- title: MVP Scope
106
- instruction: Define the minimum viable product clearly. Be specific about what's in and what's out. Help user distinguish must-haves from nice-to-haves.
107
- sections:
108
- - id: core-features
109
- title: Core Features (Must Have)
110
- type: bullet-list
111
- template: "- **{{feature}}:** {{description_and_rationale}}"
112
- - id: out-of-scope
113
- title: Out of Scope for MVP
114
- type: bullet-list
115
- template: "- {{feature_or_capability}}"
116
- - id: mvp-success-criteria
117
- title: MVP Success Criteria
118
- template: "{{mvp_success_definition}}"
119
-
120
- - id: post-mvp-vision
121
- title: Post-MVP Vision
122
- instruction: Outline the longer-term product direction without overcommitting to specifics
123
- sections:
124
- - id: phase-2-features
125
- title: Phase 2 Features
126
- template: "{{next_priority_features}}"
127
- - id: long-term-vision
128
- title: Long-term Vision
129
- template: "{{one_two_year_vision}}"
130
- - id: expansion-opportunities
131
- title: Expansion Opportunities
132
- template: "{{potential_expansions}}"
133
-
134
- - id: technical-considerations
135
- title: Technical Considerations
136
- instruction: Document known technical constraints and preferences. Note these are initial thoughts, not final decisions.
137
- sections:
138
- - id: platform-requirements
139
- title: Platform Requirements
140
- template: |
141
- - **Target Platforms:** {{platforms}}
142
- - **Browser/OS Support:** {{specific_requirements}}
143
- - **Performance Requirements:** {{performance_specs}}
144
- - id: technology-preferences
145
- title: Technology Preferences
146
- template: |
147
- - **Frontend:** {{frontend_preferences}}
148
- - **Backend:** {{backend_preferences}}
149
- - **Database:** {{database_preferences}}
150
- - **Hosting/Infrastructure:** {{infrastructure_preferences}}
151
- - id: architecture-considerations
152
- title: Architecture Considerations
153
- template: |
154
- - **Repository Structure:** {{repo_thoughts}}
155
- - **Service Architecture:** {{service_thoughts}}
156
- - **Integration Requirements:** {{integration_needs}}
157
- - **Security/Compliance:** {{security_requirements}}
158
-
159
- - id: constraints-assumptions
160
- title: Constraints & Assumptions
161
- instruction: Clearly state limitations and assumptions to set realistic expectations
162
- sections:
163
- - id: constraints
164
- title: Constraints
165
- template: |
166
- - **Budget:** {{budget_info}}
167
- - **Timeline:** {{timeline_info}}
168
- - **Resources:** {{resource_info}}
169
- - **Technical:** {{technical_constraints}}
170
- - id: key-assumptions
171
- title: Key Assumptions
172
- type: bullet-list
173
- template: "- {{assumption}}"
174
-
175
- - id: risks-questions
176
- title: Risks & Open Questions
177
- instruction: Identify unknowns and potential challenges proactively
178
- sections:
179
- - id: key-risks
180
- title: Key Risks
181
- type: bullet-list
182
- template: "- **{{risk}}:** {{description_and_impact}}"
183
- - id: open-questions
184
- title: Open Questions
185
- type: bullet-list
186
- template: "- {{question}}"
187
- - id: research-areas
188
- title: Areas Needing Further Research
189
- type: bullet-list
190
- template: "- {{research_topic}}"
191
-
192
- - id: appendices
193
- title: Appendices
194
- sections:
195
- - id: research-summary
196
- title: A. Research Summary
197
- condition: Has research findings
198
- instruction: |
199
- If applicable, summarize key findings from:
200
- - Market research
201
- - Competitive analysis
202
- - User interviews
203
- - Technical feasibility studies
204
- - id: stakeholder-input
205
- title: B. Stakeholder Input
206
- condition: Has stakeholder feedback
207
- template: "{{stakeholder_feedback}}"
208
- - id: references
209
- title: C. References
210
- template: "{{relevant_links_and_docs}}"
211
-
212
- - id: next-steps
213
- title: Next Steps
214
- sections:
215
- - id: immediate-actions
216
- title: Immediate Actions
217
- type: numbered-list
218
- template: "{{action_item}}"
219
- - id: pm-handoff
220
- title: PM Handoff
221
- content: |
222
- This Project Brief provides the full context for {{project_name}}. Please start in 'PRD Generation Mode', review the brief thoroughly to work with the user to create the PRD section by section as the template indicates, asking for any necessary clarification or suggesting improvements.
1
+ # <!-- Powered by BMAD™ Core -->
2
+ template:
3
+ id: project-brief-template-v2
4
+ name: Project Brief
5
+ version: 2.0
6
+ output:
7
+ format: markdown
8
+ filename: docs/brief.md
9
+ title: "Project Brief: {{project_name}}"
10
+
11
+ workflow:
12
+ mode: interactive
13
+ elicitation: advanced-elicitation
14
+ custom_elicitation:
15
+ title: "Project Brief Elicitation Actions"
16
+ options:
17
+ - "Expand section with more specific details"
18
+ - "Validate against similar successful products"
19
+ - "Stress test assumptions with edge cases"
20
+ - "Explore alternative solution approaches"
21
+ - "Analyze resource/constraint trade-offs"
22
+ - "Generate risk mitigation strategies"
23
+ - "Challenge scope from MVP minimalist view"
24
+ - "Brainstorm creative feature possibilities"
25
+ - "If only we had [resource/capability/time]..."
26
+ - "Proceed to next section"
27
+
28
+ sections:
29
+ - id: introduction
30
+ instruction: |
31
+ This template guides creation of a comprehensive Project Brief that serves as the foundational input for product development.
32
+
33
+ Start by asking the user which mode they prefer:
34
+
35
+ 1. **Interactive Mode** - Work through each section collaboratively
36
+ 2. **YOLO Mode** - Generate complete draft for review and refinement
37
+
38
+ Before beginning, understand what inputs are available (brainstorming results, market research, competitive analysis, initial ideas) and gather project context.
39
+
40
+ - id: executive-summary
41
+ title: Executive Summary
42
+ instruction: |
43
+ Create a concise overview that captures the essence of the project. Include:
44
+ - Product concept in 1-2 sentences
45
+ - Primary problem being solved
46
+ - Target market identification
47
+ - Key value proposition
48
+ template: "{{executive_summary_content}}"
49
+
50
+ - id: problem-statement
51
+ title: Problem Statement
52
+ instruction: |
53
+ Articulate the problem with clarity and evidence. Address:
54
+ - Current state and pain points
55
+ - Impact of the problem (quantify if possible)
56
+ - Why existing solutions fall short
57
+ - Urgency and importance of solving this now
58
+ template: "{{detailed_problem_description}}"
59
+
60
+ - id: proposed-solution
61
+ title: Proposed Solution
62
+ instruction: |
63
+ Describe the solution approach at a high level. Include:
64
+ - Core concept and approach
65
+ - Key differentiators from existing solutions
66
+ - Why this solution will succeed where others haven't
67
+ - High-level vision for the product
68
+ template: "{{solution_description}}"
69
+
70
+ - id: target-users
71
+ title: Target Users
72
+ instruction: |
73
+ Define and characterize the intended users with specificity. For each user segment include:
74
+ - Demographic/firmographic profile
75
+ - Current behaviors and workflows
76
+ - Specific needs and pain points
77
+ - Goals they're trying to achieve
78
+ sections:
79
+ - id: primary-segment
80
+ title: "Primary User Segment: {{segment_name}}"
81
+ template: "{{primary_user_description}}"
82
+ - id: secondary-segment
83
+ title: "Secondary User Segment: {{segment_name}}"
84
+ condition: Has secondary user segment
85
+ template: "{{secondary_user_description}}"
86
+
87
+ - id: goals-metrics
88
+ title: Goals & Success Metrics
89
+ instruction: Establish clear objectives and how to measure success. Make goals SMART (Specific, Measurable, Achievable, Relevant, Time-bound)
90
+ sections:
91
+ - id: business-objectives
92
+ title: Business Objectives
93
+ type: bullet-list
94
+ template: "- {{objective_with_metric}}"
95
+ - id: user-success-metrics
96
+ title: User Success Metrics
97
+ type: bullet-list
98
+ template: "- {{user_metric}}"
99
+ - id: kpis
100
+ title: Key Performance Indicators (KPIs)
101
+ type: bullet-list
102
+ template: "- {{kpi}}: {{definition_and_target}}"
103
+
104
+ - id: mvp-scope
105
+ title: MVP Scope
106
+ instruction: Define the minimum viable product clearly. Be specific about what's in and what's out. Help user distinguish must-haves from nice-to-haves.
107
+ sections:
108
+ - id: core-features
109
+ title: Core Features (Must Have)
110
+ type: bullet-list
111
+ template: "- **{{feature}}:** {{description_and_rationale}}"
112
+ - id: out-of-scope
113
+ title: Out of Scope for MVP
114
+ type: bullet-list
115
+ template: "- {{feature_or_capability}}"
116
+ - id: mvp-success-criteria
117
+ title: MVP Success Criteria
118
+ template: "{{mvp_success_definition}}"
119
+
120
+ - id: post-mvp-vision
121
+ title: Post-MVP Vision
122
+ instruction: Outline the longer-term product direction without overcommitting to specifics
123
+ sections:
124
+ - id: phase-2-features
125
+ title: Phase 2 Features
126
+ template: "{{next_priority_features}}"
127
+ - id: long-term-vision
128
+ title: Long-term Vision
129
+ template: "{{one_two_year_vision}}"
130
+ - id: expansion-opportunities
131
+ title: Expansion Opportunities
132
+ template: "{{potential_expansions}}"
133
+
134
+ - id: technical-considerations
135
+ title: Technical Considerations
136
+ instruction: Document known technical constraints and preferences. Note these are initial thoughts, not final decisions.
137
+ sections:
138
+ - id: platform-requirements
139
+ title: Platform Requirements
140
+ template: |
141
+ - **Target Platforms:** {{platforms}}
142
+ - **Browser/OS Support:** {{specific_requirements}}
143
+ - **Performance Requirements:** {{performance_specs}}
144
+ - id: technology-preferences
145
+ title: Technology Preferences
146
+ template: |
147
+ - **Frontend:** {{frontend_preferences}}
148
+ - **Backend:** {{backend_preferences}}
149
+ - **Database:** {{database_preferences}}
150
+ - **Hosting/Infrastructure:** {{infrastructure_preferences}}
151
+ - id: architecture-considerations
152
+ title: Architecture Considerations
153
+ template: |
154
+ - **Repository Structure:** {{repo_thoughts}}
155
+ - **Service Architecture:** {{service_thoughts}}
156
+ - **Integration Requirements:** {{integration_needs}}
157
+ - **Security/Compliance:** {{security_requirements}}
158
+
159
+ - id: constraints-assumptions
160
+ title: Constraints & Assumptions
161
+ instruction: Clearly state limitations and assumptions to set realistic expectations
162
+ sections:
163
+ - id: constraints
164
+ title: Constraints
165
+ template: |
166
+ - **Budget:** {{budget_info}}
167
+ - **Timeline:** {{timeline_info}}
168
+ - **Resources:** {{resource_info}}
169
+ - **Technical:** {{technical_constraints}}
170
+ - id: key-assumptions
171
+ title: Key Assumptions
172
+ type: bullet-list
173
+ template: "- {{assumption}}"
174
+
175
+ - id: risks-questions
176
+ title: Risks & Open Questions
177
+ instruction: Identify unknowns and potential challenges proactively
178
+ sections:
179
+ - id: key-risks
180
+ title: Key Risks
181
+ type: bullet-list
182
+ template: "- **{{risk}}:** {{description_and_impact}}"
183
+ - id: open-questions
184
+ title: Open Questions
185
+ type: bullet-list
186
+ template: "- {{question}}"
187
+ - id: research-areas
188
+ title: Areas Needing Further Research
189
+ type: bullet-list
190
+ template: "- {{research_topic}}"
191
+
192
+ - id: appendices
193
+ title: Appendices
194
+ sections:
195
+ - id: research-summary
196
+ title: A. Research Summary
197
+ condition: Has research findings
198
+ instruction: |
199
+ If applicable, summarize key findings from:
200
+ - Market research
201
+ - Competitive analysis
202
+ - User interviews
203
+ - Technical feasibility studies
204
+ - id: stakeholder-input
205
+ title: B. Stakeholder Input
206
+ condition: Has stakeholder feedback
207
+ template: "{{stakeholder_feedback}}"
208
+ - id: references
209
+ title: C. References
210
+ template: "{{relevant_links_and_docs}}"
211
+
212
+ - id: next-steps
213
+ title: Next Steps
214
+ sections:
215
+ - id: immediate-actions
216
+ title: Immediate Actions
217
+ type: numbered-list
218
+ template: "{{action_item}}"
219
+ - id: pm-handoff
220
+ title: PM Handoff
221
+ content: |
222
+ This Project Brief provides the full context for {{project_name}}. Please start in 'PRD Generation Mode', review the brief thoroughly to work with the user to create the PRD section by section as the template indicates, asking for any necessary clarification or suggesting improvements.
@@ -1,103 +1,103 @@
1
- # <!-- Powered by BMAD™ Core -->
2
- template:
3
- id: qa-gate-template-v1
4
- name: Quality Gate Decision
5
- version: 1.0
6
- output:
7
- format: yaml
8
- filename: qa.qaLocation/gates/{{epic_num}}.{{story_num}}-{{story_slug}}.yml
9
- title: "Quality Gate: {{epic_num}}.{{story_num}}"
10
-
11
- # Required fields (keep these first)
12
- schema: 1
13
- story: "{{epic_num}}.{{story_num}}"
14
- story_title: "{{story_title}}"
15
- gate: "{{gate_status}}" # PASS|CONCERNS|FAIL|WAIVED
16
- status_reason: "{{status_reason}}" # 1-2 sentence summary of why this gate decision
17
- reviewer: "Quinn (Test Architect)"
18
- updated: "{{iso_timestamp}}"
19
-
20
- # Always present but only active when WAIVED
21
- waiver: { active: false }
22
-
23
- # Issues (if any) - Use fixed severity: low | medium | high
24
- top_issues: []
25
-
26
- # Risk summary (from risk-profile task if run)
27
- risk_summary:
28
- totals: { critical: 0, high: 0, medium: 0, low: 0 }
29
- recommendations:
30
- must_fix: []
31
- monitor: []
32
-
33
- # Examples section using block scalars for clarity
34
- examples:
35
- with_issues: |
36
- top_issues:
37
- - id: "SEC-001"
38
- severity: high # ONLY: low|medium|high
39
- finding: "No rate limiting on login endpoint"
40
- suggested_action: "Add rate limiting middleware before production"
41
- - id: "TEST-001"
42
- severity: medium
43
- finding: "Missing integration tests for auth flow"
44
- suggested_action: "Add test coverage for critical paths"
45
-
46
- when_waived: |
47
- waiver:
48
- active: true
49
- reason: "Accepted for MVP release - will address in next sprint"
50
- approved_by: "Product Owner"
51
-
52
- # ============ Optional Extended Fields ============
53
- # Uncomment and use if your team wants more detail
54
-
55
- optional_fields_examples:
56
- quality_and_expiry: |
57
- quality_score: 75 # 0-100 (optional scoring)
58
- expires: "2025-01-26T00:00:00Z" # Optional gate freshness window
59
-
60
- evidence: |
61
- evidence:
62
- tests_reviewed: 15
63
- risks_identified: 3
64
- trace:
65
- ac_covered: [1, 2, 3] # AC numbers with test coverage
66
- ac_gaps: [4] # AC numbers lacking coverage
67
-
68
- nfr_validation: |
69
- nfr_validation:
70
- security: { status: CONCERNS, notes: "Rate limiting missing" }
71
- performance: { status: PASS, notes: "" }
72
- reliability: { status: PASS, notes: "" }
73
- maintainability: { status: PASS, notes: "" }
74
-
75
- history: |
76
- history: # Append-only audit trail
77
- - at: "2025-01-12T10:00:00Z"
78
- gate: FAIL
79
- note: "Initial review - missing tests"
80
- - at: "2025-01-12T15:00:00Z"
81
- gate: CONCERNS
82
- note: "Tests added but rate limiting still missing"
83
-
84
- risk_summary: |
85
- risk_summary: # From risk-profile task
86
- totals:
87
- critical: 0
88
- high: 0
89
- medium: 0
90
- low: 0
91
- # 'highest' is emitted only when risks exist
92
- recommendations:
93
- must_fix: []
94
- monitor: []
95
-
96
- recommendations: |
97
- recommendations:
98
- immediate: # Must fix before production
99
- - action: "Add rate limiting to auth endpoints"
100
- refs: ["api/auth/login.ts:42-68"]
101
- future: # Can be addressed later
102
- - action: "Consider caching for better performance"
103
- refs: ["services/data.service.ts"]
1
+ # <!-- Powered by BMAD™ Core -->
2
+ template:
3
+ id: qa-gate-template-v1
4
+ name: Quality Gate Decision
5
+ version: 1.0
6
+ output:
7
+ format: yaml
8
+ filename: qa.qaLocation/gates/{{epic_num}}.{{story_num}}-{{story_slug}}.yml
9
+ title: "Quality Gate: {{epic_num}}.{{story_num}}"
10
+
11
+ # Required fields (keep these first)
12
+ schema: 1
13
+ story: "{{epic_num}}.{{story_num}}"
14
+ story_title: "{{story_title}}"
15
+ gate: "{{gate_status}}" # PASS|CONCERNS|FAIL|WAIVED
16
+ status_reason: "{{status_reason}}" # 1-2 sentence summary of why this gate decision
17
+ reviewer: "Quinn (Test Architect)"
18
+ updated: "{{iso_timestamp}}"
19
+
20
+ # Always present but only active when WAIVED
21
+ waiver: { active: false }
22
+
23
+ # Issues (if any) - Use fixed severity: low | medium | high
24
+ top_issues: []
25
+
26
+ # Risk summary (from risk-profile task if run)
27
+ risk_summary:
28
+ totals: { critical: 0, high: 0, medium: 0, low: 0 }
29
+ recommendations:
30
+ must_fix: []
31
+ monitor: []
32
+
33
+ # Examples section using block scalars for clarity
34
+ examples:
35
+ with_issues: |
36
+ top_issues:
37
+ - id: "SEC-001"
38
+ severity: high # ONLY: low|medium|high
39
+ finding: "No rate limiting on login endpoint"
40
+ suggested_action: "Add rate limiting middleware before production"
41
+ - id: "TEST-001"
42
+ severity: medium
43
+ finding: "Missing integration tests for auth flow"
44
+ suggested_action: "Add test coverage for critical paths"
45
+
46
+ when_waived: |
47
+ waiver:
48
+ active: true
49
+ reason: "Accepted for MVP release - will address in next sprint"
50
+ approved_by: "Product Owner"
51
+
52
+ # ============ Optional Extended Fields ============
53
+ # Uncomment and use if your team wants more detail
54
+
55
+ optional_fields_examples:
56
+ quality_and_expiry: |
57
+ quality_score: 75 # 0-100 (optional scoring)
58
+ expires: "2025-01-26T00:00:00Z" # Optional gate freshness window
59
+
60
+ evidence: |
61
+ evidence:
62
+ tests_reviewed: 15
63
+ risks_identified: 3
64
+ trace:
65
+ ac_covered: [1, 2, 3] # AC numbers with test coverage
66
+ ac_gaps: [4] # AC numbers lacking coverage
67
+
68
+ nfr_validation: |
69
+ nfr_validation:
70
+ security: { status: CONCERNS, notes: "Rate limiting missing" }
71
+ performance: { status: PASS, notes: "" }
72
+ reliability: { status: PASS, notes: "" }
73
+ maintainability: { status: PASS, notes: "" }
74
+
75
+ history: |
76
+ history: # Append-only audit trail
77
+ - at: "2025-01-12T10:00:00Z"
78
+ gate: FAIL
79
+ note: "Initial review - missing tests"
80
+ - at: "2025-01-12T15:00:00Z"
81
+ gate: CONCERNS
82
+ note: "Tests added but rate limiting still missing"
83
+
84
+ risk_summary: |
85
+ risk_summary: # From risk-profile task
86
+ totals:
87
+ critical: 0
88
+ high: 0
89
+ medium: 0
90
+ low: 0
91
+ # 'highest' is emitted only when risks exist
92
+ recommendations:
93
+ must_fix: []
94
+ monitor: []
95
+
96
+ recommendations: |
97
+ recommendations:
98
+ immediate: # Must fix before production
99
+ - action: "Add rate limiting to auth endpoints"
100
+ refs: ["api/auth/login.ts:42-68"]
101
+ future: # Can be addressed later
102
+ - action: "Consider caching for better performance"
103
+ refs: ["services/data.service.ts"]