bmad-method 6.0.0-alpha.12 → 6.0.0-alpha.13

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 (491) hide show
  1. package/.github/workflows/bundle-latest.yaml +79 -27
  2. package/CHANGELOG.md +159 -1
  3. package/README.md +3 -1
  4. package/custom/src/agents/commit-poet/commit-poet.agent.yaml +129 -0
  5. package/custom/src/agents/commit-poet/installation-guide.md +36 -0
  6. package/custom/src/agents/toolsmith/installation-guide.md +36 -0
  7. package/custom/src/agents/toolsmith/toolsmith-sidecar/instructions.md +70 -0
  8. package/custom/src/agents/toolsmith/toolsmith-sidecar/knowledge/bundlers.md +111 -0
  9. package/custom/src/agents/toolsmith/toolsmith-sidecar/knowledge/deploy.md +70 -0
  10. package/custom/src/agents/toolsmith/toolsmith-sidecar/knowledge/docs.md +114 -0
  11. package/custom/src/agents/toolsmith/toolsmith-sidecar/knowledge/installers.md +134 -0
  12. package/custom/src/agents/toolsmith/toolsmith-sidecar/knowledge/modules.md +161 -0
  13. package/custom/src/agents/toolsmith/toolsmith-sidecar/knowledge/tests.md +103 -0
  14. package/custom/src/agents/toolsmith/toolsmith-sidecar/memories.md +17 -0
  15. package/custom/src/agents/toolsmith/toolsmith.agent.yaml +108 -0
  16. package/docs/custom-agent-installation.md +31 -17
  17. package/docs/ide-info/rovo-dev.md +388 -0
  18. package/docs/index.md +6 -81
  19. package/docs/installers-bundlers/installers-modules-platforms-reference.md +1 -1
  20. package/package.json +1 -1
  21. package/src/core/agents/bmad-master.agent.yaml +1 -1
  22. package/src/core/agents/bmad-web-orchestrator.agent.xml +1 -1
  23. package/src/core/tasks/advanced-elicitation-methods.csv +51 -21
  24. package/src/core/tasks/advanced-elicitation.xml +18 -8
  25. package/src/core/tasks/workflow.xml +36 -71
  26. package/src/core/workflows/brainstorming/brain-methods.csv +62 -36
  27. package/src/core/workflows/brainstorming/steps/step-01-session-setup.md +196 -0
  28. package/src/core/workflows/brainstorming/steps/step-01b-continue.md +121 -0
  29. package/src/core/workflows/brainstorming/steps/step-02a-user-selected.md +224 -0
  30. package/src/core/workflows/brainstorming/steps/step-02b-ai-recommended.md +236 -0
  31. package/src/core/workflows/brainstorming/steps/step-02c-random-selection.md +208 -0
  32. package/src/core/workflows/brainstorming/steps/step-02d-progressive-flow.md +263 -0
  33. package/src/core/workflows/brainstorming/steps/step-03-technique-execution.md +339 -0
  34. package/src/core/workflows/brainstorming/steps/step-04-idea-organization.md +302 -0
  35. package/src/core/workflows/brainstorming/template.md +13 -104
  36. package/src/core/workflows/brainstorming/workflow.md +51 -0
  37. package/src/core/workflows/party-mode/steps/step-01-agent-loading.md +138 -0
  38. package/src/core/workflows/party-mode/steps/step-02-discussion-orchestration.md +203 -0
  39. package/src/core/workflows/party-mode/steps/step-03-graceful-exit.md +159 -0
  40. package/src/core/workflows/party-mode/workflow.md +207 -0
  41. package/src/modules/bmb/README.md +153 -86
  42. package/src/modules/bmb/_module-installer/install-config.yaml +3 -3
  43. package/src/modules/bmb/agents/bmad-builder.agent.yaml +45 -31
  44. package/src/modules/bmb/docs/{agent-menu-patterns.md → agents/agent-menu-patterns.md} +1 -1
  45. package/src/modules/bmb/docs/agents/kb.csv +0 -0
  46. package/src/modules/bmb/docs/{module-agent-architecture.md → agents/module-agent-architecture.md} +1 -1
  47. package/src/modules/bmb/docs/{simple-agent-architecture.md → agents/simple-agent-architecture.md} +1 -1
  48. package/src/modules/bmb/docs/workflows/architecture.md +220 -0
  49. package/src/modules/bmb/docs/workflows/common-workflow-tools.csv +19 -0
  50. package/src/modules/bmb/docs/workflows/csv-data-file-standards.md +206 -0
  51. package/src/modules/bmb/docs/workflows/index.md +45 -0
  52. package/src/modules/bmb/docs/workflows/intent-vs-prescriptive-spectrum.md +220 -0
  53. package/src/modules/bmb/docs/workflows/kb.csv +0 -0
  54. package/src/modules/bmb/docs/workflows/step-template.md +283 -0
  55. package/src/modules/bmb/docs/workflows/terms.md +97 -0
  56. package/src/modules/bmb/docs/workflows/workflow-template.md +152 -0
  57. package/src/modules/bmb/reference/agents/module-examples/README.md +1 -1
  58. package/src/modules/bmb/reference/agents/module-examples/security-engineer.agent.yaml +2 -2
  59. package/src/modules/bmb/reference/agents/module-examples/trend-analyst.agent.yaml +1 -1
  60. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/data/dietary-restrictions.csv +18 -0
  61. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/data/macro-calculator.csv +16 -0
  62. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/data/recipe-database.csv +28 -0
  63. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-01-init.md +177 -0
  64. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-01b-continue.md +150 -0
  65. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-02-profile.md +164 -0
  66. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-03-assessment.md +152 -0
  67. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-04-strategy.md +182 -0
  68. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-05-shopping.md +167 -0
  69. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-06-prep-schedule.md +194 -0
  70. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/templates/assessment-section.md +25 -0
  71. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/templates/nutrition-plan.md +68 -0
  72. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/templates/prep-schedule-section.md +29 -0
  73. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/templates/profile-section.md +47 -0
  74. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/templates/shopping-section.md +37 -0
  75. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/templates/strategy-section.md +18 -0
  76. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/workflow.md +58 -0
  77. package/src/modules/bmb/workflows/create-agent/data/info-and-installation-guide.md +17 -0
  78. package/src/modules/bmb/workflows/create-agent/data/reference/README.md +3 -0
  79. package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/README.md +242 -0
  80. package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/journal-keeper-sidecar/breakthroughs.md +24 -0
  81. package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/journal-keeper-sidecar/instructions.md +108 -0
  82. package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/journal-keeper-sidecar/memories.md +46 -0
  83. package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/journal-keeper-sidecar/mood-patterns.md +39 -0
  84. package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/journal-keeper.agent.yaml +152 -0
  85. package/src/modules/bmb/workflows/create-agent/data/reference/agents/module-examples/README.md +50 -0
  86. package/src/modules/bmb/workflows/create-agent/data/reference/agents/module-examples/security-engineer.agent.yaml +53 -0
  87. package/src/modules/bmb/workflows/create-agent/data/reference/agents/module-examples/trend-analyst.agent.yaml +57 -0
  88. package/src/modules/bmb/workflows/create-agent/data/reference/agents/simple-examples/README.md +223 -0
  89. package/src/modules/bmb/workflows/create-agent/data/reference/agents/simple-examples/commit-poet.agent.yaml +126 -0
  90. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/data/dietary-restrictions.csv +18 -0
  91. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/data/macro-calculator.csv +16 -0
  92. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/data/recipe-database.csv +28 -0
  93. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-01-init.md +177 -0
  94. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-01b-continue.md +150 -0
  95. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-02-profile.md +164 -0
  96. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-03-assessment.md +152 -0
  97. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-04-strategy.md +182 -0
  98. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-05-shopping.md +167 -0
  99. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-06-prep-schedule.md +194 -0
  100. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/templates/assessment-section.md +25 -0
  101. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/templates/nutrition-plan.md +68 -0
  102. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/templates/prep-schedule-section.md +29 -0
  103. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/templates/profile-section.md +47 -0
  104. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/templates/shopping-section.md +37 -0
  105. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/templates/strategy-section.md +18 -0
  106. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/workflow.md +58 -0
  107. package/src/modules/bmb/workflows/create-agent/data/validation-complete.md +305 -0
  108. package/src/modules/bmb/workflows/create-agent/steps/step-01-brainstorm.md +145 -0
  109. package/src/modules/bmb/workflows/create-agent/steps/step-02-discover.md +210 -0
  110. package/src/modules/bmb/workflows/create-agent/steps/step-03-persona.md +260 -0
  111. package/src/modules/bmb/workflows/create-agent/steps/step-04-commands.md +237 -0
  112. package/src/modules/bmb/workflows/create-agent/steps/step-05-name.md +231 -0
  113. package/src/modules/bmb/workflows/create-agent/steps/step-06-build.md +224 -0
  114. package/src/modules/bmb/workflows/create-agent/steps/step-07-validate.md +234 -0
  115. package/src/modules/bmb/workflows/create-agent/steps/step-08-setup.md +179 -0
  116. package/src/modules/bmb/workflows/create-agent/steps/step-09-customize.md +197 -0
  117. package/src/modules/bmb/workflows/create-agent/steps/step-10-build-tools.md +180 -0
  118. package/src/modules/bmb/workflows/create-agent/steps/step-11-celebrate.md +222 -0
  119. package/src/modules/bmb/workflows/create-agent/templates/agent_commands.md +21 -0
  120. package/src/modules/bmb/workflows/create-agent/templates/agent_persona.md +25 -0
  121. package/src/modules/bmb/workflows/create-agent/templates/agent_purpose_and_type.md +23 -0
  122. package/src/modules/bmb/workflows/create-agent/workflow.md +91 -0
  123. package/src/modules/bmb/workflows/create-workflow/steps/step-01-init.md +168 -0
  124. package/src/modules/bmb/workflows/create-workflow/steps/step-02-gather.md +233 -0
  125. package/src/modules/bmb/workflows/create-workflow/steps/step-03-tools-overview.md +127 -0
  126. package/src/modules/bmb/workflows/create-workflow/steps/step-04-core-tools.md +145 -0
  127. package/src/modules/bmb/workflows/create-workflow/steps/step-05-memory-requirements.md +136 -0
  128. package/src/modules/bmb/workflows/create-workflow/steps/step-06-external-tools.md +154 -0
  129. package/src/modules/bmb/workflows/create-workflow/steps/step-07-installation-guidance.md +159 -0
  130. package/src/modules/bmb/workflows/create-workflow/steps/step-08-tools-summary.md +167 -0
  131. package/src/modules/bmb/workflows/create-workflow/steps/step-09-design.md +239 -0
  132. package/src/modules/bmb/workflows/create-workflow/steps/step-10-plan-review.md +215 -0
  133. package/src/modules/bmb/workflows/create-workflow/steps/step-11-build.md +262 -0
  134. package/src/modules/bmb/workflows/create-workflow/steps/step-12-review.md +270 -0
  135. package/src/modules/bmb/workflows/create-workflow/templates/build-summary.md +36 -0
  136. package/src/modules/bmb/workflows/create-workflow/templates/completion-section.md +39 -0
  137. package/src/modules/bmb/workflows/create-workflow/templates/content-template.md +21 -0
  138. package/src/modules/bmb/workflows/create-workflow/templates/design-section.md +53 -0
  139. package/src/modules/bmb/workflows/create-workflow/templates/project-info.md +18 -0
  140. package/src/modules/bmb/workflows/create-workflow/templates/requirements-section.md +47 -0
  141. package/src/modules/bmb/workflows/create-workflow/templates/review-section.md +56 -0
  142. package/src/modules/bmb/workflows/create-workflow/templates/step-file.md +139 -0
  143. package/src/modules/bmb/workflows/create-workflow/templates/workflow-plan.md +54 -0
  144. package/src/modules/bmb/workflows/create-workflow/templates/workflow.md +58 -0
  145. package/src/modules/bmb/workflows/create-workflow/workflow.md +58 -0
  146. package/src/modules/bmb/workflows/edit-agent/steps/step-01-discover-intent.md +134 -0
  147. package/src/modules/bmb/workflows/edit-agent/steps/step-02-analyze-agent.md +202 -0
  148. package/src/modules/bmb/workflows/edit-agent/steps/step-03-propose-changes.md +157 -0
  149. package/src/modules/bmb/workflows/edit-agent/steps/step-04-apply-changes.md +150 -0
  150. package/src/modules/bmb/workflows/edit-agent/steps/step-05-validate.md +150 -0
  151. package/src/modules/bmb/workflows/edit-agent/workflow.md +58 -0
  152. package/src/modules/bmb/workflows/edit-workflow/steps/step-01-analyze.md +221 -0
  153. package/src/modules/bmb/workflows/edit-workflow/steps/step-02-discover.md +253 -0
  154. package/src/modules/bmb/workflows/edit-workflow/steps/step-03-improve.md +217 -0
  155. package/src/modules/bmb/workflows/edit-workflow/steps/step-04-validate.md +193 -0
  156. package/src/modules/bmb/workflows/edit-workflow/steps/step-05-compliance-check.md +245 -0
  157. package/src/modules/bmb/workflows/edit-workflow/templates/completion-summary.md +75 -0
  158. package/src/modules/bmb/workflows/edit-workflow/templates/improvement-goals.md +68 -0
  159. package/src/modules/bmb/workflows/edit-workflow/templates/improvement-log.md +40 -0
  160. package/src/modules/bmb/workflows/edit-workflow/templates/validation-results.md +51 -0
  161. package/src/modules/bmb/workflows/edit-workflow/templates/workflow-analysis.md +56 -0
  162. package/src/modules/bmb/workflows/edit-workflow/workflow.md +58 -0
  163. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-01-validate-goal.md +152 -0
  164. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-02-workflow-validation.md +243 -0
  165. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-03-step-validation.md +274 -0
  166. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-04-file-validation.md +295 -0
  167. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-05-intent-spectrum-validation.md +264 -0
  168. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-06-web-subprocess-validation.md +360 -0
  169. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-07-holistic-analysis.md +258 -0
  170. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-08-generate-report.md +301 -0
  171. package/src/modules/bmb/workflows/workflow-compliance-check/templates/compliance-report.md +140 -0
  172. package/src/modules/bmb/workflows/workflow-compliance-check/workflow.md +58 -0
  173. package/src/modules/bmgd/agents/game-architect.agent.yaml +1 -1
  174. package/src/modules/bmgd/agents/game-designer.agent.yaml +1 -1
  175. package/src/modules/bmgd/agents/game-dev.agent.yaml +1 -1
  176. package/src/modules/bmgd/agents/game-scrum-master.agent.yaml +1 -1
  177. package/src/modules/bmm/_module-installer/install-config.yaml +9 -15
  178. package/src/modules/bmm/agents/analyst.agent.yaml +14 -14
  179. package/src/modules/bmm/agents/architect.agent.yaml +12 -10
  180. package/src/modules/bmm/agents/dev.agent.yaml +20 -16
  181. package/src/modules/bmm/agents/pm.agent.yaml +13 -31
  182. package/src/modules/bmm/agents/quick-flow-solo-dev.agent.yaml +36 -0
  183. package/src/modules/bmm/agents/sm.agent.yaml +13 -31
  184. package/src/modules/bmm/agents/tea.agent.yaml +10 -7
  185. package/src/modules/bmm/agents/tech-writer.agent.yaml +7 -20
  186. package/src/modules/bmm/agents/ux-designer.agent.yaml +12 -10
  187. package/src/modules/bmm/data/README.md +29 -0
  188. package/src/modules/bmm/data/project-context-template.md +40 -0
  189. package/src/modules/bmm/docs/README.md +21 -9
  190. package/src/modules/bmm/docs/agents-guide.md +69 -23
  191. package/src/modules/bmm/docs/bmad-quick-flow.md +528 -0
  192. package/src/modules/bmm/docs/brownfield-guide.md +9 -10
  193. package/src/modules/bmm/docs/enterprise-agentic-development.md +1 -1
  194. package/src/modules/bmm/docs/glossary.md +5 -5
  195. package/src/modules/bmm/docs/images/workflow-method-greenfield.excalidraw +909 -1654
  196. package/src/modules/bmm/docs/images/workflow-method-greenfield.svg +2 -2
  197. package/src/modules/bmm/docs/quick-flow-solo-dev.md +337 -0
  198. package/src/modules/bmm/docs/scale-adaptive-system.md +5 -5
  199. package/src/modules/bmm/docs/test-architecture.md +84 -18
  200. package/src/modules/bmm/docs/workflows-analysis.md +36 -140
  201. package/src/modules/bmm/docs/workflows-implementation.md +32 -157
  202. package/src/modules/bmm/docs/workflows-planning.md +51 -212
  203. package/src/modules/bmm/docs/workflows-solutioning.md +24 -69
  204. package/src/modules/bmm/teams/default-party.csv +15 -14
  205. package/src/modules/bmm/teams/team-fullstack.yaml +0 -1
  206. package/src/modules/bmm/testarch/knowledge/api-request.md +303 -0
  207. package/src/modules/bmm/testarch/knowledge/auth-session.md +356 -0
  208. package/src/modules/bmm/testarch/knowledge/burn-in.md +273 -0
  209. package/src/modules/bmm/testarch/knowledge/file-utils.md +260 -0
  210. package/src/modules/bmm/testarch/knowledge/fixtures-composition.md +382 -0
  211. package/src/modules/bmm/testarch/knowledge/intercept-network-call.md +280 -0
  212. package/src/modules/bmm/testarch/knowledge/log.md +294 -0
  213. package/src/modules/bmm/testarch/knowledge/network-error-monitor.md +272 -0
  214. package/src/modules/bmm/testarch/knowledge/network-recorder.md +265 -0
  215. package/src/modules/bmm/testarch/knowledge/overview.md +284 -0
  216. package/src/modules/bmm/testarch/knowledge/recurse.md +296 -0
  217. package/src/modules/bmm/testarch/tea-index.csv +11 -0
  218. package/src/modules/bmm/workflows/1-analysis/product-brief/product-brief.template.md +8 -0
  219. package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-01-init.md +192 -0
  220. package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-01b-continue.md +167 -0
  221. package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-02-vision.md +203 -0
  222. package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-03-users.md +206 -0
  223. package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-04-metrics.md +209 -0
  224. package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-05-scope.md +223 -0
  225. package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-06-complete.md +199 -0
  226. package/src/modules/bmm/workflows/1-analysis/product-brief/workflow.md +58 -0
  227. package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-01-init.md +136 -0
  228. package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-02-domain-analysis.md +228 -0
  229. package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-03-competitive-landscape.md +237 -0
  230. package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-04-regulatory-focus.md +205 -0
  231. package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-05-technical-trends.md +233 -0
  232. package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-06-research-synthesis.md +443 -0
  233. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-01-init.md +182 -0
  234. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-02-customer-behavior.md +235 -0
  235. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-02-customer-insights.md +198 -0
  236. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-03-customer-pain-points.md +247 -0
  237. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-04-customer-decisions.md +257 -0
  238. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-05-competitive-analysis.md +175 -0
  239. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-06-research-completion.md +475 -0
  240. package/src/modules/bmm/workflows/1-analysis/research/research.template.md +16 -0
  241. package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-01-init.md +136 -0
  242. package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-02-technical-overview.md +237 -0
  243. package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-03-integration-patterns.md +246 -0
  244. package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-04-architectural-patterns.md +200 -0
  245. package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-05-implementation-research.md +237 -0
  246. package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-06-research-synthesis.md +486 -0
  247. package/src/modules/bmm/workflows/1-analysis/research/workflow.md +198 -0
  248. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-01-init.md +159 -0
  249. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-01b-continue.md +126 -0
  250. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-02-discovery.md +209 -0
  251. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-03-core-experience.md +215 -0
  252. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-04-emotional-response.md +218 -0
  253. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-05-inspiration.md +233 -0
  254. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-06-design-system.md +251 -0
  255. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-07-defining-experience.md +253 -0
  256. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-08-visual-foundation.md +223 -0
  257. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-09-design-directions.md +223 -0
  258. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-10-user-journeys.md +240 -0
  259. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-11-component-strategy.md +247 -0
  260. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-12-ux-patterns.md +236 -0
  261. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-13-responsive-accessibility.md +263 -0
  262. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-14-complete.md +226 -0
  263. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/ux-design-template.md +6 -138
  264. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/workflow.md +53 -0
  265. package/src/modules/bmm/workflows/2-plan-workflows/prd/prd-template.md +5 -200
  266. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-01-init.md +161 -0
  267. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-01b-continue.md +123 -0
  268. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-02-discovery.md +275 -0
  269. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-03-success.md +271 -0
  270. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-04-journeys.md +272 -0
  271. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-05-domain.md +249 -0
  272. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-06-innovation.md +240 -0
  273. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-07-project-type.md +236 -0
  274. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-08-scoping.md +280 -0
  275. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-09-functional.md +251 -0
  276. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-10-nonfunctional.md +275 -0
  277. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-11-complete.md +210 -0
  278. package/src/modules/bmm/workflows/2-plan-workflows/prd/workflow.md +61 -0
  279. package/src/modules/bmm/workflows/3-solutioning/architecture/architecture-decision-template.md +13 -0
  280. package/src/modules/bmm/workflows/3-solutioning/architecture/data/domain-complexity.csv +11 -0
  281. package/src/modules/bmm/workflows/3-solutioning/architecture/data/project-types.csv +7 -0
  282. package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-01-init.md +194 -0
  283. package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-01b-continue.md +163 -0
  284. package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-02-context.md +223 -0
  285. package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-03-starter.md +330 -0
  286. package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-04-decisions.md +317 -0
  287. package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-05-patterns.md +358 -0
  288. package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-06-structure.md +378 -0
  289. package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-07-validation.md +358 -0
  290. package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-08-complete.md +351 -0
  291. package/src/modules/bmm/workflows/3-solutioning/architecture/workflow.md +48 -0
  292. package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/instructions.md +247 -476
  293. package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/workflow.yaml +8 -18
  294. package/src/modules/bmm/workflows/4-implementation/code-review/instructions.xml +176 -0
  295. package/src/modules/bmm/workflows/4-implementation/code-review/workflow.yaml +4 -11
  296. package/src/modules/bmm/workflows/4-implementation/create-story/checklist.md +332 -214
  297. package/src/modules/bmm/workflows/4-implementation/create-story/instructions.xml +324 -0
  298. package/src/modules/bmm/workflows/4-implementation/create-story/workflow.yaml +21 -34
  299. package/src/modules/bmm/workflows/4-implementation/dev-story/checklist.md +65 -23
  300. package/src/modules/bmm/workflows/4-implementation/dev-story/instructions.xml +406 -0
  301. package/src/modules/bmm/workflows/4-implementation/dev-story/workflow.yaml +6 -37
  302. package/src/modules/bmm/workflows/4-implementation/sprint-planning/sprint-status-template.yaml +4 -3
  303. package/src/modules/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +2 -0
  304. package/src/modules/bmm/workflows/bmad-quick-flow/create-tech-spec/instructions.md +115 -0
  305. package/src/modules/bmm/workflows/bmad-quick-flow/create-tech-spec/workflow.yaml +26 -0
  306. package/src/modules/bmm/workflows/bmad-quick-flow/quick-dev/checklist.md +25 -0
  307. package/src/modules/bmm/workflows/bmad-quick-flow/quick-dev/instructions.md +105 -0
  308. package/src/modules/bmm/workflows/bmad-quick-flow/quick-dev/workflow.yaml +29 -0
  309. package/src/modules/bmm/workflows/generate-project-context/project-context-template.md +20 -0
  310. package/src/modules/bmm/workflows/generate-project-context/steps/step-01-discover.md +193 -0
  311. package/src/modules/bmm/workflows/generate-project-context/steps/step-02-generate.md +317 -0
  312. package/src/modules/bmm/workflows/generate-project-context/steps/step-03-complete.md +277 -0
  313. package/src/modules/bmm/workflows/generate-project-context/workflow.md +48 -0
  314. package/src/modules/bmm/workflows/testarch/atdd/instructions.md +23 -3
  315. package/src/modules/bmm/workflows/testarch/automate/instructions.md +23 -2
  316. package/src/modules/bmm/workflows/testarch/ci/instructions.md +18 -1
  317. package/src/modules/bmm/workflows/testarch/framework/instructions.md +27 -1
  318. package/src/modules/bmm/workflows/testarch/test-design/instructions.md +8 -2
  319. package/src/modules/bmm/workflows/testarch/test-review/instructions.md +28 -8
  320. package/src/modules/bmm/workflows/workflow-status/init/instructions.md +66 -54
  321. package/src/modules/bmm/workflows/workflow-status/instructions.md +11 -4
  322. package/src/modules/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +3 -2
  323. package/src/modules/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +3 -2
  324. package/src/modules/bmm/workflows/workflow-status/paths/method-brownfield.yaml +3 -2
  325. package/src/modules/bmm/workflows/workflow-status/paths/method-greenfield.yaml +3 -2
  326. package/src/modules/cis/agents/README.md +1 -1
  327. package/src/modules/cis/agents/brainstorming-coach.agent.yaml +3 -2
  328. package/src/modules/cis/agents/creative-problem-solver.agent.yaml +2 -1
  329. package/src/modules/cis/agents/design-thinking-coach.agent.yaml +2 -1
  330. package/src/modules/cis/agents/innovation-strategist.agent.yaml +2 -1
  331. package/src/modules/cis/agents/presentation-master.agent.yaml +3 -2
  332. package/src/modules/cis/agents/storyteller.agent.yaml +2 -1
  333. package/src/modules/cis/teams/default-party.csv +6 -5
  334. package/src/utility/models/agent-activation-ide.xml +4 -4
  335. package/src/utility/models/agent-activation-web.xml +1 -11
  336. package/src/utility/models/fragments/activation-rules.xml +5 -6
  337. package/src/utility/models/fragments/handler-exec.xml +6 -5
  338. package/src/utility/models/fragments/handler-multi.xml +14 -0
  339. package/test/README.md +1 -1
  340. package/test/fixtures/agent-schema/valid/menu-commands/all-command-types.agent.yaml +1 -3
  341. package/tools/cli/README.md +1 -0
  342. package/tools/cli/bundlers/web-bundler.js +3 -14
  343. package/tools/cli/commands/agent-install.js +8 -8
  344. package/tools/cli/commands/cleanup.js +141 -0
  345. package/tools/cli/commands/install.js +48 -3
  346. package/tools/cli/installers/lib/core/config-collector.js +24 -0
  347. package/tools/cli/installers/lib/core/installer.js +612 -43
  348. package/tools/cli/installers/lib/ide/antigravity.js +51 -7
  349. package/tools/cli/installers/lib/ide/auggie.js +53 -0
  350. package/tools/cli/installers/lib/ide/claude-code.js +1 -6
  351. package/tools/cli/installers/lib/ide/cline.js +49 -0
  352. package/tools/cli/installers/lib/ide/codex.js +2 -2
  353. package/tools/cli/installers/lib/ide/crush.js +47 -0
  354. package/tools/cli/installers/lib/ide/gemini.js +47 -0
  355. package/tools/cli/installers/lib/ide/github-copilot.js +59 -48
  356. package/tools/cli/installers/lib/ide/iflow.js +47 -0
  357. package/tools/cli/installers/lib/ide/kilo.js +74 -0
  358. package/tools/cli/installers/lib/ide/qwen.js +54 -0
  359. package/tools/cli/installers/lib/ide/roo.js +71 -0
  360. package/tools/cli/installers/lib/ide/rovo-dev.js +290 -0
  361. package/tools/cli/installers/lib/ide/trae.js +47 -0
  362. package/tools/cli/lib/agent/compiler.js +156 -22
  363. package/tools/cli/lib/agent/installer.js +13 -3
  364. package/tools/cli/lib/agent-analyzer.js +46 -18
  365. package/tools/cli/lib/ui.js +204 -9
  366. package/tools/cli/lib/yaml-xml-builder.js +123 -24
  367. package/tools/platform-codes.yaml +12 -0
  368. package/tools/schema/agent.js +169 -20
  369. package/src/core/tasks/adv-elicit-methods.csv +0 -39
  370. package/src/core/workflows/brainstorming/README.md +0 -261
  371. package/src/core/workflows/brainstorming/instructions.md +0 -315
  372. package/src/core/workflows/brainstorming/workflow.yaml +0 -38
  373. package/src/core/workflows/party-mode/instructions.md +0 -183
  374. package/src/core/workflows/party-mode/workflow.yaml +0 -28
  375. package/src/modules/bmb/workflows/audit-workflow/checklist.md +0 -142
  376. package/src/modules/bmb/workflows/audit-workflow/instructions.md +0 -341
  377. package/src/modules/bmb/workflows/audit-workflow/template.md +0 -118
  378. package/src/modules/bmb/workflows/audit-workflow/workflow.yaml +0 -25
  379. package/src/modules/bmb/workflows/convert-legacy/README.md +0 -262
  380. package/src/modules/bmb/workflows/convert-legacy/checklist.md +0 -205
  381. package/src/modules/bmb/workflows/convert-legacy/instructions.md +0 -377
  382. package/src/modules/bmb/workflows/convert-legacy/workflow.yaml +0 -30
  383. package/src/modules/bmb/workflows/create-agent/instructions.md +0 -519
  384. package/src/modules/bmb/workflows/create-agent/workflow.yaml +0 -55
  385. package/src/modules/bmb/workflows/create-workflow/README.md +0 -277
  386. package/src/modules/bmb/workflows/create-workflow/brainstorm-context.md +0 -197
  387. package/src/modules/bmb/workflows/create-workflow/checklist.md +0 -94
  388. package/src/modules/bmb/workflows/create-workflow/instructions.md +0 -725
  389. package/src/modules/bmb/workflows/create-workflow/workflow-creation-guide.md +0 -1327
  390. package/src/modules/bmb/workflows/create-workflow/workflow-template/checklist.md +0 -24
  391. package/src/modules/bmb/workflows/create-workflow/workflow-template/instructions.md +0 -15
  392. package/src/modules/bmb/workflows/create-workflow/workflow-template/template.md +0 -9
  393. package/src/modules/bmb/workflows/create-workflow/workflow-template/workflow.yaml +0 -61
  394. package/src/modules/bmb/workflows/create-workflow/workflow.yaml +0 -41
  395. package/src/modules/bmb/workflows/edit-agent/README.md +0 -239
  396. package/src/modules/bmb/workflows/edit-agent/instructions.md +0 -654
  397. package/src/modules/bmb/workflows/edit-agent/workflow.yaml +0 -49
  398. package/src/modules/bmb/workflows/edit-workflow/README.md +0 -119
  399. package/src/modules/bmb/workflows/edit-workflow/checklist.md +0 -70
  400. package/src/modules/bmb/workflows/edit-workflow/instructions.md +0 -342
  401. package/src/modules/bmb/workflows/edit-workflow/workflow.yaml +0 -27
  402. package/src/modules/bmm/_module-installer/assets/bmm-kb.md +0 -1
  403. package/src/modules/bmm/_module-installer/assets/technical-decisions.md +0 -30
  404. package/src/modules/bmm/docs/quick-spec-flow.md +0 -652
  405. package/src/modules/bmm/workflows/1-analysis/brainstorm-project/instructions.md +0 -112
  406. package/src/modules/bmm/workflows/1-analysis/brainstorm-project/project-context.md +0 -25
  407. package/src/modules/bmm/workflows/1-analysis/brainstorm-project/workflow.yaml +0 -39
  408. package/src/modules/bmm/workflows/1-analysis/domain-research/instructions.md +0 -425
  409. package/src/modules/bmm/workflows/1-analysis/domain-research/template.md +0 -180
  410. package/src/modules/bmm/workflows/1-analysis/domain-research/workflow.yaml +0 -56
  411. package/src/modules/bmm/workflows/1-analysis/product-brief/checklist.md +0 -115
  412. package/src/modules/bmm/workflows/1-analysis/product-brief/instructions.md +0 -524
  413. package/src/modules/bmm/workflows/1-analysis/product-brief/template.md +0 -181
  414. package/src/modules/bmm/workflows/1-analysis/product-brief/workflow.yaml +0 -61
  415. package/src/modules/bmm/workflows/1-analysis/research/checklist-deep-prompt.md +0 -144
  416. package/src/modules/bmm/workflows/1-analysis/research/checklist-technical.md +0 -249
  417. package/src/modules/bmm/workflows/1-analysis/research/checklist.md +0 -299
  418. package/src/modules/bmm/workflows/1-analysis/research/claude-code/injections.yaml +0 -114
  419. package/src/modules/bmm/workflows/1-analysis/research/instructions-deep-prompt.md +0 -438
  420. package/src/modules/bmm/workflows/1-analysis/research/instructions-market.md +0 -675
  421. package/src/modules/bmm/workflows/1-analysis/research/instructions-router.md +0 -134
  422. package/src/modules/bmm/workflows/1-analysis/research/instructions-technical.md +0 -534
  423. package/src/modules/bmm/workflows/1-analysis/research/template-deep-prompt.md +0 -94
  424. package/src/modules/bmm/workflows/1-analysis/research/template-market.md +0 -347
  425. package/src/modules/bmm/workflows/1-analysis/research/template-technical.md +0 -245
  426. package/src/modules/bmm/workflows/1-analysis/research/workflow.yaml +0 -62
  427. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/checklist.md +0 -310
  428. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md +0 -1308
  429. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/workflow.yaml +0 -93
  430. package/src/modules/bmm/workflows/2-plan-workflows/prd/checklist.md +0 -346
  431. package/src/modules/bmm/workflows/2-plan-workflows/prd/instructions.md +0 -703
  432. package/src/modules/bmm/workflows/2-plan-workflows/prd/workflow.yaml +0 -78
  433. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/checklist.md +0 -217
  434. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/epics-template.md +0 -74
  435. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions-generate-stories.md +0 -436
  436. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions.md +0 -980
  437. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/tech-spec-template.md +0 -181
  438. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/user-story-template.md +0 -90
  439. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +0 -60
  440. package/src/modules/bmm/workflows/3-solutioning/architecture/architecture-patterns.yaml +0 -321
  441. package/src/modules/bmm/workflows/3-solutioning/architecture/architecture-template.md +0 -103
  442. package/src/modules/bmm/workflows/3-solutioning/architecture/checklist.md +0 -240
  443. package/src/modules/bmm/workflows/3-solutioning/architecture/decision-catalog.yaml +0 -222
  444. package/src/modules/bmm/workflows/3-solutioning/architecture/instructions.md +0 -768
  445. package/src/modules/bmm/workflows/3-solutioning/architecture/pattern-categories.csv +0 -13
  446. package/src/modules/bmm/workflows/3-solutioning/architecture/workflow.yaml +0 -100
  447. package/src/modules/bmm/workflows/4-implementation/code-review/backlog_template.md +0 -12
  448. package/src/modules/bmm/workflows/4-implementation/code-review/checklist.md +0 -22
  449. package/src/modules/bmm/workflows/4-implementation/code-review/instructions.md +0 -398
  450. package/src/modules/bmm/workflows/4-implementation/create-story/instructions.md +0 -256
  451. package/src/modules/bmm/workflows/4-implementation/dev-story/instructions.md +0 -267
  452. package/src/modules/bmm/workflows/4-implementation/epic-tech-context/checklist.md +0 -17
  453. package/src/modules/bmm/workflows/4-implementation/epic-tech-context/instructions.md +0 -164
  454. package/src/modules/bmm/workflows/4-implementation/epic-tech-context/template.md +0 -76
  455. package/src/modules/bmm/workflows/4-implementation/epic-tech-context/workflow.yaml +0 -58
  456. package/src/modules/bmm/workflows/4-implementation/story-context/checklist.md +0 -16
  457. package/src/modules/bmm/workflows/4-implementation/story-context/context-template.xml +0 -34
  458. package/src/modules/bmm/workflows/4-implementation/story-context/instructions.md +0 -209
  459. package/src/modules/bmm/workflows/4-implementation/story-context/workflow.yaml +0 -63
  460. package/src/modules/bmm/workflows/4-implementation/story-done/instructions.md +0 -111
  461. package/src/modules/bmm/workflows/4-implementation/story-done/workflow.yaml +0 -28
  462. package/src/modules/bmm/workflows/4-implementation/story-ready/instructions.md +0 -117
  463. package/src/modules/bmm/workflows/4-implementation/story-ready/workflow.yaml +0 -25
  464. package/src/modules/bmm/workflows/workflow-status/paths/quick-flow-brownfield.yaml +0 -58
  465. package/src/modules/bmm/workflows/workflow-status/paths/quick-flow-greenfield.yaml +0 -47
  466. /package/src/modules/bmb/docs/{agent-compilation.md → agents/agent-compilation.md} +0 -0
  467. /package/src/modules/bmb/docs/{expert-agent-architecture.md → agents/expert-agent-architecture.md} +0 -0
  468. /package/src/modules/bmb/docs/{index.md → agents/index.md} +0 -0
  469. /package/src/modules/bmb/docs/{understanding-agent-types.md → agents/understanding-agent-types.md} +0 -0
  470. /package/src/modules/bmb/reference/{readme.md → README.md} +0 -0
  471. /package/src/modules/bmb/workflows/create-agent/{agent-validation-checklist.md → data/agent-validation-checklist.md} +0 -0
  472. /package/src/modules/bmb/workflows/create-agent/{brainstorm-context.md → data/brainstorm-context.md} +0 -0
  473. /package/src/modules/bmb/workflows/create-agent/{communication-presets.csv → data/communication-presets.csv} +0 -0
  474. /package/src/modules/bmb/{workflows → workflows-legacy}/create-module/README.md +0 -0
  475. /package/src/modules/bmb/{workflows → workflows-legacy}/create-module/brainstorm-context.md +0 -0
  476. /package/src/modules/bmb/{workflows → workflows-legacy}/create-module/checklist.md +0 -0
  477. /package/src/modules/bmb/{workflows → workflows-legacy}/create-module/installer-templates/install-config.yaml +0 -0
  478. /package/src/modules/bmb/{workflows → workflows-legacy}/create-module/installer-templates/installer.js +0 -0
  479. /package/src/modules/bmb/{workflows → workflows-legacy}/create-module/instructions.md +0 -0
  480. /package/src/modules/bmb/{workflows → workflows-legacy}/create-module/module-structure.md +0 -0
  481. /package/src/modules/bmb/{workflows → workflows-legacy}/create-module/workflow.yaml +0 -0
  482. /package/src/modules/bmb/{workflows → workflows-legacy}/edit-module/README.md +0 -0
  483. /package/src/modules/bmb/{workflows → workflows-legacy}/edit-module/checklist.md +0 -0
  484. /package/src/modules/bmb/{workflows → workflows-legacy}/edit-module/instructions.md +0 -0
  485. /package/src/modules/bmb/{workflows → workflows-legacy}/edit-module/workflow.yaml +0 -0
  486. /package/src/modules/bmb/{workflows → workflows-legacy}/module-brief/README.md +0 -0
  487. /package/src/modules/bmb/{workflows → workflows-legacy}/module-brief/checklist.md +0 -0
  488. /package/src/modules/bmb/{workflows → workflows-legacy}/module-brief/instructions.md +0 -0
  489. /package/src/modules/bmb/{workflows → workflows-legacy}/module-brief/template.md +0 -0
  490. /package/src/modules/bmb/{workflows → workflows-legacy}/module-brief/workflow.yaml +0 -0
  491. /package/src/modules/bmm/{workflows/techdoc → data}/documentation-standards.md +0 -0
