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,7 +1,5 @@
1
1
  # BMM Implementation Workflows (Phase 4)
2
2
 
3
- **Reading Time:** ~8 minutes
4
-
5
3
  ## Overview
6
4
 
7
5
  Phase 4 (Implementation) workflows manage the iterative sprint-based development cycle using a **story-centric workflow** where each story moves through a defined lifecycle from creation to completion.
@@ -10,111 +8,33 @@ Phase 4 (Implementation) workflows manage the iterative sprint-based development
10
8
 
11
9
  ---
12
10
 
13
- ## Phase 4 Workflow Lifecycle
14
-
15
- ```mermaid
16
- %%{init: {'theme':'base', 'themeVariables': { 'primaryColor':'#fff','primaryTextColor':'#000','primaryBorderColor':'#000','lineColor':'#000','fontSize':'16px','fontFamily':'arial'}}}%%
17
- graph TB
18
- subgraph Setup["<b>SPRINT SETUP - Run Once</b>"]
19
- direction TB
20
- SprintPlanning["<b>SM: sprint-planning</b><br/>Initialize sprint status file"]
21
- end
22
-
23
- subgraph EpicCycle["<b>EPIC CYCLE - Repeat Per Epic</b>"]
24
- direction TB
25
- EpicContext["<b>SM: epic-tech-context</b><br/>Generate epic technical guidance"]
26
- ValidateEpic["<b>SM: validate-epic-tech-context</b><br/>(Optional validation)"]
27
-
28
- EpicContext -.->|Optional| ValidateEpic
29
- ValidateEpic -.-> StoryLoopStart
30
- EpicContext --> StoryLoopStart[Start Story Loop]
31
- end
32
-
33
- subgraph StoryLoop["<b>STORY LIFECYCLE - Repeat Per Story</b>"]
34
- direction TB
35
-
36
- CreateStory["<b>SM: create-story</b><br/>Create next story from queue"]
37
- ValidateStory["<b>SM: validate-create-story</b><br/>(Optional validation)"]
38
- StoryContext["<b>SM: story-context</b><br/>Assemble dynamic context"]
39
- StoryReady["<b>SM: story-ready-for-dev</b><br/>Mark ready without context"]
40
- ValidateContext["<b>SM: validate-story-context</b><br/>(Optional validation)"]
41
- DevStory["<b>DEV: develop-story</b><br/>Implement with tests"]
42
- CodeReview["<b>DEV: code-review</b><br/>Senior dev review"]
43
- StoryDone["<b>DEV: story-done</b><br/>Mark complete, advance queue"]
44
-
45
- CreateStory -.->|Optional| ValidateStory
46
- ValidateStory -.-> StoryContext
47
- CreateStory --> StoryContext
48
- CreateStory -.->|Alternative| StoryReady
49
- StoryContext -.->|Optional| ValidateContext
50
- ValidateContext -.-> DevStory
51
- StoryContext --> DevStory
52
- StoryReady -.-> DevStory
53
- DevStory --> CodeReview
54
- CodeReview -.->|Needs fixes| DevStory
55
- CodeReview --> StoryDone
56
- StoryDone -.->|Next story| CreateStory
57
- end
58
-
59
- subgraph EpicClose["<b>EPIC COMPLETION</b>"]
60
- direction TB
61
- Retrospective["<b>SM: epic-retrospective</b><br/>Post-epic lessons learned"]
62
- end
63
-
64
- subgraph Support["<b>SUPPORTING WORKFLOWS</b>"]
65
- direction TB
66
- CorrectCourse["<b>SM: correct-course</b><br/>Handle mid-sprint changes"]
67
- WorkflowStatus["<b>Any Agent: workflow-status</b><br/>Check what's next"]
68
- end
69
-
70
- Setup --> EpicCycle
71
- EpicCycle --> StoryLoop
72
- StoryLoop --> EpicClose
73
- EpicClose -.->|Next epic| EpicCycle
74
- StoryLoop -.->|If issues arise| CorrectCourse
75
- StoryLoop -.->|Anytime| WorkflowStatus
76
- EpicCycle -.->|Anytime| WorkflowStatus
77
-
78
- style Setup fill:#e3f2fd,stroke:#1565c0,stroke-width:3px,color:#000
79
- style EpicCycle fill:#c5e1a5,stroke:#33691e,stroke-width:3px,color:#000
80
- style StoryLoop fill:#f3e5f5,stroke:#6a1b9a,stroke-width:3px,color:#000
81
- style EpicClose fill:#ffcc80,stroke:#e65100,stroke-width:3px,color:#000
82
- style Support fill:#fff3e0,stroke:#e65100,stroke-width:3px,color:#000
83
-
84
- style SprintPlanning fill:#90caf9,stroke:#0d47a1,stroke-width:2px,color:#000
85
- style EpicContext fill:#aed581,stroke:#1b5e20,stroke-width:2px,color:#000
86
- style ValidateEpic fill:#c5e1a5,stroke:#33691e,stroke-width:1px,color:#000
87
- style CreateStory fill:#ce93d8,stroke:#4a148c,stroke-width:2px,color:#000
88
- style ValidateStory fill:#e1bee7,stroke:#6a1b9a,stroke-width:1px,color:#000
89
- style StoryContext fill:#ce93d8,stroke:#4a148c,stroke-width:2px,color:#000
90
- style StoryReady fill:#ce93d8,stroke:#4a148c,stroke-width:2px,color:#000
91
- style ValidateContext fill:#e1bee7,stroke:#6a1b9a,stroke-width:1px,color:#000
92
- style DevStory fill:#a5d6a7,stroke:#1b5e20,stroke-width:2px,color:#000
93
- style CodeReview fill:#a5d6a7,stroke:#1b5e20,stroke-width:2px,color:#000
94
- style StoryDone fill:#a5d6a7,stroke:#1b5e20,stroke-width:2px,color:#000
95
- style Retrospective fill:#ffb74d,stroke:#e65100,stroke-width:2px,color:#000
96
- ```
11
+ ## Complete Workflow Context
12
+
13
+ Phase 4 is the final phase of the BMad Method workflow. To see how implementation fits into the complete methodology:
14
+
15
+ The BMad Method consists of four phases working in sequence:
16
+
17
+ 1. **Phase 1 (Analysis)** - Optional exploration and discovery workflows
18
+ 2. **Phase 2 (Planning)** - Required requirements definition using scale-adaptive system
19
+ 3. **Phase 3 (Solutioning)** - Technical architecture and design decisions
20
+ 4. **Phase 4 (Implementation)** - Iterative sprint-based development with story-centric workflow
21
+
22
+ Phase 4 focuses on the iterative epic and story cycles where stories are implemented, reviewed, and completed one at a time.
23
+
24
+ For a visual representation of the complete workflow, see: [workflow-method-greenfield.excalidraw](./images/workflow-method-greenfield.excalidraw)
97
25
 
