agentvibes 3.1.0 → 3.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (345) hide show
  1. package/.bmad/_cfg/agent-manifest.csv +9 -9
  2. package/.bmad/_cfg/agent-voice-map.csv +11 -11
  3. package/.bmad/_cfg/agents/bmm-quick-flow-solo-dev.customize.yaml +42 -0
  4. package/.bmad/_cfg/files-manifest.csv +286 -242
  5. package/.bmad/_cfg/ides/claude-code.yaml +1 -1
  6. package/.bmad/_cfg/manifest.yaml +5 -3
  7. package/.bmad/_cfg/task-manifest.csv +1 -0
  8. package/.bmad/_cfg/workflow-manifest.csv +37 -38
  9. package/.bmad/bmm/agents/analyst.md +40 -41
  10. package/.bmad/bmm/agents/{frame-expert.md → analyst.md.bak} +23 -16
  11. package/.bmad/bmm/agents/architect.md +34 -42
  12. package/.bmad/bmm/agents/dev.md +38 -34
  13. package/.bmad/bmm/agents/pm.md +34 -46
  14. package/.bmad/bmm/agents/quick-flow-solo-dev.md +64 -0
  15. package/.bmad/bmm/agents/sm.md +47 -53
  16. package/.bmad/bmm/agents/tea.md +41 -42
  17. package/.bmad/bmm/agents/tech-writer.md +37 -39
  18. package/.bmad/bmm/agents/ux-designer.md +42 -41
  19. package/.bmad/bmm/config.yaml +7 -5
  20. package/.bmad/bmm/data/README.md +29 -0
  21. package/.bmad/bmm/data/project-context-template.md +40 -0
  22. package/.bmad/bmm/docs/README.md +48 -10
  23. package/.bmad/bmm/docs/agents-guide.md +80 -53
  24. package/.bmad/bmm/docs/bmad-quick-flow.md +528 -0
  25. package/.bmad/bmm/docs/brownfield-guide.md +25 -39
  26. package/.bmad/bmm/docs/enterprise-agentic-development.md +3 -3
  27. package/.bmad/bmm/docs/faq.md +6 -39
  28. package/.bmad/bmm/docs/glossary.md +12 -25
  29. package/.bmad/bmm/docs/images/README.md +37 -0
  30. package/.bmad/bmm/docs/images/workflow-method-greenfield.excalidraw +5034 -0
  31. package/.bmad/bmm/docs/images/workflow-method-greenfield.svg +4 -0
  32. package/.bmad/bmm/docs/quick-flow-solo-dev.md +337 -0
  33. package/.bmad/bmm/docs/quick-spec-flow.md +5 -5
  34. package/.bmad/bmm/docs/quick-start.md +15 -25
  35. package/.bmad/bmm/docs/scale-adaptive-system.md +11 -5
  36. package/.bmad/bmm/docs/test-architecture.md +90 -24
  37. package/.bmad/bmm/docs/troubleshooting.md +680 -0
  38. package/.bmad/bmm/docs/workflow-document-project-reference.md +1 -1
  39. package/.bmad/bmm/docs/workflows-analysis.md +36 -140
  40. package/.bmad/bmm/docs/workflows-implementation.md +182 -157
  41. package/.bmad/bmm/docs/workflows-planning.md +51 -212
  42. package/.bmad/bmm/docs/workflows-solutioning.md +26 -71
  43. package/.bmad/bmm/tasks/daily-standup.xml +85 -0
  44. package/.bmad/bmm/teams/default-party.csv +15 -14
  45. package/.bmad/bmm/teams/team-fullstack.yaml +0 -1
  46. package/.bmad/bmm/testarch/knowledge/api-request.md +303 -0
  47. package/.bmad/bmm/testarch/knowledge/auth-session.md +356 -0
  48. package/.bmad/bmm/testarch/knowledge/burn-in.md +273 -0
  49. package/.bmad/bmm/testarch/knowledge/ci-burn-in.md +1 -1
  50. package/.bmad/bmm/testarch/knowledge/file-utils.md +260 -0
  51. package/.bmad/bmm/testarch/knowledge/fixtures-composition.md +382 -0
  52. package/.bmad/bmm/testarch/knowledge/intercept-network-call.md +280 -0
  53. package/.bmad/bmm/testarch/knowledge/log.md +294 -0
  54. package/.bmad/bmm/testarch/knowledge/network-error-monitor.md +272 -0
  55. package/.bmad/bmm/testarch/knowledge/network-recorder.md +265 -0
  56. package/.bmad/bmm/testarch/knowledge/overview.md +284 -0
  57. package/.bmad/bmm/testarch/knowledge/recurse.md +296 -0
  58. package/.bmad/bmm/testarch/tea-index.csv +11 -0
  59. package/.bmad/bmm/workflows/1-analysis/product-brief/product-brief.template.md +8 -0
  60. package/.bmad/bmm/workflows/1-analysis/product-brief/steps/step-01-init.md +192 -0
  61. package/.bmad/bmm/workflows/1-analysis/product-brief/steps/step-01b-continue.md +167 -0
  62. package/.bmad/bmm/workflows/1-analysis/product-brief/steps/step-02-vision.md +203 -0
  63. package/.bmad/bmm/workflows/1-analysis/product-brief/steps/step-03-users.md +206 -0
  64. package/.bmad/bmm/workflows/1-analysis/product-brief/steps/step-04-metrics.md +209 -0
  65. package/.bmad/bmm/workflows/1-analysis/product-brief/steps/step-05-scope.md +223 -0
  66. package/.bmad/bmm/workflows/1-analysis/product-brief/steps/step-06-complete.md +199 -0
  67. package/.bmad/bmm/workflows/1-analysis/product-brief/workflow.md +58 -0
  68. package/.bmad/bmm/workflows/1-analysis/research/domain-steps/step-01-init.md +136 -0
  69. package/.bmad/bmm/workflows/1-analysis/research/domain-steps/step-02-domain-analysis.md +228 -0
  70. package/.bmad/bmm/workflows/1-analysis/research/domain-steps/step-03-competitive-landscape.md +237 -0
  71. package/.bmad/bmm/workflows/1-analysis/research/domain-steps/step-04-regulatory-focus.md +205 -0
  72. package/.bmad/bmm/workflows/1-analysis/research/domain-steps/step-05-technical-trends.md +233 -0
  73. package/.bmad/bmm/workflows/1-analysis/research/domain-steps/step-06-research-synthesis.md +442 -0
  74. package/.bmad/bmm/workflows/1-analysis/research/market-steps/step-01-init.md +181 -0
  75. package/.bmad/bmm/workflows/1-analysis/research/market-steps/step-02-customer-behavior.md +236 -0
  76. package/.bmad/bmm/workflows/1-analysis/research/market-steps/step-02-customer-insights.md +199 -0
  77. package/.bmad/bmm/workflows/1-analysis/research/market-steps/step-03-customer-pain-points.md +248 -0
  78. package/.bmad/bmm/workflows/1-analysis/research/market-steps/step-04-customer-decisions.md +258 -0
  79. package/.bmad/bmm/workflows/1-analysis/research/market-steps/step-05-competitive-analysis.md +176 -0
  80. package/.bmad/bmm/workflows/1-analysis/research/market-steps/step-06-research-completion.md +474 -0
  81. package/.bmad/bmm/workflows/1-analysis/research/research.template.md +15 -0
  82. package/.bmad/bmm/workflows/1-analysis/research/technical-steps/step-01-init.md +136 -0
  83. package/.bmad/bmm/workflows/1-analysis/research/technical-steps/step-02-technical-overview.md +238 -0
  84. package/.bmad/bmm/workflows/1-analysis/research/technical-steps/step-03-integration-patterns.md +247 -0
  85. package/.bmad/bmm/workflows/1-analysis/research/technical-steps/step-04-architectural-patterns.md +201 -0
  86. package/.bmad/bmm/workflows/1-analysis/research/technical-steps/step-05-implementation-research.md +238 -0
  87. package/.bmad/bmm/workflows/1-analysis/research/technical-steps/step-06-research-synthesis.md +485 -0
  88. package/.bmad/bmm/workflows/1-analysis/research/workflow.md +204 -0
  89. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-01-init.md +159 -0
  90. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-01b-continue.md +126 -0
  91. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-02-discovery.md +209 -0
  92. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-03-core-experience.md +215 -0
  93. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-04-emotional-response.md +218 -0
  94. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-05-inspiration.md +233 -0
  95. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-06-design-system.md +251 -0
  96. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-07-defining-experience.md +253 -0
  97. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-08-visual-foundation.md +223 -0
  98. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-09-design-directions.md +223 -0
  99. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-10-user-journeys.md +240 -0
  100. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-11-component-strategy.md +247 -0
  101. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-12-ux-patterns.md +236 -0
  102. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-13-responsive-accessibility.md +263 -0
  103. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-14-complete.md +226 -0
  104. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/ux-design-template.md +6 -138
  105. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/workflow.md +59 -0
  106. package/.bmad/bmm/workflows/2-plan-workflows/prd/prd-template.md +12 -200
  107. package/.bmad/bmm/workflows/2-plan-workflows/prd/steps/step-01-init.md +243 -0
  108. package/.bmad/bmm/workflows/2-plan-workflows/prd/steps/step-01b-continue.md +165 -0
  109. package/.bmad/bmm/workflows/2-plan-workflows/prd/steps/step-02-discovery.md +420 -0
  110. package/.bmad/bmm/workflows/2-plan-workflows/prd/steps/step-03-success.md +289 -0
  111. package/.bmad/bmm/workflows/2-plan-workflows/prd/steps/step-04-journeys.md +290 -0
  112. package/.bmad/bmm/workflows/2-plan-workflows/prd/steps/step-05-domain.md +270 -0
  113. package/.bmad/bmm/workflows/2-plan-workflows/prd/steps/step-06-innovation.md +261 -0
  114. package/.bmad/bmm/workflows/2-plan-workflows/prd/steps/step-07-project-type.md +257 -0
  115. package/.bmad/bmm/workflows/2-plan-workflows/prd/steps/step-08-scoping.md +298 -0
  116. package/.bmad/bmm/workflows/2-plan-workflows/prd/steps/step-09-functional.md +269 -0
  117. package/.bmad/bmm/workflows/2-plan-workflows/prd/steps/step-10-nonfunctional.md +293 -0
  118. package/.bmad/bmm/workflows/2-plan-workflows/prd/steps/step-11-complete.md +223 -0
  119. package/.bmad/bmm/workflows/2-plan-workflows/prd/workflow.md +61 -0
  120. package/.bmad/bmm/workflows/3-solutioning/architecture/architecture-decision-template.md +13 -0
  121. package/.bmad/bmm/workflows/3-solutioning/architecture/data/domain-complexity.csv +11 -0
  122. package/.bmad/bmm/workflows/3-solutioning/architecture/data/project-types.csv +7 -0
  123. package/.bmad/bmm/workflows/3-solutioning/architecture/steps/step-01-init.md +194 -0
  124. package/.bmad/bmm/workflows/3-solutioning/architecture/steps/step-01b-continue.md +163 -0
  125. package/.bmad/bmm/workflows/3-solutioning/architecture/steps/step-02-context.md +223 -0
  126. package/.bmad/bmm/workflows/3-solutioning/architecture/steps/step-03-starter.md +330 -0
  127. package/.bmad/bmm/workflows/3-solutioning/architecture/steps/step-04-decisions.md +317 -0
  128. package/.bmad/bmm/workflows/3-solutioning/architecture/steps/step-05-patterns.md +358 -0
  129. package/.bmad/bmm/workflows/3-solutioning/architecture/steps/step-06-structure.md +378 -0
  130. package/.bmad/bmm/workflows/3-solutioning/architecture/steps/step-07-validation.md +358 -0
  131. package/.bmad/bmm/workflows/3-solutioning/architecture/steps/step-08-complete.md +351 -0
  132. package/.bmad/bmm/workflows/3-solutioning/architecture/workflow.md +49 -0
  133. package/.bmad/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-01-validate-prerequisites.md +258 -0
  134. package/.bmad/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-02-design-epics.md +232 -0
  135. package/.bmad/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-03-create-stories.md +271 -0
  136. package/.bmad/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-04-final-validation.md +144 -0
  137. package/.bmad/bmm/workflows/3-solutioning/create-epics-and-stories/templates/epics-template.md +57 -0
  138. package/.bmad/bmm/workflows/3-solutioning/create-epics-and-stories/workflow.md +58 -0
  139. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/steps/step-01-document-discovery.md +189 -0
  140. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/steps/step-02-prd-analysis.md +177 -0
  141. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/steps/step-03-epic-coverage-validation.md +178 -0
  142. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/steps/step-04-ux-alignment.md +138 -0
  143. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/steps/step-05-epic-quality-review.md +251 -0
  144. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/steps/step-06-final-assessment.md +132 -0
  145. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/templates/readiness-report-template.md +4 -0
  146. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/workflow.md +54 -0
  147. package/.bmad/bmm/workflows/4-implementation/code-review/checklist.md +2 -1
  148. package/.bmad/bmm/workflows/4-implementation/code-review/instructions.xml +224 -0
  149. package/.bmad/bmm/workflows/4-implementation/code-review/workflow.yaml +4 -11
  150. package/.bmad/bmm/workflows/4-implementation/create-story/checklist.md +332 -214
  151. package/.bmad/bmm/workflows/4-implementation/create-story/instructions.xml +354 -0
  152. package/.bmad/bmm/workflows/4-implementation/create-story/workflow.yaml +21 -34
  153. package/.bmad/bmm/workflows/4-implementation/dev-story/checklist.md +65 -23
  154. package/.bmad/bmm/workflows/4-implementation/dev-story/instructions.xml +406 -0
  155. package/.bmad/bmm/workflows/4-implementation/dev-story/workflow.yaml +6 -37
  156. package/.bmad/bmm/workflows/4-implementation/retrospective/instructions.md +3 -3
  157. package/.bmad/bmm/workflows/4-implementation/sprint-planning/instructions.md +19 -21
  158. package/.bmad/bmm/workflows/4-implementation/sprint-planning/sprint-status-template.yaml +11 -10
  159. package/.bmad/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +2 -0
  160. package/.bmad/bmm/workflows/4-implementation/sprint-status/instructions.md +174 -0
  161. package/.bmad/bmm/workflows/4-implementation/sprint-status/workflow.yaml +34 -0
  162. package/.bmad/bmm/workflows/bmad-quick-flow/create-tech-spec/instructions.md +115 -0
  163. package/.bmad/bmm/workflows/bmad-quick-flow/create-tech-spec/workflow.yaml +25 -0
  164. package/.bmad/bmm/workflows/bmad-quick-flow/quick-dev/checklist.md +25 -0
  165. package/.bmad/bmm/workflows/bmad-quick-flow/quick-dev/instructions.md +202 -0
  166. package/.bmad/bmm/workflows/bmad-quick-flow/quick-dev/workflow.yaml +32 -0
  167. package/.bmad/bmm/workflows/{frame-expert → diagrams}/create-dataflow/instructions.md +7 -8
  168. package/.bmad/bmm/workflows/diagrams/create-dataflow/workflow.yaml +26 -0
  169. package/.bmad/bmm/workflows/{frame-expert → diagrams}/create-diagram/instructions.md +9 -10
  170. package/.bmad/bmm/workflows/diagrams/create-diagram/workflow.yaml +26 -0
  171. package/.bmad/bmm/workflows/{frame-expert → diagrams}/create-flowchart/instructions.md +4 -5
  172. package/.bmad/bmm/workflows/diagrams/create-flowchart/workflow.yaml +26 -0
  173. package/.bmad/bmm/workflows/{frame-expert → diagrams}/create-wireframe/instructions.md +3 -3
  174. package/.bmad/bmm/workflows/diagrams/create-wireframe/workflow.yaml +26 -0
  175. package/.bmad/bmm/workflows/document-project/instructions.md +1 -1
  176. package/.bmad/bmm/workflows/document-project/workflows/deep-dive-instructions.md +2 -2
  177. package/.bmad/bmm/workflows/generate-project-context/project-context-template.md +20 -0
  178. package/.bmad/bmm/workflows/generate-project-context/steps/step-01-discover.md +193 -0
  179. package/.bmad/bmm/workflows/generate-project-context/steps/step-02-generate.md +317 -0
  180. package/.bmad/bmm/workflows/generate-project-context/steps/step-03-complete.md +277 -0
  181. package/.bmad/bmm/workflows/generate-project-context/workflow.md +48 -0
  182. package/.bmad/bmm/workflows/testarch/atdd/atdd-checklist-template.md +1 -1
  183. package/.bmad/bmm/workflows/testarch/atdd/instructions.md +23 -3
  184. package/.bmad/bmm/workflows/testarch/automate/instructions.md +23 -2
  185. package/.bmad/bmm/workflows/testarch/ci/checklist.md +1 -1
  186. package/.bmad/bmm/workflows/testarch/ci/github-actions-template.yaml +36 -3
  187. package/.bmad/bmm/workflows/testarch/ci/gitlab-ci-template.yaml +25 -4
  188. package/.bmad/bmm/workflows/testarch/ci/instructions.md +20 -3
  189. package/.bmad/bmm/workflows/testarch/framework/instructions.md +27 -1
  190. package/.bmad/bmm/workflows/testarch/test-design/instructions.md +8 -2
  191. package/.bmad/bmm/workflows/testarch/test-review/instructions.md +29 -9
  192. package/.bmad/bmm/workflows/workflow-status/init/instructions.md +66 -54
  193. package/.bmad/bmm/workflows/workflow-status/instructions.md +11 -4
  194. package/.bmad/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +22 -38
  195. package/.bmad/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +6 -22
  196. package/.bmad/bmm/workflows/workflow-status/paths/method-brownfield.yaml +6 -22
  197. package/.bmad/bmm/workflows/workflow-status/paths/method-greenfield.yaml +6 -23
  198. package/.bmad/core/agents/bmad-master.md +12 -17
  199. package/.bmad/core/agents/bmad-web-orchestrator.agent.xml +1 -1
  200. package/.bmad/core/config.yaml +11 -0
  201. package/.bmad/core/resources/excalidraw/README.md +160 -0
  202. package/.bmad/core/resources/excalidraw/library-loader.md +50 -0
  203. package/.bmad/core/tasks/advanced-elicitation-methods.csv +51 -21
  204. package/.bmad/core/tasks/advanced-elicitation.xml +18 -8
  205. package/.bmad/core/tasks/workflow.xml +36 -71
  206. package/.bmad/core/workflows/brainstorming/brain-methods.csv +62 -36
  207. package/.bmad/core/workflows/brainstorming/steps/step-01-session-setup.md +196 -0
  208. package/.bmad/core/workflows/brainstorming/steps/step-01b-continue.md +121 -0
  209. package/.bmad/core/workflows/brainstorming/steps/step-02a-user-selected.md +224 -0
  210. package/.bmad/core/workflows/brainstorming/steps/step-02b-ai-recommended.md +236 -0
  211. package/.bmad/core/workflows/brainstorming/steps/step-02c-random-selection.md +208 -0
  212. package/.bmad/core/workflows/brainstorming/steps/step-02d-progressive-flow.md +263 -0
  213. package/.bmad/core/workflows/brainstorming/steps/step-03-technique-execution.md +339 -0
  214. package/.bmad/core/workflows/brainstorming/steps/step-04-idea-organization.md +302 -0
  215. package/.bmad/core/workflows/brainstorming/template.md +13 -104
  216. package/.bmad/core/workflows/brainstorming/workflow.md +51 -0
  217. package/.bmad/core/workflows/party-mode/instructions.md.bak +205 -0
  218. package/.bmad/core/workflows/party-mode/steps/step-01-agent-loading.md +140 -0
  219. package/.bmad/core/workflows/party-mode/steps/step-02-discussion-orchestration.md +205 -0
  220. package/.bmad/core/workflows/party-mode/steps/step-03-graceful-exit.md +158 -0
  221. package/.bmad/core/workflows/party-mode/workflow.md +225 -0
  222. package/.claude/commands/bmad/bmm/agents/{frame-expert.md → quick-flow-solo-dev.md} +3 -3
  223. package/.claude/commands/bmad/bmm/workflows/check-implementation-readiness.md +5 -0
  224. package/.claude/commands/bmad/bmm/workflows/code-review.md +1 -1
  225. package/.claude/commands/bmad/bmm/workflows/create-architecture.md +5 -0
  226. package/.claude/commands/bmad/bmm/workflows/create-epics-stories.md +5 -0
  227. package/.claude/commands/bmad/bmm/workflows/{create-dataflow.md → create-excalidraw-dataflow.md} +2 -2
  228. package/.claude/commands/bmad/bmm/workflows/{create-diagram.md → create-excalidraw-diagram.md} +2 -2
  229. package/.claude/commands/bmad/bmm/workflows/{create-flowchart.md → create-excalidraw-flowchart.md} +2 -2
  230. package/.claude/commands/bmad/bmm/workflows/{create-wireframe.md → create-excalidraw-wireframe.md} +2 -2
  231. package/.claude/commands/bmad/bmm/workflows/create-prd.md +5 -0
  232. package/.claude/commands/bmad/bmm/workflows/create-product-brief.md +5 -0
  233. package/.claude/commands/bmad/bmm/workflows/create-story.md +1 -1
  234. package/.claude/commands/bmad/bmm/workflows/create-tech-spec.md +13 -0
  235. package/.claude/commands/bmad/bmm/workflows/create-ux-design.md +2 -10
  236. package/.claude/commands/bmad/bmm/workflows/generate-project-context.md +5 -0
  237. package/.claude/commands/bmad/bmm/workflows/{domain-research.md → quick-dev.md} +3 -3
  238. package/.claude/commands/bmad/bmm/workflows/research.md +2 -10
  239. package/.claude/commands/bmad/bmm/workflows/{story-context.md → sprint-status.md} +3 -3
  240. package/.claude/commands/bmad/bmm/workflows/testarch-atdd.md +13 -0
  241. package/.claude/commands/bmad/bmm/workflows/testarch-automate.md +13 -0
  242. package/.claude/commands/bmad/bmm/workflows/testarch-ci.md +13 -0
  243. package/.claude/commands/bmad/bmm/workflows/testarch-framework.md +13 -0
  244. package/.claude/commands/bmad/bmm/workflows/testarch-nfr.md +13 -0
  245. package/.claude/commands/bmad/bmm/workflows/{prd.md → testarch-test-design.md} +3 -3
  246. package/.claude/commands/bmad/bmm/workflows/testarch-test-review.md +13 -0
  247. package/.claude/commands/bmad/bmm/workflows/testarch-trace.md +13 -0
  248. package/.claude/commands/bmad/core/workflows/brainstorming-session.md +5 -0
  249. package/.claude/github-star-reminder.txt +1 -1
  250. package/.clawdbot/README.md +105 -0
  251. package/.clawdbot/skill/SKILL.md +432 -0
  252. package/README.md +87 -11
  253. package/RELEASE_NOTES.md +115 -0
  254. package/package.json +4 -2
  255. package/src/installer.js +23 -17
  256. package/.bmad/bmm/workflows/1-analysis/brainstorm-project/instructions.md +0 -112
  257. package/.bmad/bmm/workflows/1-analysis/brainstorm-project/project-context.md +0 -25
  258. package/.bmad/bmm/workflows/1-analysis/brainstorm-project/workflow.yaml +0 -26
  259. package/.bmad/bmm/workflows/1-analysis/domain-research/instructions.md +0 -425
  260. package/.bmad/bmm/workflows/1-analysis/domain-research/template.md +0 -180
  261. package/.bmad/bmm/workflows/1-analysis/domain-research/workflow.yaml +0 -28
  262. package/.bmad/bmm/workflows/1-analysis/product-brief/checklist.md +0 -115
  263. package/.bmad/bmm/workflows/1-analysis/product-brief/instructions.md +0 -524
  264. package/.bmad/bmm/workflows/1-analysis/product-brief/template.md +0 -181
  265. package/.bmad/bmm/workflows/1-analysis/product-brief/workflow.yaml +0 -45
  266. package/.bmad/bmm/workflows/1-analysis/research/checklist-deep-prompt.md +0 -144
  267. package/.bmad/bmm/workflows/1-analysis/research/checklist-technical.md +0 -249
  268. package/.bmad/bmm/workflows/1-analysis/research/checklist.md +0 -299
  269. package/.bmad/bmm/workflows/1-analysis/research/claude-code/injections.yaml +0 -114
  270. package/.bmad/bmm/workflows/1-analysis/research/instructions-deep-prompt.md +0 -438
  271. package/.bmad/bmm/workflows/1-analysis/research/instructions-market.md +0 -675
  272. package/.bmad/bmm/workflows/1-analysis/research/instructions-router.md +0 -134
  273. package/.bmad/bmm/workflows/1-analysis/research/instructions-technical.md +0 -534
  274. package/.bmad/bmm/workflows/1-analysis/research/template-deep-prompt.md +0 -94
  275. package/.bmad/bmm/workflows/1-analysis/research/template-market.md +0 -347
  276. package/.bmad/bmm/workflows/1-analysis/research/template-technical.md +0 -245
  277. package/.bmad/bmm/workflows/1-analysis/research/workflow.yaml +0 -44
  278. package/.bmad/bmm/workflows/2-plan-workflows/create-epics-and-stories/epics-template.md +0 -80
  279. package/.bmad/bmm/workflows/2-plan-workflows/create-epics-and-stories/instructions.md +0 -616
  280. package/.bmad/bmm/workflows/2-plan-workflows/create-epics-and-stories/workflow.yaml +0 -53
  281. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/checklist.md +0 -310
  282. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md +0 -1308
  283. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/workflow.yaml +0 -61
  284. package/.bmad/bmm/workflows/2-plan-workflows/prd/checklist.md +0 -346
  285. package/.bmad/bmm/workflows/2-plan-workflows/prd/instructions.md +0 -703
  286. package/.bmad/bmm/workflows/2-plan-workflows/prd/workflow.yaml +0 -52
  287. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/checklist.md +0 -217
  288. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/epics-template.md +0 -74
  289. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions-generate-stories.md +0 -436
  290. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions.md +0 -980
  291. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/tech-spec-template.md +0 -181
  292. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/user-story-template.md +0 -90
  293. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +0 -58
  294. package/.bmad/bmm/workflows/3-solutioning/architecture/architecture-patterns.yaml +0 -321
  295. package/.bmad/bmm/workflows/3-solutioning/architecture/architecture-template.md +0 -103
  296. package/.bmad/bmm/workflows/3-solutioning/architecture/checklist.md +0 -240
  297. package/.bmad/bmm/workflows/3-solutioning/architecture/decision-catalog.yaml +0 -222
  298. package/.bmad/bmm/workflows/3-solutioning/architecture/instructions.md +0 -768
  299. package/.bmad/bmm/workflows/3-solutioning/architecture/pattern-categories.csv +0 -13
  300. package/.bmad/bmm/workflows/3-solutioning/architecture/workflow.yaml +0 -55
  301. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/checklist.md +0 -169
  302. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/instructions.md +0 -332
  303. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/template.md +0 -146
  304. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/workflow.yaml +0 -62
  305. package/.bmad/bmm/workflows/4-implementation/code-review/backlog_template.md +0 -12
  306. package/.bmad/bmm/workflows/4-implementation/code-review/instructions.md +0 -398
  307. package/.bmad/bmm/workflows/4-implementation/create-story/instructions.md +0 -256
  308. package/.bmad/bmm/workflows/4-implementation/dev-story/instructions.md +0 -267
  309. package/.bmad/bmm/workflows/4-implementation/epic-tech-context/checklist.md +0 -17
  310. package/.bmad/bmm/workflows/4-implementation/epic-tech-context/instructions.md +0 -164
  311. package/.bmad/bmm/workflows/4-implementation/epic-tech-context/template.md +0 -76
  312. package/.bmad/bmm/workflows/4-implementation/epic-tech-context/workflow.yaml +0 -57
  313. package/.bmad/bmm/workflows/4-implementation/story-context/checklist.md +0 -16
  314. package/.bmad/bmm/workflows/4-implementation/story-context/context-template.xml +0 -34
  315. package/.bmad/bmm/workflows/4-implementation/story-context/instructions.md +0 -209
  316. package/.bmad/bmm/workflows/4-implementation/story-context/workflow.yaml +0 -61
  317. package/.bmad/bmm/workflows/4-implementation/story-done/instructions.md +0 -111
  318. package/.bmad/bmm/workflows/4-implementation/story-done/workflow.yaml +0 -26
  319. package/.bmad/bmm/workflows/4-implementation/story-ready/instructions.md +0 -117
  320. package/.bmad/bmm/workflows/4-implementation/story-ready/workflow.yaml +0 -23
  321. package/.bmad/bmm/workflows/frame-expert/create-dataflow/workflow.yaml +0 -23
  322. package/.bmad/bmm/workflows/frame-expert/create-diagram/workflow.yaml +0 -24
  323. package/.bmad/bmm/workflows/frame-expert/create-flowchart/workflow.yaml +0 -27
  324. package/.bmad/bmm/workflows/frame-expert/create-wireframe/workflow.yaml +0 -23
  325. package/.bmad/bmm/workflows/workflow-status/paths/game-design.yaml +0 -52
  326. package/.bmad/bmm/workflows/workflow-status/paths/quick-flow-brownfield.yaml +0 -58
  327. package/.bmad/bmm/workflows/workflow-status/paths/quick-flow-greenfield.yaml +0 -47
  328. package/.claude/commands/bmad/bmm/workflows/architecture.md +0 -13
  329. package/.claude/commands/bmad/bmm/workflows/brainstorm-project.md +0 -13
  330. package/.claude/commands/bmad/bmm/workflows/create-epics-and-stories.md +0 -13
  331. package/.claude/commands/bmad/bmm/workflows/epic-tech-context.md +0 -13
  332. package/.claude/commands/bmad/bmm/workflows/implementation-readiness.md +0 -13
  333. package/.claude/commands/bmad/bmm/workflows/product-brief.md +0 -13
  334. package/.claude/commands/bmad/bmm/workflows/story-done.md +0 -13
  335. package/.claude/commands/bmad/bmm/workflows/story-ready.md +0 -13
  336. package/.claude/commands/bmad/bmm/workflows/tech-spec.md +0 -13
  337. /package/.bmad/bmm/{workflows/techdoc → data}/documentation-standards.md +0 -0
  338. /package/.bmad/bmm/workflows/{frame-expert → diagrams}/_shared/excalidraw-library.json +0 -0
  339. /package/.bmad/bmm/workflows/{frame-expert → diagrams}/_shared/excalidraw-templates.yaml +0 -0
  340. /package/.bmad/bmm/workflows/{frame-expert → diagrams}/create-dataflow/checklist.md +0 -0
  341. /package/.bmad/bmm/workflows/{frame-expert → diagrams}/create-diagram/checklist.md +0 -0
  342. /package/.bmad/bmm/workflows/{frame-expert → diagrams}/create-flowchart/checklist.md +0 -0
  343. /package/.bmad/bmm/workflows/{frame-expert → diagrams}/create-wireframe/checklist.md +0 -0
  344. /package/.bmad/{bmm/workflows/frame-expert/_shared → core/resources/excalidraw}/excalidraw-helpers.md +0 -0
  345. /package/.bmad/{bmm/workflows/frame-expert/_shared → core/resources/excalidraw}/validate-json-instructions.md +0 -0
