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

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 (335) hide show
  1. package/.github/ISSUE_TEMPLATE/idea_submission.md +1 -1
  2. package/.github/scripts/discord-helpers.sh +15 -0
  3. package/.github/workflows/discord.yaml +278 -8
  4. package/.github/workflows/quality.yaml +19 -0
  5. package/.markdownlint-cli2.yaml +42 -0
  6. package/.prettierignore +3 -0
  7. package/CHANGELOG.md +95 -0
  8. package/CODE_OF_CONDUCT.md +128 -0
  9. package/bmad-method-6.0.0-alpha.14.tgz +0 -0
  10. package/docs/agent-customization-guide.md +2 -2
  11. package/docs/custom-agent-installation.md +56 -102
  12. package/docs/document-sharding-guide.md +1 -1
  13. package/eslint.config.mjs +14 -0
  14. package/example-custom-content/README.md +4 -0
  15. package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/instructions.md +4 -4
  16. package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/memories.md +1 -1
  17. package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith.agent.yaml +17 -16
  18. package/example-custom-content/custom.yaml +3 -0
  19. package/example-custom-content/workflows/quiz-master/steps/step-01-init.md +168 -0
  20. package/example-custom-content/workflows/quiz-master/steps/step-02-q1.md +155 -0
  21. package/example-custom-content/workflows/quiz-master/steps/step-03-q2.md +89 -0
  22. package/example-custom-content/workflows/quiz-master/steps/step-04-q3.md +36 -0
  23. package/example-custom-content/workflows/quiz-master/steps/step-05-q4.md +36 -0
  24. package/example-custom-content/workflows/quiz-master/steps/step-06-q5.md +36 -0
  25. package/example-custom-content/workflows/quiz-master/steps/step-07-q6.md +36 -0
  26. package/example-custom-content/workflows/quiz-master/steps/step-08-q7.md +36 -0
  27. package/example-custom-content/workflows/quiz-master/steps/step-09-q8.md +36 -0
  28. package/example-custom-content/workflows/quiz-master/steps/step-10-q9.md +36 -0
  29. package/example-custom-content/workflows/quiz-master/steps/step-11-q10.md +36 -0
  30. package/example-custom-content/workflows/quiz-master/steps/step-12-results.md +150 -0
  31. package/example-custom-content/workflows/quiz-master/templates/csv-headers.template +1 -0
  32. package/example-custom-content/workflows/quiz-master/workflow-plan-quiz-master.md +269 -0
  33. package/example-custom-content/workflows/quiz-master/workflow.md +54 -0
  34. package/example-custom-content/workflows/wassup/workflow.md +26 -0
  35. package/example-custom-module/mwm/README.md +4 -0
  36. package/example-custom-module/mwm/_module-installer/install-config.yaml +27 -0
  37. package/example-custom-module/mwm/agents/cbt-coach/cbt-coach-sidecar/cognitive-distortions.md +47 -0
  38. package/example-custom-module/mwm/agents/cbt-coach/cbt-coach-sidecar/thought-records.md +17 -0
  39. package/example-custom-module/mwm/agents/cbt-coach/cbt-coach.agent.yaml +150 -0
  40. package/example-custom-module/mwm/agents/crisis-navigator.agent.yaml +137 -0
  41. package/example-custom-module/mwm/agents/meditation-guide.agent.yaml +137 -0
  42. package/example-custom-module/mwm/agents/wellness-companion/wellness-companion-sidecar/insights.md +13 -0
  43. package/example-custom-module/mwm/agents/wellness-companion/wellness-companion-sidecar/instructions.md +30 -0
  44. package/example-custom-module/mwm/agents/wellness-companion/wellness-companion-sidecar/memories.md +13 -0
  45. package/example-custom-module/mwm/agents/wellness-companion/wellness-companion-sidecar/patterns.md +17 -0
  46. package/example-custom-module/mwm/agents/wellness-companion/wellness-companion.agent.yaml +124 -0
  47. package/example-custom-module/mwm/workflows/cbt-thought-record/README.md +31 -0
  48. package/example-custom-module/mwm/workflows/cbt-thought-record/workflow.md +45 -0
  49. package/example-custom-module/mwm/workflows/crisis-support/README.md +31 -0
  50. package/example-custom-module/mwm/workflows/crisis-support/workflow.md +45 -0
  51. package/example-custom-module/mwm/workflows/daily-checkin/README.md +32 -0
  52. package/example-custom-module/mwm/workflows/daily-checkin/workflow.md +45 -0
  53. package/example-custom-module/mwm/workflows/guided-meditation/README.md +31 -0
  54. package/example-custom-module/mwm/workflows/guided-meditation/workflow.md +45 -0
  55. package/example-custom-module/mwm/workflows/wellness-journal/README.md +31 -0
  56. package/example-custom-module/mwm/workflows/wellness-journal/workflow.md +45 -0
  57. package/package.json +9 -4
  58. package/src/core/_module-installer/install-config.yaml +5 -1
  59. package/src/core/resources/excalidraw/library-loader.md +2 -2
  60. package/src/core/workflows/brainstorming/steps/step-01-session-setup.md +1 -1
  61. package/src/core/workflows/brainstorming/workflow.md +1 -1
  62. package/src/core/workflows/party-mode/steps/step-03-graceful-exit.md +0 -1
  63. package/src/core/workflows/party-mode/workflow.md +2 -3
  64. package/src/modules/bmb/README.md +1 -1
  65. package/src/modules/bmb/_module-installer/install-config.yaml +4 -9
  66. package/src/modules/bmb/_module-installer/installer.js +76 -0
  67. package/src/modules/bmb/agents/bmad-builder.agent.yaml +32 -9
  68. package/src/modules/bmb/docs/agents/agent-menu-patterns.md +5 -5
  69. package/src/modules/bmb/docs/agents/expert-agent-architecture.md +20 -20
  70. package/src/modules/bmb/docs/agents/module-agent-architecture.md +45 -45
  71. package/src/modules/bmb/docs/agents/simple-agent-architecture.md +7 -3
  72. package/src/modules/bmb/docs/workflows/architecture.md +1 -1
  73. package/src/modules/bmb/docs/workflows/templates/step-01-init-continuable-template.md +241 -0
  74. package/src/modules/bmb/docs/workflows/templates/step-1b-template.md +223 -0
  75. package/src/modules/bmb/{workflows/create-workflow → docs/workflows}/templates/step-file.md +4 -4
  76. package/src/modules/bmb/docs/workflows/{step-template.md → templates/step-template.md} +40 -33
  77. package/src/modules/bmb/docs/workflows/templates/workflow-template.md +104 -0
  78. package/src/modules/bmb/{workflows/create-workflow → docs/workflows}/templates/workflow.md +1 -1
  79. package/src/modules/bmb/reference/agents/expert-examples/journal-keeper/README.md +4 -4
  80. package/src/modules/bmb/reference/agents/expert-examples/journal-keeper/journal-keeper.agent.yaml +8 -8
  81. package/src/modules/bmb/reference/agents/module-examples/security-engineer.agent.yaml +6 -6
  82. package/src/modules/bmb/reference/agents/module-examples/trend-analyst.agent.yaml +7 -7
  83. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-01-init.md +2 -3
  84. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-01b-continue.md +10 -40
  85. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-02-profile.md +1 -1
  86. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-03-assessment.md +1 -0
  87. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-04-strategy.md +2 -2
  88. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-05-shopping.md +2 -2
  89. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-06-prep-schedule.md +2 -2
  90. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/workflow.md +2 -2
  91. package/src/modules/bmb/workflows/create-agent/data/info-and-installation-guide.md +16 -4
  92. package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/README.md +4 -4
  93. package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/journal-keeper.agent.yaml +7 -7
  94. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-05-shopping.md +1 -1
  95. package/src/modules/bmb/workflows/create-agent/data/validation-complete.md +3 -3
  96. package/src/modules/bmb/workflows/create-agent/steps/step-01-brainstorm.md +3 -3
  97. package/src/modules/bmb/workflows/create-agent/steps/step-02-discover.md +3 -3
  98. package/src/modules/bmb/workflows/create-agent/steps/step-03-persona.md +3 -3
  99. package/src/modules/bmb/workflows/create-agent/steps/step-04-commands.md +6 -6
  100. package/src/modules/bmb/workflows/create-agent/steps/step-05-name.md +2 -2
  101. package/src/modules/bmb/workflows/create-agent/steps/step-06-build.md +3 -3
  102. package/src/modules/bmb/workflows/create-agent/steps/step-07-validate.md +3 -3
  103. package/src/modules/bmb/workflows/create-agent/steps/step-08-setup.md +2 -2
  104. package/src/modules/bmb/workflows/create-agent/steps/step-09-customize.md +3 -3
  105. package/src/modules/bmb/workflows/create-agent/steps/step-10-build-tools.md +2 -2
  106. package/src/modules/bmb/workflows/create-agent/steps/step-11-celebrate.md +2 -2
  107. package/src/modules/bmb/workflows/create-agent/workflow.md +11 -11
  108. package/src/modules/bmb/workflows/create-module/steps/step-01-init.md +155 -0
  109. package/src/modules/bmb/workflows/create-module/steps/step-01b-continue.md +169 -0
  110. package/src/modules/bmb/workflows/create-module/steps/step-02-concept.md +217 -0
  111. package/src/modules/bmb/workflows/create-module/steps/step-03-components.md +267 -0
  112. package/src/modules/bmb/workflows/create-module/steps/step-04-structure.md +228 -0
  113. package/src/modules/bmb/workflows/create-module/steps/step-05-config.md +233 -0
  114. package/src/modules/bmb/workflows/create-module/steps/step-06-agents.md +296 -0
  115. package/src/modules/bmb/workflows/create-module/steps/step-07-workflows.md +228 -0
  116. package/src/modules/bmb/workflows/create-module/steps/step-08-installer.md +186 -0
  117. package/src/modules/bmb/workflows/create-module/steps/step-09-documentation.md +308 -0
  118. package/src/modules/bmb/workflows/create-module/steps/step-10-roadmap.md +336 -0
  119. package/src/modules/bmb/workflows/create-module/steps/step-11-validate.md +335 -0
  120. package/src/modules/bmb/workflows/create-module/templates/agent.template.md +317 -0
  121. package/src/modules/bmb/workflows/create-module/templates/install-config.template.yaml +53 -0
  122. package/src/modules/bmb/workflows/create-module/templates/installer.template.js +47 -0
  123. package/src/modules/bmb/workflows/create-module/templates/module-plan.template.md +5 -0
  124. package/src/modules/bmb/workflows/create-module/templates/workflow-plan-template.md +23 -0
  125. package/src/modules/bmb/workflows/create-module/validation.md +126 -0
  126. package/src/modules/bmb/workflows/create-module/workflow.md +55 -0
  127. package/src/modules/bmb/workflows/create-workflow/steps/step-01-init.md +45 -56
  128. package/src/modules/bmb/workflows/create-workflow/steps/step-02-gather.md +9 -31
  129. package/src/modules/bmb/workflows/create-workflow/steps/step-03-tools-configuration.md +250 -0
  130. package/src/modules/bmb/workflows/create-workflow/steps/step-04-plan-review.md +216 -0
  131. package/src/modules/bmb/workflows/create-workflow/steps/step-05-output-format-design.md +289 -0
  132. package/src/modules/bmb/workflows/create-workflow/steps/{step-09-design.md → step-06-design.md} +76 -44
  133. package/src/modules/bmb/workflows/create-workflow/steps/{step-11-build.md → step-07-build.md} +70 -24
  134. package/src/modules/bmb/workflows/create-workflow/steps/{step-12-review.md → step-08-review.md} +30 -16
  135. package/src/modules/bmb/workflows/create-workflow/steps/step-09-complete.md +187 -0
  136. package/src/modules/bmb/workflows/create-workflow/workflow.md +2 -2
  137. package/src/modules/bmb/workflows/edit-agent/steps/step-01-discover-intent.md +2 -2
  138. package/src/modules/bmb/workflows/edit-agent/steps/step-02-analyze-agent.md +14 -14
  139. package/src/modules/bmb/workflows/edit-agent/steps/step-03-propose-changes.md +4 -4
  140. package/src/modules/bmb/workflows/edit-agent/steps/step-04-apply-changes.md +2 -2
  141. package/src/modules/bmb/workflows/edit-agent/steps/step-05-validate.md +4 -4
  142. package/src/modules/bmb/workflows/edit-agent/workflow.md +1 -1
  143. package/src/modules/bmb/workflows/edit-workflow/steps/step-01-analyze.md +2 -6
  144. package/src/modules/bmb/workflows/edit-workflow/steps/step-03-improve.md +2 -2
  145. package/src/modules/bmb/workflows/edit-workflow/steps/step-04-validate.md +1 -1
  146. package/src/modules/bmb/workflows/edit-workflow/workflow.md +1 -1
  147. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-01-validate-goal.md +2 -2
  148. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-02-workflow-validation.md +5 -5
  149. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-03-step-validation.md +7 -7
  150. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-04-file-validation.md +3 -3
  151. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-05-intent-spectrum-validation.md +3 -3
  152. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-06-web-subprocess-validation.md +3 -3
  153. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-07-holistic-analysis.md +3 -3
  154. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-08-generate-report.md +2 -2
  155. package/src/modules/bmb/workflows/workflow-compliance-check/workflow.md +1 -1
  156. package/src/modules/bmb/workflows-legacy/edit-module/checklist.md +0 -1
  157. package/src/modules/bmgd/workflows/3-technical/game-architecture/instructions.md +8 -8
  158. package/src/modules/bmm/_module-installer/install-config.yaml +1 -1
  159. package/src/modules/bmm/agents/analyst.agent.yaml +11 -8
  160. package/src/modules/bmm/agents/architect.agent.yaml +1 -5
  161. package/src/modules/bmm/agents/pm.agent.yaml +5 -5
  162. package/src/modules/bmm/docs/README.md +23 -1
  163. package/src/modules/bmm/docs/agents-guide.md +16 -35
  164. package/src/modules/bmm/docs/brownfield-guide.md +17 -30
  165. package/src/modules/bmm/docs/enterprise-agentic-development.md +2 -2
  166. package/src/modules/bmm/docs/faq.md +6 -39
  167. package/src/modules/bmm/docs/glossary.md +11 -24
  168. package/src/modules/bmm/docs/images/README.md +37 -0
  169. package/src/modules/bmm/docs/images/workflow-method-greenfield.excalidraw +62 -202
  170. package/src/modules/bmm/docs/images/workflow-method-greenfield.svg +3 -1
  171. package/src/modules/bmm/docs/quick-spec-flow.md +652 -0
  172. package/src/modules/bmm/docs/quick-start.md +9 -25
  173. package/src/modules/bmm/docs/test-architecture.md +6 -6
  174. package/src/modules/bmm/docs/troubleshooting.md +680 -0
  175. package/src/modules/bmm/docs/workflow-document-project-reference.md +1 -1
  176. package/src/modules/bmm/docs/workflows-implementation.md +143 -3
  177. package/src/modules/bmm/docs/workflows-solutioning.md +2 -2
  178. package/src/modules/bmm/tasks/daily-standup.xml +85 -0
  179. package/src/modules/bmm/testarch/knowledge/ci-burn-in.md +1 -1
  180. package/src/modules/bmm/testarch/knowledge/overview.md +1 -1
  181. package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-02-vision.md +2 -2
  182. package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-03-users.md +2 -2
  183. package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-04-metrics.md +2 -2
  184. package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-05-scope.md +2 -2
  185. package/src/modules/bmm/workflows/1-analysis/product-brief/workflow.md +1 -1
  186. package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-01-init.md +8 -8
  187. package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-02-domain-analysis.md +18 -18
  188. package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-03-competitive-landscape.md +18 -18
  189. package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-04-regulatory-focus.md +18 -18
  190. package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-05-technical-trends.md +17 -17
  191. package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-06-research-synthesis.md +35 -36
  192. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-01-init.md +5 -6
  193. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-02-customer-behavior.md +20 -19
  194. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-02-customer-insights.md +21 -20
  195. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-03-customer-pain-points.md +20 -19
  196. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-04-customer-decisions.md +21 -20
  197. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-05-competitive-analysis.md +16 -15
  198. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-06-research-completion.md +36 -37
  199. package/src/modules/bmm/workflows/1-analysis/research/research.template.md +0 -1
  200. package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-01-init.md +8 -8
  201. package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-02-technical-overview.md +19 -18
  202. package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-03-integration-patterns.md +20 -19
  203. package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-04-architectural-patterns.md +21 -20
  204. package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-05-implementation-research.md +19 -18
  205. package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-06-research-synthesis.md +38 -39
  206. package/src/modules/bmm/workflows/1-analysis/research/workflow.md +14 -8
  207. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/workflow.md +6 -0
  208. package/src/modules/bmm/workflows/2-plan-workflows/prd/prd-template.md +7 -0
  209. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-01-init.md +138 -56
  210. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-01b-continue.md +93 -51
  211. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-02-discovery.md +223 -78
  212. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-03-success.md +20 -2
  213. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-04-journeys.md +18 -0
  214. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-05-domain.md +21 -0
  215. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-06-innovation.md +21 -0
  216. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-07-project-type.md +21 -0
  217. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-08-scoping.md +18 -0
  218. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-09-functional.md +18 -0
  219. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-10-nonfunctional.md +18 -0
  220. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-11-complete.md +13 -0
  221. package/src/modules/bmm/workflows/2-plan-workflows/prd/workflow.md +2 -2
  222. package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-03-starter.md +14 -14
  223. package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-04-decisions.md +7 -7
  224. package/src/modules/bmm/workflows/3-solutioning/architecture/workflow.md +2 -1
  225. package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-01-validate-prerequisites.md +258 -0
  226. package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-02-design-epics.md +232 -0
  227. package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-03-create-stories.md +271 -0
  228. package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-04-final-validation.md +144 -0
  229. package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/templates/epics-template.md +57 -0
  230. package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/workflow.md +58 -0
  231. package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/steps/step-01-document-discovery.md +189 -0
  232. package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/steps/step-02-prd-analysis.md +177 -0
  233. package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/steps/step-03-epic-coverage-validation.md +178 -0
  234. package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/steps/step-04-ux-alignment.md +138 -0
  235. package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/steps/step-05-epic-quality-review.md +251 -0
  236. package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/steps/step-06-final-assessment.md +132 -0
  237. package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/templates/readiness-report-template.md +4 -0
  238. package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/workflow.md +54 -0
  239. package/src/modules/{bmgd/workflows/4-production → bmm/workflows/4-implementation}/code-review/checklist.md +2 -1
  240. package/src/modules/bmm/workflows/4-implementation/code-review/instructions.xml +51 -3
  241. package/src/modules/bmm/workflows/4-implementation/code-review/workflow.yaml +1 -1
  242. package/src/modules/bmm/workflows/4-implementation/create-story/instructions.xml +32 -2
  243. package/src/modules/bmm/workflows/4-implementation/retrospective/instructions.md +3 -3
  244. package/src/modules/bmm/workflows/4-implementation/sprint-planning/instructions.md +19 -21
  245. package/src/modules/bmm/workflows/4-implementation/sprint-planning/sprint-status-template.yaml +10 -10
  246. package/src/modules/bmm/workflows/4-implementation/sprint-status/instructions.md +174 -0
  247. package/src/modules/bmm/workflows/4-implementation/sprint-status/workflow.yaml +35 -0
  248. package/src/modules/bmm/workflows/bmad-quick-flow/quick-dev/instructions.md +104 -7
  249. package/src/modules/bmm/workflows/bmad-quick-flow/quick-dev/workflow.yaml +4 -0
  250. package/src/modules/bmm/workflows/document-project/instructions.md +1 -1
  251. package/src/modules/bmm/workflows/document-project/workflows/deep-dive-instructions.md +2 -2
  252. package/src/modules/bmm/workflows/generate-project-context/workflow.md +1 -1
  253. package/src/modules/bmm/workflows/testarch/atdd/atdd-checklist-template.md +1 -1
  254. package/src/modules/bmm/workflows/testarch/ci/checklist.md +1 -1
  255. package/src/modules/bmm/workflows/testarch/ci/github-actions-template.yaml +36 -3
  256. package/src/modules/bmm/workflows/testarch/ci/gitlab-ci-template.yaml +25 -4
  257. package/src/modules/bmm/workflows/testarch/ci/instructions.md +2 -2
  258. package/src/modules/bmm/workflows/testarch/test-review/instructions.md +1 -1
  259. package/src/modules/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +1 -6
  260. package/src/modules/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +1 -6
  261. package/src/modules/bmm/workflows/workflow-status/paths/method-brownfield.yaml +1 -6
  262. package/src/modules/bmm/workflows/workflow-status/paths/method-greenfield.yaml +1 -7
  263. package/tools/cli/README.md +3 -3
  264. package/tools/cli/commands/build.js +9 -184
  265. package/tools/cli/commands/install.js +1 -6
  266. package/tools/cli/installers/lib/core/config-collector.js +70 -10
  267. package/tools/cli/installers/lib/core/installer.js +153 -388
  268. package/tools/cli/installers/lib/core/manifest-generator.js +91 -30
  269. package/tools/cli/installers/lib/core/post-install-sidecar-replacement.js +79 -0
  270. package/tools/cli/installers/lib/custom/handler.js +266 -0
  271. package/tools/cli/installers/lib/ide/_base-ide.js +10 -0
  272. package/tools/cli/installers/lib/ide/auggie.js +19 -7
  273. package/tools/cli/installers/lib/ide/crush.js +19 -6
  274. package/tools/cli/installers/lib/ide/cursor.js +29 -13
  275. package/tools/cli/installers/lib/ide/gemini.js +49 -1
  276. package/tools/cli/installers/lib/ide/iflow.js +20 -1
  277. package/tools/cli/installers/lib/ide/kiro-cli.js +327 -0
  278. package/tools/cli/installers/lib/ide/opencode.js +3 -3
  279. package/tools/cli/installers/lib/ide/roo.js +120 -184
  280. package/tools/cli/installers/lib/ide/rovo-dev.js +1 -1
  281. package/tools/cli/installers/lib/ide/shared/agent-command-generator.js +8 -2
  282. package/tools/cli/installers/lib/ide/shared/bmad-artifacts.js +34 -19
  283. package/tools/cli/installers/lib/ide/shared/workflow-command-generator.js +18 -14
  284. package/tools/cli/installers/lib/ide/templates/agent-command-template.md +1 -1
  285. package/tools/cli/installers/lib/ide/templates/workflow-commander.md +5 -0
  286. package/tools/cli/installers/lib/modules/manager.js +486 -53
  287. package/tools/cli/lib/agent/compiler.js +54 -5
  288. package/tools/cli/lib/agent/installer.js +127 -27
  289. package/tools/cli/lib/config.js +2 -1
  290. package/tools/cli/lib/ui.js +65 -4
  291. package/tools/cli/lib/yaml-xml-builder.js +0 -15
  292. package/tools/schema/agent.js +149 -89
  293. package/tools/validate-svg-changes.sh +356 -0
  294. package/custom/src/agents/commit-poet/installation-guide.md +0 -36
  295. package/custom/src/agents/toolsmith/installation-guide.md +0 -36
  296. package/src/modules/bmb/docs/workflows/workflow-template.md +0 -152
  297. package/src/modules/bmb/workflows/create-workflow/steps/step-03-tools-overview.md +0 -127
  298. package/src/modules/bmb/workflows/create-workflow/steps/step-04-core-tools.md +0 -145
  299. package/src/modules/bmb/workflows/create-workflow/steps/step-05-memory-requirements.md +0 -136
  300. package/src/modules/bmb/workflows/create-workflow/steps/step-06-external-tools.md +0 -154
  301. package/src/modules/bmb/workflows/create-workflow/steps/step-07-installation-guidance.md +0 -159
  302. package/src/modules/bmb/workflows/create-workflow/steps/step-08-tools-summary.md +0 -167
  303. package/src/modules/bmb/workflows/create-workflow/steps/step-10-plan-review.md +0 -215
  304. package/src/modules/bmb/workflows/create-workflow/templates/build-summary.md +0 -36
  305. package/src/modules/bmb/workflows/create-workflow/templates/completion-section.md +0 -39
  306. package/src/modules/bmb/workflows/create-workflow/templates/content-template.md +0 -21
  307. package/src/modules/bmb/workflows/create-workflow/templates/design-section.md +0 -53
  308. package/src/modules/bmb/workflows/create-workflow/templates/project-info.md +0 -18
  309. package/src/modules/bmb/workflows/create-workflow/templates/requirements-section.md +0 -47
  310. package/src/modules/bmb/workflows/create-workflow/templates/review-section.md +0 -56
  311. package/src/modules/bmb/workflows/create-workflow/templates/workflow-plan.md +0 -54
  312. package/src/modules/bmb/workflows-legacy/create-module/README.md +0 -229
  313. package/src/modules/bmb/workflows-legacy/create-module/brainstorm-context.md +0 -137
  314. package/src/modules/bmb/workflows-legacy/create-module/checklist.md +0 -235
  315. package/src/modules/bmb/workflows-legacy/create-module/installer-templates/install-config.yaml +0 -92
  316. package/src/modules/bmb/workflows-legacy/create-module/installer-templates/installer.js +0 -231
  317. package/src/modules/bmb/workflows-legacy/create-module/instructions.md +0 -577
  318. package/src/modules/bmb/workflows-legacy/create-module/module-structure.md +0 -400
  319. package/src/modules/bmb/workflows-legacy/create-module/workflow.yaml +0 -52
  320. package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/epics-template.md +0 -80
  321. package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/instructions.md +0 -387
  322. package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/workflow.yaml +0 -53
  323. package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/checklist.md +0 -169
  324. package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/instructions.md +0 -332
  325. package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/template.md +0 -146
  326. package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/workflow.yaml +0 -64
  327. package/tools/cli/commands/agent-install.js +0 -409
  328. package/tools/cli/commands/cleanup.js +0 -141
  329. /package/{custom/src → example-custom-content}/agents/commit-poet/commit-poet.agent.yaml +0 -0
  330. /package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/knowledge/bundlers.md +0 -0
  331. /package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/knowledge/deploy.md +0 -0
  332. /package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/knowledge/docs.md +0 -0
  333. /package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/knowledge/installers.md +0 -0
  334. /package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/knowledge/modules.md +0 -0
  335. /package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/knowledge/tests.md +0 -0