98
26
  ---
99
27
 
100
28
  ## Quick Reference
101
29
 
102
- | Workflow | Agent | When | Purpose |
103
- | ------------------------------ | ----- | -------------------------------- | ------------------------------------------- |
104
- | **sprint-planning** | SM | Once at Phase 4 start | Initialize sprint tracking file |
105
- | **epic-tech-context** | SM | Per epic | Generate epic-specific technical guidance |
106
- | **validate-epic-tech-context** | SM | Optional after epic-tech-context | Validate tech spec against checklist |
107
- | **create-story** | SM | Per story | Create next story from epic backlog |
108
- | **validate-create-story** | SM | Optional after create-story | Independent validation of story draft |
109
- | **story-context** | SM | Optional per story | Assemble dynamic story context XML |
110
- | **validate-story-context** | SM | Optional after story-context | Validate story context against checklist |
111
- | **story-ready-for-dev** | SM | Optional per story | Mark story ready without generating context |
112
- | **develop-story** | DEV | Per story | Implement story with tests |
113
- | **code-review** | DEV | Per story | Senior dev quality review |
114
- | **story-done** | DEV | Per story | Mark complete and advance queue |
115
- | **epic-retrospective** | SM | After epic complete | Review lessons and extract insights |
116
- | **correct-course** | SM | When issues arise | Handle significant mid-sprint changes |
117
- | **workflow-status** | Any | Anytime | Check "what should I do now?" |
30
+ | Workflow | Agent | When | Purpose |
31
+ | ------------------- | ----- | --------------------- | ------------------------------------- |
32
+ | **sprint-planning** | SM | Once at Phase 4 start | Initialize sprint tracking file |
33
+ | **create-story** | SM | Per story | Create next story from epic backlog |
34
+ | **dev-story** | DEV | Per story | Implement story with tests |
35
+ | **code-review** | DEV | Per story | Senior dev quality review |
36
+ | **retrospective** | SM | After epic complete | Review lessons and extract insights |
37
+ | **correct-course** | SM | When issues arise | Handle significant mid-sprint changes |
118
38
 