@@ -1,204 +1,16 @@
1
- # {{project_name}} - Product Requirements Document
2
-
3
- **Author:** {{user_name}}
4
- **Date:** {{date}}
5
- **Version:** 1.0
6
-
7
- ---
8
-
9
- ## Executive Summary
10
-
11
- {{vision_alignment}}
12
-
13
- ### What Makes This Special
14
-
15
- {{product_differentiator}}
16
-
17
- ---
18
-
19
- ## Project Classification
20
-
21
- **Technical Type:** {{project_type}}
22
- **Domain:** {{domain_type}}
23
- **Complexity:** {{complexity_level}}
24
-
25
- {{project_classification}}
26
-
27
- {{#if domain_context_summary}}
28
-
29
- ### Domain Context
30
-
31
- {{domain_context_summary}}
32
- {{/if}}
33
-
34
1
  ---
35
-
36
- ## Success Criteria
37
-
38
- {{success_criteria}}
39
-
40
- {{#if business_metrics}}
41
-
42
- ### Business Metrics
43
-
44
- {{business_metrics}}
45
- {{/if}}
46
-
2
+ stepsCompleted: []
3
+ inputDocuments: []
4
+ documentCounts:
5
+ briefs: 0
6
+ research: 0
7
+ brainstorming: 0
8
+ projectDocs: 0
9
+ workflowType: 'prd'
10
+ lastStep: 0
47
11
  ---
48
12
 
49
- ## Product Scope
50
-
51
- ### MVP - Minimum Viable Product
52
-
53
- {{mvp_scope}}
54
-
55
- ### Growth Features (Post-MVP)
56
-
57
- {{growth_features}}
58
-
59
- ### Vision (Future)
60
-
61
- {{vision_features}}
62
-
63
- ---
64
-
65
- {{#if domain_considerations}}
66
-
67
- ## Domain-Specific Requirements
68
-
69
- {{domain_considerations}}
70
-
71
- This section shapes all functional and non-functional requirements below.
72
- {{/if}}
73
-
74
- ---
75
-
76
- {{#if innovation_patterns}}
77
-
78
- ## Innovation & Novel Patterns
79
-
80
- {{innovation_patterns}}
81
-
82
- ### Validation Approach
83
-
84
- {{validation_approach}}
85
- {{/if}}
86
-
87
- ---
88
-
89
- {{#if project_type_requirements}}
90
-
91
- ## {{project_type}} Specific Requirements
92
-
93
- {{project_type_requirements}}
94
-
95
- {{#if endpoint_specification}}
96
-
97
- ### API Specification
98
-
99
- {{endpoint_specification}}
100
- {{/if}}
13
+ # Product Requirements Document - {{project_name}}
101
14
 
102
- {{#if authentication_model}}
103
-
104
- ### Authentication & Authorization
105
-
106
- {{authentication_model}}
107
- {{/if}}
108
-
109
- {{#if platform_requirements}}
110
-
111
- ### Platform Support
112
-
113
- {{platform_requirements}}
114
- {{/if}}
115
-
116
- {{#if device_features}}
117
-
118
- ### Device Capabilities
119
-
120
- {{device_features}}
121
- {{/if}}
122
-
123
- {{#if tenant_model}}
124
-
125
- ### Multi-Tenancy Architecture
126
-
127
- {{tenant_model}}
128
- {{/if}}
129
-
130
- {{#if permission_matrix}}
131
-
132
- ### Permissions & Roles
133
-
134
- {{permission_matrix}}
135
- {{/if}}
136
- {{/if}}
137
-
138
- ---
139
-
140
- {{#if ux_principles}}
141
-
142
- ## User Experience Principles
143
-
144
- {{ux_principles}}
145
-
146
- ### Key Interactions
147
-
148
- {{key_interactions}}
149
- {{/if}}
150
-
151
- ---
152
-
153
- ## Functional Requirements
154
-
155
- {{functional_requirements_complete}}
156
-
157
- ---
158
-
159
- ## Non-Functional Requirements
160
-
161
- {{#if performance_requirements}}
162
-
163
- ### Performance
164
-
165
- {{performance_requirements}}
166
- {{/if}}
167
-
168
- {{#if security_requirements}}
169
-
170
- ### Security
171
-
172
- {{security_requirements}}
173
- {{/if}}
174
-
175
- {{#if scalability_requirements}}
176
-
177
- ### Scalability
178
-
179
- {{scalability_requirements}}
180
- {{/if}}
181
-
182
- {{#if accessibility_requirements}}
183
-
184
- ### Accessibility
185
-
186
- {{accessibility_requirements}}
187
- {{/if}}
188
-
189
- {{#if integration_requirements}}
190
-
191
- ### Integration
192
-
193
- {{integration_requirements}}
194
- {{/if}}
195
-
196
- {{#if no_nfrs}}
197
- _No specific non-functional requirements identified for this project type._
198
- {{/if}}
199
-
200
- ---
201
-
202
- _This PRD captures the essence of {{project_name}} - {{product_value_summary}}_
203
-
204
- _Created through collaborative discovery between {{user_name}} and AI facilitator._
15
+ **Author:** {{user_name}}
16
+ **Date:** {{date}}
@@ -0,0 +1,243 @@
1
+ ---
2
+ name: 'step-01-init'
3
+ description: 'Initialize the PRD workflow by detecting continuation state and setting up the document'
4
+
5
+ # Path Definitions
6
+ workflow_path: '{project-root}/.bmad/bmm/workflows/2-plan-workflows/prd'
7
+
8
+ # 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'
13
+ outputFile: '{output_folder}/prd.md'
14
+
15
+ # Template References
16
+ prdTemplate: '{workflow_path}/prd-template.md'
17
+ ---
18
+
19
+ # Step 1: Workflow Initialization
20
+
21
+ **Progress: Step 1 of 11** - Next: Project Discovery
22
+
23
+ ## STEP GOAL:
24
+
25
+ Initialize the PRD workflow by detecting continuation state, discovering input documents, and setting up the document structure for collaborative product requirement discovery.
26
+
27
+ ## MANDATORY EXECUTION RULES (READ FIRST):
28
+
29
+ ### Universal Rules:
30
+
31
+ - 🛑 NEVER generate content without user input
32
+ - 📖 CRITICAL: Read the complete step file before taking any action
33
+ - 🔄 CRITICAL: When loading next step with 'C', ensure entire file is read
34
+ - 📋 YOU ARE A FACILITATOR, not a content generator
35
+
36
+ ### Role Reinforcement:
37
+
38
+ - ✅ You are a product-focused PM facilitator collaborating with an expert peer
39
+ - ✅ If you already have been given a name, communication_style and persona, continue to use those while playing this new role
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 only on initialization and setup - no content generation yet
46
+ - 🚫 FORBIDDEN to look ahead to future steps or assume knowledge from them
47
+ - 💬 Approach: Systematic setup with clear reporting to user
48
+ - 🚪 Detect existing workflow state and handle continuation properly
49
+
50
+ ## EXECUTION PROTOCOLS:
51
+
52
+ - 🎯 Show your analysis of current state before taking any action
53
+ - 💾 Initialize document structure and update frontmatter appropriately
54
+ - 📖 Set up frontmatter `stepsCompleted: [1]` before loading next step
55
+ - 🚫 FORBIDDEN to load next step until user selects 'C' (Continue)
56
+
57
+ ## CONTEXT BOUNDARIES:
58
+
59
+ - Available context: Variables from workflow.md are available in memory
60
+ - Focus: Workflow initialization and document setup only
61
+ - Limits: Don't assume knowledge from other steps or create content yet
62
+ - Dependencies: Configuration loaded from workflow.md initialization
63
+
64
+ ## Sequence of Instructions (Do not deviate, skip, or optimize)
65
+
66
+ ### 1. Check for Existing Workflow State
67
+
68
+ First, check if the output document already exists:
69
+
70
+ **Workflow State Detection:**
71
+
72
+ - Look for file at `{outputFile}`
73
+ - If exists, read the complete file including frontmatter
74
+ - If not exists, this is a fresh workflow
75
+
76
+ ### 2. Handle Continuation (If Document Exists)
77
+
78
+ If the document exists and has frontmatter with `stepsCompleted`:
79
+
80
+ **Continuation Protocol:**
81
+
82
+ - **STOP immediately** and load `{continueStepFile}`
83
+ - Do not proceed with any initialization tasks
84
+ - Let step-01b handle all continuation logic
85
+ - This is an auto-proceed situation - no user choice needed
86
+
87
+ ### 3. Fresh Workflow Setup (If No Document)
88
+
89
+ If no document exists or no `stepsCompleted` in frontmatter:
90
+
91
+ #### A. Input Document Discovery
92
+
93
+ Discover and load context documents using smart discovery.
94
+
95
+ **IMPORTANT: Track document counts as you discover files.**
96
+
97
+ Initialize counters:
98
+
99
+ ```
100
+ briefCount = 0
101
+ researchCount = 0
102
+ brainstormingCount = 0
103
+ projectDocsCount = 0
104
+ ```
105
+
106
+ **Product Brief (Priority: Analysis → Main → Sharded → Whole):**
107
+
108
+ 1. Check analysis folder: `{output_folder}/analysis/*brief*.md`
109
+ 2. If no analysis files: Try main folder: `{output_folder}/*brief*.md`
110
+ 3. If no main files: Check for sharded brief folder: `{output_folder}/*brief*/**/*.md`
111
+ 4. If sharded folder exists: Load EVERY file in that folder completely
112
+ 5. Add discovered files to `inputDocuments` frontmatter
113
+ 6. **Update briefCount with number of files found**
114
+
115
+ **Research Documents (Priority: Analysis → Main → Sharded → Whole):**
116
+
117
+ 1. Check analysis folder: `{output_folder}/analysis/research/*research*.md`
118
+ 2. If no analysis files: Try main folder: `{output_folder}/*research*.md`
119
+ 3. If no main files: Check for sharded research folder: `{output_folder}/*research*/**/*.md`
120
+ 4. Load useful research files completely
121
+ 5. Add discovered files to `inputDocuments` frontmatter
122
+ 6. **Update researchCount with number of files found**
123
+
124
+ **Brainstorming Documents (Priority: Analysis → Main):**
125
+
126
+ 1. Check analysis folder: `{output_folder}/analysis/brainstorming/*brainstorming*.md`
127
+ 2. If no analysis files: Try main folder: `{output_folder}/*brainstorming*.md`
128
+ 3. Add discovered files to `inputDocuments` frontmatter
129
+ 4. **Update brainstormingCount with number of files found**
130
+
131
+ **Project Documentation (Existing Projects - Brownfield):**
132
+
133
+ 1. Look for index file: `{output_folder}/index.md`
134
+ 2. CRITICAL: Load index.md to understand what project files are available
135
+ 3. Read available files from index to understand existing project context
136
+ 4. This provides essential context for extending existing project with new PRD
137
+ 5. Add discovered files to `inputDocuments` frontmatter
138
+ 6. **Update projectDocsCount with number of files found (including index.md)**
139
+
140
+ **Loading Rules:**
141
+
142
+ - Load ALL discovered files completely (no offset/limit)
143
+ - For sharded folders, load ALL files to get complete picture
144
+ - For existing projects, use index.md as guide to what's relevant
145
+ - Track all successfully loaded files in frontmatter `inputDocuments` array
146
+
147
+ #### B. Create Initial Document
148
+
149
+ **Document Setup:**
150
+
151
+ - Copy the template from `{prdTemplate}` to `{outputFile}`
152
+ - Initialize frontmatter with proper structure including document counts:
153
+
154
+ ```yaml
155
+ ---
156
+ stepsCompleted: []
157
+ inputDocuments: []
158
+ documentCounts:
159
+ briefs: { { briefCount } }
160
+ research: { { researchCount } }
161
+ brainstorming: { { brainstormingCount } }
162
+ projectDocs: { { projectDocsCount } }
163
+ workflowType: 'prd'
164
+ lastStep: 0
165
+ project_name: '{{project_name}}'
166
+ user_name: '{{user_name}}'
167
+ date: '{{date}}'
168
+ ---
169
+ ```
170
+
171
+ #### C. Present Initialization Results
172
+
173
+ **Setup Report to User:**
174
+
175
+ "Welcome {{user_name}}! I've set up your PRD workspace for {{project_name}}.
176
+
177
+ **Document Setup:**
178
+
179
+ - Created: `{outputFile}` from template
180
+ - Initialized frontmatter with workflow state
181
+
182
+ **Input Documents Discovered:**
183
+
184
+ - Product briefs: {{briefCount}} files {if briefCount > 0}✓ loaded{else}(none found){/if}
185
+ - Research: {{researchCount}} files {if researchCount > 0}✓ loaded{else}(none found){/if}
186
+ - Brainstorming: {{brainstormingCount}} files {if brainstormingCount > 0}✓ loaded{else}(none found){/if}
187
+ - Project docs: {{projectDocsCount}} files {if projectDocsCount > 0}✓ loaded (brownfield project){else}(none found - greenfield project){/if}
188
+
189
+ **Files loaded:** {list of specific file names or "No additional documents found"}
190
+
191
+ {if projectDocsCount > 0}
192
+ 📋 **Note:** This is a **brownfield project**. Your existing project documentation has been loaded. In the next step, I'll ask specifically about what new features or changes you want to add to your existing system.
193
+ {/if}
194
+
195
+ Do you have any other documents you'd like me to include, or shall we continue to the next step?"
196
+
197
+ ### 4. Present MENU OPTIONS
198
+
199
+ Display menu after setup report:
200
+
201
+ "[C] Continue - Save this and move to Project Discovery (Step 2 of 11)"
202
+
203
+ #### Menu Handling Logic:
204
+
205
+ - IF C: Update frontmatter with `stepsCompleted: [1]`, then load, read entire file, then execute {nextStepFile}
206
+ - IF user provides additional files: Load them, update inputDocuments and documentCounts, redisplay report
207
+ - IF user asks questions: Answer and redisplay menu
208
+
209
+ #### EXECUTION RULES:
210
+
211
+ - ALWAYS halt and wait for user input after presenting menu
212
+ - ONLY proceed to next step when user selects 'C'
213
+
214
+ ## CRITICAL STEP COMPLETION NOTE
215
+
216
+ 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.
217
+
218
+ ---
219
+
220
+ ## 🚨 SYSTEM SUCCESS/FAILURE METRICS
221
+
222
+ ### ✅ SUCCESS:
223
+
224
+ - Existing workflow detected and properly handed off to step-01b
225
+ - Fresh workflow initialized with template and proper frontmatter
226
+ - Input documents discovered and loaded using sharded-first logic
227
+ - All discovered files tracked in frontmatter `inputDocuments`
228
+ - **Document counts stored in frontmatter `documentCounts`**
229
+ - User clearly informed of brownfield vs greenfield status
230
+ - Menu presented and user input handled correctly
231
+ - Frontmatter updated with `stepsCompleted: [1]` before proceeding
232
+
233
+ ### ❌ SYSTEM FAILURE:
234
+
235
+ - Proceeding with fresh initialization when existing workflow exists
236
+ - Not updating frontmatter with discovered input documents
237
+ - **Not storing document counts in frontmatter**
238
+ - Creating document without proper template structure
239
+ - Not checking sharded folders first before whole files
240
+ - Not reporting discovered documents to user clearly
241
+ - Proceeding without user selecting 'C' (Continue)
242
+
243
+ **Master Rule:** Skipping steps, optimizing sequences, or not following exact instructions is FORBIDDEN and constitutes SYSTEM FAILURE.
@@ -0,0 +1,165 @@
1
+ ---
2
+ name: 'step-01b-continue'
3
+ description: 'Resume an interrupted PRD workflow from the last completed step'
4
+
5
+ # Path Definitions
6
+ workflow_path: '{project-root}/.bmad/bmm/workflows/2-plan-workflows/prd'
7
+
8
+ # File References
9
+ thisStepFile: '{workflow_path}/steps/step-01b-continue.md'
10
+ workflowFile: '{workflow_path}/workflow.md'
11
+ outputFile: '{output_folder}/prd.md'
12
+ ---
13
+
14
+ # Step 1B: Workflow Continuation
15
+
16
+ ## STEP GOAL:
17
+
18
+ Resume the PRD workflow from where it was left off, ensuring smooth continuation with full context restoration.
19
+
20
+ ## MANDATORY EXECUTION RULES (READ FIRST):
21
+
22
+ ### Universal Rules:
23
+
24
+ - 🛑 NEVER generate content without user input
25
+ - 📖 CRITICAL: Read the complete step file before taking any action
26
+ - 🔄 CRITICAL: When loading next step with 'C', ensure entire file is read
27
+ - 📋 YOU ARE A FACILITATOR, not a content generator
28
+
29
+ ### Role Reinforcement:
30
+
31
+ - ✅ You are a product-focused PM facilitator collaborating with an expert peer
32
+ - ✅ We engage in collaborative dialogue, not command-response
33
+ - ✅ Resume workflow from exact point where it was interrupted
34
+
35
+ ### Step-Specific Rules:
36
+
37
+ - 💬 FOCUS on understanding where we left off and continuing appropriately
38
+ - 🚫 FORBIDDEN to modify content completed in previous steps
39
+ - 📖 Only reload documents that were already tracked in `inputDocuments`
40
+
41
+ ## EXECUTION PROTOCOLS:
42
+
43
+ - 🎯 Show your analysis of current state before taking action
44
+ - 💾 Keep existing frontmatter `stepsCompleted` values
45
+ - 📖 Only load documents that were already tracked in `inputDocuments`
46
+ - 🚫 FORBIDDEN to discover new input documents during continuation
47
+
48
+ ## CONTEXT BOUNDARIES:
49
+
50
+ - Available context: Current document and frontmatter are already loaded
51
+ - Focus: Workflow state analysis and continuation logic only
52
+ - Limits: Don't assume knowledge beyond what's in the document
53
+ - Dependencies: Existing workflow state from previous session
54
+
55
+ ## Sequence of Instructions (Do not deviate, skip, or optimize)
56
+
57
+ ### 1. Analyze Current State
58
+
59
+ **State Assessment:**
60
+ Review the frontmatter to understand:
61
+
62
+ - `stepsCompleted`: Which steps are already done
63
+ - `lastStep`: The most recently completed step number
64
+ - `inputDocuments`: What context was already loaded
65
+ - `documentCounts`: briefs, research, brainstorming, projectDocs counts
66
+ - All other frontmatter variables
67
+
68
+ ### 2. Restore Context Documents
69
+
70
+ **Context Reloading:**
71
+
72
+ - For each document in `inputDocuments`, load the complete file
73
+ - This ensures you have full context for continuation
74
+ - Don't discover new documents - only reload what was previously processed
75
+
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
95
+
96
+ **Next Step Logic:**
97
+ Based on `lastStep` value, determine which step to load next:
98
+
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
110
+
111
+ ### 5. Handle Workflow Completion
112
+
113
+ **If workflow already complete (`lastStep = 11`):**
114
+ "Great news! It looks like we've already completed the PRD workflow for {{project_name}}.
115
+
116
+ The final document is ready at `{outputFile}` with all sections completed through step 11.
117
+
118
+ Would you like me to:
119
+
120
+ - Review the completed PRD with you
121
+ - Suggest next workflow steps (like architecture or epic creation)
122
+ - Start a new PRD revision
123
+
124
+ What would be most helpful?"
125
+
126
+ ### 6. Present MENU OPTIONS
127
+
128
+ **If workflow not complete:**
129
+ Display: "Ready to continue with Step {nextStepNumber}?
130
+
131
+ **Select an Option:** [C] Continue to next step"
132
+
133
+ #### Menu Handling Logic:
134
+
135
+ - IF C: Load, read entire file, then execute the appropriate next step file based on `lastStep`
136
+ - IF Any other comments or queries: respond and redisplay menu
137
+
138
+ #### EXECUTION RULES:
139
+
140
+ - ALWAYS halt and wait for user input after presenting menu
141
+ - ONLY proceed to next step when user selects 'C'
142
+
143
+ ## CRITICAL STEP COMPLETION NOTE
144
+
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.
146
+
147
+ ---
148
+
149
+ ## 🚨 SYSTEM SUCCESS/FAILURE METRICS
150
+
151
+ ### ✅ SUCCESS:
152
+
153
+ - All previous input documents successfully reloaded
154
+ - Current workflow state accurately analyzed and presented
155
+ - User confirms understanding of progress before continuation
156
+ - Correct next step identified and prepared for loading
157
+
158
+ ### ❌ SYSTEM FAILURE:
159
+
160
+ - Discovering new input documents instead of reloading existing ones
161
+ - Modifying content from already completed steps
162
+ - Loading wrong next step based on `lastStep` value
163
+ - Proceeding without user confirmation of current state
164
+
165
+ **Master Rule:** Skipping steps, optimizing sequences, or not following exact instructions is FORBIDDEN and constitutes SYSTEM FAILURE.