@@ -1,256 +0,0 @@
1
- # Create Story - Workflow Instructions (Spec-compliant, non-interactive by default)
2
-
3
- ````xml
4
- <critical>The workflow execution engine is governed by: {project_root}/{bmad_folder}/core/tasks/workflow.xml</critical>
5
- <critical>You MUST have already loaded and processed: {installed_path}/workflow.yaml</critical>
6
- <critical>Generate all documents in {document_output_language}</critical>
7
- <critical>This workflow creates or updates the next user story from epics/PRD and architecture context, saving to the configured stories directory and optionally invoking Story Context.</critical>
8
- <critical>DOCUMENT OUTPUT: Concise, technical, actionable story specifications. Use tables/lists for acceptance criteria and tasks.</critical>
9
-
10
- <workflow>
11
-
12
- <step n="1" goal="Load config and initialize">
13
- <action>Resolve variables from config_source: story_dir (sprint_artifacts), output_folder, user_name, communication_language. If story_dir missing → ASK user to provide a stories directory and update variable.</action>
14
- <action>Create {{story_dir}} if it does not exist</action>
15
- <action>Resolve installed component paths from workflow.yaml: template, instructions, validation</action>
16
- <action>Load architecture/standards docs: For each file name in {{arch_docs_file_names}} within {{arch_docs_search_dirs}}, read if exists. Collect testing, coding standards, security, and architectural patterns.</action>
17
- </step>
18
-
19
- <step n="1.5" goal="Discover and load project documents">
20
- <invoke-protocol name="discover_inputs" />
21
- <note>After discovery, these content variables are available: {prd_content}, {tech_spec_content}, {architecture_content}, {ux_design_content}, {epics_content}, {document_project_content}</note>
22
- </step>
23
-
24
- <step n="2" goal="Discover previous story context">
25
- <critical>PREVIOUS STORY CONTINUITY: Essential for maintaining context and learning from prior development</critical>
26
-
27
- <action>Find the previous completed story to extract dev agent learnings and review findings:
28
- 1. Load {{output_folder}}/sprint-status.yaml COMPLETELY
29
- 2. Find current {{story_key}} in development_status section
30
- 3. Identify the story entry IMMEDIATELY ABOVE current story (previous row in file order)
31
- 4. If previous story exists:
32
- - Extract {{previous_story_key}}
33
- - Check previous story status (done, in-progress, review, etc.)
34
- - If status is "done", "review", or "in-progress" (has some completion):
35
- * Construct path: {{story_dir}}/{{previous_story_key}}.md
36
- * Load the COMPLETE previous story file
37
- * Parse ALL sections comprehensively:
38
-
39
- A) Dev Agent Record → Completion Notes List:
40
- - New patterns/services created (to reuse, not recreate)
41
- - Architectural deviations or decisions made
42
- - Technical debt deferred to future stories
43
- - Warnings or recommendations for next story
44
- - Interfaces/methods created for reuse
45
-
46
- B) Dev Agent Record → Debug Log References:
47
- - Issues encountered and solutions
48
- - Gotchas or unexpected challenges
49
- - Workarounds applied
50
-
51
- C) Dev Agent Record → File List:
52
- - Files created (NEW) - understand new capabilities
53
- - Files modified (MODIFIED) - track evolving components
54
- - Files deleted (DELETED) - removed functionality
55
-
56
- D) Dev Notes:
57
- - Any "future story" notes or TODOs
58
- - Patterns established
59
- - Constraints discovered
60
-
61
- E) Senior Developer Review (AI) section (if present):
62
- - Review outcome (Approve/Changes Requested/Blocked)
63
- - Unresolved action items (unchecked [ ] items)
64
- - Key findings that might affect this story
65
- - Architectural concerns raised
66
-
67
- F) Senior Developer Review → Action Items (if present):
68
- - Check for unchecked [ ] items still pending
69
- - Note any systemic issues that apply to multiple stories
70
-
71
- G) Review Follow-ups (AI) tasks (if present):
72
- - Check for unchecked [ ] review tasks still pending
73
- - Determine if they're epic-wide concerns
74
-
75
- H) Story Status:
76
- - If "review" or "in-progress" - incomplete, note what's pending
77
- - If "done" - confirmed complete
78
- * Store ALL findings as {{previous_story_learnings}} with structure:
79
- - new_files: [list]
80
- - modified_files: [list]
81
- - new_services: [list with descriptions]
82
- - architectural_decisions: [list]
83
- - technical_debt: [list]
84
- - warnings_for_next: [list]
85
- - review_findings: [list if review exists]
86
- - pending_items: [list of unchecked action items]
87
- - If status is "backlog" or "drafted":
88
- * Set {{previous_story_learnings}} = "Previous story not yet implemented"
89
- 5. If no previous story exists (first story in epic):
90
- - Set {{previous_story_learnings}} = "First story in epic - no predecessor context"
91
- </action>
92
-
93
- <action>If {{tech_spec_file}} empty: derive from {{tech_spec_glob_template}} with {{epic_num}} and search {{tech_spec_search_dir}} recursively. If multiple, pick most recent by modified time.</action>
94
- <action>Build a prioritized document set for this epic - search and load from {input_file_patterns} list of potential locations:
95
- 1) tech_spec_file (epic-scoped)
96
- 2) epics_file (acceptance criteria and breakdown) the specific epic the story will be part of
97
- 3) prd_file (business requirements and constraints) whole or sharded
98
- 4) architecture_file (architecture constraints) whole or sharded
99
- </action>
100
- <action>READ COMPLETE FILES for all items found in the prioritized set. Store content and paths for citation.</action>
101
- </step>
102
-
103
- <step n="3" goal="Find next backlog story to draft" tag="sprint-status">
104
- <critical>MUST read COMPLETE {sprint_status} file from start to end to preserve order</critical>
105
- <action>Read ALL lines from beginning to end - do not skip any content</action>
106
- <action>Parse the development_status section completely to understand story order</action>
107
-
108
- <action>Find the FIRST story (by reading in order from top to bottom) where:
109
- - Key matches pattern: number-number-name (e.g., "1-2-user-auth")
110
- - NOT an epic key (epic-X) or retrospective (epic-X-retrospective)
111
- - Status value equals "backlog"
112
- </action>
113
-
114
- <check if="no backlog story found">
115
- <output>📋 No backlog stories found in sprint-status.yaml
116
-
117
- All stories are either already drafted or completed.
118
-
119
- **Options:**
120
- 1. Run sprint-planning to refresh story tracking
121
- 2. Load PM agent and run correct-course to add more stories
122
- 3. Check if current sprint is complete
123
- </output>
124
- <action>HALT</action>
125
- </check>
126
-
127
- <action>Extract from found story key (e.g., "1-2-user-authentication"):
128
- - epic_num: first number before dash (e.g., "1")
129
- - story_num: second number after first dash (e.g., "2")
130
- - story_title: remainder after second dash (e.g., "user-authentication")
131
- </action>
132
- <action>Set {{story_id}} = "{{epic_num}}.{{story_num}}"</action>
133
- <action>Store story_key for later use (e.g., "1-2-user-authentication")</action>
134
-
135
- <action>Verify story is enumerated in {{epics_file}}. If not found, HALT with message:</action>
136
- <action>"Story {{story_key}} not found in epics.md. Please load PM agent and run correct-course to sync epics, then rerun create-story."</action>
137
-
138
- <action>Check if story file already exists at expected path in {{story_dir}}</action>
139
- <check if="story file exists">
140
- <output>ℹ️ Story file already exists: {{story_file_path}}
141
- Will update existing story file rather than creating new one.
142
- </output>
143
- <action>Set update_mode = true</action>
144
- </check>
145
- </step>
146
-
147
- <step n="4" goal="Extract requirements and derive story statement">
148
- <action>From tech_spec_file (preferred) or epics_file: extract epic {{epic_num}} title/summary, acceptance criteria for the next story, and any component references. If not present, fall back to PRD sections mapping to this epic/story.</action>
149
- <action>From architecture and architecture docs: extract constraints, patterns, component boundaries, and testing guidance relevant to the extracted ACs. ONLY capture information that directly informs implementation of this story.</action>
150
- <action>Derive a clear user story statement (role, action, benefit) grounded strictly in the above sources. If ambiguous and {{non_interactive}} == false → ASK user to clarify. If {{non_interactive}} == true → generate the best grounded statement WITHOUT inventing domain facts.</action>
151
- <template-output file="{default_output_file}">requirements_context_summary</template-output>
152
- </step>
153
-
154
- <step n="5" goal="Project structure alignment and lessons learned">
155
- <action>Review {{previous_story_learnings}} and extract actionable intelligence:
156
- - New patterns/services created → Note for reuse (DO NOT recreate)
157
- - Architectural deviations → Understand and maintain consistency
158
- - Technical debt items → Assess if this story should address them
159
- - Files modified → Understand current state of evolving components
160
- - Warnings/recommendations → Apply to this story's approach
161
- - Review findings → Learn from issues found in previous story
162
- - Pending action items → Determine if epic-wide concerns affect this story
163
- </action>
164
-
165
- <action>If unified-project-structure.md present: align expected file paths, module names, and component locations; note any potential conflicts.</action>
166
-
167
- <action>Cross-reference {{previous_story_learnings}}.new_files with project structure to understand where new capabilities are located.</action>
168
-
169
- <template-output file="{default_output_file}">structure_alignment_summary</template-output>
170
- </step>
171
-
172
- <step n="6" goal="Assemble acceptance criteria and tasks">
173
- <action>Assemble acceptance criteria list from tech_spec or epics. If gaps exist, derive minimal, testable criteria from PRD verbatim phrasing (NO invention).</action>
174
- <action>Create tasks/subtasks directly mapped to ACs. Include explicit testing subtasks per testing-strategy and existing tests framework. Cite architecture/source documents for any technical mandates.</action>
175
- <template-output file="{default_output_file}">acceptance_criteria</template-output>
176
- <template-output file="{default_output_file}">tasks_subtasks</template-output>
177
- </step>
178
-
179
- <step n="7" goal="Create or update story document">
180
- <action>Resolve output path: {default_output_file} using current {{epic_num}} and {{story_num}}. If targeting an existing story for update, use its path.</action>
181
- <action>Initialize from template.md if creating a new file; otherwise load existing file for edit.</action>
182
- <action>Compute a concise story_title from epic/story context; if missing, synthesize from PRD feature name and epic number.</action>
183
- <template-output file="{default_output_file}">story_header</template-output>
184
- <template-output file="{default_output_file}">story_body</template-output>
185
- <template-output file="{default_output_file}">dev_notes_with_citations</template-output>
186
-
187
- <action>If {{previous_story_learnings}} contains actionable items (not "First story" or "not yet implemented"):
188
- - Add "Learnings from Previous Story" subsection to Dev Notes
189
- - Include relevant completion notes, new files/patterns, deviations
190
- - Cite previous story file as reference [Source: stories/{{previous_story_key}}.md]
191
- - Highlight interfaces/services to REUSE (not recreate)
192
- - Note any technical debt to address in this story
193
- - List pending review items that affect this story (if any)
194
- - Reference specific files created: "Use {{file_path}} for {{purpose}}"
195
- - Format example:
196
- ```
197
- ### Learnings from Previous Story
198
-
199
- **From Story {{previous_story_key}} (Status: {{previous_status}})**
200
-
201
- - **New Service Created**: `AuthService` base class available at `src/services/AuthService.js` - use `AuthService.register()` method
202
- - **Architectural Change**: Switched from session-based to JWT authentication
203
- - **Schema Changes**: User model now includes `passwordHash` field, migration applied
204
- - **Technical Debt**: Email verification skipped, should be included in this or subsequent story
205
- - **Testing Setup**: Auth test suite initialized at `tests/integration/auth.test.js` - follow patterns established there
206
- - **Pending Review Items**: Rate limiting mentioned in review - consider for this story
207
-
208
- [Source: stories/{{previous_story_key}}.md#Dev-Agent-Record]
209
- ```
210
- </action>
211
-
212
- <template-output file="{default_output_file}">change_log</template-output>
213
- </step>
214
-
215
- <step n="8" goal="Validate, save, and mark story drafted" tag="sprint-status">
216
- <invoke-task>Validate against checklist at {installed_path}/checklist.md using {bmad_folder}/core/tasks/validate-workflow.xml</invoke-task>
217
- <action>Save document unconditionally (non-interactive default). In interactive mode, allow user confirmation.</action>
218
-
219
- <!-- Mark story as drafted in sprint status -->
220
- <action>Update {{output_folder}}/sprint-status.yaml</action>
221
- <action>Load the FULL file and read all development_status entries</action>
222
- <action>Find development_status key matching {{story_key}}</action>
223
- <action>Verify current status is "backlog" (expected previous state)</action>
224
- <action>Update development_status[{{story_key}}] = "drafted"</action>
225
- <action>Save file, preserving ALL comments and structure including STATUS DEFINITIONS</action>
226
-
227
- <check if="story key not found in file">
228
- <output>⚠️ Could not update story status: {{story_key}} not found in sprint-status.yaml
229
-
230
- Story file was created successfully, but sprint-status.yaml was not updated.
231
- You may need to run sprint-planning to refresh tracking, or manually set the story row status to `drafted`.
232
- </output>
233
- </check>
234
-
235
- <action>Report created/updated story path</action>
236
- <output>**✅ Story Created Successfully, {user_name}!**
237
-
238
- **Story Details:**
239
-
240
- - Story ID: {{story_id}}
241
- - Story Key: {{story_key}}
242
- - File: {{story_file}}
243
- - Status: drafted (was backlog)
244
-
245
- **⚠️ Important:** The following workflows are context-intensive. It's recommended to clear context and restart the SM agent before running the next command.
246
-
247
- **Next Steps:**
248
-
249
- 1. Review the drafted story in {{story_file}}
250
- 2. **[RECOMMENDED]** Run `story-context` to generate technical context XML and mark story ready for development (combines context + ready in one step)
251
- 3. Or run `story-ready` to manually mark the story ready without generating technical context
252
- </output>
253
- </step>
254
-
255
- </workflow>
256
- ````
@@ -1,267 +0,0 @@
1
- # Develop Story - Workflow Instructions
2
-
3
- ```xml
4
- <critical>The workflow execution engine is governed by: {project-root}/{bmad_folder}/core/tasks/workflow.xml</critical>
5
- <critical>You MUST have already loaded and processed: {installed_path}/workflow.yaml</critical>
6
- <critical>Communicate all responses in {communication_language} and language MUST be tailored to {user_skill_level}</critical>
7
- <critical>Generate all documents in {document_output_language}</critical>
8
- <critical>Only modify the story file in these areas: Tasks/Subtasks checkboxes, Dev Agent Record (Debug Log, Completion Notes), File List, Change Log, and Status</critical>
9
- <critical>Execute ALL steps in exact order; do NOT skip steps</critical>
10
- <critical>Absolutely DO NOT stop because of "milestones", "significant progress", or "session boundaries". Continue in a single execution until the story is COMPLETE (all ACs satisfied and all tasks/subtasks checked) UNLESS a HALT condition is triggered or the USER gives other instruction.</critical>
11
- <critical>Do NOT schedule a "next session" or request review pauses unless a HALT condition applies. Only Step 6 decides completion.</critical>
12
-
13
- <critical>User skill level ({user_skill_level}) affects conversation style ONLY, not code updates.</critical>
14
-
15
- <workflow>
16
-
17
- <step n="1" goal="Find next ready story and load it" tag="sprint-status">
18
- <check if="{{story_path}} is provided">
19
- <action>Use {{story_path}} directly</action>
20
- <action>Read COMPLETE story file</action>
21
- <action>Extract story_key from filename or metadata</action>
22
- <goto>task_check</goto>
23
- </check>
24
-
25
- <critical>MUST read COMPLETE sprint-status.yaml file from start to end to preserve order</critical>
26
- <action>Load the FULL file: {{output_folder}}/sprint-status.yaml</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
- **Options:**
39
- 1. Run `story-context` to generate context file and mark drafted stories as ready
40
- 2. Run `story-ready` to quickly mark drafted stories as ready without generating context
41
- 3. Run `create-story` if no incomplete stories are drafted yet
42
- 4. Check {output_folder}/sprint-status.yaml to see current sprint status
43
- </output>
44
- <action>HALT</action>
45
- </check>
46
-
47
- <action>Store the found story_key (e.g., "1-2-user-authentication") for later status updates</action>
48
- <action>Find matching story file in {{story_dir}} using story_key pattern: {{story_key}}.md</action>
49
- <action>Read COMPLETE story file from discovered path</action>
50
-
51
- <anchor id="task_check" />
52
-
53
- <action>Parse sections: Story, Acceptance Criteria, Tasks/Subtasks, Dev Notes, Dev Agent Record, File List, Change Log, Status</action>
54
-
55
- <action>Check if context file exists at: {{story_dir}}/{{story_key}}.context.xml</action>
56
- <check if="context file exists">
57
- <action>Read COMPLETE context file</action>
58
- <action>Parse all sections: story details, artifacts (docs, code, dependencies), interfaces, constraints, tests</action>
59
- <action>Use this context to inform implementation decisions and approaches</action>
60
- </check>
61
- <check if="context file does NOT exist">
62
- <output>ℹ️ No context file found for {{story_key}}
63
-
64
- Proceeding with story file only. For better context, consider running `story-context` workflow first.
65
- </output>
66
- </check>
67
-
68
- <action>Identify first incomplete task (unchecked [ ]) in Tasks/Subtasks</action>
69
-
70
- <action if="no incomplete tasks"><goto step="6">Completion sequence</goto></action>
71
- <action if="story file inaccessible">HALT: "Cannot develop story without access to story file"</action>
72
- <action if="incomplete task or subtask requirements ambiguous">ASK user to clarify or HALT</action>
73
- </step>
74
-
75
- <step n="0.5" goal="Discover and load project documents">
76
- <invoke-protocol name="discover_inputs" />
77
- <note>After discovery, these content variables are available: {architecture_content}, {tech_spec_content}, {ux_design_content}, {epics_content} (selective load), {document_project_content}</note>
78
- </step>
79
-
80
- <step n="1.5" goal="Detect review continuation and extract review context">
81
- <critical>Determine if this is a fresh start or continuation after code review</critical>
82
-
83
- <action>Check if "Senior Developer Review (AI)" section exists in the story file</action>
84
- <action>Check if "Review Follow-ups (AI)" subsection exists under Tasks/Subtasks</action>
85
-
86
- <check if="Senior Developer Review section exists">
87
- <action>Set review_continuation = true</action>
88
- <action>Extract from "Senior Developer Review (AI)" section:
89
- - Review outcome (Approve/Changes Requested/Blocked)
90
- - Review date
91
- - Total action items with checkboxes (count checked vs unchecked)
92
- - Severity breakdown (High/Med/Low counts)
93
- </action>
94
- <action>Count unchecked [ ] review follow-up tasks in "Review Follow-ups (AI)" subsection</action>
95
- <action>Store list of unchecked review items as {{pending_review_items}}</action>
96
-
97
- <output>⏯️ **Resuming Story After Code Review** ({{review_date}})
98
-
99
- **Review Outcome:** {{review_outcome}}
100
- **Action Items:** {{unchecked_review_count}} remaining to address
101
- **Priorities:** {{high_count}} High, {{med_count}} Medium, {{low_count}} Low
102
-
103
- **Strategy:** Will prioritize review follow-up tasks (marked [AI-Review]) before continuing with regular tasks.
104
- </output>
105
- </check>
106
-
107
- <check if="Senior Developer Review section does NOT exist">
108
- <action>Set review_continuation = false</action>
109
- <action>Set {{pending_review_items}} = empty</action>
110
-
111
- <output>🚀 **Starting Fresh Implementation**
112
-
113
- Story: {{story_key}}
114
- Context file: {{context_available}}
115
- First incomplete task: {{first_task_description}}
116
- </output>
117
- </check>
118
- </step>
119
-
120
- <step n="1.6" goal="Mark story in-progress" tag="sprint-status">
121
- <action>Load the FULL file: {{output_folder}}/sprint-status.yaml</action>
122
- <action>Read all development_status entries to find {{story_key}}</action>
123
- <action>Get current status value for development_status[{{story_key}}]</action>
124
-
125
- <check if="current status == 'ready-for-dev'">
126
- <action>Update the story in the sprint status report to = "in-progress"</action>
127
- <output>🚀 Starting work on story {{story_key}}
128
- Status updated: ready-for-dev → in-progress
129
- </output>
130
- </check>
131
-
132
- <check if="current status == 'in-progress'">
133
- <output>⏯️ Resuming work on story {{story_key}}
134
- Story is already marked in-progress
135
- </output>
136
- </check>
137
-
138
- <check if="current status is neither ready-for-dev nor in-progress">
139
- <output>⚠️ Unexpected story status: {{current_status}}
140
- Expected ready-for-dev or in-progress. Continuing anyway...
141
- </output>
142
- </check>
143
- </step>
144
-
145
- <step n="2" goal="Plan and implement task">
146
- <action>Review acceptance criteria and dev notes for the selected task</action>
147
- <action>Plan implementation steps and edge cases; write down a brief plan in Dev Agent Record → Debug Log</action>
148
- <action>Implement the task COMPLETELY including all subtasks, critically following best practices, coding patterns and coding standards in this repo you have learned about from the story and context file or your own critical agent instructions</action>
149
- <action>Handle error conditions and edge cases appropriately</action>
150
- <action if="new or different than what is documented dependencies are needed">ASK user for approval before adding</action>
151
- <action if="3 consecutive implementation failures occur">HALT and request guidance</action>
152
- <action if="required configuration is missing">HALT: "Cannot proceed without necessary configuration files"</action>
153
- <critical>Do not stop after partial progress; continue iterating tasks until all ACs are satisfied and tested or a HALT condition triggers</critical>
154
- <critical>Do NOT propose to pause for review, stand-ups, or validation until Step 6 gates are satisfied</critical>
155
- </step>
156
-
157
- <step n="3" goal="Author comprehensive tests">
158
- <action>Create unit tests for business logic and core functionality introduced/changed by the task</action>
159
- <action>Add integration tests for component interactions where desired by test plan or story notes</action>
160
- <action>Include end-to-end tests for critical user flows where desired by test plan or story notes</action>
161
- <action>Cover edge cases and error handling scenarios noted in the test plan or story notes</action>
162
- </step>
163
-
164
- <step n="4" goal="Run validations and tests">
165
- <action>Determine how to run tests for this repo (infer or use {{run_tests_command}} if provided)</action>
166
- <action>Run all existing tests to ensure no regressions</action>
167
- <action>Run the new tests to verify implementation correctness</action>
168
- <action>Run linting and code quality checks if configured</action>
169
- <action>Validate implementation meets ALL story acceptance criteria; if ACs include quantitative thresholds (e.g., test pass rate), ensure they are met before marking complete</action>
170
- <action if="regression tests fail">STOP and fix before continuing, consider how current changes made broke regression</action>
171
- <action if="new tests fail">STOP and fix before continuing</action>
172
- </step>
173
-
174
- <step n="5" goal="Mark task complete, track review resolutions, and update story">
175
- <critical>If task is a review follow-up, must mark BOTH the task checkbox AND the corresponding action item in the review section</critical>
176
-
177
- <action>Check if completed task has [AI-Review] prefix (indicates review follow-up task)</action>
178
-
179
- <check if="task is review follow-up">
180
- <action>Extract review item details (severity, description, related AC/file)</action>
181
- <action>Add to resolution tracking list: {{resolved_review_items}}</action>
182
-
183
- <!-- Mark task in Review Follow-ups section -->
184
- <action>Mark task checkbox [x] in "Tasks/Subtasks → Review Follow-ups (AI)" section</action>
185
-
186
- <!-- CRITICAL: Also mark corresponding action item in review section -->
187
- <action>Find matching action item in "Senior Developer Review (AI) → Action Items" section by matching description</action>
188
- <action>Mark that action item checkbox [x] as resolved</action>
189
-
190
- <action>Add to Dev Agent Record → Completion Notes: "✅ Resolved review finding [{{severity}}]: {{description}}"</action>
191
- </check>
192
-
193
- <action>ONLY mark the task (and subtasks) checkbox with [x] if ALL tests pass and validation succeeds</action>
194
- <action>Update File List section with any new, modified, or deleted files (paths relative to repo root)</action>
195
- <action>Add completion notes to Dev Agent Record if significant changes were made (summarize intent, approach, and any follow-ups)</action>
196
-
197
- <check if="review_continuation == true and {{resolved_review_items}} is not empty">
198
- <action>Count total resolved review items in this session</action>
199
- <action>Add Change Log entry: "Addressed code review findings - {{resolved_count}} items resolved (Date: {{date}})"</action>
200
- </check>
201
-
202
- <action>Save the story file</action>
203
- <action>Determine if more incomplete tasks remain</action>
204
- <action if="more tasks remain"><goto step="2">Next task</goto></action>
205
- <action if="no tasks remain"><goto step="6">Completion</goto></action>
206
- </step>
207
-
208
- <step n="6" goal="Story completion and mark for review" tag="sprint-status">
209
- <action>Verify ALL tasks and subtasks are marked [x] (re-scan the story document now)</action>
210
- <action>Run the full regression suite (do not skip)</action>
211
- <action>Confirm File List includes every changed file</action>
212
- <action>Execute story definition-of-done checklist, if the story includes one</action>
213
- <action>Update the story Status to: review</action>
214
-
215
- <!-- Mark story ready for review -->
216
- <action>Load the FULL file: {{output_folder}}/sprint-status.yaml</action>
217
- <action>Find development_status key matching {{story_key}}</action>
218
- <action>Verify current status is "in-progress" (expected previous state)</action>
219
- <action>Update development_status[{{story_key}}] = "review"</action>
220
- <action>Save file, preserving ALL comments and structure including STATUS DEFINITIONS</action>
221
-
222
- <check if="story key not found in file">
223
- <output>⚠️ Story file updated, but sprint-status update failed: {{story_key}} not found
224
-
225
- Story is marked Ready for Review in file, but sprint-status.yaml may be out of sync.
226
- </output>
227
- </check>
228
-
229
- <action if="any task is incomplete">Return to step 1 to complete remaining work (Do NOT finish with partial progress)</action>
230
- <action if="regression failures exist">STOP and resolve before completing</action>
231
- <action if="File List is incomplete">Update it before completing</action>
232
- </step>
233
-
234
- <step n="7" goal="Completion communication and user support">
235
- <action>Optionally run the workflow validation task against the story using {project-root}/{bmad_folder}/core/tasks/validate-workflow.xml</action>
236
- <action>Prepare a concise summary in Dev Agent Record → Completion Notes</action>
237
-
238
- <action>Communicate to {user_name} that story implementation is complete and ready for review</action>
239
- <action>Summarize key accomplishments: story ID, story key, title, key changes made, tests added, files modified</action>
240
- <action>Provide the story file path and current status (now "review", was "in-progress")</action>
241
-
242
- <action>Based on {user_skill_level}, ask if user needs any explanations about:
243
- - What was implemented and how it works
244
- - Why certain technical decisions were made
245
- - How to test or verify the changes
246
- - Any patterns, libraries, or approaches used
247
- - Anything else they'd like clarified
248
- </action>
249
-
250
- <check if="user asks for explanations">
251
- <action>Provide clear, contextual explanations tailored to {user_skill_level}</action>
252
- <action>Use examples and references to specific code when helpful</action>
253
- </check>
254
-
255
- <action>Once explanations are complete (or user indicates no questions), suggest logical next steps</action>
256
- <action>Common next steps to suggest (but allow user flexibility):
257
- - Review the implemented story yourself and test the changes
258
- - Verify all acceptance criteria are met
259
- - Ensure deployment readiness if applicable
260
- - Run `code-review` workflow for peer review
261
- - Check sprint-status.yaml to see project progress
262
- </action>
263
- <action>Remain flexible - allow user to choose their own path or ask for other assistance</action>
264
- </step>
265
-
266
- </workflow>
267
- ```
@@ -1,17 +0,0 @@
1
- # Tech Spec Validation Checklist
2
-
3
- ```xml
4
- <checklist id="{bmad_folder}/bmm/workflows/4-implementation/epic-tech-context/checklist">
5
- <item>Overview clearly ties to PRD goals</item>
6
- <item>Scope explicitly lists in-scope and out-of-scope</item>
7
- <item>Design lists all services/modules with responsibilities</item>
8
- <item>Data models include entities, fields, and relationships</item>
9
- <item>APIs/interfaces are specified with methods and schemas</item>
10
- <item>NFRs: performance, security, reliability, observability addressed</item>
11
- <item>Dependencies/integrations enumerated with versions where known</item>
12
- <item>Acceptance criteria are atomic and testable</item>
13
- <item>Traceability maps AC → Spec → Components → Tests</item>
14
- <item>Risks/assumptions/questions listed with mitigation/next steps</item>
15
- <item>Test strategy covers all ACs and critical paths</item>
16
- </checklist>
17
- ```