119
39
  ---
120
40
 
@@ -122,27 +42,26 @@ graph TB
122
42
 
123
43
  ### SM (Scrum Master) - Primary Implementation Orchestrator
124
44
 
125
- **Workflows:** sprint-planning, epic-tech-context, validate-epic-tech-context, create-story, validate-create-story, story-context, validate-story-context, story-ready-for-dev, epic-retrospective, correct-course
45
+ **Workflows:** sprint-planning, create-story, retrospective, correct-course
126
46
 
127
47
  **Responsibilities:**
128
48
 
129
49
  - Initialize and maintain sprint tracking
130
- - Generate technical context (epic and story level)
131
- - Orchestrate story lifecycle with optional validations
132
- - Mark stories ready for development
133
- - Handle course corrections
134
- - Facilitate retrospectives
50
+ - Create stories from epic backlog
51
+ - Handle course corrections when issues arise
52
+ - Facilitate retrospectives after epic completion
53
+ - Orchestrate overall implementation flow
135
54
 
136
55
  ### DEV (Developer) - Implementation and Quality
137
56
 
138
- **Workflows:** develop-story, code-review, story-done
57
+ **Workflows:** dev-story, code-review
139
58
 
140
59
  **Responsibilities:**
141
60
 
142
61
  - Implement stories with tests
143
62
  - Perform senior developer code reviews
144
- - Mark stories complete and advance queue
145
63
  - Ensure quality and adherence to standards
64
+ - Complete story implementation lifecycle
146
65
 
147
66
  ---
148
67
 
@@ -151,7 +70,7 @@ graph TB
151
70
  Stories move through these states in the sprint status file:
152
71
 
153
72
  1. **TODO** - Story identified but not started
154
- 2. **IN PROGRESS** - Story being implemented (create-story → story-context → dev-story)
73
+ 2. **IN PROGRESS** - Story being implemented (create-story → dev-story)
155
74
  3. **READY FOR REVIEW** - Implementation complete, awaiting code review
156
75
  4. **DONE** - Accepted and complete
157
76
 
@@ -173,28 +92,24 @@ Stories move through these states in the sprint status file:
173
92
 
174
93
  **Per Epic:**
175
94
 
176
- 1. SM runs `epic-tech-context`
177
- 2. SM optionally runs `validate-epic-tech-context`
95
+ - Epic context and stories are already prepared from Phase 3
178
96
 
179
97
  **Per Story (repeat until epic complete):**
180
98
 
181
99
  1. SM runs `create-story`
182
- 2. SM optionally runs `validate-create-story`
183
- 3. SM runs `story-context` OR `story-ready-for-dev` (choose one)
184
- 4. SM optionally runs `validate-story-context` (if story-context was used)
185
- 5. DEV runs `develop-story`
186
- 6. DEV runs `code-review`
187
- 7. If code review passes: DEV runs `story-done`
188
- 8. If code review finds issues: DEV fixes in `develop-story`, then back to code-review
100
+ 2. DEV runs `dev-story`
101
+ 3. DEV runs `code-review`
102
+ 4. If code review fails: DEV fixes issues in `dev-story`, then re-runs `code-review`
189
103
 
190
104
  **After Epic Complete:**
191
105
 
192
- - SM runs `epic-retrospective`
193
- - Move to next epic (start with `epic-tech-context` again)
106
+ - SM runs `retrospective`
107
+ - Move to next epic
194
108
 
195
109
  **As Needed:**
196
110
 
197
- - Run `workflow-status` anytime to check progress
111
+ - Run `sprint-status` anytime in Phase 4 to inspect sprint-status.yaml and get the next implementation command
112
+ - Run `workflow-status` for cross-phase routing and project-level paths
198
113
  - Run `correct-course` if significant changes needed
199
114
 
200
115
  ---
@@ -205,14 +120,6 @@ Stories move through these states in the sprint status file:
205
120
 
206
121
  Complete each story's full lifecycle before starting the next. This prevents context switching and ensures quality.
207
122
 
