ma-agents 2.15.0 → 2.16.1

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 (380) hide show
  1. package/.agent/workflows/bmad-agent-bmad-master.md +15 -0
  2. package/.agent/workflows/bmad-agent-bmm-analyst.md +15 -0
  3. package/.agent/workflows/bmad-agent-bmm-architect.md +15 -0
  4. package/.agent/workflows/bmad-agent-bmm-dev.md +15 -0
  5. package/.agent/workflows/bmad-agent-bmm-pm.md +15 -0
  6. package/.agent/workflows/bmad-agent-bmm-qa.md +15 -0
  7. package/.agent/workflows/bmad-agent-bmm-quick-flow-solo-dev.md +15 -0
  8. package/.agent/workflows/bmad-agent-bmm-sm.md +15 -0
  9. package/.agent/workflows/bmad-agent-bmm-tech-writer.md +15 -0
  10. package/.agent/workflows/bmad-agent-bmm-ux-designer.md +15 -0
  11. package/.agent/workflows/bmad-agent-cis-brainstorming-coach.md +15 -0
  12. package/.agent/workflows/bmad-agent-cis-creative-problem-solver.md +15 -0
  13. package/.agent/workflows/bmad-agent-cis-design-thinking-coach.md +15 -0
  14. package/.agent/workflows/bmad-agent-cis-innovation-strategist.md +15 -0
  15. package/.agent/workflows/bmad-agent-cis-presentation-master.md +15 -0
  16. package/.agent/workflows/bmad-agent-cis-storyteller.md +15 -0
  17. package/.agent/workflows/bmad-bmm-check-implementation-readiness.md +6 -0
  18. package/.agent/workflows/bmad-bmm-code-review.md +14 -0
  19. package/.agent/workflows/bmad-bmm-correct-course.md +14 -0
  20. package/.agent/workflows/bmad-bmm-create-architecture.md +6 -0
  21. package/.agent/workflows/bmad-bmm-create-epics-and-stories.md +6 -0
  22. package/.agent/workflows/bmad-bmm-create-prd.md +6 -0
  23. package/.agent/workflows/bmad-bmm-create-product-brief.md +6 -0
  24. package/.agent/workflows/bmad-bmm-create-story.md +14 -0
  25. package/.agent/workflows/bmad-bmm-create-ux-design.md +6 -0
  26. package/.agent/workflows/bmad-bmm-dev-story.md +14 -0
  27. package/.agent/workflows/bmad-bmm-document-project.md +14 -0
  28. package/.agent/workflows/bmad-bmm-domain-research.md +6 -0
  29. package/.agent/workflows/bmad-bmm-edit-prd.md +6 -0
  30. package/.agent/workflows/bmad-bmm-generate-project-context.md +6 -0
  31. package/.agent/workflows/bmad-bmm-market-research.md +6 -0
  32. package/.agent/workflows/bmad-bmm-qa-generate-e2e-tests.md +14 -0
  33. package/.agent/workflows/bmad-bmm-quick-dev.md +6 -0
  34. package/.agent/workflows/bmad-bmm-quick-spec.md +6 -0
  35. package/.agent/workflows/bmad-bmm-retrospective.md +14 -0
  36. package/.agent/workflows/bmad-bmm-sprint-planning.md +14 -0
  37. package/.agent/workflows/bmad-bmm-sprint-status.md +14 -0
  38. package/.agent/workflows/bmad-bmm-technical-research.md +6 -0
  39. package/.agent/workflows/bmad-bmm-validate-prd.md +6 -0
  40. package/.agent/workflows/bmad-brainstorming.md +6 -0
  41. package/.agent/workflows/bmad-cis-design-thinking.md +14 -0
  42. package/.agent/workflows/bmad-cis-innovation-strategy.md +14 -0
  43. package/.agent/workflows/bmad-cis-problem-solving.md +14 -0
  44. package/.agent/workflows/bmad-cis-storytelling.md +14 -0
  45. package/.agent/workflows/bmad-editorial-review-prose.md +10 -0
  46. package/.agent/workflows/bmad-editorial-review-structure.md +10 -0
  47. package/.agent/workflows/bmad-help.md +10 -0
  48. package/.agent/workflows/bmad-index-docs.md +10 -0
  49. package/.agent/workflows/bmad-party-mode.md +6 -0
  50. package/.agent/workflows/bmad-review-adversarial-general.md +10 -0
  51. package/.agent/workflows/bmad-review-edge-case-hunter.md +10 -0
  52. package/.agent/workflows/bmad-shard-doc.md +10 -0
  53. package/README.md +43 -27
  54. package/bin/cli.js +37 -11
  55. package/lib/agents.js +23 -6
  56. package/lib/bmad-customizations/antigravity.customize.yaml +16 -8
  57. package/lib/bmad-customizations/bmm-cyber.customize.yaml +17 -35
  58. package/lib/bmad-customizations/bmm-devops.customize.yaml +18 -31
  59. package/lib/bmad-customizations/bmm-mil498.customize.yaml +21 -32
  60. package/lib/bmad-customizations/bmm-sre.customize.yaml +19 -32
  61. package/lib/bmad-customizations/cyber.md +44 -29
  62. package/lib/bmad-customizations/devops.md +44 -27
  63. package/lib/bmad-customizations/mil498.md +41 -35
  64. package/lib/bmad-customizations/sre.md +44 -27
  65. package/lib/bmad.js +34 -10
  66. package/lib/installer.js +112 -38
  67. package/package.json +3 -3
  68. package/_bmad/_config/agent-manifest.csv +0 -15
  69. package/_bmad/_config/agents/antigravity.customize.yaml +0 -10
  70. package/_bmad/_config/agents/bmm-analyst.customize.yaml +0 -41
  71. package/_bmad/_config/agents/bmm-architect.customize.yaml +0 -41
  72. package/_bmad/_config/agents/bmm-cyber.customize.yaml +0 -42
  73. package/_bmad/_config/agents/bmm-dev.customize.yaml +0 -41
  74. package/_bmad/_config/agents/bmm-devops.customize.yaml +0 -37
  75. package/_bmad/_config/agents/bmm-mil498.customize.yaml +0 -41
  76. package/_bmad/_config/agents/bmm-pm.customize.yaml +0 -41
  77. package/_bmad/_config/agents/bmm-qa.customize.yaml +0 -41
  78. package/_bmad/_config/agents/bmm-quick-flow-solo-dev.customize.yaml +0 -41
  79. package/_bmad/_config/agents/bmm-sm.customize.yaml +0 -41
  80. package/_bmad/_config/agents/bmm-sre.customize.yaml +0 -37
  81. package/_bmad/_config/agents/bmm-tech-writer.customize.yaml +0 -41
  82. package/_bmad/_config/agents/bmm-ux-designer.customize.yaml +0 -41
  83. package/_bmad/_config/agents/claude-code.customize.yaml +0 -10
  84. package/_bmad/_config/agents/cline.customize.yaml +0 -9
  85. package/_bmad/_config/agents/core-bmad-master.customize.yaml +0 -41
  86. package/_bmad/_config/agents/cursor.customize.yaml +0 -9
  87. package/_bmad/_config/agents/gemini.customize.yaml +0 -9
  88. package/_bmad/_config/agents/generic.customize.yaml +0 -7
  89. package/_bmad/_config/bmad-help.csv +0 -40
  90. package/_bmad/_config/files-manifest.csv +0 -212
  91. package/_bmad/_config/manifest.yaml +0 -27
  92. package/_bmad/_config/task-manifest.csv +0 -8
  93. package/_bmad/_config/tool-manifest.csv +0 -1
  94. package/_bmad/_config/workflow-manifest.csv +0 -26
  95. package/_bmad/_memory/config.yaml +0 -11
  96. package/_bmad/_memory/tech-writer-sidecar/documentation-standards.md +0 -224
  97. package/_bmad/bmm/agents/analyst.md +0 -78
  98. package/_bmad/bmm/agents/architect.md +0 -58
  99. package/_bmad/bmm/agents/cyber.md +0 -56
  100. package/_bmad/bmm/agents/dev.md +0 -69
  101. package/_bmad/bmm/agents/devops.md +0 -54
  102. package/_bmad/bmm/agents/mil498.md +0 -65
  103. package/_bmad/bmm/agents/pm.md +0 -72
  104. package/_bmad/bmm/agents/qa.md +0 -92
  105. package/_bmad/bmm/agents/quick-flow-solo-dev.md +0 -69
  106. package/_bmad/bmm/agents/sm.md +0 -70
  107. package/_bmad/bmm/agents/sre.md +0 -54
  108. package/_bmad/bmm/agents/tech-writer/tech-writer.md +0 -70
  109. package/_bmad/bmm/agents/ux-designer.md +0 -57
  110. package/_bmad/bmm/config.yaml +0 -16
  111. package/_bmad/bmm/data/project-context-template.md +0 -26
  112. package/_bmad/bmm/module-help.csv +0 -31
  113. package/_bmad/bmm/teams/default-party.csv +0 -20
  114. package/_bmad/bmm/teams/team-fullstack.yaml +0 -12
  115. package/_bmad/bmm/templates/mil498/OCD.md +0 -169
  116. package/_bmad/bmm/templates/mil498/README.md +0 -4
  117. package/_bmad/bmm/templates/mil498/SDP.md +0 -307
  118. package/_bmad/bmm/templates/mil498/SRS.md +0 -219
  119. package/_bmad/bmm/templates/mil498/SSDD.md +0 -154
  120. package/_bmad/bmm/templates/mil498/SSS.md +0 -225
  121. package/_bmad/bmm/templates/mil498/STD.md +0 -188
  122. package/_bmad/bmm/workflows/1-analysis/create-product-brief/product-brief.template.md +0 -10
  123. package/_bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-01-init.md +0 -177
  124. package/_bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-01b-continue.md +0 -161
  125. package/_bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-02-vision.md +0 -199
  126. package/_bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-03-users.md +0 -202
  127. package/_bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-04-metrics.md +0 -205
  128. package/_bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-05-scope.md +0 -219
  129. package/_bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-06-complete.md +0 -162
  130. package/_bmad/bmm/workflows/1-analysis/create-product-brief/workflow.md +0 -57
  131. package/_bmad/bmm/workflows/1-analysis/research/domain-steps/step-01-init.md +0 -137
  132. package/_bmad/bmm/workflows/1-analysis/research/domain-steps/step-02-domain-analysis.md +0 -229
  133. package/_bmad/bmm/workflows/1-analysis/research/domain-steps/step-03-competitive-landscape.md +0 -238
  134. package/_bmad/bmm/workflows/1-analysis/research/domain-steps/step-04-regulatory-focus.md +0 -206
  135. package/_bmad/bmm/workflows/1-analysis/research/domain-steps/step-05-technical-trends.md +0 -234
  136. package/_bmad/bmm/workflows/1-analysis/research/domain-steps/step-06-research-synthesis.md +0 -444
  137. package/_bmad/bmm/workflows/1-analysis/research/market-steps/step-01-init.md +0 -182
  138. package/_bmad/bmm/workflows/1-analysis/research/market-steps/step-02-customer-behavior.md +0 -237
  139. package/_bmad/bmm/workflows/1-analysis/research/market-steps/step-03-customer-pain-points.md +0 -249
  140. package/_bmad/bmm/workflows/1-analysis/research/market-steps/step-04-customer-decisions.md +0 -259
  141. package/_bmad/bmm/workflows/1-analysis/research/market-steps/step-05-competitive-analysis.md +0 -177
  142. package/_bmad/bmm/workflows/1-analysis/research/market-steps/step-06-research-completion.md +0 -476
  143. package/_bmad/bmm/workflows/1-analysis/research/research.template.md +0 -29
  144. package/_bmad/bmm/workflows/1-analysis/research/technical-steps/step-01-init.md +0 -137
  145. package/_bmad/bmm/workflows/1-analysis/research/technical-steps/step-02-technical-overview.md +0 -239
  146. package/_bmad/bmm/workflows/1-analysis/research/technical-steps/step-03-integration-patterns.md +0 -248
  147. package/_bmad/bmm/workflows/1-analysis/research/technical-steps/step-04-architectural-patterns.md +0 -202
  148. package/_bmad/bmm/workflows/1-analysis/research/technical-steps/step-05-implementation-research.md +0 -233
  149. package/_bmad/bmm/workflows/1-analysis/research/technical-steps/step-06-research-synthesis.md +0 -487
  150. package/_bmad/bmm/workflows/1-analysis/research/workflow-domain-research.md +0 -54
  151. package/_bmad/bmm/workflows/1-analysis/research/workflow-market-research.md +0 -54
  152. package/_bmad/bmm/workflows/1-analysis/research/workflow-technical-research.md +0 -54
  153. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/data/domain-complexity.csv +0 -15
  154. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/data/prd-purpose.md +0 -197
  155. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/data/project-types.csv +0 -11
  156. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-01-init.md +0 -191
  157. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-01b-continue.md +0 -152
  158. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-02-discovery.md +0 -224
  159. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-02b-vision.md +0 -154
  160. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-02c-executive-summary.md +0 -170
  161. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-03-success.md +0 -226
  162. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-04-journeys.md +0 -213
  163. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-05-domain.md +0 -207
  164. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-06-innovation.md +0 -226
  165. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-07-project-type.md +0 -237
  166. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-08-scoping.md +0 -228
  167. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-09-functional.md +0 -231
  168. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-10-nonfunctional.md +0 -242
  169. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-11-polish.md +0 -217
  170. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-12-complete.md +0 -124
  171. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-e/step-e-01-discovery.md +0 -247
  172. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-e/step-e-01b-legacy-conversion.md +0 -208
  173. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-e/step-e-02-review.md +0 -249
  174. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-e/step-e-03-edit.md +0 -253
  175. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-e/step-e-04-complete.md +0 -168
  176. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-01-discovery.md +0 -226
  177. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-02-format-detection.md +0 -191
  178. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-02b-parity-check.md +0 -209
  179. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-03-density-validation.md +0 -174
  180. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-04-brief-coverage-validation.md +0 -214
  181. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-05-measurability-validation.md +0 -228
  182. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-06-traceability-validation.md +0 -217
  183. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-07-implementation-leakage-validation.md +0 -205
  184. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-08-domain-compliance-validation.md +0 -243
  185. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-09-project-type-validation.md +0 -263
  186. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-10-smart-validation.md +0 -209
  187. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-11-holistic-quality-validation.md +0 -264
  188. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-12-completeness-validation.md +0 -242
  189. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-13-report-complete.md +0 -231
  190. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/templates/prd-template.md +0 -10
  191. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/workflow-create-prd.md +0 -63
  192. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/workflow-edit-prd.md +0 -65
  193. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/workflow-validate-prd.md +0 -63
  194. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-01-init.md +0 -135
  195. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-01b-continue.md +0 -127
  196. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-02-discovery.md +0 -190
  197. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-03-core-experience.md +0 -216
  198. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-04-emotional-response.md +0 -219
  199. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-05-inspiration.md +0 -234
  200. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-06-design-system.md +0 -252
  201. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-07-defining-experience.md +0 -254
  202. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-08-visual-foundation.md +0 -224
  203. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-09-design-directions.md +0 -224
  204. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-10-user-journeys.md +0 -241
  205. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-11-component-strategy.md +0 -248
  206. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-12-ux-patterns.md +0 -237
  207. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-13-responsive-accessibility.md +0 -264
  208. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-14-complete.md +0 -171
  209. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/ux-design-template.md +0 -13
  210. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/workflow.md +0 -42
  211. package/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-01-document-discovery.md +0 -184
  212. package/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-02-prd-analysis.md +0 -172
  213. package/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-03-epic-coverage-validation.md +0 -173
  214. package/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-04-ux-alignment.md +0 -133
  215. package/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-05-epic-quality-review.md +0 -245
  216. package/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-06-final-assessment.md +0 -129
  217. package/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/templates/readiness-report-template.md +0 -4
  218. package/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/workflow.md +0 -54
  219. package/_bmad/bmm/workflows/3-solutioning/create-architecture/architecture-decision-template.md +0 -12
  220. package/_bmad/bmm/workflows/3-solutioning/create-architecture/data/domain-complexity.csv +0 -13
  221. package/_bmad/bmm/workflows/3-solutioning/create-architecture/data/project-types.csv +0 -7
  222. package/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-01-init.md +0 -153
  223. package/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-01b-continue.md +0 -173
  224. package/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-02-context.md +0 -224
  225. package/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-03-starter.md +0 -329
  226. package/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-04-decisions.md +0 -318
  227. package/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-05-patterns.md +0 -359
  228. package/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-06-structure.md +0 -379
  229. package/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-07-validation.md +0 -359
  230. package/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-08-complete.md +0 -76
  231. package/_bmad/bmm/workflows/3-solutioning/create-architecture/workflow.md +0 -49
  232. package/_bmad/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-01-validate-prerequisites.md +0 -259
  233. package/_bmad/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-02-design-epics.md +0 -233
  234. package/_bmad/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-03-create-stories.md +0 -272
  235. package/_bmad/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-04-final-validation.md +0 -149
  236. package/_bmad/bmm/workflows/3-solutioning/create-epics-and-stories/templates/epics-template.md +0 -57
  237. package/_bmad/bmm/workflows/3-solutioning/create-epics-and-stories/workflow.md +0 -58
  238. package/_bmad/bmm/workflows/4-implementation/code-review/checklist.md +0 -23
  239. package/_bmad/bmm/workflows/4-implementation/code-review/instructions.xml +0 -227
  240. package/_bmad/bmm/workflows/4-implementation/code-review/workflow.yaml +0 -43
  241. package/_bmad/bmm/workflows/4-implementation/correct-course/checklist.md +0 -288
  242. package/_bmad/bmm/workflows/4-implementation/correct-course/instructions.md +0 -207
  243. package/_bmad/bmm/workflows/4-implementation/correct-course/workflow.yaml +0 -53
  244. package/_bmad/bmm/workflows/4-implementation/create-story/checklist.md +0 -358
  245. package/_bmad/bmm/workflows/4-implementation/create-story/instructions.xml +0 -346
  246. package/_bmad/bmm/workflows/4-implementation/create-story/template.md +0 -49
  247. package/_bmad/bmm/workflows/4-implementation/create-story/workflow.yaml +0 -52
  248. package/_bmad/bmm/workflows/4-implementation/dev-story/checklist.md +0 -80
  249. package/_bmad/bmm/workflows/4-implementation/dev-story/instructions.xml +0 -410
  250. package/_bmad/bmm/workflows/4-implementation/dev-story/workflow.yaml +0 -20
  251. package/_bmad/bmm/workflows/4-implementation/retrospective/instructions.md +0 -1444
  252. package/_bmad/bmm/workflows/4-implementation/retrospective/workflow.yaml +0 -52
  253. package/_bmad/bmm/workflows/4-implementation/sprint-planning/checklist.md +0 -33
  254. package/_bmad/bmm/workflows/4-implementation/sprint-planning/instructions.md +0 -226
  255. package/_bmad/bmm/workflows/4-implementation/sprint-planning/sprint-status-template.yaml +0 -55
  256. package/_bmad/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +0 -47
  257. package/_bmad/bmm/workflows/4-implementation/sprint-status/instructions.md +0 -230
  258. package/_bmad/bmm/workflows/4-implementation/sprint-status/workflow.yaml +0 -25
  259. package/_bmad/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-01-mode-detection.md +0 -174
  260. package/_bmad/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-02-context-gathering.md +0 -118
  261. package/_bmad/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-03-execute.md +0 -111
  262. package/_bmad/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-04-self-check.md +0 -111
  263. package/_bmad/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-05-adversarial-review.md +0 -104
  264. package/_bmad/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-06-resolve-findings.md +0 -146
  265. package/_bmad/bmm/workflows/bmad-quick-flow/quick-dev/workflow.md +0 -50
  266. package/_bmad/bmm/workflows/bmad-quick-flow/quick-spec/steps/step-01-understand.md +0 -189
  267. package/_bmad/bmm/workflows/bmad-quick-flow/quick-spec/steps/step-02-investigate.md +0 -143
  268. package/_bmad/bmm/workflows/bmad-quick-flow/quick-spec/steps/step-03-generate.md +0 -126
  269. package/_bmad/bmm/workflows/bmad-quick-flow/quick-spec/steps/step-04-review.md +0 -200
  270. package/_bmad/bmm/workflows/bmad-quick-flow/quick-spec/tech-spec-template.md +0 -74
  271. package/_bmad/bmm/workflows/bmad-quick-flow/quick-spec/workflow.md +0 -79
  272. package/_bmad/bmm/workflows/cyber/generate-certs.md +0 -18
  273. package/_bmad/bmm/workflows/cyber/immunity-estimation.md +0 -20
  274. package/_bmad/bmm/workflows/cyber/security-audit.md +0 -18
  275. package/_bmad/bmm/workflows/cyber/vault-secrets.md +0 -19
  276. package/_bmad/bmm/workflows/cyber/verify-docker-users.md +0 -14
  277. package/_bmad/bmm/workflows/cyber/verify-image-signature.md +0 -13
  278. package/_bmad/bmm/workflows/cyber/vulnerability-scan.md +0 -19
  279. package/_bmad/bmm/workflows/devops/configure-infrastructure.md +0 -18
  280. package/_bmad/bmm/workflows/devops/disconnected-deployment.md +0 -18
  281. package/_bmad/bmm/workflows/devops/docker-compose-setup.md +0 -17
  282. package/_bmad/bmm/workflows/devops/manage-helm.md +0 -19
  283. package/_bmad/bmm/workflows/devops/sign-docker-image.md +0 -15
  284. package/_bmad/bmm/workflows/document-project/checklist.md +0 -245
  285. package/_bmad/bmm/workflows/document-project/documentation-requirements.csv +0 -12
  286. package/_bmad/bmm/workflows/document-project/instructions.md +0 -130
  287. package/_bmad/bmm/workflows/document-project/templates/deep-dive-template.md +0 -345
  288. package/_bmad/bmm/workflows/document-project/templates/index-template.md +0 -169
  289. package/_bmad/bmm/workflows/document-project/templates/project-overview-template.md +0 -103
  290. package/_bmad/bmm/workflows/document-project/templates/project-scan-report-schema.json +0 -160
  291. package/_bmad/bmm/workflows/document-project/templates/source-tree-template.md +0 -135
  292. package/_bmad/bmm/workflows/document-project/workflow.yaml +0 -22
  293. package/_bmad/bmm/workflows/document-project/workflows/deep-dive-instructions.md +0 -298
  294. package/_bmad/bmm/workflows/document-project/workflows/deep-dive.yaml +0 -31
  295. package/_bmad/bmm/workflows/document-project/workflows/full-scan-instructions.md +0 -1106
  296. package/_bmad/bmm/workflows/document-project/workflows/full-scan.yaml +0 -31
  297. package/_bmad/bmm/workflows/generate-project-context/project-context-template.md +0 -21
  298. package/_bmad/bmm/workflows/generate-project-context/steps/step-01-discover.md +0 -184
  299. package/_bmad/bmm/workflows/generate-project-context/steps/step-02-generate.md +0 -318
  300. package/_bmad/bmm/workflows/generate-project-context/steps/step-03-complete.md +0 -278
  301. package/_bmad/bmm/workflows/generate-project-context/workflow.md +0 -49
  302. package/_bmad/bmm/workflows/mil498/bmad-mil-generate-ocd.md +0 -17
  303. package/_bmad/bmm/workflows/mil498/bmad-mil-generate-sdd.md +0 -18
  304. package/_bmad/bmm/workflows/mil498/bmad-mil-generate-sdp.md +0 -17
  305. package/_bmad/bmm/workflows/mil498/bmad-mil-generate-srs.md +0 -19
  306. package/_bmad/bmm/workflows/mil498/bmad-mil-generate-sss.md +0 -16
  307. package/_bmad/bmm/workflows/mil498/bmad-mil-generate-std.md +0 -17
  308. package/_bmad/bmm/workflows/qa-generate-e2e-tests/checklist.md +0 -33
  309. package/_bmad/bmm/workflows/qa-generate-e2e-tests/instructions.md +0 -110
  310. package/_bmad/bmm/workflows/qa-generate-e2e-tests/workflow.yaml +0 -42
  311. package/_bmad/bmm/workflows/sre/check-deployment-status.md +0 -23
  312. package/_bmad/bmm/workflows/sre/check-secrets.md +0 -14
  313. package/_bmad/bmm/workflows/sre/check-system-status.md +0 -18
  314. package/_bmad/bmm/workflows/sre/day-2-ops.md +0 -16
  315. package/_bmad/bmm/workflows/sre/deployment-strategies.md +0 -18
  316. package/_bmad/bmm/workflows/sre/fix-deployments.md +0 -16
  317. package/_bmad/bmm/workflows/sre/gitops-status.md +0 -16
  318. package/_bmad/core/agents/bmad-master.md +0 -56
  319. package/_bmad/core/config.yaml +0 -9
  320. package/_bmad/core/module-help.csv +0 -10
  321. package/_bmad/core/tasks/editorial-review-prose.xml +0 -102
  322. package/_bmad/core/tasks/editorial-review-structure.xml +0 -208
  323. package/_bmad/core/tasks/help.md +0 -86
  324. package/_bmad/core/tasks/index-docs.xml +0 -65
  325. package/_bmad/core/tasks/review-adversarial-general.xml +0 -49
  326. package/_bmad/core/tasks/review-edge-case-hunter.xml +0 -63
  327. package/_bmad/core/tasks/shard-doc.xml +0 -108
  328. package/_bmad/core/tasks/workflow.xml +0 -235
  329. package/_bmad/core/workflows/advanced-elicitation/methods.csv +0 -51
  330. package/_bmad/core/workflows/advanced-elicitation/workflow.xml +0 -118
  331. package/_bmad/core/workflows/brainstorming/brain-methods.csv +0 -62
  332. package/_bmad/core/workflows/brainstorming/steps/step-01-session-setup.md +0 -210
  333. package/_bmad/core/workflows/brainstorming/steps/step-01b-continue.md +0 -122
  334. package/_bmad/core/workflows/brainstorming/steps/step-02a-user-selected.md +0 -225
  335. package/_bmad/core/workflows/brainstorming/steps/step-02b-ai-recommended.md +0 -237
  336. package/_bmad/core/workflows/brainstorming/steps/step-02c-random-selection.md +0 -209
  337. package/_bmad/core/workflows/brainstorming/steps/step-02d-progressive-flow.md +0 -264
  338. package/_bmad/core/workflows/brainstorming/steps/step-03-technique-execution.md +0 -399
  339. package/_bmad/core/workflows/brainstorming/steps/step-04-idea-organization.md +0 -303
  340. package/_bmad/core/workflows/brainstorming/template.md +0 -15
  341. package/_bmad/core/workflows/brainstorming/workflow.md +0 -60
  342. package/_bmad/core/workflows/party-mode/steps/step-01-agent-loading.md +0 -138
  343. package/_bmad/core/workflows/party-mode/steps/step-02-discussion-orchestration.md +0 -187
  344. package/_bmad/core/workflows/party-mode/steps/step-03-graceful-exit.md +0 -168
  345. package/_bmad/core/workflows/party-mode/workflow.md +0 -194
  346. package/_bmad/custom/agents/cyber.md +0 -56
  347. package/_bmad/custom/agents/devops.md +0 -54
  348. package/_bmad/custom/agents/mil498.md +0 -65
  349. package/_bmad/custom/agents/sre.md +0 -54
  350. package/_bmad/custom/config.yaml +0 -11
  351. package/_bmad/custom/workflows/cyber/generate-certs.md +0 -18
  352. package/_bmad/custom/workflows/cyber/immunity-estimation.md +0 -20
  353. package/_bmad/custom/workflows/cyber/security-audit.md +0 -18
  354. package/_bmad/custom/workflows/cyber/vault-secrets.md +0 -19
  355. package/_bmad/custom/workflows/cyber/verify-docker-users.md +0 -14
  356. package/_bmad/custom/workflows/cyber/verify-image-signature.md +0 -13
  357. package/_bmad/custom/workflows/cyber/vulnerability-scan.md +0 -19
  358. package/_bmad/custom/workflows/devops/configure-infrastructure.md +0 -18
  359. package/_bmad/custom/workflows/devops/disconnected-deployment.md +0 -18
  360. package/_bmad/custom/workflows/devops/docker-compose-setup.md +0 -17
  361. package/_bmad/custom/workflows/devops/manage-helm.md +0 -19
  362. package/_bmad/custom/workflows/devops/sign-docker-image.md +0 -15
  363. package/_bmad/custom/workflows/mil498/bmad-mil-generate-ocd.md +0 -17
  364. package/_bmad/custom/workflows/mil498/bmad-mil-generate-sdd.md +0 -18
  365. package/_bmad/custom/workflows/mil498/bmad-mil-generate-sdp.md +0 -17
  366. package/_bmad/custom/workflows/mil498/bmad-mil-generate-srs.md +0 -19
  367. package/_bmad/custom/workflows/mil498/bmad-mil-generate-sss.md +0 -16
  368. package/_bmad/custom/workflows/mil498/bmad-mil-generate-std.md +0 -17
  369. package/_bmad/custom/workflows/sre/check-deployment-status.md +0 -23
  370. package/_bmad/custom/workflows/sre/check-secrets.md +0 -14
  371. package/_bmad/custom/workflows/sre/check-system-status.md +0 -18
  372. package/_bmad/custom/workflows/sre/day-2-ops.md +0 -16
  373. package/_bmad/custom/workflows/sre/deployment-strategies.md +0 -18
  374. package/_bmad/custom/workflows/sre/fix-deployments.md +0 -16
  375. package/_bmad/custom/workflows/sre/gitops-status.md +0 -16
  376. package/_bmad/skills/config.yaml +0 -11
  377. package/_bmad/skills/sre/.ma-agents.json +0 -14
  378. package/_bmad/skills/sre/MANIFEST.yaml +0 -7
  379. package/_bmad/skills/sre/docker-image-signing/SKILL.md +0 -28
  380. package/_bmad/skills/sre/docker-image-signing/scripts/sign-image.sh +0 -33