@@ -0,0 +1,267 @@
1
+ ---
2
+ installed_path: '{project-root}/{bmad_folder}/bmb/workflows/create-module'
3
+ nextStepFile: '{installed_path}/steps/step-04-structure.md'
4
+ modulePlanFile: '{custom_module_location}/{module_name}/module-plan-{module_name}.md'
5
+ agent_examples_path: '{project-root}/src/modules/bmb/reference/agents/module-examples'
6
+ advancedElicitationTask: '{project-root}/{bmad_folder}/core/tasks/advanced-elicitation.xml'
7
+ partyModeWorkflow: '{project-root}/{bmad_folder}/core/workflows/party-mode/workflow.md'
8
+ ---
9
+
10
+ # Step 3: Plan Module Components
11
+
12
+ ## MANDATORY EXECUTION RULES (READ FIRST):
13
+
14
+ ### Universal Rules:
15
+
16
+ - 🛑 NEVER generate content without user input
17
+ - 📖 CRITICAL: Read the complete step file before taking any action
18
+ - 🔄 CRITICAL: When loading next step with 'C', ensure entire file is read
19
+ - 📋 YOU ARE A FACILITATOR, not a content generator
20
+
21
+ ### Role Reinforcement:
22
+
23
+ - ✅ You are a Module Architect and Systems Designer
24
+ - ✅ If you already have been given communication or persona patterns, continue to use those while playing this new role
25
+ - ✅ We engage in collaborative dialogue, not command-response
26
+ - ✅ You bring expertise in BMAD component design patterns, user brings their domain requirements
27
+ - ✅ Maintain collaborative, design-focused tone
28
+
29
+ ### Step-Specific Rules:
30
+
31
+ - 🎯 Focus ONLY on planning component architecture
32
+ - 🚫 FORBIDDEN to create actual components in this step
33
+ - 💬 Present component options with reasoning
34
+ - 🚫 FORBIDDEN to finalize component list without user agreement
35
+
36
+ ## EXECUTION PROTOCOLS:
37
+
38
+ - 🎯 Reference agent examples for patterns
39
+ - 💾 Document component plan in detail
40
+ - 📖 Add "step-03-components" to stepsCompleted array` before loading next step
41
+ - 🚫 FORBIDDEN to load next step until user selects 'C'
42
+
43
+ ## CONTEXT BOUNDARIES:
44
+
45
+ - Module concept from step 2 is available
46
+ - Focus on planning, not implementation
47
+ - Consider BMAD patterns and best practices
48
+ - Reference examples but don't copy exactly
49
+
50
+ ## STEP GOAL:
51
+
52
+ To design the component architecture for the module, determining what agents, workflows, and tasks are needed to fulfill the module's purpose.
53
+
54
+ ## COMPONENT PLANNING PROCESS:
55
+
56
+ ### 1. Initialize Component Planning
57
+
58
+ "Now that we have a clear module concept, let's plan the components that will bring it to life.
59
+
60
+ Based on your module's purpose and scope, we'll design:
61
+
62
+ - **Agents** - The AI personas that will help users
63
+ - **Workflows** - The step-by-step processes for accomplishing tasks
64
+ - **Tasks** - Quick utilities and supporting functions"
65
+
66
+ ### 2. Agent Planning
67
+
68
+ "**Agent Architecture:**
69
+
70
+ Think about the different roles or perspectives needed to accomplish your module's goals. Each agent should have a clear, distinct purpose."
71
+
72
+ Reference agent examples for patterns
73
+ Load and browse agent examples: {agent_examples_path}
74
+
75
+ "**Common Agent Patterns:**
76
+
77
+ - **Primary Agent** - The main interface/orchestrator
78
+ - **Specialist Agents** - Domain-specific experts
79
+ - **Utility Agents** - Helper/support functions
80
+
81
+ **Example by Module Type:**
82
+
83
+ **Technical Modules (e.g., DevOps, Testing):**
84
+
85
+ - Implementation Specialist
86
+ - Reviewer/Auditor
87
+ - Documentation Expert
88
+
89
+ **Creative Modules (e.g., Story Writing, Game Design):**
90
+
91
+ - Creative Director
92
+ - World Builder
93
+ - Content Generator
94
+
95
+ **Business Modules (e.g., Project Management):**
96
+
97
+ - Project Coordinator
98
+ - Facilitator
99
+ - Analyst"
100
+
101
+ "**For your {module_category} module, I suggest considering:**
102
+
103
+ [Suggest 2-4 specific agent types based on module concept]
104
+
105
+ **What resonates with your vision?** Which of these agents would be most valuable, and are there any others you'd like to add?"
106
+
107
+ ### 3. Workflow Planning
108
+
109
+ "**Workflow Design:**
110
+
111
+ Workflows are the step-by-step processes that users will follow to accomplish specific tasks. Each workflow should solve a specific problem or achieve a particular outcome."
112
+
113
+ **Types of Workflows:**
114
+
115
+ - **Document Workflows** - Generate reports, plans, specifications
116
+ - **Action Workflows** - Perform operations, create structures
117
+ - **Interactive Workflows** - Guided sessions, coaching, training
118
+
119
+ **Example Workflow Patterns:**
120
+
121
+ "For your module's purpose, consider these potential workflows:
122
+
123
+ 1. **[Primary Workflow Name]** - Main workflow for core functionality
124
+ 2. **[Supporting Workflow 1]** - For specific use case
125
+ 3. **[Supporting Workflow 2]** - For another use case
126
+
127
+ Remember: We'll create workflow PLANS first, not full implementations. These plans can be used later with the create-workflow workflow."
128
+
129
+ ### 4. Task Planning (Optional)
130
+
131
+ "**Task Planning (if needed):**
132
+
133
+ Tasks are single-operation utilities that don't need full workflows. They're good for:
134
+
135
+ - Quick actions
136
+ - Shared subroutines
137
+ - Helper functions
138
+
139
+ Does your module need any tasks? For example:
140
+
141
+ - Status checking
142
+ - Quick formatting
143
+ - Validation utilities"
144
+
145
+ ### 5. Component Integration Planning
146
+
147
+ "**How Components Work Together:**
148
+
149
+ Let's think about how your components will interact:
150
+
151
+ - **Agent Collaboration**: Will agents work together or independently?
152
+ - **Workflow Dependencies**: Do workflows need to call each other?
153
+ - **Task Usage**: Which workflows will use which tasks?"
154
+
155
+ ### 6. Component Priority and MVP
156
+
157
+ "**Starting Point (MVP):**
158
+
159
+ To ensure success, let's identify the minimum viable set:
160
+
161
+ **Must Have (Phase 1):**
162
+
163
+ - [List essential agents]
164
+ - [List essential workflows]
165
+
166
+ **Nice to Have (Phase 2):**
167
+
168
+ - [Additional agents]
169
+ - [Additional workflows]
170
+ - [Tasks if any]
171
+
172
+ This approach lets you launch with core functionality and expand later."
173
+
174
+ ### 7. Document Component Plan
175
+
176
+ Update module-plan.md with component section:
177
+
178
+ ```markdown
179
+ ## Component Architecture
180
+
181
+ ### Agents (N planned)
182
+
183
+ 1. **[Agent Name]** - [Brief purpose]
184
+ - Type: [Primary/Specialist/Utility]
185
+ - Role: [Specific role description]
186
+
187
+ 2. **[Agent Name]** - [Brief purpose]
188
+ - Type: [Primary/Specialist/Utility]
189
+ - Role: [Specific role description]
190
+
191
+ ### Workflows (N planned)
192
+
193
+ 1. **[Workflow Name]** - [Purpose]
194
+ - Type: [Document/Action/Interactive]
195
+ - Primary user: [Who uses this]
196
+ - Key output: [What it produces]
197
+
198
+ 2. **[Workflow Name]** - [Purpose]
199
+ - Type: [Document/Action/Interactive]
200
+ - Primary user: [Who uses this]
201
+ - Key output: [What it produces]
202
+
203
+ ### Tasks (N planned)
204
+
205
+ 1. **[Task Name]** - [Single-purpose function]
206
+ - Used by: [Which workflows/agents]
207
+
208
+ ### Component Integration
209
+
210
+ - Agents collaborate via: [description]
211
+ - Workflow dependencies: [description]
212
+ - Task usage patterns: [description]
213
+
214
+ ### Development Priority
215
+
216
+ **Phase 1 (MVP):**
217
+
218
+ - [List of components to create first]
219
+
220
+ **Phase 2 (Enhancement):**
221
+
222
+ - [List of components for later]
223
+ ```
224
+
225
+ ### 8. Present MENU OPTIONS
226
+
227
+ Display: **Select an Option:** [A] Advanced Elicitation [P] Party Mode [C] Continue
228
+
229
+ #### Menu Handling Logic:
230
+
231
+ - IF A: Execute {advancedElicitationTask} to explore alternative component architectures
232
+ - IF P: Execute {partyModeWorkflow} to get creative input on component design
233
+ - IF C: Save component plan to module-plan.md, add step-03-components to the end of the stepsCompleted array in frontmatter, then load nextStepFile
234
+ - IF Any other comments or queries: help user respond then redisplay menu
235
+
236
+ #### EXECUTION RULES:
237
+
238
+ - ALWAYS halt and wait for user input after presenting menu
239
+ - ONLY proceed to next step when user selects 'C'
240
+ - After other menu items execution, return to this menu
241
+ - User can chat or ask questions - always respond then end with display again of the menu options
242
+
243
+ ---
244
+
245
+ ## 🚨 SYSTEM SUCCESS/FAILURE METRICS
246
+
247
+ ### ✅ SUCCESS:
248
+
249
+ - Component architecture planned and documented
250
+ - Agent types and purposes clearly defined
251
+ - Workflow requirements identified
252
+ - Integration patterns established
253
+ - Development priority set (MVP vs enhancements)
254
+
255
+ ### ❌ SYSTEM FAILURE:
256
+
257
+ - Planning components without module purpose context
258
+ - Not considering BMAD patterns and examples
259
+ - Over-engineering (too many components)
260
+ - Under-planning (missing essential components)
261
+ - Not establishing development priorities
262
+
263
+ **Master Rule:** Skipping steps, optimizing sequences, or not following exact instructions is FORBIDDEN and constitutes SYSTEM FAILURE.
264
+
265
+ ## CRITICAL STEP COMPLETION NOTE
266
+
267
+ ONLY WHEN C is selected and component plan is saved to module-plan.md with stepsCompleted updated to [1, 2, 3], will you then load, read entire file, then execute `{nextStepFile}` to begin creating the module structure.
@@ -0,0 +1,228 @@
1
+ ---
2
+ installed_path: '{project-root}/{bmad_folder}/bmb/workflows/create-module'
3
+ nextStepFile: '{installed_path}/steps/step-05-config.md'
4
+ modulePlanFile: '{custom_module_location}/{module_name}/module-plan-{module_name}.md'
5
+ advancedElicitationTask: '{project-root}/{bmad_folder}/core/tasks/advanced-elicitation.xml'
6
+ partyModeWorkflow: '{project-root}/{bmad_folder}/core/workflows/party-mode/workflow.md'
7
+ ---
8
+
9
+ # Step 4: Create Module Structure
10
+
11
+ ## MANDATORY EXECUTION RULES (READ FIRST):
12
+
13
+ ### Universal Rules:
14
+
15
+ - 🛑 NEVER generate content without user input
16
+ - 📖 CRITICAL: Read the complete step file before taking any action
17
+ - 🔄 CRITICAL: When loading next step with 'C', ensure entire file is read
18
+ - 📋 YOU ARE A FACILITATOR, not a content generator
19
+
20
+ ### Role Reinforcement:
21
+
22
+ - ✅ You are a Module Architect and Systems Organizer
23
+ - ✅ If you already have been given communication or persona patterns, continue to use those while playing this new role
24
+ - ✅ We engage in collaborative dialogue, not command-response
25
+ - ✅ You bring expertise in BMAD structure patterns, user brings their component requirements
26
+ - ✅ Maintain collaborative, organized tone
27
+
28
+ ### Step-Specific Rules:
29
+
30
+ - 🎯 Focus ONLY on creating directory structure and determining complexity
31
+ - 🚫 FORBIDDEN to create actual component files in this step
32
+ - 💬 Explain structure decisions clearly
33
+ - 🚫 FORBIDDEN to proceed without confirming structure
34
+
35
+ ## EXECUTION PROTOCOLS:
36
+
37
+ - 🎯 Use component count to determine module type
38
+ - 💾 Create all required directories
39
+ - 📖 Add "step-04-structure" to stepsCompleted array` before loading next step
40
+ - 🚫 FORBIDDEN to load next step until user selects 'C'
41
+
42
+ ## CONTEXT BOUNDARIES:
43
+
44
+ - Component plan from step 3 is available
45
+ - Standard BMAD module structure to follow
46
+ - Focus on structure creation, not content
47
+ - Module folder already exists from step 1
48
+
49
+ ## STEP GOAL:
50
+
51
+ To determine the module's complexity type and create the complete directory structure for the module.
52
+
53
+ ## MODULE STRUCTURE CREATION PROCESS:
54
+
55
+ ### 1. Determine Module Complexity
56
+
57
+ "Based on your component plan, let's determine your module's complexity level:"
58
+
59
+ **Count Components:**
60
+
61
+ - Agents: [count from plan]
62
+ - Workflows: [count from plan]
63
+ - Tasks: [count from plan]
64
+
65
+ **Complexity Assessment:**
66
+
67
+ "**Simple Module Criteria:**
68
+
69
+ - 1-2 agents, all Simple type
70
+ - 1-3 workflows
71
+ - No complex integrations
72
+
73
+ **Standard Module Criteria:**
74
+
75
+ - 2-4 agents with mixed types
76
+ - 3-8 workflows
77
+ - Some shared resources
78
+
79
+ **Complex Module Criteria:**
80
+
81
+ - 4+ agents or multiple Module-type agents
82
+ - 8+ workflows
83
+ - Complex interdependencies
84
+ - External integrations"
85
+
86
+ "**Your module has:**
87
+
88
+ - [agent_count] agents
89
+ - [workflow_count] workflows
90
+ - [task_count] tasks
91
+
92
+ **This makes it a: [Simple/Standard/Complex] Module**"
93
+
94
+ ### 2. Present Module Structure
95
+
96
+ "**Standard BMAD Module Structure:**
97
+
98
+ For a [module type] module, we'll create this structure:"
99
+
100
+ ```
101
+ {module_code}/
102
+ ├── agents/ # Agent definitions (.md)
103
+ │ ├── [agent-name].md
104
+ │ └── ...
105
+ ├── workflows/ # Workflow folders
106
+ │ ├── [workflow-name]/
107
+ │ │ ├── workflow-plan.md # Descriptive plan
108
+ │ │ └── README.md # Workflow documentation
109
+ │ └── ...
110
+ ├── tasks/ # Task files (if any)
111
+ │ └── [task-name].md
112
+ ├── templates/ # Shared templates
113
+ │ └── [template-files]
114
+ ├── data/ # Module data files
115
+ │ └── [data-files]
116
+ ├── _module-installer/ # Installation configuration
117
+ │ ├── install-config.yaml # Required
118
+ │ ├── installer.js # Optional
119
+ │ └── assets/ # Optional install assets
120
+ └── README.md # Module documentation
121
+ ```
122
+
123
+ ### 3. Create Directory Structure
124
+
125
+ Create all directories in {custom_module_location}/{module_name}/:
126
+
127
+ 1. **agents/** - For agent definition files
128
+ 2. **workflows/** - For workflow folders
129
+ 3. **tasks/** - For task files (if tasks planned)
130
+ 4. **templates/** - For shared templates
131
+ 5. **data/** - For module data
132
+ 6. **\_module-installer/** - For installation configuration
133
+
134
+ ### 4. Create Placeholder README
135
+
136
+ Create initial README.md with basic structure:
137
+
138
+ ````markdown
139
+ # {module_display_name}
140
+
141
+ {module_purpose}
142
+
143
+ ## Installation
144
+
145
+ ```bash
146
+ bmad install {module_code}
147
+ ```
148
+ ````
149
+
150
+ ## Components
151
+
152
+ _Module documentation will be completed in Step 9_
153
+
154
+ ## Quick Start
155
+
156
+ _Getting started guide will be added in Step 9_
157
+
158
+ ---
159
+
160
+ _This module is currently under construction_
161
+
162
+ ````
163
+
164
+ ### 5. Document Structure Creation
165
+
166
+ Update module-plan.md with structure section:
167
+
168
+ ```markdown
169
+ ## Module Structure
170
+
171
+ **Module Type:** [Simple/Standard/Complex]
172
+ **Location:** {custom_module_location}/{module_name}
173
+
174
+ **Directory Structure Created:**
175
+ - ✅ agents/
176
+ - ✅ workflows/
177
+ - ✅ tasks/
178
+ - ✅ templates/
179
+ - ✅ data/
180
+ - ✅ _module-installer/
181
+ - ✅ README.md (placeholder)
182
+
183
+ **Rationale for Type:**
184
+ [Explain why it's Simple/Standard/Complex based on component counts]
185
+ ````
186
+
187
+ ### 6. Present MENU OPTIONS
188
+
189
+ Display: **Select an Option:** [A] Advanced Elicitation [P] Party Mode [C] Continue
190
+
191
+ #### Menu Handling Logic:
192
+
193
+ - IF A: Execute {advancedElicitationTask} to explore alternative structure approaches
194
+ - IF P: Execute {partyModeWorkflow} to get creative input on organization
195
+ - IF C: Save structure info to module-plan.md, add step-04-structure to the end of the stepsCompleted array in frontmatter, then load nextStepFile
196
+ - IF Any other comments or queries: help user respond then redisplay menu
197
+
198
+ #### EXECUTION RULES:
199
+
200
+ - ALWAYS halt and wait for user input after presenting menu
201
+ - ONLY proceed to next step when user selects 'C'
202
+ - After other menu items execution, return to this menu
203
+ - User can chat or ask questions - always respond then end with display again of the menu options
204
+
205
+ ---
206
+
207
+ ## 🚨 SYSTEM SUCCESS/FAILURE METRICS
208
+
209
+ ### ✅ SUCCESS:
210
+
211
+ - Module complexity correctly determined
212
+ - All required directories created
213
+ - Structure follows BMAD standards
214
+ - Placeholder README created
215
+ - Structure documented in plan
216
+
217
+ ### ❌ SYSTEM FAILURE:
218
+
219
+ - Not creating all required directories
220
+ - Incorrectly categorizing module complexity
221
+ - Not following BMAD structure patterns
222
+ - Creating component files prematurely
223
+
224
+ **Master Rule:** Skipping steps, optimizing sequences, or not following exact instructions is FORBIDDEN and constitutes SYSTEM FAILURE.
225
+
226
+ ## CRITICAL STEP COMPLETION NOTE
227
+
228
+ ONLY WHEN C is selected and structure is saved to module-plan.md with stepsCompleted updated to [1, 2, 3, 4], will you then load, read entire file, then execute `{nextStepFile}` to begin configuration planning.