bmad-method 6.0.0-alpha.21 → 6.0.0-alpha.23

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 (812) hide show
  1. package/.coderabbit.yaml +2 -2
  2. package/.github/workflows/docs.yaml +3 -12
  3. package/.vscode/settings.json +1 -0
  4. package/CHANGELOG.md +309 -0
  5. package/CNAME +1 -0
  6. package/CONTRIBUTING.md +9 -7
  7. package/README.md +41 -207
  8. package/docs/404.md +9 -0
  9. package/{src/modules/bmm/docs/images/README.md → docs/_README_WORKFLOW_DIAGRAMS.md} +4 -1
  10. package/docs/_STYLE_GUIDE.md +347 -0
  11. package/docs/_archive/getting-started-bmadv4.md +247 -0
  12. package/{website/src/pages → docs}/downloads.md +17 -26
  13. package/{src/modules/bmm/docs/quick-flow-solo-dev.md → docs/explanation/agents/barry-quick-flow.md} +18 -15
  14. package/docs/explanation/agents/index.md +28 -0
  15. package/docs/explanation/architecture/four-phases.md +126 -0
  16. package/docs/explanation/architecture/preventing-agent-conflicts.md +138 -0
  17. package/docs/explanation/architecture/why-solutioning-matters.md +91 -0
  18. package/docs/{custom-content.md → explanation/bmad-builder/custom-content-types.md} +19 -21
  19. package/docs/explanation/bmad-builder/index.md +66 -0
  20. package/docs/explanation/bmm/index.md +135 -0
  21. package/docs/explanation/core/index.md +18 -0
  22. package/docs/explanation/core-concepts/agent-roles.md +204 -0
  23. package/docs/explanation/core-concepts/index.md +40 -0
  24. package/docs/explanation/core-concepts/what-are-agents.md +96 -0
  25. package/docs/explanation/core-concepts/what-are-modules.md +79 -0
  26. package/docs/explanation/core-concepts/what-are-workflows.md +217 -0
  27. package/{src/modules/cis/docs → docs/explanation/creative-intelligence}/index.md +26 -54
  28. package/docs/explanation/faq/brownfield-faq.md +73 -0
  29. package/docs/explanation/faq/getting-started-faq.md +62 -0
  30. package/docs/explanation/faq/implementation-faq.md +52 -0
  31. package/docs/explanation/faq/index.md +16 -0
  32. package/docs/explanation/faq/levels-and-tracks-faq.md +52 -0
  33. package/docs/explanation/faq/planning-faq.md +41 -0
  34. package/docs/explanation/faq/tools-faq.md +253 -0
  35. package/docs/explanation/faq/workflows-faq.md +61 -0
  36. package/docs/explanation/features/advanced-elicitation.md +108 -0
  37. package/docs/explanation/features/brainstorming-techniques.md +103 -0
  38. package/{src/modules/bmm/docs → docs/explanation/features}/party-mode.md +11 -123
  39. package/docs/explanation/features/quick-flow.md +169 -0
  40. package/{src/modules/bmm/docs/test-architecture.md → docs/explanation/features/tea-overview.md} +160 -118
  41. package/docs/explanation/features/web-bundles.md +35 -0
  42. package/{src/modules/bmgd/docs/agents-guide.md → docs/explanation/game-dev/agents.md} +8 -5
  43. package/docs/explanation/game-dev/bmgd-vs-bmm.md +150 -0
  44. package/{src/modules/bmgd/docs/game-types-guide.md → docs/explanation/game-dev/game-types.md} +7 -4
  45. package/docs/explanation/game-dev/index.md +85 -0
  46. package/docs/explanation/philosophy/facilitation-over-generation.md +121 -0
  47. package/docs/explanation/philosophy/testing-as-engineering.md +119 -0
  48. package/docs/how-to/brownfield/add-feature-to-existing.md +91 -0
  49. package/docs/how-to/brownfield/document-existing-project.md +84 -0
  50. package/docs/how-to/brownfield/index.md +102 -0
  51. package/docs/how-to/brownfield/quick-fix-in-brownfield.md +94 -0
  52. package/docs/{agent-customization-guide.md → how-to/customization/customize-agents.md} +10 -10
  53. package/docs/how-to/customization/customize-workflows.md +33 -0
  54. package/docs/how-to/customization/index.md +27 -0
  55. package/docs/how-to/customization/shard-large-documents.md +125 -0
  56. package/docs/how-to/customization/vendor-workflows.md +45 -0
  57. package/docs/how-to/get-answers-about-bmad.md +98 -0
  58. package/docs/how-to/installation/index.md +15 -0
  59. package/docs/how-to/installation/install-bmad.md +138 -0
  60. package/docs/{custom-content-installation.md → how-to/installation/install-custom-modules.md} +17 -14
  61. package/docs/how-to/installation/upgrade-to-v6.md +147 -0
  62. package/{src/modules/bmgd/docs/troubleshooting.md → docs/how-to/troubleshooting/bmgd-troubleshooting.md} +7 -5
  63. package/{src/modules/bmgd/docs/quick-flow-guide.md → docs/how-to/workflows/bmgd-quick-flow.md} +8 -5
  64. package/docs/how-to/workflows/conduct-research.md +130 -0
  65. package/docs/how-to/workflows/create-architecture.md +147 -0
  66. package/docs/how-to/workflows/create-epics-and-stories.md +136 -0
  67. package/docs/how-to/workflows/create-prd.md +130 -0
  68. package/docs/how-to/workflows/create-product-brief.md +117 -0
  69. package/docs/how-to/workflows/create-story.md +119 -0
  70. package/docs/how-to/workflows/create-ux-design.md +117 -0
  71. package/docs/how-to/workflows/implement-story.md +127 -0
  72. package/docs/how-to/workflows/quick-spec.md +159 -0
  73. package/docs/how-to/workflows/run-brainstorming-session.md +94 -0
  74. package/docs/how-to/workflows/run-code-review.md +141 -0
  75. package/docs/how-to/workflows/run-implementation-readiness.md +162 -0
  76. package/docs/how-to/workflows/run-sprint-planning.md +111 -0
  77. package/docs/how-to/workflows/run-test-design.md +128 -0
  78. package/docs/how-to/workflows/setup-party-mode.md +117 -0
  79. package/docs/how-to/workflows/setup-test-framework.md +113 -0
  80. package/docs/index.md +33 -113
  81. package/{src/modules/bmm/docs/agents-guide.md → docs/reference/agents/index.md} +36 -39
  82. package/docs/reference/configuration/core-tasks.md +67 -0
  83. package/docs/reference/configuration/global-config.md +14 -0
  84. package/{src/modules/bmm/docs/glossary.md → docs/reference/glossary/index.md} +90 -24
  85. package/{src/modules/bmgd/docs/workflows-guide.md → docs/reference/workflows/bmgd-workflows.md} +11 -8
  86. package/docs/reference/workflows/core-workflows.md +33 -0
  87. package/docs/reference/workflows/document-project.md +74 -0
  88. package/docs/reference/workflows/index.md +16 -0
  89. package/docs/tutorials/advanced/create-custom-agent.md +171 -0
  90. package/docs/tutorials/getting-started/getting-started-bmadv6.md +246 -0
  91. package/docs/tutorials/getting-started/quick-start-bmgd.md +260 -0
  92. package/docs/tutorials/getting-started/workflow-overview.jpg +0 -0
  93. package/eslint.config.mjs +2 -2
  94. package/package.json +10 -10
  95. package/samples/sample-custom-modules/README.md +1 -1
  96. package/samples/sample-custom-modules/sample-unitary-module/agents/commit-poet/commit-poet.agent.yaml +1 -0
  97. package/samples/sample-custom-modules/sample-unitary-module/agents/toolsmith/toolsmith-sidecar/knowledge/docs.md +0 -5
  98. package/samples/sample-custom-modules/sample-unitary-module/agents/toolsmith/toolsmith-sidecar/knowledge/installers.md +1 -1
  99. package/samples/sample-custom-modules/sample-unitary-module/agents/toolsmith/toolsmith-sidecar/knowledge/modules.md +1 -1
  100. package/samples/sample-custom-modules/sample-unitary-module/workflows/quiz-master/steps/step-01-init.md +3 -3
  101. package/samples/sample-custom-modules/sample-unitary-module/workflows/quiz-master/steps/step-02-q1.md +3 -3
  102. package/samples/sample-custom-modules/sample-unitary-module/workflows/quiz-master/steps/step-03-q2.md +3 -3
  103. package/samples/sample-custom-modules/sample-unitary-module/workflows/quiz-master/steps/step-04-q3.md +3 -3
  104. package/samples/sample-custom-modules/sample-unitary-module/workflows/quiz-master/steps/step-05-q4.md +3 -3
  105. package/samples/sample-custom-modules/sample-unitary-module/workflows/quiz-master/steps/step-06-q5.md +3 -3
  106. package/samples/sample-custom-modules/sample-unitary-module/workflows/quiz-master/steps/step-07-q6.md +3 -3
  107. package/samples/sample-custom-modules/sample-unitary-module/workflows/quiz-master/steps/step-08-q7.md +3 -3
  108. package/samples/sample-custom-modules/sample-unitary-module/workflows/quiz-master/steps/step-09-q8.md +3 -3
  109. package/samples/sample-custom-modules/sample-unitary-module/workflows/quiz-master/steps/step-10-q9.md +3 -3
  110. package/samples/sample-custom-modules/sample-unitary-module/workflows/quiz-master/steps/step-11-q10.md +3 -3
  111. package/samples/sample-custom-modules/sample-unitary-module/workflows/quiz-master/steps/step-12-results.md +2 -2
  112. package/samples/sample-custom-modules/sample-unitary-module/workflows/quiz-master/workflow.md +1 -1
  113. package/samples/sample-custom-modules/sample-wellness-module/agents/meditation-guide.agent.yaml +1 -0
  114. package/src/core/agents/bmad-master.agent.yaml +1 -0
  115. package/src/core/{tools → tasks}/shard-doc.xml +2 -2
  116. package/src/core/tasks/workflow.xml +1 -1
  117. package/src/core/{tasks/advanced-elicitation.xml → workflows/advanced-elicitation/workflow.xml} +3 -2
  118. package/src/core/workflows/brainstorming/steps/step-01-session-setup.md +1 -0
  119. package/src/core/workflows/brainstorming/steps/step-01b-continue.md +1 -0
  120. package/src/core/workflows/brainstorming/steps/step-02a-user-selected.md +1 -0
  121. package/src/core/workflows/brainstorming/steps/step-02b-ai-recommended.md +1 -0
  122. package/src/core/workflows/brainstorming/steps/step-02c-random-selection.md +1 -0
  123. package/src/core/workflows/brainstorming/steps/step-02d-progressive-flow.md +1 -0
  124. package/src/core/workflows/brainstorming/steps/step-03-technique-execution.md +69 -9
  125. package/src/core/workflows/brainstorming/steps/step-04-idea-organization.md +1 -0
  126. package/src/core/workflows/brainstorming/workflow.md +8 -1
  127. package/src/core/workflows/party-mode/steps/step-01-agent-loading.md +1 -0
  128. package/src/core/workflows/party-mode/steps/step-02-discussion-orchestration.md +1 -0
  129. package/src/core/workflows/party-mode/steps/step-03-graceful-exit.md +1 -0
  130. package/src/core/workflows/party-mode/workflow.md +1 -1
  131. package/src/modules/bmb/agents/agent-builder.agent.yaml +7 -2
  132. package/src/modules/bmb/agents/module-builder.agent.yaml +5 -8
  133. package/src/modules/bmb/agents/workflow-builder.agent.yaml +16 -7
  134. package/src/modules/bmb/workflows/agent/data/agent-compilation.md +273 -0
  135. package/src/modules/bmb/workflows/agent/data/agent-menu-patterns.md +233 -0
  136. package/src/modules/bmb/workflows/agent/data/agent-metadata.md +208 -0
  137. package/src/modules/bmb/workflows/{create-agent → agent}/data/brainstorm-context.md +3 -10
  138. package/src/modules/bmb/workflows/{create-agent → agent}/data/communication-presets.csv +1 -1
  139. package/src/modules/bmb/workflows/agent/data/critical-actions.md +120 -0
  140. package/src/modules/bmb/workflows/agent/data/expert-agent-architecture.md +236 -0
  141. package/src/modules/bmb/workflows/agent/data/expert-agent-validation.md +174 -0
  142. package/src/modules/bmb/workflows/agent/data/module-agent-validation.md +126 -0
  143. package/src/modules/bmb/workflows/agent/data/persona-properties.md +266 -0
  144. package/src/modules/bmb/workflows/agent/data/principles-crafting.md +292 -0
  145. package/src/modules/bmb/workflows/agent/data/reference/expert-examples/journal-keeper/journal-keeper-sidecar/entries/yy-mm-dd-entry-template.md +17 -0
  146. package/src/modules/bmb/workflows/{create-agent/data/reference/agents → agent/data/reference}/expert-examples/journal-keeper/journal-keeper.agent.yaml +26 -25
  147. package/src/modules/bmb/workflows/agent/data/reference/module-examples/architect.agent.yaml +32 -0
  148. package/src/modules/bmb/workflows/agent/data/reference/module-examples/architect.md +68 -0
  149. package/src/modules/bmb/workflows/{create-agent/data/reference/agents → agent/data/reference}/module-examples/security-engineer.agent.yaml +1 -0
  150. package/src/modules/bmb/workflows/{create-agent/data/reference/agents → agent/data/reference}/module-examples/trend-analyst.agent.yaml +1 -0
  151. package/src/modules/bmb/workflows/{create-agent/data/reference/agents → agent/data/reference}/simple-examples/commit-poet.agent.yaml +15 -14
  152. package/src/modules/bmb/workflows/agent/data/simple-agent-architecture.md +204 -0
  153. package/src/modules/bmb/workflows/agent/data/simple-agent-validation.md +133 -0
  154. package/src/modules/bmb/workflows/agent/data/understanding-agent-types.md +222 -0
  155. package/src/modules/bmb/workflows/{create-agent/steps → agent/steps-c}/step-01-brainstorm.md +9 -26
  156. package/src/modules/bmb/workflows/agent/steps-c/step-02-discovery.md +170 -0
  157. package/src/modules/bmb/workflows/agent/steps-c/step-03-type-metadata.md +296 -0
  158. package/src/modules/bmb/workflows/agent/steps-c/step-04-persona.md +212 -0
  159. package/src/modules/bmb/workflows/agent/steps-c/step-05-commands-menu.md +178 -0
  160. package/src/modules/bmb/workflows/agent/steps-c/step-06-activation.md +279 -0
  161. package/src/modules/bmb/workflows/agent/steps-c/step-07a-build-simple.md +187 -0
  162. package/src/modules/bmb/workflows/agent/steps-c/step-07b-build-expert.md +201 -0
  163. package/src/modules/bmb/workflows/agent/steps-c/step-07c-build-module.md +258 -0
  164. package/src/modules/bmb/workflows/agent/steps-c/step-08-celebrate.md +249 -0
  165. package/src/modules/bmb/workflows/agent/steps-e/e-01-load-existing.md +221 -0
  166. package/src/modules/bmb/workflows/agent/steps-e/e-02-discover-edits.md +193 -0
  167. package/src/modules/bmb/workflows/agent/steps-e/e-03-placeholder.md +1 -0
  168. package/src/modules/bmb/workflows/agent/steps-e/e-04-type-metadata.md +124 -0
  169. package/src/modules/bmb/workflows/agent/steps-e/e-05-persona.md +134 -0
  170. package/src/modules/bmb/workflows/agent/steps-e/e-06-commands-menu.md +122 -0
  171. package/src/modules/bmb/workflows/agent/steps-e/e-07-activation.md +125 -0
  172. package/src/modules/bmb/workflows/agent/steps-e/e-08a-edit-simple.md +137 -0
  173. package/src/modules/bmb/workflows/agent/steps-e/e-08b-edit-expert.md +119 -0
  174. package/src/modules/bmb/workflows/agent/steps-e/e-08c-edit-module.md +123 -0
  175. package/src/modules/bmb/workflows/agent/steps-e/e-09-celebrate.md +155 -0
  176. package/src/modules/bmb/workflows/agent/steps-v/v-01-load-review.md +136 -0
  177. package/src/modules/bmb/workflows/agent/steps-v/v-02a-validate-metadata.md +116 -0
  178. package/src/modules/bmb/workflows/agent/steps-v/v-02b-validate-persona.md +124 -0
  179. package/src/modules/bmb/workflows/agent/steps-v/v-02c-validate-menu.md +145 -0
  180. package/src/modules/bmb/workflows/agent/steps-v/v-02d-validate-structure.md +136 -0
  181. package/src/modules/bmb/workflows/agent/steps-v/v-02e-validate-sidecar.md +136 -0
  182. package/src/modules/bmb/workflows/agent/steps-v/v-03-summary.md +104 -0
  183. package/src/modules/bmb/workflows/agent/templates/agent-plan.template.md +5 -0
  184. package/src/modules/bmb/workflows/agent/templates/expert-agent-template/expert-agent-sidecar/instructions.md.template +20 -0
  185. package/src/modules/bmb/workflows/agent/templates/expert-agent-template/expert-agent-sidecar/memories.md.template +18 -0
  186. package/src/modules/bmb/workflows/agent/templates/expert-agent-template/expert-agent.template.md +77 -0
  187. package/src/modules/bmb/workflows/agent/templates/simple-agent.template.md +72 -0
  188. package/src/modules/bmb/workflows/agent/workflow.md +123 -0
  189. package/src/modules/bmb/workflows/module/data/agent-architecture.md +179 -0
  190. package/src/modules/bmb/workflows/module/data/agent-spec-template.md +79 -0
  191. package/src/modules/bmb/workflows/module/data/module-installer-standards.md +348 -0
  192. package/src/modules/bmb/workflows/module/data/module-standards.md +280 -0
  193. package/src/modules/bmb/workflows/module/data/module-yaml-conventions.md +392 -0
  194. package/src/modules/bmb/workflows/module/steps-b/step-01-welcome.md +147 -0
  195. package/src/modules/bmb/workflows/module/steps-b/step-02-spark.md +140 -0
  196. package/src/modules/bmb/workflows/module/steps-b/step-03-module-type.md +148 -0
  197. package/src/modules/bmb/workflows/module/steps-b/step-04-vision.md +82 -0
  198. package/src/modules/bmb/workflows/module/steps-b/step-05-identity.md +96 -0
  199. package/src/modules/bmb/workflows/module/steps-b/step-06-users.md +85 -0
  200. package/src/modules/bmb/workflows/module/steps-b/step-07-value.md +75 -0
  201. package/src/modules/bmb/workflows/module/steps-b/step-08-agents.md +96 -0
  202. package/src/modules/bmb/workflows/module/steps-b/step-09-workflows.md +82 -0
  203. package/src/modules/bmb/workflows/module/steps-b/step-10-tools.md +90 -0
  204. package/src/modules/bmb/workflows/module/steps-b/step-11-scenarios.md +83 -0
  205. package/src/modules/bmb/workflows/module/steps-b/step-12-creative.md +94 -0
  206. package/src/modules/bmb/workflows/module/steps-b/step-13-review.md +104 -0
  207. package/src/modules/bmb/workflows/module/steps-b/step-14-finalize.md +117 -0
  208. package/src/modules/bmb/workflows/module/steps-c/step-01-load-brief.md +178 -0
  209. package/src/modules/bmb/workflows/module/steps-c/step-01b-continue.md +83 -0
  210. package/src/modules/bmb/workflows/module/steps-c/step-02-structure.md +109 -0
  211. package/src/modules/bmb/workflows/module/steps-c/step-03-config.md +118 -0
  212. package/src/modules/bmb/workflows/module/steps-c/step-04-installer.md +160 -0
  213. package/src/modules/bmb/workflows/module/steps-c/step-05-agents.md +167 -0
  214. package/src/modules/bmb/workflows/module/steps-c/step-06-workflows.md +183 -0
  215. package/src/modules/bmb/workflows/module/steps-c/step-07-docs.md +402 -0
  216. package/src/modules/bmb/workflows/module/steps-c/step-08-complete.md +123 -0
  217. package/src/modules/bmb/workflows/module/steps-e/step-01-load-target.md +81 -0
  218. package/src/modules/bmb/workflows/module/steps-e/step-02-select-edit.md +77 -0
  219. package/src/modules/bmb/workflows/module/steps-e/step-03-apply-edit.md +77 -0
  220. package/src/modules/bmb/workflows/module/steps-e/step-04-review.md +80 -0
  221. package/src/modules/bmb/workflows/module/steps-e/step-05-confirm.md +75 -0
  222. package/src/modules/bmb/workflows/module/steps-v/step-01-load-target.md +96 -0
  223. package/src/modules/bmb/workflows/module/steps-v/step-02-file-structure.md +94 -0
  224. package/src/modules/bmb/workflows/module/steps-v/step-03-module-yaml.md +99 -0
  225. package/src/modules/bmb/workflows/module/steps-v/step-04-agent-specs.md +152 -0
  226. package/src/modules/bmb/workflows/module/steps-v/step-05-workflow-specs.md +152 -0
  227. package/src/modules/bmb/workflows/module/steps-v/step-06-documentation.md +143 -0
  228. package/src/modules/bmb/workflows/module/steps-v/step-07-installation.md +113 -0
  229. package/src/modules/bmb/workflows/module/steps-v/step-08-report.md +197 -0
  230. package/src/modules/bmb/workflows/module/templates/brief-template.md +154 -0
  231. package/src/modules/bmb/workflows/module/templates/workflow-spec-template.md +96 -0
  232. package/src/modules/bmb/workflows/module/workflow.md +100 -0
  233. package/src/modules/bmb/workflows/workflow/data/architecture.md +152 -0
  234. package/src/modules/bmb/{docs/workflows → workflows/workflow/data}/common-workflow-tools.csv +1 -1
  235. package/src/modules/bmb/workflows/workflow/data/csv-data-file-standards.md +81 -0
  236. package/src/modules/bmb/workflows/workflow/data/frontmatter-standards.md +225 -0
  237. package/src/modules/bmb/workflows/workflow/data/input-discovery-standards.md +269 -0
  238. package/src/modules/bmb/workflows/workflow/data/intent-vs-prescriptive-spectrum.md +50 -0
  239. package/src/modules/bmb/workflows/workflow/data/menu-handling-standards.md +167 -0
  240. package/src/modules/bmb/workflows/workflow/data/output-format-standards.md +188 -0
  241. package/src/modules/bmb/workflows/workflow/data/step-file-rules.md +235 -0
  242. package/src/modules/bmb/workflows/workflow/data/step-type-patterns.md +311 -0
  243. package/src/modules/bmb/workflows/workflow/data/subprocess-optimization-patterns.md +386 -0
  244. package/src/modules/bmb/workflows/workflow/data/trimodal-workflow-structure.md +209 -0
  245. package/src/modules/bmb/workflows/workflow/data/workflow-chaining-standards.md +271 -0
  246. package/src/modules/bmb/workflows/workflow/data/workflow-examples.md +276 -0
  247. package/src/modules/bmb/workflows/workflow/data/workflow-type-criteria.md +172 -0
  248. package/src/modules/bmb/workflows/workflow/steps-c/step-00-conversion.md +262 -0
  249. package/src/modules/bmb/workflows/workflow/steps-c/step-01-discovery.md +194 -0
  250. package/src/modules/bmb/workflows/workflow/steps-c/step-01b-continuation.md +3 -0
  251. package/src/modules/bmb/workflows/workflow/steps-c/step-02-classification.md +269 -0
  252. package/src/modules/bmb/workflows/workflow/steps-c/step-03-requirements.md +282 -0
  253. package/src/modules/bmb/workflows/workflow/steps-c/step-04-tools.md +281 -0
  254. package/src/modules/bmb/workflows/workflow/steps-c/step-05-plan-review.md +242 -0
  255. package/src/modules/bmb/workflows/{create-workflow/steps → workflow/steps-c}/step-06-design.md +96 -38
  256. package/src/modules/bmb/workflows/workflow/steps-c/step-07-foundation.md +238 -0
  257. package/src/modules/bmb/workflows/workflow/steps-c/step-08-build-step-01.md +377 -0
  258. package/src/modules/bmb/workflows/workflow/steps-c/step-09-build-next-step.md +350 -0
  259. package/src/modules/bmb/workflows/workflow/steps-c/step-10-confirmation.md +320 -0
  260. package/src/modules/bmb/workflows/workflow/steps-c/step-11-completion.md +191 -0
  261. package/src/modules/bmb/workflows/workflow/steps-e/step-e-01-assess-workflow.md +237 -0
  262. package/src/modules/bmb/workflows/workflow/steps-e/step-e-02-discover-edits.md +248 -0
  263. package/src/modules/bmb/workflows/workflow/steps-e/step-e-03-fix-validation.md +252 -0
  264. package/src/modules/bmb/workflows/workflow/steps-e/step-e-04-direct-edit.md +275 -0
  265. package/src/modules/bmb/workflows/workflow/steps-e/step-e-05-apply-edit.md +154 -0
  266. package/src/modules/bmb/workflows/workflow/steps-e/step-e-06-validate-after.md +190 -0
  267. package/src/modules/bmb/workflows/workflow/steps-e/step-e-07-complete.md +206 -0
  268. package/src/modules/bmb/workflows/workflow/steps-v/step-01-validate-max-mode.md +109 -0
  269. package/src/modules/bmb/workflows/workflow/steps-v/step-01-validate.md +221 -0
  270. package/src/modules/bmb/workflows/workflow/steps-v/step-01b-structure.md +152 -0
  271. package/src/modules/bmb/workflows/workflow/steps-v/step-02-frontmatter-validation.md +199 -0
  272. package/src/modules/bmb/workflows/workflow/steps-v/step-02b-path-violations.md +265 -0
  273. package/src/modules/bmb/workflows/workflow/steps-v/step-03-menu-validation.md +164 -0
  274. package/src/modules/bmb/workflows/workflow/steps-v/step-04-step-type-validation.md +211 -0
  275. package/src/modules/bmb/workflows/workflow/steps-v/step-05-output-format-validation.md +200 -0
  276. package/src/modules/bmb/workflows/workflow/steps-v/step-06-validation-design-check.md +195 -0
  277. package/src/modules/bmb/workflows/workflow/steps-v/step-07-instruction-style-check.md +209 -0
  278. package/src/modules/bmb/workflows/workflow/steps-v/step-08-collaborative-experience-check.md +199 -0
  279. package/src/modules/bmb/workflows/workflow/steps-v/step-08b-subprocess-optimization.md +179 -0
  280. package/src/modules/bmb/workflows/workflow/steps-v/step-09-cohesive-review.md +186 -0
  281. package/src/modules/bmb/workflows/workflow/steps-v/step-10-report-complete.md +154 -0
  282. package/src/modules/bmb/workflows/workflow/steps-v/step-11-plan-validation.md +237 -0
  283. package/src/modules/bmb/workflows/workflow/templates/minimal-output-template.md +11 -0
  284. package/src/modules/bmb/{docs/workflows → workflows/workflow}/templates/step-01-init-continuable-template.md +3 -3
  285. package/src/modules/bmb/{docs/workflows → workflows/workflow}/templates/step-1b-template.md +1 -1
  286. package/src/modules/bmb/{docs/workflows → workflows/workflow}/templates/step-template.md +15 -15
  287. package/src/modules/bmb/{docs/workflows → workflows/workflow}/templates/workflow-template.md +2 -4
  288. package/src/modules/bmb/workflows/workflow/workflow.md +109 -0
  289. package/src/modules/bmgd/agents/game-architect.agent.yaml +1 -0
  290. package/src/modules/bmgd/agents/game-designer.agent.yaml +1 -0
  291. package/src/modules/bmgd/agents/game-dev.agent.yaml +2 -1
  292. package/src/modules/bmgd/agents/game-qa.agent.yaml +2 -1
  293. package/src/modules/bmgd/agents/game-scrum-master.agent.yaml +2 -1
  294. package/src/modules/bmgd/agents/game-solo-dev.agent.yaml +3 -2
  295. package/src/modules/bmgd/workflows/1-preproduction/brainstorm-game/instructions.md +1 -1
  296. package/src/modules/bmgd/workflows/1-preproduction/brainstorm-game/steps/step-01-init.md +5 -3
  297. package/src/modules/bmgd/workflows/1-preproduction/brainstorm-game/steps/step-02-context.md +4 -3
  298. package/src/modules/bmgd/workflows/1-preproduction/brainstorm-game/steps/step-03-ideation.md +52 -46
  299. package/src/modules/bmgd/workflows/1-preproduction/brainstorm-game/steps/step-04-complete.md +2 -1
  300. package/src/modules/bmgd/workflows/1-preproduction/brainstorm-game/workflow.md +5 -1
  301. package/src/modules/bmgd/workflows/1-preproduction/brainstorm-game/workflow.yaml +3 -3
  302. package/src/modules/bmgd/workflows/1-preproduction/game-brief/steps/step-01-init.md +4 -3
  303. package/src/modules/bmgd/workflows/1-preproduction/game-brief/steps/step-01b-continue.md +2 -1
  304. package/src/modules/bmgd/workflows/1-preproduction/game-brief/steps/step-02-vision.md +4 -3
  305. package/src/modules/bmgd/workflows/1-preproduction/game-brief/steps/step-03-market.md +4 -3
  306. package/src/modules/bmgd/workflows/1-preproduction/game-brief/steps/step-04-fundamentals.md +4 -3
  307. package/src/modules/bmgd/workflows/1-preproduction/game-brief/steps/step-05-scope.md +4 -3
  308. package/src/modules/bmgd/workflows/1-preproduction/game-brief/steps/step-06-references.md +4 -3
  309. package/src/modules/bmgd/workflows/1-preproduction/game-brief/steps/step-07-content.md +4 -3
  310. package/src/modules/bmgd/workflows/1-preproduction/game-brief/steps/step-08-complete.md +2 -1
  311. package/src/modules/bmgd/workflows/1-preproduction/game-brief/workflow.md +1 -0
  312. package/src/modules/bmgd/workflows/2-design/gdd/steps/step-01-init.md +4 -3
  313. package/src/modules/bmgd/workflows/2-design/gdd/steps/step-01b-continue.md +2 -1
  314. package/src/modules/bmgd/workflows/2-design/gdd/steps/step-02-context.md +4 -3
  315. package/src/modules/bmgd/workflows/2-design/gdd/steps/step-03-platforms.md +4 -3
  316. package/src/modules/bmgd/workflows/2-design/gdd/steps/step-04-vision.md +4 -3
  317. package/src/modules/bmgd/workflows/2-design/gdd/steps/step-05-core-gameplay.md +4 -3
  318. package/src/modules/bmgd/workflows/2-design/gdd/steps/step-06-mechanics.md +4 -3
  319. package/src/modules/bmgd/workflows/2-design/gdd/steps/step-07-game-type.md +4 -3
  320. package/src/modules/bmgd/workflows/2-design/gdd/steps/step-08-progression.md +4 -3
  321. package/src/modules/bmgd/workflows/2-design/gdd/steps/step-09-levels.md +4 -3
  322. package/src/modules/bmgd/workflows/2-design/gdd/steps/step-10-art-audio.md +4 -3
  323. package/src/modules/bmgd/workflows/2-design/gdd/steps/step-11-technical.md +4 -3
  324. package/src/modules/bmgd/workflows/2-design/gdd/steps/step-12-epics.md +4 -3
  325. package/src/modules/bmgd/workflows/2-design/gdd/steps/step-13-metrics.md +4 -3
  326. package/src/modules/bmgd/workflows/2-design/gdd/steps/step-14-complete.md +2 -1
  327. package/src/modules/bmgd/workflows/2-design/narrative/instructions-narrative.md +1 -1
  328. package/src/modules/bmgd/workflows/2-design/narrative/steps/step-01-init.md +4 -3
  329. package/src/modules/bmgd/workflows/2-design/narrative/steps/step-01b-continue.md +12 -11
  330. package/src/modules/bmgd/workflows/2-design/narrative/steps/step-02-foundation.md +4 -3
  331. package/src/modules/bmgd/workflows/2-design/narrative/steps/step-03-story.md +4 -3
  332. package/src/modules/bmgd/workflows/2-design/narrative/steps/step-04-characters.md +4 -3
  333. package/src/modules/bmgd/workflows/2-design/narrative/steps/step-05-world.md +4 -3
  334. package/src/modules/bmgd/workflows/2-design/narrative/steps/step-06-dialogue.md +4 -3
  335. package/src/modules/bmgd/workflows/2-design/narrative/steps/step-07-environmental.md +4 -3
  336. package/src/modules/bmgd/workflows/2-design/narrative/steps/step-08-delivery.md +4 -3
  337. package/src/modules/bmgd/workflows/2-design/narrative/steps/step-09-integration.md +4 -3
  338. package/src/modules/bmgd/workflows/2-design/narrative/steps/step-10-production.md +4 -3
  339. package/src/modules/bmgd/workflows/2-design/narrative/steps/step-11-complete.md +2 -1
  340. package/src/modules/bmgd/workflows/2-design/narrative/workflow.md +2 -1
  341. package/src/modules/bmgd/workflows/3-technical/game-architecture/steps/step-01-init.md +4 -3
  342. package/src/modules/bmgd/workflows/3-technical/game-architecture/steps/step-01b-continue.md +10 -9
  343. package/src/modules/bmgd/workflows/3-technical/game-architecture/steps/step-02-context.md +4 -3
  344. package/src/modules/bmgd/workflows/3-technical/game-architecture/steps/step-03-starter.md +4 -3
  345. package/src/modules/bmgd/workflows/3-technical/game-architecture/steps/step-04-decisions.md +4 -3
  346. package/src/modules/bmgd/workflows/3-technical/game-architecture/steps/step-05-crosscutting.md +4 -3
  347. package/src/modules/bmgd/workflows/3-technical/game-architecture/steps/step-06-structure.md +6 -5
  348. package/src/modules/bmgd/workflows/3-technical/game-architecture/steps/step-07-patterns.md +4 -3
  349. package/src/modules/bmgd/workflows/3-technical/game-architecture/steps/step-08-validation.md +6 -5
  350. package/src/modules/bmgd/workflows/3-technical/game-architecture/steps/step-09-complete.md +2 -1
  351. package/src/modules/bmgd/workflows/3-technical/game-architecture/workflow.md +2 -1
  352. package/src/modules/bmgd/workflows/3-technical/generate-project-context/steps/step-01-discover.md +1 -0
  353. package/src/modules/bmgd/workflows/3-technical/generate-project-context/steps/step-02-generate.md +2 -1
  354. package/src/modules/bmgd/workflows/3-technical/generate-project-context/steps/step-03-complete.md +1 -0
  355. package/src/modules/bmgd/workflows/3-technical/generate-project-context/workflow.md +1 -0
  356. package/src/modules/bmgd/workflows/4-production/code-review/instructions.xml +1 -0
  357. package/src/modules/bmgd/workflows/4-production/code-review/workflow.yaml +1 -1
  358. package/src/modules/bmgd/workflows/4-production/correct-course/workflow.yaml +1 -1
  359. package/src/modules/bmgd/workflows/4-production/create-story/checklist.md +2 -2
  360. package/src/modules/bmgd/workflows/4-production/create-story/workflow.yaml +1 -1
  361. package/src/modules/bmgd/workflows/4-production/dev-story/workflow.yaml +1 -1
  362. package/src/modules/bmgd/workflows/4-production/retrospective/workflow.yaml +1 -1
  363. package/src/modules/bmgd/workflows/4-production/sprint-status/workflow.yaml +2 -2
  364. package/src/modules/bmgd/workflows/bmgd-quick-flow/quick-dev/workflow.yaml +1 -1
  365. package/src/modules/bmgd/workflows/bmgd-quick-flow/quick-prototype/workflow.yaml +1 -1
  366. package/src/modules/bmgd/workflows/bmgd-quick-flow/{create-tech-spec → quick-spec}/workflow.yaml +3 -3
  367. package/src/modules/bmgd/workflows/workflow-status/paths/quickflow-brownfield.yaml +2 -2
  368. package/src/modules/bmm/agents/analyst.agent.yaml +3 -2
  369. package/src/modules/bmm/agents/architect.agent.yaml +3 -1
  370. package/src/modules/bmm/agents/dev.agent.yaml +4 -3
  371. package/src/modules/bmm/agents/pm.agent.yaml +16 -5
  372. package/src/modules/bmm/agents/quick-flow-solo-dev.agent.yaml +3 -2
  373. package/src/modules/bmm/agents/sm.agent.yaml +1 -0
  374. package/src/modules/bmm/agents/tea.agent.yaml +6 -3
  375. package/src/modules/bmm/agents/tech-writer.agent.yaml +1 -0
  376. package/src/modules/bmm/agents/ux-designer.agent.yaml +1 -0
  377. package/src/modules/bmm/module.yaml +1 -1
  378. package/src/modules/bmm/testarch/knowledge/api-request.md +155 -16
  379. package/src/modules/bmm/testarch/knowledge/api-testing-patterns.md +843 -0
  380. package/src/modules/bmm/testarch/knowledge/auth-session.md +197 -1
  381. package/src/modules/bmm/testarch/knowledge/file-utils.md +257 -54
  382. package/src/modules/bmm/testarch/knowledge/intercept-network-call.md +159 -9
  383. package/src/modules/bmm/testarch/knowledge/log.md +170 -35
  384. package/src/modules/bmm/testarch/knowledge/network-error-monitor.md +228 -95
  385. package/src/modules/bmm/testarch/knowledge/network-recorder.md +314 -52
  386. package/src/modules/bmm/testarch/knowledge/overview.md +15 -12
  387. package/src/modules/bmm/testarch/knowledge/recurse.md +173 -48
  388. package/src/modules/bmm/testarch/tea-index.csv +19 -18
  389. package/src/modules/bmm/workflows/1-analysis/create-product-brief/steps/step-01-init.md +4 -8
  390. package/src/modules/bmm/workflows/1-analysis/create-product-brief/steps/step-01b-continue.md +1 -5
  391. package/src/modules/bmm/workflows/1-analysis/create-product-brief/steps/step-02-vision.md +3 -7
  392. package/src/modules/bmm/workflows/1-analysis/create-product-brief/steps/step-03-users.md +3 -7
  393. package/src/modules/bmm/workflows/1-analysis/create-product-brief/steps/step-04-metrics.md +3 -7
  394. package/src/modules/bmm/workflows/1-analysis/create-product-brief/steps/step-05-scope.md +3 -7
  395. package/src/modules/bmm/workflows/1-analysis/create-product-brief/steps/step-06-complete.md +1 -5
  396. package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-01-init.md +1 -0
  397. package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-02-domain-analysis.md +1 -0
  398. package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-03-competitive-landscape.md +1 -0
  399. package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-04-regulatory-focus.md +1 -0
  400. package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-05-technical-trends.md +1 -0
  401. package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-06-research-synthesis.md +1 -0
  402. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-01-init.md +1 -0
  403. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-02-customer-behavior.md +1 -0
  404. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-02-customer-insights.md +1 -0
  405. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-03-customer-pain-points.md +1 -0
  406. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-04-customer-decisions.md +1 -0
  407. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-05-competitive-analysis.md +1 -0
  408. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-06-research-completion.md +1 -0
  409. package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-01-init.md +1 -0
  410. package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-02-technical-overview.md +1 -0
  411. package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-03-integration-patterns.md +1 -0
  412. package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-04-architectural-patterns.md +1 -0
  413. package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-05-implementation-research.md +1 -0
  414. package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-06-research-synthesis.md +1 -0
  415. package/src/modules/bmm/workflows/1-analysis/research/workflow.md +1 -1
  416. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-01-init.md +1 -0
  417. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-01b-continue.md +1 -0
  418. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-02-discovery.md +2 -1
  419. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-03-core-experience.md +3 -2
  420. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-04-emotional-response.md +3 -2
  421. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-05-inspiration.md +3 -2
  422. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-06-design-system.md +3 -2
  423. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-07-defining-experience.md +3 -2
  424. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-08-visual-foundation.md +3 -2
  425. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-09-design-directions.md +3 -2
  426. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-10-user-journeys.md +3 -2
  427. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-11-component-strategy.md +3 -2
  428. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-12-ux-patterns.md +3 -2
  429. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-13-responsive-accessibility.md +3 -2
  430. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-14-complete.md +1 -0
  431. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/workflow.md +2 -1
  432. package/src/modules/bmm/workflows/2-plan-workflows/prd/data/prd-purpose.md +197 -0
  433. package/src/modules/bmm/workflows/2-plan-workflows/prd/{steps → steps-c}/step-01-init.md +8 -13
  434. package/src/modules/bmm/workflows/2-plan-workflows/prd/{steps → steps-c}/step-01b-continue.md +37 -49
  435. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps-c/step-02-discovery.md +224 -0
  436. package/src/modules/bmm/workflows/2-plan-workflows/prd/{steps → steps-c}/step-03-success.md +52 -115
  437. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps-c/step-04-journeys.md +213 -0
  438. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps-c/step-05-domain.md +207 -0
  439. package/src/modules/bmm/workflows/2-plan-workflows/prd/{steps → steps-c}/step-06-innovation.md +45 -80
  440. package/src/modules/bmm/workflows/2-plan-workflows/prd/{steps → steps-c}/step-07-project-type.md +39 -59
  441. package/src/modules/bmm/workflows/2-plan-workflows/prd/{steps → steps-c}/step-08-scoping.md +45 -115
  442. package/src/modules/bmm/workflows/2-plan-workflows/prd/{steps → steps-c}/step-09-functional.md +23 -61
  443. package/src/modules/bmm/workflows/2-plan-workflows/prd/{steps → steps-c}/step-10-nonfunctional.md +34 -85
  444. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps-c/step-11-polish.md +217 -0
  445. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps-c/step-12-complete.md +180 -0
  446. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps-e/step-e-01-discovery.md +247 -0
  447. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps-e/step-e-01b-legacy-conversion.md +208 -0
  448. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps-e/step-e-02-review.md +249 -0
  449. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps-e/step-e-03-edit.md +253 -0
  450. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps-e/step-e-04-complete.md +168 -0
  451. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-01-discovery.md +218 -0
  452. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-02-format-detection.md +191 -0
  453. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-02b-parity-check.md +209 -0
  454. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-03-density-validation.md +174 -0
  455. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-04-brief-coverage-validation.md +214 -0
  456. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-05-measurability-validation.md +228 -0
  457. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-06-traceability-validation.md +217 -0
  458. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-07-implementation-leakage-validation.md +205 -0
  459. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-08-domain-compliance-validation.md +243 -0
  460. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-09-project-type-validation.md +263 -0
  461. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-10-smart-validation.md +209 -0
  462. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-11-holistic-quality-validation.md +264 -0
  463. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-12-completeness-validation.md +242 -0
  464. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-13-report-complete.md +232 -0
  465. package/src/modules/bmm/workflows/2-plan-workflows/prd/{prd-template.md → templates/prd-template.md} +0 -1
  466. package/src/modules/bmm/workflows/2-plan-workflows/prd/validation-report-prd-workflow.md +433 -0
  467. package/src/modules/bmm/workflows/2-plan-workflows/prd/workflow.md +97 -8
  468. package/src/modules/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-01-document-discovery.md +3 -2
  469. package/src/modules/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-02-prd-analysis.md +3 -2
  470. package/src/modules/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-03-epic-coverage-validation.md +3 -2
  471. package/src/modules/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-04-ux-alignment.md +3 -2
  472. package/src/modules/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-05-epic-quality-review.md +3 -2
  473. package/src/modules/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-06-final-assessment.md +2 -1
  474. package/src/modules/bmm/workflows/3-solutioning/check-implementation-readiness/workflow.md +2 -1
  475. package/src/modules/bmm/workflows/3-solutioning/create-architecture/steps/step-01-init.md +1 -1
  476. package/src/modules/bmm/workflows/3-solutioning/create-architecture/steps/step-01b-continue.md +1 -0
  477. package/src/modules/bmm/workflows/3-solutioning/create-architecture/steps/step-02-context.md +3 -2
  478. package/src/modules/bmm/workflows/3-solutioning/create-architecture/steps/step-03-starter.md +3 -2
  479. package/src/modules/bmm/workflows/3-solutioning/create-architecture/steps/step-04-decisions.md +3 -2
  480. package/src/modules/bmm/workflows/3-solutioning/create-architecture/steps/step-05-patterns.md +3 -2
  481. package/src/modules/bmm/workflows/3-solutioning/create-architecture/steps/step-06-structure.md +3 -2
  482. package/src/modules/bmm/workflows/3-solutioning/create-architecture/steps/step-07-validation.md +3 -2
  483. package/src/modules/bmm/workflows/3-solutioning/create-architecture/steps/step-08-complete.md +1 -0
  484. package/src/modules/bmm/workflows/3-solutioning/create-architecture/workflow.md +1 -0
  485. package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-01-validate-prerequisites.md +5 -4
  486. package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-02-design-epics.md +4 -3
  487. package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-03-create-stories.md +4 -3
  488. package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-04-final-validation.md +3 -2
  489. package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/workflow.md +1 -0
  490. package/src/modules/bmm/workflows/4-implementation/code-review/instructions.xml +2 -0
  491. package/src/modules/bmm/workflows/4-implementation/code-review/workflow.yaml +9 -12
  492. package/src/modules/bmm/workflows/4-implementation/correct-course/workflow.yaml +1 -1
  493. package/src/modules/bmm/workflows/4-implementation/create-story/checklist.md +2 -2
  494. package/src/modules/bmm/workflows/4-implementation/create-story/instructions.xml +2 -1
  495. package/src/modules/bmm/workflows/4-implementation/create-story/workflow.yaml +13 -12
  496. package/src/modules/bmm/workflows/4-implementation/dev-story/instructions.xml +2 -1
  497. package/src/modules/bmm/workflows/4-implementation/retrospective/instructions.md +3 -3
  498. package/src/modules/bmm/workflows/4-implementation/retrospective/workflow.yaml +11 -10
  499. package/src/modules/bmm/workflows/4-implementation/sprint-status/workflow.yaml +2 -2
  500. package/src/modules/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-01-mode-detection.md +7 -7
  501. package/src/modules/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-02-context-gathering.md +2 -2
  502. package/src/modules/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-03-execute.md +2 -2
  503. package/src/modules/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-04-self-check.md +2 -2
  504. package/src/modules/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-05-adversarial-review.md +3 -3
  505. package/src/modules/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-06-resolve-findings.md +1 -1
  506. package/src/modules/bmm/workflows/bmad-quick-flow/quick-dev/workflow.md +4 -3
  507. package/src/modules/bmm/workflows/bmad-quick-flow/quick-spec/steps/step-01-understand.md +189 -0
  508. package/src/modules/bmm/workflows/bmad-quick-flow/quick-spec/steps/step-02-investigate.md +144 -0
  509. package/src/modules/bmm/workflows/bmad-quick-flow/quick-spec/steps/step-03-generate.md +128 -0
  510. package/src/modules/bmm/workflows/bmad-quick-flow/quick-spec/steps/step-04-review.md +173 -0
  511. package/src/modules/bmm/workflows/bmad-quick-flow/quick-spec/tech-spec-template.md +74 -0
  512. package/src/modules/bmm/workflows/bmad-quick-flow/quick-spec/workflow.md +79 -0
  513. package/src/modules/bmm/workflows/document-project/checklist.md +2 -2
  514. package/src/modules/bmm/workflows/excalidraw-diagrams/create-dataflow/instructions.md +1 -1
  515. package/src/modules/bmm/workflows/excalidraw-diagrams/create-diagram/instructions.md +1 -1
  516. package/src/modules/bmm/workflows/excalidraw-diagrams/create-flowchart/instructions.md +1 -1
  517. package/src/modules/bmm/workflows/excalidraw-diagrams/create-wireframe/instructions.md +1 -1
  518. package/src/modules/bmm/workflows/generate-project-context/steps/step-01-discover.md +1 -0
  519. package/src/modules/bmm/workflows/generate-project-context/steps/step-02-generate.md +2 -1
  520. package/src/modules/bmm/workflows/generate-project-context/steps/step-03-complete.md +1 -0
  521. package/src/modules/bmm/workflows/generate-project-context/workflow.md +1 -0
  522. package/src/modules/bmm/workflows/testarch/test-design/instructions.md +2 -2
  523. package/src/modules/bmm/workflows/workflow-status/init/instructions.md +6 -6
  524. package/src/modules/bmm/workflows/workflow-status/init/workflow.yaml +2 -1
  525. package/src/modules/bmm/workflows/workflow-status/instructions.md +8 -8
  526. package/src/modules/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +44 -63
  527. package/src/modules/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +44 -54
  528. package/src/modules/bmm/workflows/workflow-status/paths/method-brownfield.yaml +38 -41
  529. package/src/modules/bmm/workflows/workflow-status/paths/method-greenfield.yaml +26 -22
  530. package/src/modules/cis/agents/brainstorming-coach.agent.yaml +2 -1
  531. package/src/modules/cis/agents/creative-problem-solver.agent.yaml +1 -0
  532. package/src/modules/cis/agents/design-thinking-coach.agent.yaml +1 -0
  533. package/src/modules/cis/agents/innovation-strategist.agent.yaml +1 -0
  534. package/src/modules/cis/agents/presentation-master.agent.yaml +1 -0
  535. package/src/modules/cis/module.yaml +1 -0
  536. package/src/modules/cis/workflows/design-thinking/instructions.md +2 -2
  537. package/src/modules/cis/workflows/innovation-strategy/instructions.md +2 -2
  538. package/src/modules/cis/workflows/problem-solving/instructions.md +2 -2
  539. package/src/modules/cis/workflows/storytelling/instructions.md +2 -2
  540. package/test/fixtures/agent-schema/invalid/critical-actions/actions-as-string.agent.yaml +1 -0
  541. package/test/fixtures/agent-schema/invalid/critical-actions/empty-string-in-actions.agent.yaml +1 -0
  542. package/test/fixtures/agent-schema/invalid/menu/empty-menu.agent.yaml +1 -0
  543. package/test/fixtures/agent-schema/invalid/menu/missing-menu.agent.yaml +1 -0
  544. package/test/fixtures/agent-schema/invalid/menu-commands/empty-command-target.agent.yaml +1 -0
  545. package/test/fixtures/agent-schema/invalid/menu-commands/no-command-target.agent.yaml +1 -0
  546. package/test/fixtures/agent-schema/invalid/menu-triggers/camel-case.agent.yaml +1 -0
  547. package/test/fixtures/agent-schema/invalid/menu-triggers/compound-invalid-format.agent.yaml +1 -0
  548. package/test/fixtures/agent-schema/invalid/menu-triggers/compound-mismatched-kebab.agent.yaml +1 -0
  549. package/test/fixtures/agent-schema/invalid/menu-triggers/duplicate-triggers.agent.yaml +1 -0
  550. package/test/fixtures/agent-schema/invalid/menu-triggers/empty-trigger.agent.yaml +1 -0
  551. package/test/fixtures/agent-schema/invalid/menu-triggers/leading-asterisk.agent.yaml +1 -0
  552. package/test/fixtures/agent-schema/invalid/menu-triggers/snake-case.agent.yaml +1 -0
  553. package/test/fixtures/agent-schema/invalid/menu-triggers/trigger-with-spaces.agent.yaml +1 -0
  554. package/test/fixtures/agent-schema/invalid/metadata/extra-metadata-fields.agent.yaml +1 -0
  555. package/test/fixtures/agent-schema/invalid/persona/empty-principles-array.agent.yaml +1 -0
  556. package/test/fixtures/agent-schema/invalid/persona/empty-string-in-principles.agent.yaml +1 -0
  557. package/test/fixtures/agent-schema/invalid/persona/extra-persona-fields.agent.yaml +1 -0
  558. package/test/fixtures/agent-schema/invalid/persona/missing-role.agent.yaml +1 -0
  559. package/test/fixtures/agent-schema/invalid/prompts/empty-content.agent.yaml +1 -0
  560. package/test/fixtures/agent-schema/invalid/prompts/extra-prompt-fields.agent.yaml +1 -0
  561. package/test/fixtures/agent-schema/invalid/prompts/missing-content.agent.yaml +1 -0
  562. package/test/fixtures/agent-schema/invalid/prompts/missing-id.agent.yaml +1 -0
  563. package/test/fixtures/agent-schema/invalid/top-level/extra-top-level-keys.agent.yaml +1 -0
  564. package/test/fixtures/agent-schema/valid/critical-actions/empty-critical-actions.agent.yaml +1 -0
  565. package/test/fixtures/agent-schema/valid/critical-actions/no-critical-actions.agent.yaml +1 -0
  566. package/test/fixtures/agent-schema/valid/critical-actions/valid-critical-actions.agent.yaml +1 -0
  567. package/test/fixtures/agent-schema/valid/menu/multiple-menu-items.agent.yaml +1 -0
  568. package/test/fixtures/agent-schema/valid/menu/single-menu-item.agent.yaml +1 -0
  569. package/test/fixtures/agent-schema/valid/menu-commands/all-command-types.agent.yaml +1 -0
  570. package/test/fixtures/agent-schema/valid/menu-commands/multiple-commands.agent.yaml +1 -0
  571. package/test/fixtures/agent-schema/valid/menu-triggers/compound-triggers.agent.yaml +1 -0
  572. package/test/fixtures/agent-schema/valid/menu-triggers/kebab-case-triggers.agent.yaml +1 -0
  573. package/test/fixtures/agent-schema/valid/metadata/core-agent-with-module.agent.yaml +1 -0
  574. package/test/fixtures/agent-schema/valid/metadata/empty-module-name-in-path.agent.yaml +1 -0
  575. package/test/fixtures/agent-schema/valid/metadata/malformed-path-treated-as-core.agent.yaml +1 -0
  576. package/test/fixtures/agent-schema/valid/metadata/module-agent-correct.agent.yaml +1 -0
  577. package/test/fixtures/agent-schema/valid/metadata/module-agent-missing-module.agent.yaml +1 -0
  578. package/test/fixtures/agent-schema/valid/metadata/wrong-module-value.agent.yaml +1 -0
  579. package/test/fixtures/agent-schema/valid/persona/complete-persona.agent.yaml +1 -0
  580. package/test/fixtures/agent-schema/valid/prompts/empty-prompts.agent.yaml +1 -0
  581. package/test/fixtures/agent-schema/valid/prompts/no-prompts.agent.yaml +1 -0
  582. package/test/fixtures/agent-schema/valid/prompts/valid-prompts-minimal.agent.yaml +1 -0
  583. package/test/fixtures/agent-schema/valid/prompts/valid-prompts-with-description.agent.yaml +1 -0
  584. package/test/fixtures/agent-schema/valid/top-level/minimal-core-agent.agent.yaml +1 -0
  585. package/tools/build-docs.js +200 -271
  586. package/tools/cli/bmad-cli.js +18 -0
  587. package/tools/cli/commands/install.js +15 -13
  588. package/tools/cli/installers/install-messages.yaml +33 -27
  589. package/tools/cli/installers/lib/core/config-collector.js +11 -1
  590. package/tools/cli/installers/lib/core/detector.js +5 -115
  591. package/tools/cli/installers/lib/core/installer.js +48 -80
  592. package/tools/cli/installers/lib/core/manifest-generator.js +46 -2
  593. package/tools/cli/installers/lib/ide/antigravity.js +3 -3
  594. package/tools/cli/installers/lib/ide/claude-code.js +3 -3
  595. package/tools/cli/installers/lib/ide/codex.js +1 -1
  596. package/tools/cli/installers/lib/ide/cursor.js +57 -304
  597. package/tools/cli/installers/lib/ide/github-copilot.js +1 -1
  598. package/tools/cli/lib/agent/compiler.js +0 -4
  599. package/tools/cli/lib/ui.js +22 -1
  600. package/tools/docs/index.md +2 -0
  601. package/tools/fix-doc-links.js +288 -0
  602. package/tools/schema/agent.js +1 -0
  603. package/tools/validate-doc-links.js +363 -0
  604. package/website/README.md +76 -0
  605. package/website/astro.config.mjs +218 -0
  606. package/website/src/components/Banner.astro +59 -0
  607. package/website/src/components/Header.astro +121 -0
  608. package/website/src/components/MobileMenuFooter.astro +53 -0
  609. package/website/src/content/config.ts +6 -0
  610. package/website/src/lib/site-url.js +25 -0
  611. package/website/src/rehype-markdown-links.js +102 -0
  612. package/website/src/styles/custom.css +483 -0
  613. package/docs/document-sharding-guide.md +0 -449
  614. package/docs/getting-started/installation.md +0 -76
  615. package/docs/ide-info/auggie.md +0 -31
  616. package/docs/ide-info/claude-code.md +0 -25
  617. package/docs/ide-info/cline.md +0 -31
  618. package/docs/ide-info/codex.md +0 -21
  619. package/docs/ide-info/crush.md +0 -30
  620. package/docs/ide-info/cursor.md +0 -25
  621. package/docs/ide-info/gemini.md +0 -25
  622. package/docs/ide-info/github-copilot.md +0 -26
  623. package/docs/ide-info/iflow.md +0 -33
  624. package/docs/ide-info/index.md +0 -24
  625. package/docs/ide-info/kilo.md +0 -24
  626. package/docs/ide-info/opencode.md +0 -24
  627. package/docs/ide-info/qwen.md +0 -25
  628. package/docs/ide-info/roo.md +0 -27
  629. package/docs/ide-info/rovo-dev.md +0 -22
  630. package/docs/ide-info/trae.md +0 -25
  631. package/docs/ide-info/windsurf.md +0 -22
  632. package/docs/v4-to-v6-upgrade.md +0 -227
  633. package/docs/web-bundles-gemini-gpt-guide.md +0 -21
  634. package/src/core/tasks/validate-workflow.xml +0 -89
  635. package/src/modules/bmb/docs/agents/agent-compilation.md +0 -340
  636. package/src/modules/bmb/docs/agents/agent-menu-patterns.md +0 -523
  637. package/src/modules/bmb/docs/agents/expert-agent-architecture.md +0 -363
  638. package/src/modules/bmb/docs/agents/index.md +0 -55
  639. package/src/modules/bmb/docs/agents/kb.csv +0 -0
  640. package/src/modules/bmb/docs/agents/simple-agent-architecture.md +0 -257
  641. package/src/modules/bmb/docs/agents/understanding-agent-types.md +0 -184
  642. package/src/modules/bmb/docs/index.md +0 -247
  643. package/src/modules/bmb/docs/workflows/architecture.md +0 -220
  644. package/src/modules/bmb/docs/workflows/csv-data-file-standards.md +0 -206
  645. package/src/modules/bmb/docs/workflows/index.md +0 -45
  646. package/src/modules/bmb/docs/workflows/intent-vs-prescriptive-spectrum.md +0 -220
  647. package/src/modules/bmb/docs/workflows/kb.csv +0 -0
  648. package/src/modules/bmb/docs/workflows/templates/step-file.md +0 -139
  649. package/src/modules/bmb/docs/workflows/templates/workflow.md +0 -58
  650. package/src/modules/bmb/docs/workflows/terms.md +0 -97
  651. package/src/modules/bmb/reference/README.md +0 -3
  652. package/src/modules/bmb/reference/agents/simple-examples/README.md +0 -223
  653. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/data/dietary-restrictions.csv +0 -18
  654. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/data/macro-calculator.csv +0 -16
  655. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/data/recipe-database.csv +0 -28
  656. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-01-init.md +0 -176
  657. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-01b-continue.md +0 -120
  658. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-02-profile.md +0 -164
  659. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-03-assessment.md +0 -153
  660. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-04-strategy.md +0 -182
  661. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-05-shopping.md +0 -167
  662. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-06-prep-schedule.md +0 -194
  663. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/templates/assessment-section.md +0 -25
  664. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/templates/nutrition-plan.md +0 -68
  665. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/templates/prep-schedule-section.md +0 -29
  666. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/templates/profile-section.md +0 -47
  667. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/templates/shopping-section.md +0 -37
  668. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/templates/strategy-section.md +0 -18
  669. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/workflow.md +0 -58
  670. package/src/modules/bmb/workflows/create-agent/data/agent-validation-checklist.md +0 -174
  671. package/src/modules/bmb/workflows/create-agent/data/info-and-installation-guide.md +0 -29
  672. package/src/modules/bmb/workflows/create-agent/data/reference/README.md +0 -3
  673. package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/README.md +0 -242
  674. package/src/modules/bmb/workflows/create-agent/data/reference/agents/module-examples/README.md +0 -48
  675. package/src/modules/bmb/workflows/create-agent/data/reference/agents/simple-examples/README.md +0 -223
  676. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/data/dietary-restrictions.csv +0 -18
  677. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/data/macro-calculator.csv +0 -16
  678. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/data/recipe-database.csv +0 -28
  679. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-01-init.md +0 -177
  680. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-01b-continue.md +0 -150
  681. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-02-profile.md +0 -164
  682. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-03-assessment.md +0 -152
  683. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-04-strategy.md +0 -182
  684. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-05-shopping.md +0 -167
  685. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-06-prep-schedule.md +0 -194
  686. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/templates/assessment-section.md +0 -25
  687. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/templates/nutrition-plan.md +0 -68
  688. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/templates/prep-schedule-section.md +0 -29
  689. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/templates/profile-section.md +0 -47
  690. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/templates/shopping-section.md +0 -37
  691. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/templates/strategy-section.md +0 -18
  692. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/workflow.md +0 -58
  693. package/src/modules/bmb/workflows/create-agent/data/validation-complete.md +0 -305
  694. package/src/modules/bmb/workflows/create-agent/steps/step-02-discover.md +0 -206
  695. package/src/modules/bmb/workflows/create-agent/steps/step-03-persona.md +0 -260
  696. package/src/modules/bmb/workflows/create-agent/steps/step-04-commands.md +0 -237
  697. package/src/modules/bmb/workflows/create-agent/steps/step-05-name.md +0 -232
  698. package/src/modules/bmb/workflows/create-agent/steps/step-06-build.md +0 -186
  699. package/src/modules/bmb/workflows/create-agent/steps/step-07-validate.md +0 -234
  700. package/src/modules/bmb/workflows/create-agent/steps/step-08-celebrate.md +0 -218
  701. package/src/modules/bmb/workflows/create-agent/templates/agent-plan.template.md +0 -3
  702. package/src/modules/bmb/workflows/create-agent/templates/expert-agent.template.md +0 -364
  703. package/src/modules/bmb/workflows/create-agent/templates/simple-agent.template.md +0 -257
  704. package/src/modules/bmb/workflows/create-agent/workflow.md +0 -58
  705. package/src/modules/bmb/workflows/create-module/steps/step-01-init.md +0 -155
  706. package/src/modules/bmb/workflows/create-module/steps/step-01b-continue.md +0 -169
  707. package/src/modules/bmb/workflows/create-module/steps/step-02-concept.md +0 -217
  708. package/src/modules/bmb/workflows/create-module/steps/step-03-components.md +0 -267
  709. package/src/modules/bmb/workflows/create-module/steps/step-04-structure.md +0 -228
  710. package/src/modules/bmb/workflows/create-module/steps/step-05-config.md +0 -233
  711. package/src/modules/bmb/workflows/create-module/steps/step-06-agents.md +0 -296
  712. package/src/modules/bmb/workflows/create-module/steps/step-07-workflows.md +0 -228
  713. package/src/modules/bmb/workflows/create-module/steps/step-08-installer.md +0 -186
  714. package/src/modules/bmb/workflows/create-module/steps/step-09-documentation.md +0 -309
  715. package/src/modules/bmb/workflows/create-module/steps/step-10-roadmap.md +0 -337
  716. package/src/modules/bmb/workflows/create-module/steps/step-11-validate.md +0 -335
  717. package/src/modules/bmb/workflows/create-module/templates/agent.template.md +0 -313
  718. package/src/modules/bmb/workflows/create-module/templates/installer.template.js +0 -47
  719. package/src/modules/bmb/workflows/create-module/templates/module-plan.template.md +0 -5
  720. package/src/modules/bmb/workflows/create-module/templates/module.template.yaml +0 -53
  721. package/src/modules/bmb/workflows/create-module/templates/workflow-plan-template.md +0 -23
  722. package/src/modules/bmb/workflows/create-module/validation.md +0 -126
  723. package/src/modules/bmb/workflows/create-module/workflow.md +0 -55
  724. package/src/modules/bmb/workflows/create-workflow/steps/step-01-init.md +0 -157
  725. package/src/modules/bmb/workflows/create-workflow/steps/step-02-gather.md +0 -211
  726. package/src/modules/bmb/workflows/create-workflow/steps/step-03-tools-configuration.md +0 -250
  727. package/src/modules/bmb/workflows/create-workflow/steps/step-04-plan-review.md +0 -216
  728. package/src/modules/bmb/workflows/create-workflow/steps/step-05-output-format-design.md +0 -289
  729. package/src/modules/bmb/workflows/create-workflow/steps/step-07-build.md +0 -308
  730. package/src/modules/bmb/workflows/create-workflow/steps/step-08-review.md +0 -284
  731. package/src/modules/bmb/workflows/create-workflow/steps/step-09-complete.md +0 -187
  732. package/src/modules/bmb/workflows/create-workflow/workflow.md +0 -58
  733. package/src/modules/bmb/workflows/edit-agent/steps/step-01-discover-intent.md +0 -134
  734. package/src/modules/bmb/workflows/edit-agent/steps/step-02-analyze-agent.md +0 -202
  735. package/src/modules/bmb/workflows/edit-agent/steps/step-03-propose-changes.md +0 -157
  736. package/src/modules/bmb/workflows/edit-agent/steps/step-04-apply-changes.md +0 -150
  737. package/src/modules/bmb/workflows/edit-agent/steps/step-05-validate.md +0 -150
  738. package/src/modules/bmb/workflows/edit-agent/workflow.md +0 -58
  739. package/src/modules/bmb/workflows/edit-workflow/steps/step-01-analyze.md +0 -217
  740. package/src/modules/bmb/workflows/edit-workflow/steps/step-02-discover.md +0 -253
  741. package/src/modules/bmb/workflows/edit-workflow/steps/step-03-improve.md +0 -217
  742. package/src/modules/bmb/workflows/edit-workflow/steps/step-04-validate.md +0 -193
  743. package/src/modules/bmb/workflows/edit-workflow/steps/step-05-compliance-check.md +0 -245
  744. package/src/modules/bmb/workflows/edit-workflow/templates/completion-summary.md +0 -75
  745. package/src/modules/bmb/workflows/edit-workflow/templates/improvement-goals.md +0 -68
  746. package/src/modules/bmb/workflows/edit-workflow/templates/improvement-log.md +0 -40
  747. package/src/modules/bmb/workflows/edit-workflow/templates/validation-results.md +0 -51
  748. package/src/modules/bmb/workflows/edit-workflow/templates/workflow-analysis.md +0 -56
  749. package/src/modules/bmb/workflows/edit-workflow/workflow.md +0 -58
  750. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-01-validate-goal.md +0 -152
  751. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-02-workflow-validation.md +0 -243
  752. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-03-step-validation.md +0 -274
  753. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-04-file-validation.md +0 -295
  754. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-05-intent-spectrum-validation.md +0 -264
  755. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-06-web-subprocess-validation.md +0 -360
  756. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-07-holistic-analysis.md +0 -258
  757. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-08-generate-report.md +0 -301
  758. package/src/modules/bmb/workflows/workflow-compliance-check/templates/compliance-report.md +0 -140
  759. package/src/modules/bmb/workflows/workflow-compliance-check/workflow.md +0 -58
  760. package/src/modules/bmb/workflows-legacy/edit-module/README.md +0 -171
  761. package/src/modules/bmb/workflows-legacy/edit-module/checklist.md +0 -163
  762. package/src/modules/bmb/workflows-legacy/edit-module/instructions.md +0 -340
  763. package/src/modules/bmb/workflows-legacy/edit-module/workflow.yaml +0 -34
  764. package/src/modules/bmb/workflows-legacy/module-brief/README.md +0 -264
  765. package/src/modules/bmb/workflows-legacy/module-brief/checklist.md +0 -116
  766. package/src/modules/bmb/workflows-legacy/module-brief/instructions.md +0 -268
  767. package/src/modules/bmb/workflows-legacy/module-brief/template.md +0 -275
  768. package/src/modules/bmb/workflows-legacy/module-brief/workflow.yaml +0 -36
  769. package/src/modules/bmgd/docs/glossary.md +0 -294
  770. package/src/modules/bmgd/docs/index.md +0 -180
  771. package/src/modules/bmgd/docs/quick-start.md +0 -250
  772. package/src/modules/bmm/README.md +0 -127
  773. package/src/modules/bmm/docs/bmad-quick-flow.md +0 -506
  774. package/src/modules/bmm/docs/brownfield-guide.md +0 -748
  775. package/src/modules/bmm/docs/enterprise-agentic-development.md +0 -686
  776. package/src/modules/bmm/docs/faq.md +0 -542
  777. package/src/modules/bmm/docs/index.md +0 -168
  778. package/src/modules/bmm/docs/quick-spec-flow.md +0 -638
  779. package/src/modules/bmm/docs/quick-start.md +0 -366
  780. package/src/modules/bmm/docs/scale-adaptive-system.md +0 -618
  781. package/src/modules/bmm/docs/troubleshooting.md +0 -661
  782. package/src/modules/bmm/docs/workflow-architecture-reference.md +0 -366
  783. package/src/modules/bmm/docs/workflow-document-project-reference.md +0 -489
  784. package/src/modules/bmm/docs/workflows-analysis.md +0 -266
  785. package/src/modules/bmm/docs/workflows-implementation.md +0 -210
  786. package/src/modules/bmm/docs/workflows-planning.md +0 -451
  787. package/src/modules/bmm/docs/workflows-solutioning.md +0 -509
  788. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-02-discovery.md +0 -420
  789. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-04-journeys.md +0 -290
  790. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-05-domain.md +0 -270
  791. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-11-complete.md +0 -185
  792. package/src/modules/bmm/workflows/bmad-quick-flow/create-tech-spec/instructions.md +0 -115
  793. package/src/modules/bmm/workflows/bmad-quick-flow/create-tech-spec/workflow.yaml +0 -28
  794. package/website/css/custom.css +0 -52
  795. package/website/docusaurus.config.js +0 -179
  796. package/website/sidebars.js +0 -157
  797. package/website/src/pages/index.js +0 -50
  798. /package/{src/modules/bmm/docs → docs/tutorials/getting-started}/images/workflow-method-greenfield.excalidraw +0 -0
  799. /package/{src/modules/bmm/docs → docs/tutorials/getting-started}/images/workflow-method-greenfield.svg +0 -0
  800. /package/{src/modules/bmgd/docs → docs/tutorials/getting-started/images}/workflow-overview.jpg +0 -0
  801. /package/src/core/{tasks/advanced-elicitation-methods.csv → workflows/advanced-elicitation/methods.csv} +0 -0
  802. /package/src/modules/bmb/workflows/{create-agent/data/reference/agents → agent/data/reference}/expert-examples/journal-keeper/journal-keeper-sidecar/breakthroughs.md +0 -0
  803. /package/src/modules/bmb/workflows/{create-agent/data/reference/agents → agent/data/reference}/expert-examples/journal-keeper/journal-keeper-sidecar/instructions.md +0 -0
  804. /package/src/modules/bmb/workflows/{create-agent/data/reference/agents → agent/data/reference}/expert-examples/journal-keeper/journal-keeper-sidecar/memories.md +0 -0
  805. /package/src/modules/bmb/workflows/{create-agent/data/reference/agents → agent/data/reference}/expert-examples/journal-keeper/journal-keeper-sidecar/mood-patterns.md +0 -0
  806. /package/src/modules/bmgd/workflows/bmgd-quick-flow/{create-tech-spec → quick-spec}/instructions.md +0 -0
  807. /package/src/modules/bmm/workflows/2-plan-workflows/prd/{domain-complexity.csv → data/domain-complexity.csv} +0 -0
  808. /package/src/modules/bmm/workflows/2-plan-workflows/prd/{project-types.csv → data/project-types.csv} +0 -0
  809. /package/{docs → tools/docs}/BUNDLE_DISTRIBUTION_SETUP.md +0 -0
  810. /package/website/{static → public}/favicon.ico +0 -0
  811. /package/website/{static → public}/img/logo.svg +0 -0
  812. /package/website/{static → public}/robots.txt +0 -0