@@ -1,410 +0,0 @@
1
- <workflow>
2
- <critical>The workflow execution engine is governed by: {project-root}/_bmad/core/tasks/workflow.xml</critical>
3
- <critical>You MUST have already loaded and processed: {installed_path}/workflow.yaml</critical>
4
- <critical>Communicate all responses in {communication_language} and language MUST be tailored to {user_skill_level}</critical>
5
- <critical>Generate all documents in {document_output_language}</critical>
6
- <critical>Only modify the story file in these areas: Tasks/Subtasks checkboxes, Dev Agent Record (Debug Log, Completion Notes), File List,
7
- Change Log, and Status</critical>
8
- <critical>Execute ALL steps in exact order; do NOT skip steps</critical>
9
- <critical>Absolutely DO NOT stop because of "milestones", "significant progress", or "session boundaries". Continue in a single execution
10
- until the story is COMPLETE (all ACs satisfied and all tasks/subtasks checked) UNLESS a HALT condition is triggered or the USER gives
11
- other instruction.</critical>
12
- <critical>Do NOT schedule a "next session" or request review pauses unless a HALT condition applies. Only Step 6 decides completion.</critical>
13
- <critical>User skill level ({user_skill_level}) affects conversation style ONLY, not code updates.</critical>
14
-
15
- <step n="1" goal="Find next ready story and load it" tag="sprint-status">
16
- <check if="{{story_path}} is provided">
17
- <action>Use {{story_path}} directly</action>
18
- <action>Read COMPLETE story file</action>
19
- <action>Extract story_key from filename or metadata</action>
20
- <goto anchor="task_check" />
21
- </check>
22
-
23
- <!-- Sprint-based story discovery -->
24
- <check if="{{sprint_status}} file exists">
25
- <critical>MUST read COMPLETE sprint-status.yaml file from start to end to preserve order</critical>
26
- <action>Load the FULL file: {{sprint_status}}</action>
27
- <action>Read ALL lines from beginning to end - do not skip any content</action>
28
- <action>Parse the development_status section completely to understand story order</action>
29
-
30
- <action>Find the FIRST story (by reading in order from top to bottom) where:
31
- - Key matches pattern: number-number-name (e.g., "1-2-user-auth")
32
- - NOT an epic key (epic-X) or retrospective (epic-X-retrospective)
33
- - Status value equals "ready-for-dev"
34
- </action>
35
-
36
- <check if="no ready-for-dev or in-progress story found">
37
- <output>📋 No ready-for-dev stories found in sprint-status.yaml
38
-
39
- **Current Sprint Status:** {{sprint_status_summary}}
40
-
41
- **What would you like to do?**
42
- 1. Run `create-story` to create next story from epics with comprehensive context
43
- 2. Run `*validate-create-story` to improve existing stories before development (recommended quality check)
44
- 3. Specify a particular story file to develop (provide full path)
45
- 4. Check {{sprint_status}} file to see current sprint status
46
-
47
- 💡 **Tip:** Stories in `ready-for-dev` may not have been validated. Consider running `validate-create-story` first for a quality
48
- check.
49
- </output>
50
- <ask>Choose option [1], [2], [3], or [4], or specify story file path:</ask>
51
-
52
- <check if="user chooses '1'">
53
- <action>HALT - Run create-story to create next story</action>
54
- </check>
55
-
56
- <check if="user chooses '2'">
57
- <action>HALT - Run validate-create-story to improve existing stories</action>
58
- </check>
59
-
60
- <check if="user chooses '3'">
61
- <ask>Provide the story file path to develop:</ask>
62
- <action>Store user-provided story path as {{story_path}}</action>
63
- <goto anchor="task_check" />
64
- </check>
65
-
66
- <check if="user chooses '4'">
67
- <output>Loading {{sprint_status}} for detailed status review...</output>
68
- <action>Display detailed sprint status analysis</action>
69
- <action>HALT - User can review sprint status and provide story path</action>
70
- </check>
71
-
72
- <check if="user provides story file path">
73
- <action>Store user-provided story path as {{story_path}}</action>
74
- <goto anchor="task_check" />
75
- </check>
76
- </check>
77
- </check>
78
-
79
- <!-- Non-sprint story discovery -->
80
- <check if="{{sprint_status}} file does NOT exist">
81
- <action>Search {implementation_artifacts} for stories directly</action>
82
- <action>Find stories with "ready-for-dev" status in files</action>
83
- <action>Look for story files matching pattern: *-*-*.md</action>
84
- <action>Read each candidate story file to check Status section</action>
85
-
86
- <check if="no ready-for-dev stories found in story files">
87
- <output>📋 No ready-for-dev stories found
88
-
89
- **Available Options:**
90
- 1. Run `create-story` to create next story from epics with comprehensive context
91
- 2. Run `*validate-create-story` to improve existing stories
92
- 3. Specify which story to develop
93
- </output>
94
- <ask>What would you like to do? Choose option [1], [2], or [3]:</ask>
95
-
96
- <check if="user chooses '1'">
97
- <action>HALT - Run create-story to create next story</action>
98
- </check>
99
-
100
- <check if="user chooses '2'">
101
- <action>HALT - Run validate-create-story to improve existing stories</action>
102
- </check>
103
-
104
- <check if="user chooses '3'">
105
- <ask>It's unclear what story you want developed. Please provide the full path to the story file:</ask>
106
- <action>Store user-provided story path as {{story_path}}</action>
107
- <action>Continue with provided story file</action>
108
- </check>
109
- </check>
110
-
111
- <check if="ready-for-dev story found in files">
112
- <action>Use discovered story file and extract story_key</action>
113
- </check>
114
- </check>
115
-
116
- <action>Store the found story_key (e.g., "1-2-user-authentication") for later status updates</action>
117
- <action>Find matching story file in {implementation_artifacts} using story_key pattern: {{story_key}}.md</action>
118
- <action>Read COMPLETE story file from discovered path</action>
119
-
120
- <anchor id="task_check" />
121
-
122
- <action>Parse sections: Story, Acceptance Criteria, Tasks/Subtasks, Dev Notes, Dev Agent Record, File List, Change Log, Status</action>
123
-
124
- <action>Load comprehensive context from story file's Dev Notes section</action>
125
- <action>Extract developer guidance from Dev Notes: architecture requirements, previous learnings, technical specifications</action>
126
- <action>Use enhanced story context to inform implementation decisions and approaches</action>
127
-
128
- <action>Identify first incomplete task (unchecked [ ]) in Tasks/Subtasks</action>
129
-
130
- <action if="no incomplete tasks">
131
- <goto step="6">Completion sequence</goto>
132
- </action>
133
- <action if="story file inaccessible">HALT: "Cannot develop story without access to story file"</action>
134
- <action if="incomplete task or subtask requirements ambiguous">ASK user to clarify or HALT</action>
135
- </step>
136
-
137
- <step n="2" goal="Load project context and story information">
138
- <critical>Load all available context to inform implementation</critical>
139
-
140
- <action>Load {project_context} for coding standards and project-wide patterns (if exists)</action>
141
- <action>Parse sections: Story, Acceptance Criteria, Tasks/Subtasks, Dev Notes, Dev Agent Record, File List, Change Log, Status</action>
142
- <action>Load comprehensive context from story file's Dev Notes section</action>
143
- <action>Extract developer guidance from Dev Notes: architecture requirements, previous learnings, technical specifications</action>
144
- <action>Use enhanced story context to inform implementation decisions and approaches</action>
145
- <output>✅ **Context Loaded**
146
- Story and project context available for implementation
147
- </output>
148
- </step>
149
-
150
- <step n="3" goal="Detect review continuation and extract review context">
151
- <critical>Determine if this is a fresh start or continuation after code review</critical>
152
-
153
- <action>Check if "Senior Developer Review (AI)" section exists in the story file</action>
154
- <action>Check if "Review Follow-ups (AI)" subsection exists under Tasks/Subtasks</action>
155
-
156
- <check if="Senior Developer Review section exists">
157
- <action>Set review_continuation = true</action>
158
- <action>Extract from "Senior Developer Review (AI)" section:
159
- - Review outcome (Approve/Changes Requested/Blocked)
160
- - Review date
161
- - Total action items with checkboxes (count checked vs unchecked)
162
- - Severity breakdown (High/Med/Low counts)
163
- </action>
164
- <action>Count unchecked [ ] review follow-up tasks in "Review Follow-ups (AI)" subsection</action>
165
- <action>Store list of unchecked review items as {{pending_review_items}}</action>
166
-
167
- <output>⏯️ **Resuming Story After Code Review** ({{review_date}})
168
-
169
- **Review Outcome:** {{review_outcome}}
170
- **Action Items:** {{unchecked_review_count}} remaining to address
171
- **Priorities:** {{high_count}} High, {{med_count}} Medium, {{low_count}} Low
172
-
173
- **Strategy:** Will prioritize review follow-up tasks (marked [AI-Review]) before continuing with regular tasks.
174
- </output>
175
- </check>
176
-
177
- <check if="Senior Developer Review section does NOT exist">
178
- <action>Set review_continuation = false</action>
179
- <action>Set {{pending_review_items}} = empty</action>
180
-
181
- <output>🚀 **Starting Fresh Implementation**
182
-
183
- Story: {{story_key}}
184
- Story Status: {{current_status}}
185
- First incomplete task: {{first_task_description}}
186
- </output>
187
- </check>
188
- </step>
189
-
190
- <step n="4" goal="Mark story in-progress" tag="sprint-status">
191
- <check if="{{sprint_status}} file exists">
192
- <action>Load the FULL file: {{sprint_status}}</action>
193
- <action>Read all development_status entries to find {{story_key}}</action>
194
- <action>Get current status value for development_status[{{story_key}}]</action>
195
-
196
- <check if="current status == 'ready-for-dev' OR review_continuation == true">
197
- <action>Update the story in the sprint status report to = "in-progress"</action>
198
- <output>🚀 Starting work on story {{story_key}}
199
- Status updated: ready-for-dev → in-progress
200
- </output>
201
- </check>
202
-
203
- <check if="current status == 'in-progress'">
204
- <output>⏯️ Resuming work on story {{story_key}}
205
- Story is already marked in-progress
206
- </output>
207
- </check>
208
-
209
- <check if="current status is neither ready-for-dev nor in-progress">
210
- <output>⚠️ Unexpected story status: {{current_status}}
211
- Expected ready-for-dev or in-progress. Continuing anyway...
212
- </output>
213
- </check>
214
-
215
- <action>Store {{current_sprint_status}} for later use</action>
216
- </check>
217
-
218
- <check if="{{sprint_status}} file does NOT exist">
219
- <output>ℹ️ No sprint status file exists - story progress will be tracked in story file only</output>
220
- <action>Set {{current_sprint_status}} = "no-sprint-tracking"</action>
221
- </check>
222
- </step>
223
-
224
- <step n="5" goal="Implement task following red-green-refactor cycle">
225
- <critical>FOLLOW THE STORY FILE TASKS/SUBTASKS SEQUENCE EXACTLY AS WRITTEN - NO DEVIATION</critical>
226
-
227
- <action>Review the current task/subtask from the story file - this is your authoritative implementation guide</action>
228
- <action>Plan implementation following red-green-refactor cycle</action>
229
-
230
- <!-- RED PHASE -->
231
- <action>Write FAILING tests first for the task/subtask functionality</action>
232
- <action>Confirm tests fail before implementation - this validates test correctness</action>
233
-
234
- <!-- GREEN PHASE -->
235
- <action>Implement MINIMAL code to make tests pass</action>
236
- <action>Run tests to confirm they now pass</action>
237
- <action>Handle error conditions and edge cases as specified in task/subtask</action>
238
-
239
- <!-- REFACTOR PHASE -->
240
- <action>Improve code structure while keeping tests green</action>
241
- <action>Ensure code follows architecture patterns and coding standards from Dev Notes</action>
242
-
243
- <action>Document technical approach and decisions in Dev Agent Record → Implementation Plan</action>
244
-
245
- <action if="new dependencies required beyond story specifications">HALT: "Additional dependencies need user approval"</action>
246
- <action if="3 consecutive implementation failures occur">HALT and request guidance</action>
247
- <action if="required configuration is missing">HALT: "Cannot proceed without necessary configuration files"</action>
248
-
249
- <critical>NEVER implement anything not mapped to a specific task/subtask in the story file</critical>
250
- <critical>NEVER proceed to next task until current task/subtask is complete AND tests pass</critical>
251
- <critical>Execute continuously without pausing until all tasks/subtasks are complete or explicit HALT condition</critical>
252
- <critical>Do NOT propose to pause for review until Step 9 completion gates are satisfied</critical>
253
- </step>
254
-
255
- <step n="6" goal="Author comprehensive tests">
256
- <action>Create unit tests for business logic and core functionality introduced/changed by the task</action>
257
- <action>Add integration tests for component interactions specified in story requirements</action>
258
- <action>Include end-to-end tests for critical user flows when story requirements demand them</action>
259
- <action>Cover edge cases and error handling scenarios identified in story Dev Notes</action>
260
- </step>
261
-
262
- <step n="7" goal="Run validations and tests">
263
- <action>Determine how to run tests for this repo (infer test framework from project structure)</action>
264
- <action>Run all existing tests to ensure no regressions</action>
265
- <action>Run the new tests to verify implementation correctness</action>
266
- <action>Run linting and code quality checks if configured in project</action>
267
- <action>Validate implementation meets ALL story acceptance criteria; enforce quantitative thresholds explicitly</action>
268
- <action if="regression tests fail">STOP and fix before continuing - identify breaking changes immediately</action>
269
- <action if="new tests fail">STOP and fix before continuing - ensure implementation correctness</action>
270
- </step>
271
-
272
- <step n="8" goal="Validate and mark task complete ONLY when fully done">
273
- <critical>NEVER mark a task complete unless ALL conditions are met - NO LYING OR CHEATING</critical>
274
-
275
- <!-- VALIDATION GATES -->
276
- <action>Verify ALL tests for this task/subtask ACTUALLY EXIST and PASS 100%</action>
277
- <action>Confirm implementation matches EXACTLY what the task/subtask specifies - no extra features</action>
278
- <action>Validate that ALL acceptance criteria related to this task are satisfied</action>
279
- <action>Run full test suite to ensure NO regressions introduced</action>
280
-
281
- <!-- REVIEW FOLLOW-UP HANDLING -->
282
- <check if="task is review follow-up (has [AI-Review] prefix)">
283
- <action>Extract review item details (severity, description, related AC/file)</action>
284
- <action>Add to resolution tracking list: {{resolved_review_items}}</action>
285
-
286
- <!-- Mark task in Review Follow-ups section -->
287
- <action>Mark task checkbox [x] in "Tasks/Subtasks → Review Follow-ups (AI)" section</action>
288
-
289
- <!-- CRITICAL: Also mark corresponding action item in review section -->
290
- <action>Find matching action item in "Senior Developer Review (AI) → Action Items" section by matching description</action>
291
- <action>Mark that action item checkbox [x] as resolved</action>
292
-
293
- <action>Add to Dev Agent Record → Completion Notes: "✅ Resolved review finding [{{severity}}]: {{description}}"</action>
294
- </check>
295
-
296
- <!-- ONLY MARK COMPLETE IF ALL VALIDATION PASS -->
297
- <check if="ALL validation gates pass AND tests ACTUALLY exist and pass">
298
- <action>ONLY THEN mark the task (and subtasks) checkbox with [x]</action>
299
- <action>Update File List section with ALL new, modified, or deleted files (paths relative to repo root)</action>
300
- <action>Add completion notes to Dev Agent Record summarizing what was ACTUALLY implemented and tested</action>
301
- </check>
302
-
303
- <check if="ANY validation fails">
304
- <action>DO NOT mark task complete - fix issues first</action>
305
- <action>HALT if unable to fix validation failures</action>
306
- </check>
307
-
308
- <check if="review_continuation == true and {{resolved_review_items}} is not empty">
309
- <action>Count total resolved review items in this session</action>
310
- <action>Add Change Log entry: "Addressed code review findings - {{resolved_count}} items resolved (Date: {{date}})"</action>
311
- </check>
312
-
313
- <action>Save the story file</action>
314
- <action>Determine if more incomplete tasks remain</action>
315
- <action if="more tasks remain">
316
- <goto step="5">Next task</goto>
317
- </action>
318
- <action if="no tasks remain">
319
- <goto step="9">Completion</goto>
320
- </action>
321
- </step>
322
-
323
- <step n="9" goal="Story completion and mark for review" tag="sprint-status">
324
- <action>Verify ALL tasks and subtasks are marked [x] (re-scan the story document now)</action>
325
- <action>Run the full regression suite (do not skip)</action>
326
- <action>Confirm File List includes every changed file</action>
327
- <action>Execute enhanced definition-of-done validation</action>
328
- <action>Update the story Status to: "review"</action>
329
-
330
- <!-- Enhanced Definition of Done Validation -->
331
- <action>Validate definition-of-done checklist with essential requirements:
332
- - All tasks/subtasks marked complete with [x]
333
- - Implementation satisfies every Acceptance Criterion
334
- - Unit tests for core functionality added/updated
335
- - Integration tests for component interactions added when required
336
- - End-to-end tests for critical flows added when story demands them
337
- - All tests pass (no regressions, new tests successful)
338
- - Code quality checks pass (linting, static analysis if configured)
339
- - File List includes every new/modified/deleted file (relative paths)
340
- - Dev Agent Record contains implementation notes
341
- - Change Log includes summary of changes
342
- - Only permitted story sections were modified
343
- </action>
344
-
345
- <!-- Mark story ready for review - sprint status conditional -->
346
- <check if="{sprint_status} file exists AND {{current_sprint_status}} != 'no-sprint-tracking'">
347
- <action>Load the FULL file: {sprint_status}</action>
348
- <action>Find development_status key matching {{story_key}}</action>
349
- <action>Verify current status is "in-progress" (expected previous state)</action>
350
- <action>Update development_status[{{story_key}}] = "review"</action>
351
- <action>Save file, preserving ALL comments and structure including STATUS DEFINITIONS</action>
352
- <output>✅ Story status updated to "review" in sprint-status.yaml</output>
353
- </check>
354
-
355
- <check if="{sprint_status} file does NOT exist OR {{current_sprint_status}} == 'no-sprint-tracking'">
356
- <output>ℹ️ Story status updated to "review" in story file (no sprint tracking configured)</output>
357
- </check>
358
-
359
- <check if="story key not found in sprint status">
360
- <output>⚠️ Story file updated, but sprint-status update failed: {{story_key}} not found
361
-
362
- Story status is set to "review" in file, but sprint-status.yaml may be out of sync.
363
- </output>
364
- </check>
365
-
366
- <!-- Final validation gates -->
367
- <action if="any task is incomplete">HALT - Complete remaining tasks before marking ready for review</action>
368
- <action if="regression failures exist">HALT - Fix regression issues before completing</action>
369
- <action if="File List is incomplete">HALT - Update File List with all changed files</action>
370
- <action if="definition-of-done validation fails">HALT - Address DoD failures before completing</action>
371
- </step>
372
-
373
- <step n="10" goal="Completion communication and user support">
374
- <action>Execute the enhanced definition-of-done checklist using the validation framework</action>
375
- <action>Prepare a concise summary in Dev Agent Record → Completion Notes</action>
376
-
377
- <action>Communicate to {user_name} that story implementation is complete and ready for review</action>
378
- <action>Summarize key accomplishments: story ID, story key, title, key changes made, tests added, files modified</action>
379
- <action>Provide the story file path and current status (now "review")</action>
380
-
381
- <action>Based on {user_skill_level}, ask if user needs any explanations about:
382
- - What was implemented and how it works
383
- - Why certain technical decisions were made
384
- - How to test or verify the changes
385
- - Any patterns, libraries, or approaches used
386
- - Anything else they'd like clarified
387
- </action>
388
-
389
- <check if="user asks for explanations">
390
- <action>Provide clear, contextual explanations tailored to {user_skill_level}</action>
391
- <action>Use examples and references to specific code when helpful</action>
392
- </check>
393
-
394
- <action>Once explanations are complete (or user indicates no questions), suggest logical next steps</action>
395
- <action>Recommended next steps (flexible based on project setup):
396
- - Review the implemented story and test the changes
397
- - Verify all acceptance criteria are met
398
- - Ensure deployment readiness if applicable
399
- - Run `code-review` workflow for peer review
400
- - Optional: If Test Architect module installed, run `/bmad:tea:automate` to expand guardrail tests
401
- </action>
402
-
403
- <output>💡 **Tip:** For best results, run `code-review` using a **different** LLM than the one that implemented this story.</output>
404
- <check if="{sprint_status} file exists">
405
- <action>Suggest checking {sprint_status} to see project progress</action>
406
- </check>
407
- <action>Remain flexible - allow user to choose their own path or ask for other assistance</action>
408
- </step>
409
-
410
- </workflow>
@@ -1,20 +0,0 @@
1
- name: dev-story
2
- description: 'Execute story implementation following a context filled story spec file. Use when the user says "dev this story [story file]" or "implement the next story in the sprint plan"'
3
-
4
- # Critical variables from config
5
- config_source: "{project-root}/_bmad/bmm/config.yaml"
6
- user_name: "{config_source}:user_name"
7
- communication_language: "{config_source}:communication_language"
8
- user_skill_level: "{config_source}:user_skill_level"
9
- document_output_language: "{config_source}:document_output_language"
10
- date: system-generated
11
-
12
- # Workflow components
13
- installed_path: "{project-root}/_bmad/bmm/workflows/4-implementation/dev-story"
14
- instructions: "{installed_path}/instructions.xml"
15
- validation: "{installed_path}/checklist.md"
16
-
17
- story_file: "" # Explicit story path; auto-discovered if empty
18
- implementation_artifacts: "{config_source}:implementation_artifacts"
19
- sprint_status: "{implementation_artifacts}/sprint-status.yaml"
20
- project_context: "**/project-context.md"