208
- ### Epic-Level Technical Context
209
-
210
- Generate detailed technical guidance per epic (not per story) using `epic-tech-context`. This provides just-in-time architecture without upfront over-planning.
211
-
212
- ### Story Context (Optional)
213
-
214
- Use `story-context` to assemble focused context XML for each story, pulling from PRD, architecture, epic context, and codebase docs. Alternatively, use `story-ready-for-dev` to mark a story ready without generating context XML.
215
-
216
123
  ### Quality Gates
217
124
 
218
125
  Every story goes through `code-review` before being marked done. No exceptions.
@@ -223,63 +130,181 @@ The `sprint-status.yaml` file is the single source of truth for all implementati
223
130
 
224
131
  ---
225
132
 
226
- ## Common Patterns
227
-
228
- ### Level 0-1 (Quick Flow)
229
-
230
- ```
231
- tech-spec (PM)
232
- → sprint-planning (SM)
233
- → story loop (SM/DEV)
234
- ```
235
-
236
- ### Level 2-4 (BMad Method / Enterprise)
133
+ ### (BMad Method / Enterprise)
237
134
 
238
135
  ```
136
+ <<<<<<< Updated upstream
239
137
  PRD (PM) → Architecture (Architect)
240
138
  → create-epics-and-stories (PM) ← V6: After architecture!
241
139
  → implementation-readiness (Architect)
242
140
  → sprint-planning (SM, once)
243
141
  → [Per Epic]:
244
- epic-tech-context (SM)
245
142
  → story loop (SM/DEV)
246
- epic-retrospective (SM)
143
+ → retrospective (SM)
247
144
  → [Next Epic]
145
+ =======
146
+ Current Phase: 4 (Implementation)
147
+ Current Epic: Epic 1 (Authentication)
148
+ Current Sprint: Sprint 1
149
+
150
+ Next Story: Story 1.3 (Email Verification)
151
+ Status: TODO
152
+ Dependencies: Story 1.2 (DONE) ✅
153
+
154
+ **Recommendation:** Run `create-story` to generate Story 1.3
155
+
156
+ After create-story:
157
+ 1. Run story-context
158
+ 2. Run dev-story
159
+ 3. Run code-review
160
+ 4. Run story-done
161
+ ```
162
+
163
+ See: [workflow-status instructions](../workflows/workflow-status/instructions.md)
164
+
165
+ ---
166
+
167
+ ### document-project
168
+
169
+ **Purpose:** Analyze and document brownfield projects by scanning codebase, architecture, and patterns.
170
+
171
+ **Agent:** Analyst
172
+ **Duration:** 1-3 hours
173
+ **When to Use:** Brownfield projects without documentation
174
+
175
+ **How It Works:**
176
+
177
+ 1. Scans codebase structure
178
+ 2. Identifies architecture patterns
179
+ 3. Documents technology stack
180
+ 4. Creates reference documentation
181
+ 5. Generates PRD-like document from existing code
182
+
183
+ **Output:** `project-documentation-{date}.md`
184
+
185
+ **When to Run:**
186
+
187
+ - Before starting work on legacy project
188
+ - When inheriting undocumented codebase
189
+ - Creating onboarding documentation
190
+
191
+ See: [document-project reference](./workflow-document-project-reference.md)
192
+
193
+ ---
194
+
195
+ ## Story Lifecycle Visualization
196
+
197
+ ```
198
+ ┌─────────────────────────────────────────────────────────────┐
199
+ │ PHASE 4: IMPLEMENTATION (Iterative Story Lifecycle) │
200
+ └─────────────────────────────────────────────────────────────┘
201
+
202
+ ┌─────────────────┐
203
+ │ Sprint Planning │ → Creates sprint-status.yaml
204
+ └────────┬────────┘ Defines story queue
205
+
206
+ ├──────────────────────────────────────────┐
207
+ │ │
208
+ ▼ │
209
+ ┌─────────────────────┐ │
210
+ │ Epic Tech Context │ → Optional per epic │
211
+ │ (Once per epic) │ Provides technical │
212
+ └─────────────────────┘ guidance │
213
+ │ │
214
+ ▼ │
215
+ ┌─────────────────────────────────────────────────┤
216
+ │ FOR EACH STORY IN QUEUE: │
217
+ ├─────────────────────────────────────────────────┤
218
+ │ │
219
+ ▼ │
220
+ ┌─────────────────┐ │
221
+ │ Create Story │ → Generates story file │
222
+ │ (TODO → IN PROGRESS) │
223
+ └────────┬────────┘ │
224
+ │ │
225
+ ▼ │
226
+ ┌─────────────────┐ │
227
+ │ Story Context │ → Assembles focused context │
228
+ └────────┬────────┘ │
229
+ │ │
230
+ ▼ │
231
+ ┌─────────────────┐ │
232
+ │ Dev Story │ → Implements + tests │
233
+ │ (IN PROGRESS) │ │
234
+ └────────┬────────┘ │
235
+ │ │
236
+ ▼ │
237
+ ┌─────────────────┐ │
238
+ │ Code Review │ → Senior dev review │
239
+ │ (IN PROGRESS → │ │
240
+ │ READY FOR REVIEW) │
241
+ └────────┬────────┘ │
242
+ │ │
243
+ ┌────┴────┐ │
244
+ │ Result? │ │
245
+ └────┬────┘ │
246
+ │ │
247
+ ┌────┼────────────────────┐ │
248
+ │ │ │ │
249
+ ▼ ▼ ▼ │
250
+ APPROVED APPROVED REQUEST │
251
+ WITH COMMENTS CHANGES │
252
+ │ │ │ │
253
+ └─────────┴───────────────────┘ │
254
+ │ │
255
+ ▼ │
256
+ ┌─────────────────┐ │
257
+ │ Story Done │ → READY FOR REVIEW → DONE│
258
+ └────────┬────────┘ │
259
+ │ │
260
+ ├─────────────────────────────────────┘
261
+ │ More stories?
262
+
263
+
264
+ ┌────────────────┐
265
+ │ Epic Complete? │
266
+ └────────┬───────┘
267
+
268
+ ┌────┼────┐
269
+ │ │
270
+ Yes No
271
+ │ └──> Continue to next story
272
+
273
+
274
+ ┌─────────────────┐
275
+ │ Retrospective │ → Review epic, lessons learned
276
+ └─────────────────┘
277
+
278
+
279
+ All epics done?
280
+
281
+ Yes → PROJECT COMPLETE
282
+ >>>>>>> Stashed changes
248
283
  ```