@@ -0,0 +1,197 @@
1
+ # BMAD PRD Purpose
2
+
3
+ **The PRD is the top of the required funnel that feeds all subsequent product development work in rhw BMad Method.**
4
+
5
+ ---
6
+
7
+ ## What is a BMAD PRD?
8
+
9
+ A dual-audience document serving:
10
+ 1. **Human Product Managers and builders** - Vision, strategy, stakeholder communication
11
+ 2. **LLM Downstream Consumption** - UX Design → Architecture → Epics → Development AI Agents
12
+
13
+ Each successive document becomes more AI-tailored and granular.
14
+
15
+ ---
16
+
17
+ ## Core Philosophy: Information Density
18
+
19
+ **High Signal-to-Noise Ratio**
20
+
21
+ Every sentence must carry information weight. LLMs consume precise, dense content efficiently.
22
+
23
+ **Anti-Patterns (Eliminate These):**
24
+ - ❌ "The system will allow users to..." → ✅ "Users can..."
25
+ - ❌ "It is important to note that..." → ✅ State the fact directly
26
+ - ❌ "In order to..." → ✅ "To..."
27
+ - ❌ Conversational filler and padding → ✅ Direct, concise statements
28
+
29
+ **Goal:** Maximum information per word. Zero fluff.
30
+
31
+ ---
32
+
33
+ ## The Traceability Chain
34
+
35
+ **PRD starts the chain:**
36
+ ```
37
+ Vision → Success Criteria → User Journeys → Functional Requirements → (future: User Stories)
38
+ ```
39
+
40
+ **In the PRD, establish:**
41
+ - Vision → Success Criteria alignment
42
+ - Success Criteria → User Journey coverage
43
+ - User Journey → Functional Requirement mapping
44
+ - All requirements traceable to user needs
45
+
46
+ **Why:** Each downstream artifact (UX, Architecture, Epics, Stories) must trace back to documented user needs and business objectives. This chain ensures we build the right thing.
47
+
48
+ ---
49
+
50
+ ## What Makes Great Functional Requirements?
51
+
52
+ ### FRs are Capabilities, Not Implementation
53
+
54
+ **Good FR:** "Users can reset their password via email link"
55
+ **Bad FR:** "System sends JWT via email and validates with database" (implementation leakage)
56
+
57
+ **Good FR:** "Dashboard loads in under 2 seconds for 95th percentile"
58
+ **Bad FR:** "Fast loading time" (subjective, unmeasurable)
59
+
60
+ ### SMART Quality Criteria
61
+
62
+ **Specific:** Clear, precisely defined capability
63
+ **Measurable:** Quantifiable with test criteria
64
+ **Attainable:** Realistic within constraints
65
+ **Relevant:** Aligns with business objectives
66
+ **Traceable:** Links to source (executive summary or user journey)
67
+
68
+ ### FR Anti-Patterns
69
+
70
+ **Subjective Adjectives:**
71
+ - ❌ "easy to use", "intuitive", "user-friendly", "fast", "responsive"
72
+ - ✅ Use metrics: "completes task in under 3 clicks", "loads in under 2 seconds"
73
+
74
+ **Implementation Leakage:**
75
+ - ❌ Technology names, specific libraries, implementation details
76
+ - ✅ Focus on capability and measurable outcomes
77
+
78
+ **Vague Quantifiers:**
79
+ - ❌ "multiple users", "several options", "various formats"
80
+ - ✅ "up to 100 concurrent users", "3-5 options", "PDF, DOCX, TXT formats"
81
+
82
+ **Missing Test Criteria:**
83
+ - ❌ "The system shall provide notifications"
84
+ - ✅ "The system shall send email notifications within 30 seconds of trigger event"
85
+
86
+ ---
87
+
88
+ ## What Makes Great Non-Functional Requirements?
89
+
90
+ ### NFRs Must Be Measurable
91
+
92
+ **Template:**
93
+ ```
94
+ "The system shall [metric] [condition] [measurement method]"
95
+ ```
96
+
97
+ **Examples:**
98
+ - ✅ "The system shall respond to API requests in under 200ms for 95th percentile as measured by APM monitoring"
99
+ - ✅ "The system shall maintain 99.9% uptime during business hours as measured by cloud provider SLA"
100
+ - ✅ "The system shall support 10,000 concurrent users as measured by load testing"
101
+
102
+ ### NFR Anti-Patterns
103
+
104
+ **Unmeasurable Claims:**
105
+ - ❌ "The system shall be scalable" → ✅ "The system shall handle 10x load growth through horizontal scaling"
106
+ - ❌ "High availability required" → ✅ "99.9% uptime as measured by cloud provider SLA"
107
+
108
+ **Missing Context:**
109
+ - ❌ "Response time under 1 second" → ✅ "API response time under 1 second for 95th percentile under normal load"
110
+
111
+ ---
112
+
113
+ ## Domain-Specific Requirements
114
+
115
+ **Auto-Detect and Enforce Based on Project Context**
116
+
117
+ Certain industries have mandatory requirements that must be present:
118
+
119
+ - **Healthcare:** HIPAA Privacy & Security Rules, PHI encryption, audit logging, MFA
120
+ - **Fintech:** PCI-DSS Level 1, AML/KYC compliance, SOX controls, financial audit trails
121
+ - **GovTech:** NIST framework, Section 508 accessibility (WCAG 2.1 AA), FedRAMP, data residency
122
+ - **E-Commerce:** PCI-DSS for payments, inventory accuracy, tax calculation by jurisdiction
123
+
124
+ **Why:** Missing these requirements in the PRD means they'll be missed in architecture and implementation, creating expensive rework. During PRD creation there is a step to cover this - during validation we want to make sure it was covered. For this purpose steps will utilize a domain-complexity.csv and project-types.csv.
125
+
126
+ ---
127
+
128
+ ## Document Structure (Markdown, Human-Readable)
129
+
130
+ ### Required Sections
131
+ 1. **Executive Summary** - Vision, differentiator, target users
132
+ 2. **Success Criteria** - Measurable outcomes (SMART)
133
+ 3. **Product Scope** - MVP, Growth, Vision phases
134
+ 4. **User Journeys** - Comprehensive coverage
135
+ 5. **Domain Requirements** - Industry-specific compliance (if applicable)
136
+ 6. **Innovation Analysis** - Competitive differentiation (if applicable)
137
+ 7. **Project-Type Requirements** - Platform-specific needs
138
+ 8. **Functional Requirements** - Capability contract (FRs)
139
+ 9. **Non-Functional Requirements** - Quality attributes (NFRs)
140
+
141
+ ### Formatting for Dual Consumption
142
+
143
+ **For Humans:**
144
+ - Clear, professional language
145
+ - Logical flow from vision to requirements
146
+ - Easy for stakeholders to review and approve
147
+
148
+ **For LLMs:**
149
+ - ## Level 2 headers for all main sections (enables extraction)
150
+ - Consistent structure and patterns
151
+ - Precise, testable language
152
+ - High information density
153
+
154
+ ---
155
+
156
+ ## Downstream Impact
157
+
158
+ **How the PRD Feeds Next Artifacts:**
159
+
160
+ **UX Design:**
161
+ - User journeys → interaction flows
162
+ - FRs → design requirements
163
+ - Success criteria → UX metrics
164
+
165
+ **Architecture:**
166
+ - FRs → system capabilities
167
+ - NFRs → architecture decisions
168
+ - Domain requirements → compliance architecture
169
+ - Project-type requirements → platform choices
170
+
171
+ **Epics & Stories (created after architecture):**
172
+ - FRs → user stories (1 FR could map to 1-3 stories potentially)
173
+ - Acceptance criteria → story acceptance tests
174
+ - Priority → sprint sequencing
175
+ - Traceability → stories map back to vision
176
+
177
+ **Development AI Agents:**
178
+ - Precise requirements → implementation clarity
179
+ - Test criteria → automated test generation
180
+ - Domain requirements → compliance enforcement
181
+ - Measurable NFRs → performance targets
182
+
183
+ ---
184
+
185
+ ## Summary: What Makes a Great BMAD PRD?
186
+
187
+ ✅ **High Information Density** - Every sentence carries weight, zero fluff
188
+ ✅ **Measurable Requirements** - All FRs and NFRs are testable with specific criteria
189
+ ✅ **Clear Traceability** - Each requirement links to user need and business objective
190
+ ✅ **Domain Awareness** - Industry-specific requirements auto-detected and included
191
+ ✅ **Zero Anti-Patterns** - No subjective adjectives, implementation leakage, or vague quantifiers
192
+ ✅ **Dual Audience Optimized** - Human-readable AND LLM-consumable
193
+ ✅ **Markdown Format** - Professional, clean, accessible to all stakeholders
194
+
195
+ ---
196
+
197
+ **Remember:** The PRD is the foundation. Quality here ripples through every subsequent phase. A dense, precise, well-traced PRD makes UX design, architecture, epic breakdown, and AI development dramatically more effective.
@@ -2,19 +2,13 @@
2
2
  name: 'step-01-init'
3
3
  description: 'Initialize the PRD workflow by detecting continuation state and setting up the document'
4
4
 
5
- # Path Definitions
6
- workflow_path: '{project-root}/_bmad/bmm/workflows/2-plan-workflows/prd'
7
-
8
5
  # File References
9
- thisStepFile: '{workflow_path}/steps/step-01-init.md'
10
- nextStepFile: '{workflow_path}/steps/step-02-discovery.md'
11
- continueStepFile: '{workflow_path}/steps/step-01b-continue.md'
12
- workflowFile: '{workflow_path}/workflow.md'
6
+ nextStepFile: './step-02-discovery.md'
7
+ continueStepFile: './step-01b-continue.md'
13
8
  outputFile: '{planning_artifacts}/prd.md'
14
9
 
15
-
16
- # Template References
17
- prdTemplate: '{workflow_path}/prd-template.md'
10
+ # Template Reference
11
+ prdTemplate: '../templates/prd-template.md'
18
12
  ---
19
13
 
20
14
  # Step 1: Workflow Initialization
@@ -33,6 +27,7 @@ Initialize the PRD workflow by detecting continuation state, discovering input d
33
27
  - 📖 CRITICAL: Read the complete step file before taking any action
34
28
  - 🔄 CRITICAL: When loading next step with 'C', ensure entire file is read