249
284
 
250
285
  ---
251
286
 
252
287
  ## Related Documentation
253
288
 
289
+ - [Phase 1: Analysis Workflows](./workflows-analysis.md)
254
290
  - [Phase 2: Planning Workflows](./workflows-planning.md)
255
291
  - [Phase 3: Solutioning Workflows](./workflows-solutioning.md)
256
- - [Quick Spec Flow](./quick-spec-flow.md) - Level 0-1 fast track
257
- - [Scale Adaptive System](./scale-adaptive-system.md) - Understanding project levels
258
292
 
259
293
  ---
260
294
 
261
295
  ## Troubleshooting
262
296
 
263
297
  **Q: Which workflow should I run next?**
264
- A: Run `workflow-status` - it reads the sprint status file and tells you exactly what to do.
298
+ A: Run `workflow-status` - it reads the sprint status file and tells you exactly what to do. During implementation (Phase 4) run `sprint-status` (fast check against sprint-status.yaml).
265
299
 
266
300
  **Q: Story needs significant changes mid-implementation?**
267
301
  A: Run `correct-course` to analyze impact and route appropriately.
268
302
 
269
- **Q: Do I run epic-tech-context for every story?**
270
- A: No! Run once per epic, not per story. Use `story-context` or `story-ready-for-dev` per story instead.
271
-
272
- **Q: Do I have to use story-context for every story?**
273
- A: No, it's optional. You can use `story-ready-for-dev` to mark a story ready without generating context XML.
274
-
275
303
  **Q: Can I work on multiple stories in parallel?**
276
304
  A: Not recommended. Complete one story's full lifecycle before starting the next. Prevents context switching and ensures quality.
277
305
 
278
306
  **Q: What if code review finds issues?**
279
- A: DEV runs `develop-story` to make fixes, re-runs tests, then runs `code-review` again until it passes.
280
-
281
- **Q: When do I run validations?**
282
- A: Validations are optional quality gates. Use them when you want independent review of epic tech specs, story drafts, or story context before proceeding.
307
+ A: DEV runs `dev-story` to make fixes, re-runs tests, then runs `code-review` again until it passes.
283
308
 
284
309
  ---
285
310