35
29
  - 📋 YOU ARE A FACILITATOR, not a content generator
30
+ - ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
36
31
 
37
32
  ### Role Reinforcement:
38
33
 
@@ -156,7 +151,7 @@ Display menu after setup report:
156
151
 
157
152
  #### Menu Handling Logic:
158
153
 
159
- - IF C: Update frontmatter with `stepsCompleted: [1]`, then load, read entire {nextStepFile}, then execute {nextStepFile}
154
+ - IF C: Update output file frontmatter, adding this step name to the end of the list of stepsCompleted, then load, read entire {nextStepFile}, then execute {nextStepFile}
160
155
  - IF user provides additional files: Load them, update inputDocuments and documentCounts, redisplay report
161
156
  - IF user asks questions: Answer and redisplay menu
162
157
 
@@ -167,7 +162,7 @@ Display menu after setup report:
167
162
 
168
163
  ## CRITICAL STEP COMPLETION NOTE
169
164
 
170
- ONLY WHEN [C continue option] is selected and [frontmatter properly updated with stepsCompleted: [1] and documentCounts], will you then load and read fully `{nextStepFile}` to execute and begin project discovery.
165
+ ONLY WHEN [C continue option] is selected and [frontmatter properly updated with this step added to stepsCompleted and documentCounts], will you then load and read fully `{nextStepFile}` to execute and begin project discovery.
171
166
 
172
167
  ---
173
168
 
@@ -181,7 +176,7 @@ ONLY WHEN [C continue option] is selected and [frontmatter properly updated with
181
176
  - All discovered files tracked in frontmatter `inputDocuments`
182
177
  - User clearly informed of brownfield vs greenfield status
183
178
  - Menu presented and user input handled correctly
184
- - Frontmatter updated with `stepsCompleted: [1]` before proceeding
179
+ - Frontmatter updated with this step name added to stepsCompleted before proceeding
185
180
 
186
181
  ### ❌ SYSTEM FAILURE:
187
182
 
@@ -2,12 +2,7 @@
2
2
  name: 'step-01b-continue'
3
3
  description: 'Resume an interrupted PRD workflow from the last completed step'
4
4
 
5
- # Path Definitions
6
- workflow_path: '{project-root}/_bmad/bmm/workflows/2-plan-workflows/prd'
7
-
8
5
  # File References
9
- thisStepFile: '{workflow_path}/steps/step-01b-continue.md'
10
- workflowFile: '{workflow_path}/workflow.md'
11
6
  outputFile: '{planning_artifacts}/prd.md'
12
7
  ---
13
8
 
@@ -25,6 +20,7 @@ Resume the PRD workflow from where it was left off, ensuring smooth continuation
25
20
  - 📖 CRITICAL: Read the complete step file before taking any action
26
21
  - 🔄 CRITICAL: When loading next step with 'C', ensure entire file is read
27
22
  - 📋 YOU ARE A FACILITATOR, not a content generator
23
+ - ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
28
24
 
29
25
  ### Role Reinforcement:
30
26
 
@@ -59,10 +55,9 @@ Resume the PRD workflow from where it was left off, ensuring smooth continuation
59
55
  **State Assessment:**
60
56
  Review the frontmatter to understand:
61
57
 
62
- - `stepsCompleted`: Which steps are already done
63
- - `lastStep`: The most recently completed step number
58
+ - `stepsCompleted`: Array of completed step filenames
59
+ - Last element of `stepsCompleted` array: The most recently completed step
64
60
  - `inputDocuments`: What context was already loaded
65
- - `documentCounts`: briefs, research, brainstorming, projectDocs counts
66
61
  - All other frontmatter variables
67
62
 
68
63
  ### 2. Restore Context Documents
@@ -73,47 +68,27 @@ Review the frontmatter to understand:
73
68
  - This ensures you have full context for continuation
74
69
  - Don't discover new documents - only reload what was previously processed
75
70
 
76
- ### 3. Present Current Progress
77
-
78
- **Progress Report to User:**
79
- "Welcome back {{user_name}}! I'm resuming our PRD collaboration for {{project_name}}.
80
-
81
- **Current Progress:**
82
-
83
- - Steps completed: {stepsCompleted}
84
- - Last worked on: Step {lastStep}
85
- - Context documents available: {len(inputDocuments)} files
86
-
87
- **Document Status:**
88
-
89
- - Current PRD document is ready with all completed sections
90
- - Ready to continue from where we left off
91
-
92
- Does this look right, or do you want to make any adjustments before we proceed?"
93
-
94
- ### 4. Determine Continuation Path
71
+ ### 3. Determine Next Step
95
72
 
96
- **Next Step Logic:**
97
- Based on `lastStep` value, determine which step to load next:
73
+ **Simplified Next Step Logic:**
74
+ 1. Get the last element from the `stepsCompleted` array (this is the filename of the last completed step, e.g., "step-03-success.md")
75
+ 2. Load that step file and read its frontmatter
76
+ 3. Extract the `nextStepFile` value from the frontmatter
77
+ 4. That's the next step to load!
98
78
 
99
- - If `lastStep = 1` → Load `./step-02-discovery.md`
100
- - If `lastStep = 2` Load `./step-03-success.md`
101
- - If `lastStep = 3` → Load `./step-04-journeys.md`
102
- - If `lastStep = 4` → Load `./step-05-domain.md`
103
- - If `lastStep = 5` → Load `./step-06-innovation.md`
104
- - If `lastStep = 6` Load `./step-07-project-type.md`
105
- - If `lastStep = 7` → Load `./step-08-scoping.md`
106
- - If `lastStep = 8` → Load `./step-09-functional.md`
107
- - If `lastStep = 9` → Load `./step-10-nonfunctional.md`
108
- - If `lastStep = 10` → Load `./step-11-complete.md`
109
- - If `lastStep = 11` → Workflow already complete
79
+ **Example:**
80
+ - If `stepsCompleted = ["step-01-init.md", "step-02-discovery.md", "step-03-success.md"]`
81
+ - Last element is `"step-03-success.md"`
82
+ - Load `step-03-success.md`, read its frontmatter
83
+ - Find `nextStepFile: './step-04-journeys.md'`
84
+ - Next step to load is `./step-04-journeys.md`
110
85
 
111
- ### 5. Handle Workflow Completion
86
+ ### 4. Handle Workflow Completion
112
87
 
113
- **If workflow already complete (`lastStep = 11`):**
88
+ **If `stepsCompleted` array contains `"step-11-complete.md"`:**
114
89
  "Great news! It looks like we've already completed the PRD workflow for {{project_name}}.
115
90
 
116
- The final document is ready at `{outputFile}` with all sections completed through step 11.
91
+ The final document is ready at `{outputFile}` with all sections completed.
117
92
 
118
93
  Would you like me to:
119
94
 
@@ -123,16 +98,29 @@ Would you like me to:
123
98
 
124
99
  What would be most helpful?"
125
100
 
126
- ### 6. Present MENU OPTIONS
101
+ ### 5. Present Current Progress
127
102
 
128
103
  **If workflow not complete:**
129
- Display: "Ready to continue with Step {nextStepNumber}?
104
+ "Welcome back {{user_name}}! I'm resuming our PRD collaboration for {{project_name}}.
105
+
106
+ **Current Progress:**
107
+ - Last completed: {last step filename from stepsCompleted array}
108
+ - Next up: {nextStepFile determined from that step's frontmatter}
109
+ - Context documents available: {len(inputDocuments)} files
110
+
111
+ **Document Status:**
112
+ - Current PRD document is ready with all completed sections
113
+ - Ready to continue from where we left off
114
+
115
+ Does this look right, or do you want to make any adjustments before we proceed?"
116
+
117
+ ### 6. Present MENU OPTIONS
130
118
 
131
- **Select an Option:** [C] Continue to next step"
119
+ Display: "**Select an Option:** [C] Continue to {next step name}"
132
120
 
133
121
  #### Menu Handling Logic:
134
122
 
135
- - IF C: Load, read entire file, then execute the appropriate next step file based on `lastStep`
123
+ - IF C: Load, read entire file, then execute the {nextStepFile} determined in step 3
136
124
  - IF Any other comments or queries: respond and redisplay menu
137
125
 
138
126
  #### EXECUTION RULES:
@@ -142,7 +130,7 @@ Display: "Ready to continue with Step {nextStepNumber}?
142
130
 
143
131
  ## CRITICAL STEP COMPLETION NOTE
144
132
 
145
- ONLY WHEN [C continue option] is selected and [current state confirmed], will you then load and read fully the appropriate next step file to resume the workflow.
133
+ ONLY WHEN [C continue option] is selected and [current state confirmed], will you then load and read fully the {nextStepFile} to resume the workflow.
146
134
 
147
135
  ---
148
136
 
@@ -159,7 +147,7 @@ ONLY WHEN [C continue option] is selected and [current state confirmed], will yo
159
147
 
160
148
  - Discovering new input documents instead of reloading existing ones
161
149
  - Modifying content from already completed steps
162
- - Loading wrong next step based on `lastStep` value
150
+ - Failing to extract nextStepFile from the last completed step's frontmatter
163
151
  - Proceeding without user confirmation of current state
164
152
 
165
153
  **Master Rule:** Skipping steps, optimizing sequences, or not following exact instructions is FORBIDDEN and constitutes SYSTEM FAILURE.
@@ -0,0 +1,224 @@
1
+ ---
2
+ name: 'step-02-discovery'
3
+ description: 'Discover project type, domain, and context through collaborative dialogue'
4
+
5
+ # File References
6
+ nextStepFile: './step-03-success.md'
7
+ outputFile: '{planning_artifacts}/prd.md'
8
+
9
+ # Data Files
10
+ projectTypesCSV: '../data/project-types.csv'
11
+ domainComplexityCSV: '../data/domain-complexity.csv'
12
+
13
+ # Task References
14
+ advancedElicitationTask: '{project-root}/_bmad/core/workflows/advanced-elicitation/workflow.xml'
15
+ partyModeWorkflow: '{project-root}/_bmad/core/workflows/party-mode/workflow.md'
16
+ ---
17
+
18
+ # Step 2: Project Discovery
19
+
20
+ **Progress: Step 2 of 13** - Next: Product Vision
21
+
22
+ ## STEP GOAL:
23
+
24
+ Discover and classify the project - understand what type of product this is, what domain it operates in, and the project context (greenfield vs brownfield).
25
+
26
+ ## MANDATORY EXECUTION RULES (READ FIRST):
27
+
28
+ ### Universal Rules:
29
+
30
+ - 🛑 NEVER generate content without user input
31
+ - 📖 CRITICAL: Read the complete step file before taking any action
32
+ - 🔄 CRITICAL: When loading next step with 'C', ensure the entire file is read
33
+ - ✅ ALWAYS treat this as collaborative discovery between PM peers
34
+ - 📋 YOU ARE A FACILITATOR, not a content generator
35
+ - ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
36
+
37
+ ### Role Reinforcement:
38
+
39
+ - ✅ You are a product-focused PM facilitator collaborating with an expert peer
40
+ - ✅ We engage in collaborative dialogue, not command-response
41
+ - ✅ You bring structured thinking and facilitation skills, while the user brings domain expertise and product vision
42
+
43
+ ### Step-Specific Rules:
44
+
45
+ - 🎯 Focus on classification and understanding - no content generation yet
46
+ - 🚫 FORBIDDEN to generate executive summary or vision statements (that's next steps)
47
+ - 💬 APPROACH: Natural conversation to understand the project
48
+ - 🎯 LOAD classification data BEFORE starting discovery conversation
49
+
50
+ ## EXECUTION PROTOCOLS:
51
+
52
+ - 🎯 Show your analysis before taking any action
53
+ - ⚠️ Present A/P/C menu after classification complete
54
+ - 💾 ONLY save classification to frontmatter when user chooses C (Continue)
55
+ - 📖 Update frontmatter, adding this step to the end of the list of stepsCompleted
56
+ - 🚫 FORBIDDEN to load next step until C is selected
57
+
58
+ ## CONTEXT BOUNDARIES:
59
+
60
+ - Current document and frontmatter from step 1 are available
61
+ - Input documents already loaded are in memory (product briefs, research, brainstorming, project docs)
62
+ - **Document counts available in frontmatter `documentCounts`**
63
+ - Classification CSV data will be loaded in this step only
64
+ - No executive summary or vision content yet (that's steps 2b and 2c)
65
+
66
+ ## YOUR TASK:
67
+
68
+ Discover and classify the project through natural conversation:
69
+ - What type of product is this? (web app, API, mobile, etc.)
70
+ - What domain does it operate in? (healthcare, fintech, e-commerce, etc.)
71
+ - What's the project context? (greenfield new product vs brownfield existing system)
72
+ - How complex is this domain? (low, medium, high)
73
+
74
+ ## DISCOVERY SEQUENCE:
75
+
76
+ ### 1. Check Document State
77
+
78
+ Read the frontmatter from `{outputFile}` to get document counts:
79
+ - `briefCount` - Product briefs available
80
+ - `researchCount` - Research documents available
81
+ - `brainstormingCount` - Brainstorming docs available
82
+ - `projectDocsCount` - Existing project documentation
83
+
84
+ **Announce your understanding:**
85
+
86
+ "From step 1, I have loaded:
87
+ - Product briefs: {{briefCount}}
88
+ - Research: {{researchCount}}
89
+ - Brainstorming: {{brainstormingCount}}
90
+ - Project docs: {{projectDocsCount}}
91
+
92
+ {{if projectDocsCount > 0}}This is a brownfield project - I'll focus on understanding what you want to add or change.{{else}}This is a greenfield project - I'll help you define the full product vision.{{/if}}"
93
+
94
+ ### 2. Load Classification Data
95
+
96
+ **Attempt subprocess data lookup:**
97
+
98
+ **Project Type Lookup:**
99
+ "Your task: Lookup data in {projectTypesCSV}
100
+
101
+ **Search criteria:**
102
+ - Find row where project_type matches {{detectedProjectType}}
103
+
104
+ **Return format:**
105
+ Return ONLY the matching row as a YAML-formatted object with these fields:
106
+ project_type, detection_signals
107
+
108
+ **Do NOT return the entire CSV - only the matching row.**"
109
+
110
+ **Domain Complexity Lookup:**
111
+ "Your task: Lookup data in {domainComplexityCSV}
112
+
113
+ **Search criteria:**
114
+ - Find row where domain matches {{detectedDomain}}
115
+
116
+ **Return format:**
117
+ Return ONLY the matching row as a YAML-formatted object with these fields:
118
+ domain, complexity, typical_concerns, compliance_requirements
119
+
120
+ **Do NOT return the entire CSV - only the matching row.**"
121
+
122
+ **Graceful degradation (if Task tool unavailable):**
123
+ - Load the CSV files directly
124
+ - Find the matching rows manually
125
+ - Extract required fields
126
+ - Keep in memory for intelligent classification
127
+
128
+ ### 3. Begin Discovery Conversation
129
+
130
+ **Start with what you know:**
131
+
132
+ If the user has a product brief or project docs, acknowledge them and share your understanding. Then ask clarifying questions to deepen your understanding.
133
+
134
+ If this is a greenfield project with no docs, start with open-ended discovery:
135
+ - What problem does this solve?
136
+ - Who's it for?
137
+ - What excites you about building this?
138
+
139
+ **Listen for classification signals:**
140
+
141
+ As the user describes their product, match against:
142
+ - **Project type signals** (API, mobile, SaaS, etc.)
143
+ - **Domain signals** (healthcare, fintech, education, etc.)
144
+ - **Complexity indicators** (regulated industries, novel technology, etc.)
145
+
146
+ ### 4. Confirm Classification
147
+
148
+ Once you have enough understanding, share your classification:
149
+
150
+ "I'm hearing this as:
151
+ - **Project Type:** {{detectedType}}
152
+ - **Domain:** {{detectedDomain}}
153
+ - **Complexity:** {{complexityLevel}}
154
+
155
+ Does this sound right to you?"
156
+
157
+ Let the user confirm or refine your classification.
158
+
159
+ ### 5. Save Classification to Frontmatter
160
+
161
+ When user selects 'C', update frontmatter with classification:
162
+ ```yaml
163
+ classification:
164
+ projectType: {{projectType}}
165
+ domain: {{domain}}
166
+ complexity: {{complexityLevel}}
167
+ projectContext: {{greenfield|brownfield}}
168
+ ```
169
+
170
+ ### N. Present MENU OPTIONS
171
+
172
+ Present the project classification for review, then display menu:
173
+
174
+ "Based on our conversation, I've discovered and classified your project.
175
+
176
+ **Here's the classification:**
177
+
178
+ **Project Type:** {{detectedType}}
179
+ **Domain:** {{detectedDomain}}
180
+ **Complexity:** {{complexityLevel}}
181
+ **Project Context:** {{greenfield|brownfield}}
182
+
183
+ **What would you like to do?**"
184
+
185
+ Display: "**Select:** [A] Advanced Elicitation [P] Party Mode [C] Continue to Product Vision (Step 2b of 13)"
186
+
187
+ #### Menu Handling Logic:
188
+ - IF A: Execute {advancedElicitationTask} with the current classification, process the enhanced insights that come back, ask user if they accept the improvements, if yes update classification then redisplay menu, if no keep original classification then redisplay menu
189
+ - IF P: Execute {partyModeWorkflow} with the current classification, process the collaborative insights, ask user if they accept the changes, if yes update classification then redisplay menu, if no keep original classification then redisplay menu
190
+ - IF C: Save classification to {outputFile} frontmatter, add this step name to the end of stepsCompleted array, then load, read entire file, then execute {nextStepFile}
191
+ - IF Any other: help user respond, then redisplay menu
192
+
193
+ #### EXECUTION RULES:
194
+ - ALWAYS halt and wait for user input after presenting menu
195
+ - ONLY proceed to next step when user selects 'C'
196
+ - After other menu items execution, return to this menu
197
+
198
+ ## CRITICAL STEP COMPLETION NOTE
199
+
200
+ ONLY WHEN [C continue option] is selected and [classification saved to frontmatter], will you then load and read fully `{nextStepFile}` to explore product vision.
201
+
202
+ ---
203
+
204
+ ## 🚨 SYSTEM SUCCESS/FAILURE METRICS
205
+
206
+ ### ✅ SUCCESS:
207
+
208
+ - Document state checked and announced to user
209
+ - Classification data loaded and used intelligently
210
+ - Natural conversation to understand project type, domain, complexity
211
+ - Classification validated with user before saving
212
+ - Frontmatter updated with classification when C selected
213
+ - User's existing documents acknowledged and built upon
214
+
215
+ ### ❌ SYSTEM FAILURE:
216
+
217
+ - Not reading documentCounts from frontmatter first
218
+ - Skipping classification data loading
219
+ - Generating executive summary or vision content (that's later steps!)
220
+ - Not validating classification with user
221
+ - Being prescriptive instead of having natural conversation
222
+ - Proceeding without user selecting 'C'
223
+
224
+ **Master Rule:** This is classification and understanding only. No content generation yet. Build on what the user already has. Have natural conversations, don't follow scripts.