ma-agents 2.15.0 → 2.16.1

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 (380) hide show
  1. package/.agent/workflows/bmad-agent-bmad-master.md +15 -0
  2. package/.agent/workflows/bmad-agent-bmm-analyst.md +15 -0
  3. package/.agent/workflows/bmad-agent-bmm-architect.md +15 -0
  4. package/.agent/workflows/bmad-agent-bmm-dev.md +15 -0
  5. package/.agent/workflows/bmad-agent-bmm-pm.md +15 -0
  6. package/.agent/workflows/bmad-agent-bmm-qa.md +15 -0
  7. package/.agent/workflows/bmad-agent-bmm-quick-flow-solo-dev.md +15 -0
  8. package/.agent/workflows/bmad-agent-bmm-sm.md +15 -0
  9. package/.agent/workflows/bmad-agent-bmm-tech-writer.md +15 -0
  10. package/.agent/workflows/bmad-agent-bmm-ux-designer.md +15 -0
  11. package/.agent/workflows/bmad-agent-cis-brainstorming-coach.md +15 -0
  12. package/.agent/workflows/bmad-agent-cis-creative-problem-solver.md +15 -0
  13. package/.agent/workflows/bmad-agent-cis-design-thinking-coach.md +15 -0
  14. package/.agent/workflows/bmad-agent-cis-innovation-strategist.md +15 -0
  15. package/.agent/workflows/bmad-agent-cis-presentation-master.md +15 -0
  16. package/.agent/workflows/bmad-agent-cis-storyteller.md +15 -0
  17. package/.agent/workflows/bmad-bmm-check-implementation-readiness.md +6 -0
  18. package/.agent/workflows/bmad-bmm-code-review.md +14 -0
  19. package/.agent/workflows/bmad-bmm-correct-course.md +14 -0
  20. package/.agent/workflows/bmad-bmm-create-architecture.md +6 -0
  21. package/.agent/workflows/bmad-bmm-create-epics-and-stories.md +6 -0
  22. package/.agent/workflows/bmad-bmm-create-prd.md +6 -0
  23. package/.agent/workflows/bmad-bmm-create-product-brief.md +6 -0
  24. package/.agent/workflows/bmad-bmm-create-story.md +14 -0
  25. package/.agent/workflows/bmad-bmm-create-ux-design.md +6 -0
  26. package/.agent/workflows/bmad-bmm-dev-story.md +14 -0
  27. package/.agent/workflows/bmad-bmm-document-project.md +14 -0
  28. package/.agent/workflows/bmad-bmm-domain-research.md +6 -0
  29. package/.agent/workflows/bmad-bmm-edit-prd.md +6 -0
  30. package/.agent/workflows/bmad-bmm-generate-project-context.md +6 -0
  31. package/.agent/workflows/bmad-bmm-market-research.md +6 -0
  32. package/.agent/workflows/bmad-bmm-qa-generate-e2e-tests.md +14 -0
  33. package/.agent/workflows/bmad-bmm-quick-dev.md +6 -0
  34. package/.agent/workflows/bmad-bmm-quick-spec.md +6 -0
  35. package/.agent/workflows/bmad-bmm-retrospective.md +14 -0
  36. package/.agent/workflows/bmad-bmm-sprint-planning.md +14 -0
  37. package/.agent/workflows/bmad-bmm-sprint-status.md +14 -0
  38. package/.agent/workflows/bmad-bmm-technical-research.md +6 -0
  39. package/.agent/workflows/bmad-bmm-validate-prd.md +6 -0
  40. package/.agent/workflows/bmad-brainstorming.md +6 -0
  41. package/.agent/workflows/bmad-cis-design-thinking.md +14 -0
  42. package/.agent/workflows/bmad-cis-innovation-strategy.md +14 -0
  43. package/.agent/workflows/bmad-cis-problem-solving.md +14 -0
  44. package/.agent/workflows/bmad-cis-storytelling.md +14 -0
  45. package/.agent/workflows/bmad-editorial-review-prose.md +10 -0
  46. package/.agent/workflows/bmad-editorial-review-structure.md +10 -0
  47. package/.agent/workflows/bmad-help.md +10 -0
  48. package/.agent/workflows/bmad-index-docs.md +10 -0
  49. package/.agent/workflows/bmad-party-mode.md +6 -0
  50. package/.agent/workflows/bmad-review-adversarial-general.md +10 -0
  51. package/.agent/workflows/bmad-review-edge-case-hunter.md +10 -0
  52. package/.agent/workflows/bmad-shard-doc.md +10 -0
  53. package/README.md +43 -27
  54. package/bin/cli.js +37 -11
  55. package/lib/agents.js +23 -6
  56. package/lib/bmad-customizations/antigravity.customize.yaml +16 -8
  57. package/lib/bmad-customizations/bmm-cyber.customize.yaml +17 -35
  58. package/lib/bmad-customizations/bmm-devops.customize.yaml +18 -31
  59. package/lib/bmad-customizations/bmm-mil498.customize.yaml +21 -32
  60. package/lib/bmad-customizations/bmm-sre.customize.yaml +19 -32
  61. package/lib/bmad-customizations/cyber.md +44 -29
  62. package/lib/bmad-customizations/devops.md +44 -27
  63. package/lib/bmad-customizations/mil498.md +41 -35
  64. package/lib/bmad-customizations/sre.md +44 -27
  65. package/lib/bmad.js +34 -10
  66. package/lib/installer.js +112 -38
  67. package/package.json +3 -3
  68. package/_bmad/_config/agent-manifest.csv +0 -15
  69. package/_bmad/_config/agents/antigravity.customize.yaml +0 -10
  70. package/_bmad/_config/agents/bmm-analyst.customize.yaml +0 -41
  71. package/_bmad/_config/agents/bmm-architect.customize.yaml +0 -41
  72. package/_bmad/_config/agents/bmm-cyber.customize.yaml +0 -42
  73. package/_bmad/_config/agents/bmm-dev.customize.yaml +0 -41
  74. package/_bmad/_config/agents/bmm-devops.customize.yaml +0 -37
  75. package/_bmad/_config/agents/bmm-mil498.customize.yaml +0 -41
  76. package/_bmad/_config/agents/bmm-pm.customize.yaml +0 -41
  77. package/_bmad/_config/agents/bmm-qa.customize.yaml +0 -41
  78. package/_bmad/_config/agents/bmm-quick-flow-solo-dev.customize.yaml +0 -41
  79. package/_bmad/_config/agents/bmm-sm.customize.yaml +0 -41
  80. package/_bmad/_config/agents/bmm-sre.customize.yaml +0 -37
  81. package/_bmad/_config/agents/bmm-tech-writer.customize.yaml +0 -41
  82. package/_bmad/_config/agents/bmm-ux-designer.customize.yaml +0 -41
  83. package/_bmad/_config/agents/claude-code.customize.yaml +0 -10
  84. package/_bmad/_config/agents/cline.customize.yaml +0 -9
  85. package/_bmad/_config/agents/core-bmad-master.customize.yaml +0 -41
  86. package/_bmad/_config/agents/cursor.customize.yaml +0 -9
  87. package/_bmad/_config/agents/gemini.customize.yaml +0 -9
  88. package/_bmad/_config/agents/generic.customize.yaml +0 -7
  89. package/_bmad/_config/bmad-help.csv +0 -40
  90. package/_bmad/_config/files-manifest.csv +0 -212
  91. package/_bmad/_config/manifest.yaml +0 -27
  92. package/_bmad/_config/task-manifest.csv +0 -8
  93. package/_bmad/_config/tool-manifest.csv +0 -1
  94. package/_bmad/_config/workflow-manifest.csv +0 -26
  95. package/_bmad/_memory/config.yaml +0 -11
  96. package/_bmad/_memory/tech-writer-sidecar/documentation-standards.md +0 -224
  97. package/_bmad/bmm/agents/analyst.md +0 -78
  98. package/_bmad/bmm/agents/architect.md +0 -58
  99. package/_bmad/bmm/agents/cyber.md +0 -56
  100. package/_bmad/bmm/agents/dev.md +0 -69
  101. package/_bmad/bmm/agents/devops.md +0 -54
  102. package/_bmad/bmm/agents/mil498.md +0 -65
  103. package/_bmad/bmm/agents/pm.md +0 -72
  104. package/_bmad/bmm/agents/qa.md +0 -92
  105. package/_bmad/bmm/agents/quick-flow-solo-dev.md +0 -69
  106. package/_bmad/bmm/agents/sm.md +0 -70
  107. package/_bmad/bmm/agents/sre.md +0 -54
  108. package/_bmad/bmm/agents/tech-writer/tech-writer.md +0 -70
  109. package/_bmad/bmm/agents/ux-designer.md +0 -57
  110. package/_bmad/bmm/config.yaml +0 -16
  111. package/_bmad/bmm/data/project-context-template.md +0 -26
  112. package/_bmad/bmm/module-help.csv +0 -31
  113. package/_bmad/bmm/teams/default-party.csv +0 -20
  114. package/_bmad/bmm/teams/team-fullstack.yaml +0 -12
  115. package/_bmad/bmm/templates/mil498/OCD.md +0 -169
  116. package/_bmad/bmm/templates/mil498/README.md +0 -4
  117. package/_bmad/bmm/templates/mil498/SDP.md +0 -307
  118. package/_bmad/bmm/templates/mil498/SRS.md +0 -219
  119. package/_bmad/bmm/templates/mil498/SSDD.md +0 -154
  120. package/_bmad/bmm/templates/mil498/SSS.md +0 -225
  121. package/_bmad/bmm/templates/mil498/STD.md +0 -188
  122. package/_bmad/bmm/workflows/1-analysis/create-product-brief/product-brief.template.md +0 -10
  123. package/_bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-01-init.md +0 -177
  124. package/_bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-01b-continue.md +0 -161
  125. package/_bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-02-vision.md +0 -199
  126. package/_bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-03-users.md +0 -202
  127. package/_bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-04-metrics.md +0 -205
  128. package/_bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-05-scope.md +0 -219
  129. package/_bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-06-complete.md +0 -162
  130. package/_bmad/bmm/workflows/1-analysis/create-product-brief/workflow.md +0 -57
  131. package/_bmad/bmm/workflows/1-analysis/research/domain-steps/step-01-init.md +0 -137
  132. package/_bmad/bmm/workflows/1-analysis/research/domain-steps/step-02-domain-analysis.md +0 -229
  133. package/_bmad/bmm/workflows/1-analysis/research/domain-steps/step-03-competitive-landscape.md +0 -238
  134. package/_bmad/bmm/workflows/1-analysis/research/domain-steps/step-04-regulatory-focus.md +0 -206
  135. package/_bmad/bmm/workflows/1-analysis/research/domain-steps/step-05-technical-trends.md +0 -234
  136. package/_bmad/bmm/workflows/1-analysis/research/domain-steps/step-06-research-synthesis.md +0 -444
  137. package/_bmad/bmm/workflows/1-analysis/research/market-steps/step-01-init.md +0 -182
  138. package/_bmad/bmm/workflows/1-analysis/research/market-steps/step-02-customer-behavior.md +0 -237
  139. package/_bmad/bmm/workflows/1-analysis/research/market-steps/step-03-customer-pain-points.md +0 -249
  140. package/_bmad/bmm/workflows/1-analysis/research/market-steps/step-04-customer-decisions.md +0 -259
  141. package/_bmad/bmm/workflows/1-analysis/research/market-steps/step-05-competitive-analysis.md +0 -177
  142. package/_bmad/bmm/workflows/1-analysis/research/market-steps/step-06-research-completion.md +0 -476
  143. package/_bmad/bmm/workflows/1-analysis/research/research.template.md +0 -29
  144. package/_bmad/bmm/workflows/1-analysis/research/technical-steps/step-01-init.md +0 -137
  145. package/_bmad/bmm/workflows/1-analysis/research/technical-steps/step-02-technical-overview.md +0 -239
  146. package/_bmad/bmm/workflows/1-analysis/research/technical-steps/step-03-integration-patterns.md +0 -248
  147. package/_bmad/bmm/workflows/1-analysis/research/technical-steps/step-04-architectural-patterns.md +0 -202
  148. package/_bmad/bmm/workflows/1-analysis/research/technical-steps/step-05-implementation-research.md +0 -233
  149. package/_bmad/bmm/workflows/1-analysis/research/technical-steps/step-06-research-synthesis.md +0 -487
  150. package/_bmad/bmm/workflows/1-analysis/research/workflow-domain-research.md +0 -54
  151. package/_bmad/bmm/workflows/1-analysis/research/workflow-market-research.md +0 -54
  152. package/_bmad/bmm/workflows/1-analysis/research/workflow-technical-research.md +0 -54
  153. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/data/domain-complexity.csv +0 -15
  154. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/data/prd-purpose.md +0 -197
  155. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/data/project-types.csv +0 -11
  156. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-01-init.md +0 -191
  157. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-01b-continue.md +0 -152
  158. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-02-discovery.md +0 -224
  159. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-02b-vision.md +0 -154
  160. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-02c-executive-summary.md +0 -170
  161. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-03-success.md +0 -226
  162. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-04-journeys.md +0 -213
  163. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-05-domain.md +0 -207
  164. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-06-innovation.md +0 -226
  165. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-07-project-type.md +0 -237
  166. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-08-scoping.md +0 -228
  167. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-09-functional.md +0 -231
  168. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-10-nonfunctional.md +0 -242
  169. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-11-polish.md +0 -217
  170. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-12-complete.md +0 -124
  171. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-e/step-e-01-discovery.md +0 -247
  172. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-e/step-e-01b-legacy-conversion.md +0 -208
  173. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-e/step-e-02-review.md +0 -249
  174. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-e/step-e-03-edit.md +0 -253
  175. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-e/step-e-04-complete.md +0 -168
  176. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-01-discovery.md +0 -226
  177. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-02-format-detection.md +0 -191
  178. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-02b-parity-check.md +0 -209
  179. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-03-density-validation.md +0 -174
  180. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-04-brief-coverage-validation.md +0 -214
  181. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-05-measurability-validation.md +0 -228
  182. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-06-traceability-validation.md +0 -217
  183. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-07-implementation-leakage-validation.md +0 -205
  184. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-08-domain-compliance-validation.md +0 -243
  185. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-09-project-type-validation.md +0 -263
  186. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-10-smart-validation.md +0 -209
  187. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-11-holistic-quality-validation.md +0 -264
  188. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-12-completeness-validation.md +0 -242
  189. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-13-report-complete.md +0 -231
  190. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/templates/prd-template.md +0 -10
  191. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/workflow-create-prd.md +0 -63
  192. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/workflow-edit-prd.md +0 -65
  193. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/workflow-validate-prd.md +0 -63
  194. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-01-init.md +0 -135
  195. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-01b-continue.md +0 -127
  196. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-02-discovery.md +0 -190
  197. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-03-core-experience.md +0 -216
  198. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-04-emotional-response.md +0 -219
  199. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-05-inspiration.md +0 -234
  200. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-06-design-system.md +0 -252
  201. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-07-defining-experience.md +0 -254
  202. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-08-visual-foundation.md +0 -224
  203. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-09-design-directions.md +0 -224
  204. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-10-user-journeys.md +0 -241
  205. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-11-component-strategy.md +0 -248
  206. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-12-ux-patterns.md +0 -237
  207. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-13-responsive-accessibility.md +0 -264
  208. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-14-complete.md +0 -171
  209. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/ux-design-template.md +0 -13
  210. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/workflow.md +0 -42
  211. package/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-01-document-discovery.md +0 -184
  212. package/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-02-prd-analysis.md +0 -172
  213. package/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-03-epic-coverage-validation.md +0 -173
  214. package/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-04-ux-alignment.md +0 -133
  215. package/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-05-epic-quality-review.md +0 -245
  216. package/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-06-final-assessment.md +0 -129
  217. package/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/templates/readiness-report-template.md +0 -4
  218. package/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/workflow.md +0 -54
  219. package/_bmad/bmm/workflows/3-solutioning/create-architecture/architecture-decision-template.md +0 -12
  220. package/_bmad/bmm/workflows/3-solutioning/create-architecture/data/domain-complexity.csv +0 -13
  221. package/_bmad/bmm/workflows/3-solutioning/create-architecture/data/project-types.csv +0 -7
  222. package/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-01-init.md +0 -153
  223. package/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-01b-continue.md +0 -173
  224. package/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-02-context.md +0 -224
  225. package/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-03-starter.md +0 -329
  226. package/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-04-decisions.md +0 -318
  227. package/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-05-patterns.md +0 -359
  228. package/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-06-structure.md +0 -379
  229. package/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-07-validation.md +0 -359
  230. package/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-08-complete.md +0 -76
  231. package/_bmad/bmm/workflows/3-solutioning/create-architecture/workflow.md +0 -49
  232. package/_bmad/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-01-validate-prerequisites.md +0 -259
  233. package/_bmad/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-02-design-epics.md +0 -233
  234. package/_bmad/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-03-create-stories.md +0 -272
  235. package/_bmad/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-04-final-validation.md +0 -149
  236. package/_bmad/bmm/workflows/3-solutioning/create-epics-and-stories/templates/epics-template.md +0 -57
  237. package/_bmad/bmm/workflows/3-solutioning/create-epics-and-stories/workflow.md +0 -58
  238. package/_bmad/bmm/workflows/4-implementation/code-review/checklist.md +0 -23
  239. package/_bmad/bmm/workflows/4-implementation/code-review/instructions.xml +0 -227
  240. package/_bmad/bmm/workflows/4-implementation/code-review/workflow.yaml +0 -43
  241. package/_bmad/bmm/workflows/4-implementation/correct-course/checklist.md +0 -288
  242. package/_bmad/bmm/workflows/4-implementation/correct-course/instructions.md +0 -207
  243. package/_bmad/bmm/workflows/4-implementation/correct-course/workflow.yaml +0 -53
  244. package/_bmad/bmm/workflows/4-implementation/create-story/checklist.md +0 -358
  245. package/_bmad/bmm/workflows/4-implementation/create-story/instructions.xml +0 -346
  246. package/_bmad/bmm/workflows/4-implementation/create-story/template.md +0 -49
  247. package/_bmad/bmm/workflows/4-implementation/create-story/workflow.yaml +0 -52
  248. package/_bmad/bmm/workflows/4-implementation/dev-story/checklist.md +0 -80
  249. package/_bmad/bmm/workflows/4-implementation/dev-story/instructions.xml +0 -410
  250. package/_bmad/bmm/workflows/4-implementation/dev-story/workflow.yaml +0 -20
  251. package/_bmad/bmm/workflows/4-implementation/retrospective/instructions.md +0 -1444
  252. package/_bmad/bmm/workflows/4-implementation/retrospective/workflow.yaml +0 -52
  253. package/_bmad/bmm/workflows/4-implementation/sprint-planning/checklist.md +0 -33
  254. package/_bmad/bmm/workflows/4-implementation/sprint-planning/instructions.md +0 -226
  255. package/_bmad/bmm/workflows/4-implementation/sprint-planning/sprint-status-template.yaml +0 -55
  256. package/_bmad/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +0 -47
  257. package/_bmad/bmm/workflows/4-implementation/sprint-status/instructions.md +0 -230
  258. package/_bmad/bmm/workflows/4-implementation/sprint-status/workflow.yaml +0 -25
  259. package/_bmad/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-01-mode-detection.md +0 -174
  260. package/_bmad/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-02-context-gathering.md +0 -118
  261. package/_bmad/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-03-execute.md +0 -111
  262. package/_bmad/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-04-self-check.md +0 -111
  263. package/_bmad/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-05-adversarial-review.md +0 -104
  264. package/_bmad/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-06-resolve-findings.md +0 -146
  265. package/_bmad/bmm/workflows/bmad-quick-flow/quick-dev/workflow.md +0 -50
  266. package/_bmad/bmm/workflows/bmad-quick-flow/quick-spec/steps/step-01-understand.md +0 -189
  267. package/_bmad/bmm/workflows/bmad-quick-flow/quick-spec/steps/step-02-investigate.md +0 -143
  268. package/_bmad/bmm/workflows/bmad-quick-flow/quick-spec/steps/step-03-generate.md +0 -126
  269. package/_bmad/bmm/workflows/bmad-quick-flow/quick-spec/steps/step-04-review.md +0 -200
  270. package/_bmad/bmm/workflows/bmad-quick-flow/quick-spec/tech-spec-template.md +0 -74
  271. package/_bmad/bmm/workflows/bmad-quick-flow/quick-spec/workflow.md +0 -79
  272. package/_bmad/bmm/workflows/cyber/generate-certs.md +0 -18
  273. package/_bmad/bmm/workflows/cyber/immunity-estimation.md +0 -20
  274. package/_bmad/bmm/workflows/cyber/security-audit.md +0 -18
  275. package/_bmad/bmm/workflows/cyber/vault-secrets.md +0 -19
  276. package/_bmad/bmm/workflows/cyber/verify-docker-users.md +0 -14
  277. package/_bmad/bmm/workflows/cyber/verify-image-signature.md +0 -13
  278. package/_bmad/bmm/workflows/cyber/vulnerability-scan.md +0 -19
  279. package/_bmad/bmm/workflows/devops/configure-infrastructure.md +0 -18
  280. package/_bmad/bmm/workflows/devops/disconnected-deployment.md +0 -18
  281. package/_bmad/bmm/workflows/devops/docker-compose-setup.md +0 -17
  282. package/_bmad/bmm/workflows/devops/manage-helm.md +0 -19
  283. package/_bmad/bmm/workflows/devops/sign-docker-image.md +0 -15
  284. package/_bmad/bmm/workflows/document-project/checklist.md +0 -245
  285. package/_bmad/bmm/workflows/document-project/documentation-requirements.csv +0 -12
  286. package/_bmad/bmm/workflows/document-project/instructions.md +0 -130
  287. package/_bmad/bmm/workflows/document-project/templates/deep-dive-template.md +0 -345
  288. package/_bmad/bmm/workflows/document-project/templates/index-template.md +0 -169
  289. package/_bmad/bmm/workflows/document-project/templates/project-overview-template.md +0 -103
  290. package/_bmad/bmm/workflows/document-project/templates/project-scan-report-schema.json +0 -160
  291. package/_bmad/bmm/workflows/document-project/templates/source-tree-template.md +0 -135
  292. package/_bmad/bmm/workflows/document-project/workflow.yaml +0 -22
  293. package/_bmad/bmm/workflows/document-project/workflows/deep-dive-instructions.md +0 -298
  294. package/_bmad/bmm/workflows/document-project/workflows/deep-dive.yaml +0 -31
  295. package/_bmad/bmm/workflows/document-project/workflows/full-scan-instructions.md +0 -1106
  296. package/_bmad/bmm/workflows/document-project/workflows/full-scan.yaml +0 -31
  297. package/_bmad/bmm/workflows/generate-project-context/project-context-template.md +0 -21
  298. package/_bmad/bmm/workflows/generate-project-context/steps/step-01-discover.md +0 -184
  299. package/_bmad/bmm/workflows/generate-project-context/steps/step-02-generate.md +0 -318
  300. package/_bmad/bmm/workflows/generate-project-context/steps/step-03-complete.md +0 -278
  301. package/_bmad/bmm/workflows/generate-project-context/workflow.md +0 -49
  302. package/_bmad/bmm/workflows/mil498/bmad-mil-generate-ocd.md +0 -17
  303. package/_bmad/bmm/workflows/mil498/bmad-mil-generate-sdd.md +0 -18
  304. package/_bmad/bmm/workflows/mil498/bmad-mil-generate-sdp.md +0 -17
  305. package/_bmad/bmm/workflows/mil498/bmad-mil-generate-srs.md +0 -19
  306. package/_bmad/bmm/workflows/mil498/bmad-mil-generate-sss.md +0 -16
  307. package/_bmad/bmm/workflows/mil498/bmad-mil-generate-std.md +0 -17
  308. package/_bmad/bmm/workflows/qa-generate-e2e-tests/checklist.md +0 -33
  309. package/_bmad/bmm/workflows/qa-generate-e2e-tests/instructions.md +0 -110
  310. package/_bmad/bmm/workflows/qa-generate-e2e-tests/workflow.yaml +0 -42
  311. package/_bmad/bmm/workflows/sre/check-deployment-status.md +0 -23
  312. package/_bmad/bmm/workflows/sre/check-secrets.md +0 -14
  313. package/_bmad/bmm/workflows/sre/check-system-status.md +0 -18
  314. package/_bmad/bmm/workflows/sre/day-2-ops.md +0 -16
  315. package/_bmad/bmm/workflows/sre/deployment-strategies.md +0 -18
  316. package/_bmad/bmm/workflows/sre/fix-deployments.md +0 -16
  317. package/_bmad/bmm/workflows/sre/gitops-status.md +0 -16
  318. package/_bmad/core/agents/bmad-master.md +0 -56
  319. package/_bmad/core/config.yaml +0 -9
  320. package/_bmad/core/module-help.csv +0 -10
  321. package/_bmad/core/tasks/editorial-review-prose.xml +0 -102
  322. package/_bmad/core/tasks/editorial-review-structure.xml +0 -208
  323. package/_bmad/core/tasks/help.md +0 -86
  324. package/_bmad/core/tasks/index-docs.xml +0 -65
  325. package/_bmad/core/tasks/review-adversarial-general.xml +0 -49
  326. package/_bmad/core/tasks/review-edge-case-hunter.xml +0 -63
  327. package/_bmad/core/tasks/shard-doc.xml +0 -108
  328. package/_bmad/core/tasks/workflow.xml +0 -235
  329. package/_bmad/core/workflows/advanced-elicitation/methods.csv +0 -51
  330. package/_bmad/core/workflows/advanced-elicitation/workflow.xml +0 -118
  331. package/_bmad/core/workflows/brainstorming/brain-methods.csv +0 -62
  332. package/_bmad/core/workflows/brainstorming/steps/step-01-session-setup.md +0 -210
  333. package/_bmad/core/workflows/brainstorming/steps/step-01b-continue.md +0 -122
  334. package/_bmad/core/workflows/brainstorming/steps/step-02a-user-selected.md +0 -225
  335. package/_bmad/core/workflows/brainstorming/steps/step-02b-ai-recommended.md +0 -237
  336. package/_bmad/core/workflows/brainstorming/steps/step-02c-random-selection.md +0 -209
  337. package/_bmad/core/workflows/brainstorming/steps/step-02d-progressive-flow.md +0 -264
  338. package/_bmad/core/workflows/brainstorming/steps/step-03-technique-execution.md +0 -399
  339. package/_bmad/core/workflows/brainstorming/steps/step-04-idea-organization.md +0 -303
  340. package/_bmad/core/workflows/brainstorming/template.md +0 -15
  341. package/_bmad/core/workflows/brainstorming/workflow.md +0 -60
  342. package/_bmad/core/workflows/party-mode/steps/step-01-agent-loading.md +0 -138
  343. package/_bmad/core/workflows/party-mode/steps/step-02-discussion-orchestration.md +0 -187
  344. package/_bmad/core/workflows/party-mode/steps/step-03-graceful-exit.md +0 -168
  345. package/_bmad/core/workflows/party-mode/workflow.md +0 -194
  346. package/_bmad/custom/agents/cyber.md +0 -56
  347. package/_bmad/custom/agents/devops.md +0 -54
  348. package/_bmad/custom/agents/mil498.md +0 -65
  349. package/_bmad/custom/agents/sre.md +0 -54
  350. package/_bmad/custom/config.yaml +0 -11
  351. package/_bmad/custom/workflows/cyber/generate-certs.md +0 -18
  352. package/_bmad/custom/workflows/cyber/immunity-estimation.md +0 -20
  353. package/_bmad/custom/workflows/cyber/security-audit.md +0 -18
  354. package/_bmad/custom/workflows/cyber/vault-secrets.md +0 -19
  355. package/_bmad/custom/workflows/cyber/verify-docker-users.md +0 -14
  356. package/_bmad/custom/workflows/cyber/verify-image-signature.md +0 -13
  357. package/_bmad/custom/workflows/cyber/vulnerability-scan.md +0 -19
  358. package/_bmad/custom/workflows/devops/configure-infrastructure.md +0 -18
  359. package/_bmad/custom/workflows/devops/disconnected-deployment.md +0 -18
  360. package/_bmad/custom/workflows/devops/docker-compose-setup.md +0 -17
  361. package/_bmad/custom/workflows/devops/manage-helm.md +0 -19
  362. package/_bmad/custom/workflows/devops/sign-docker-image.md +0 -15
  363. package/_bmad/custom/workflows/mil498/bmad-mil-generate-ocd.md +0 -17
  364. package/_bmad/custom/workflows/mil498/bmad-mil-generate-sdd.md +0 -18
  365. package/_bmad/custom/workflows/mil498/bmad-mil-generate-sdp.md +0 -17
  366. package/_bmad/custom/workflows/mil498/bmad-mil-generate-srs.md +0 -19
  367. package/_bmad/custom/workflows/mil498/bmad-mil-generate-sss.md +0 -16
  368. package/_bmad/custom/workflows/mil498/bmad-mil-generate-std.md +0 -17
  369. package/_bmad/custom/workflows/sre/check-deployment-status.md +0 -23
  370. package/_bmad/custom/workflows/sre/check-secrets.md +0 -14
  371. package/_bmad/custom/workflows/sre/check-system-status.md +0 -18
  372. package/_bmad/custom/workflows/sre/day-2-ops.md +0 -16
  373. package/_bmad/custom/workflows/sre/deployment-strategies.md +0 -18
  374. package/_bmad/custom/workflows/sre/fix-deployments.md +0 -16
  375. package/_bmad/custom/workflows/sre/gitops-status.md +0 -16
  376. package/_bmad/skills/config.yaml +0 -11
  377. package/_bmad/skills/sre/.ma-agents.json +0 -14
  378. package/_bmad/skills/sre/MANIFEST.yaml +0 -7
  379. package/_bmad/skills/sre/docker-image-signing/SKILL.md +0 -28
  380. package/_bmad/skills/sre/docker-image-signing/scripts/sign-image.sh +0 -33
@@ -1,160 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "title": "Project Scan Report Schema",
4
- "description": "State tracking file for document-project workflow resumability",
5
- "type": "object",
6
- "required": ["workflow_version", "timestamps", "mode", "scan_level", "completed_steps", "current_step"],
7
- "properties": {
8
- "workflow_version": {
9
- "type": "string",
10
- "description": "Version of document-project workflow",
11
- "example": "1.2.0"
12
- },
13
- "timestamps": {
14
- "type": "object",
15
- "required": ["started", "last_updated"],
16
- "properties": {
17
- "started": {
18
- "type": "string",
19
- "format": "date-time",
20
- "description": "ISO 8601 timestamp when workflow started"
21
- },
22
- "last_updated": {
23
- "type": "string",
24
- "format": "date-time",
25
- "description": "ISO 8601 timestamp of last state update"
26
- },
27
- "completed": {
28
- "type": "string",
29
- "format": "date-time",
30
- "description": "ISO 8601 timestamp when workflow completed (if finished)"
31
- }
32
- }
33
- },
34
- "mode": {
35
- "type": "string",
36
- "enum": ["initial_scan", "full_rescan", "deep_dive"],
37
- "description": "Workflow execution mode"
38
- },
39
- "scan_level": {
40
- "type": "string",
41
- "enum": ["quick", "deep", "exhaustive"],
42
- "description": "Scan depth level (deep_dive mode always uses exhaustive)"
43
- },
44
- "project_root": {
45
- "type": "string",
46
- "description": "Absolute path to project root directory"
47
- },
48
- "project_knowledge": {
49
- "type": "string",
50
- "description": "Absolute path to project knowledge folder"
51
- },
52
- "completed_steps": {
53
- "type": "array",
54
- "items": {
55
- "type": "object",
56
- "required": ["step", "status"],
57
- "properties": {
58
- "step": {
59
- "type": "string",
60
- "description": "Step identifier (e.g., 'step_1', 'step_2')"
61
- },
62
- "status": {
63
- "type": "string",
64
- "enum": ["completed", "partial", "failed"]
65
- },
66
- "timestamp": {
67
- "type": "string",
68
- "format": "date-time"
69
- },
70
- "outputs": {
71
- "type": "array",
72
- "items": { "type": "string" },
73
- "description": "Files written during this step"
74
- },
75
- "summary": {
76
- "type": "string",
77
- "description": "1-2 sentence summary of step outcome"
78
- }
79
- }
80
- }
81
- },
82
- "current_step": {
83
- "type": "string",
84
- "description": "Current step identifier for resumption"
85
- },
86
- "findings": {
87
- "type": "object",
88
- "description": "High-level summaries only (detailed findings purged after writing)",
89
- "properties": {
90
- "project_classification": {
91
- "type": "object",
92
- "properties": {
93
- "repository_type": { "type": "string" },
94
- "parts_count": { "type": "integer" },
95
- "primary_language": { "type": "string" },
96
- "architecture_type": { "type": "string" }
97
- }
98
- },
99
- "technology_stack": {
100
- "type": "array",
101
- "items": {
102
- "type": "object",
103
- "properties": {
104
- "part_id": { "type": "string" },
105
- "tech_summary": { "type": "string" }
106
- }
107
- }
108
- },
109
- "batches_completed": {
110
- "type": "array",
111
- "description": "For deep/exhaustive scans: subfolders processed",
112
- "items": {
113
- "type": "object",
114
- "properties": {
115
- "path": { "type": "string" },
116
- "files_scanned": { "type": "integer" },
117
- "summary": { "type": "string" }
118
- }
119
- }
120
- }
121
- }
122
- },
123
- "outputs_generated": {
124
- "type": "array",
125
- "items": { "type": "string" },
126
- "description": "List of all output files generated"
127
- },
128
- "resume_instructions": {
129
- "type": "string",
130
- "description": "Instructions for resuming from current_step"
131
- },
132
- "validation_status": {
133
- "type": "object",
134
- "properties": {
135
- "last_validated": {
136
- "type": "string",
137
- "format": "date-time"
138
- },
139
- "validation_errors": {
140
- "type": "array",
141
- "items": { "type": "string" }
142
- }
143
- }
144
- },
145
- "deep_dive_targets": {
146
- "type": "array",
147
- "description": "Track deep-dive areas analyzed (for deep_dive mode)",
148
- "items": {
149
- "type": "object",
150
- "properties": {
151
- "target_name": { "type": "string" },
152
- "target_path": { "type": "string" },
153
- "files_analyzed": { "type": "integer" },
154
- "output_file": { "type": "string" },
155
- "timestamp": { "type": "string", "format": "date-time" }
156
- }
157
- }
158
- }
159
- }
160
- }
@@ -1,135 +0,0 @@
1
- # {{project_name}} - Source Tree Analysis
2
-
3
- **Date:** {{date}}
4
-
5
- ## Overview
6
-
7
- {{source_tree_overview}}
8
-
9
- {{#if is_multi_part}}
10
-
11
- ## Multi-Part Structure
12
-
13
- This project is organized into {{parts_count}} distinct parts:
14
-
15
- {{#each project_parts}}
16
-
17
- - **{{part_name}}** (`{{root_path}}`): {{purpose}}
18
- {{/each}}
19
- {{/if}}
20
-
21
- ## Complete Directory Structure
22
-
23
- ```
24
- {{complete_source_tree}}
25
- ```
26
-
27
- ## Critical Directories
28
-
29
- {{#each critical_folders}}
30
-
31
- ### `{{folder_path}}`
32
-
33
- {{description}}
34
-
35
- **Purpose:** {{purpose}}
36
- **Contains:** {{contents_summary}}
37
- {{#if entry_points}}**Entry Points:** {{entry_points}}{{/if}}
38
- {{#if integration_note}}**Integration:** {{integration_note}}{{/if}}
39
-
40
- {{/each}}
41
-
42
- {{#if is_multi_part}}
43
-
44
- ## Part-Specific Trees
45
-
46
- {{#each project_parts}}
47
-
48
- ### {{part_name}} Structure
49
-
50
- ```
51
- {{source_tree}}
52
- ```
53
-
54
- **Key Directories:**
55
- {{#each critical_directories}}
56
-
57
- - **`{{path}}`**: {{description}}
58
- {{/each}}
59
-
60
- {{/each}}
61
-
62
- ## Integration Points
63
-
64
- {{#each integration_points}}
65
-
66
- ### {{from_part}} → {{to_part}}
67
-
68
- - **Location:** `{{integration_path}}`
69
- - **Type:** {{integration_type}}
70
- - **Details:** {{details}}
71
- {{/each}}
72
-
73
- {{/if}}
74
-
75
- ## Entry Points
76
-
77
- {{#if is_single_part}}
78
-
79
- - **Main Entry:** `{{main_entry_point}}`
80
- {{#if additional_entry_points}}
81
- - **Additional:**
82
- {{#each additional_entry_points}}
83
- - `{{path}}`: {{description}}
84
- {{/each}}
85
- {{/if}}
86
- {{else}}
87
- {{#each project_parts}}
88
-
89
- ### {{part_name}}
90
-
91
- - **Entry Point:** `{{entry_point}}`
92
- - **Bootstrap:** {{bootstrap_description}}
93
- {{/each}}
94
- {{/if}}
95
-
96
- ## File Organization Patterns
97
-
98
- {{file_organization_patterns}}
99
-
100
- ## Key File Types
101
-
102
- {{#each file_type_patterns}}
103
-
104
- ### {{file_type}}
105
-
106
- - **Pattern:** `{{pattern}}`
107
- - **Purpose:** {{purpose}}
108
- - **Examples:** {{examples}}
109
- {{/each}}
110
-
111
- ## Asset Locations
112
-
113
- {{#if has_assets}}
114
- {{#each asset_locations}}
115
-
116
- - **{{asset_type}}**: `{{location}}` ({{file_count}} files, {{total_size}})
117
- {{/each}}
118
- {{else}}
119
- No significant assets detected.
120
- {{/if}}
121
-
122
- ## Configuration Files
123
-
124
- {{#each config_files}}
125
-
126
- - **`{{path}}`**: {{description}}
127
- {{/each}}
128
-
129
- ## Notes for Development
130
-
131
- {{development_notes}}
132
-
133
- ---
134
-
135
- _Generated using BMAD Method `document-project` workflow_
@@ -1,22 +0,0 @@
1
- # Document Project Workflow Configuration
2
- name: "document-project"
3
- version: "1.2.0"
4
- description: 'Document brownfield projects for AI context. Use when the user says "document this project" or "generate project docs"'
5
- author: "BMad"
6
-
7
- # Critical variables
8
- config_source: "{project-root}/_bmad/bmm/config.yaml"
9
- project_knowledge: "{config_source}:project_knowledge"
10
- user_name: "{config_source}:user_name"
11
- communication_language: "{config_source}:communication_language"
12
- document_output_language: "{config_source}:document_output_language"
13
- user_skill_level: "{config_source}:user_skill_level"
14
- date: system-generated
15
-
16
- # Module path and component files
17
- installed_path: "{project-root}/_bmad/bmm/workflows/document-project"
18
- instructions: "{installed_path}/instructions.md"
19
- validation: "{installed_path}/checklist.md"
20
-
21
- # Required data files - CRITICAL for project type detection and documentation requirements
22
- documentation_requirements_csv: "{installed_path}/documentation-requirements.csv"
@@ -1,298 +0,0 @@
1
- # Deep-Dive Documentation Instructions
2
-
3
- <workflow>
4
-
5
- <critical>This workflow performs exhaustive deep-dive documentation of specific areas</critical>
6
- <critical>Called by: ../document-project/instructions.md router</critical>
7
- <critical>Handles: deep_dive mode only</critical>
8
-
9
- <step n="13" goal="Deep-dive documentation of specific area" if="workflow_mode == deep_dive">
10
- <critical>Deep-dive mode requires literal full-file review. Sampling, guessing, or relying solely on tooling output is FORBIDDEN.</critical>
11
- <action>Load existing project structure from index.md and project-parts.json (if exists)</action>
12
- <action>Load source tree analysis to understand available areas</action>
13
-
14
- <step n="13a" goal="Identify area for deep-dive">
15
- <action>Analyze existing documentation to suggest deep-dive options</action>
16
-
17
- <ask>What area would you like to deep-dive into?
18
-
19
- **Suggested Areas Based on Project Structure:**
20
-
21
- {{#if has_api_routes}}
22
-
23
- ## API Routes ({{api_route_count}} endpoints found)
24
-
25
- {{#each api_route_groups}}
26
- {{group_index}}. {{group_name}} - {{endpoint_count}} endpoints in `{{path}}`
27
- {{/each}}
28
- {{/if}}
29
-
30
- {{#if has_feature_modules}}
31
-
32
- ## Feature Modules ({{feature_count}} features)
33
-
34
- {{#each feature_modules}}
35
- {{module_index}}. {{module_name}} - {{file_count}} files in `{{path}}`
36
- {{/each}}
37
- {{/if}}
38
-
39
- {{#if has_ui_components}}
40
-
41
- ### UI Component Areas
42
-
43
- {{#each component_groups}}
44
- {{group_index}}. {{group_name}} - {{component_count}} components in `{{path}}`
45
- {{/each}}
46
- {{/if}}
47
-
48
- {{#if has_services}}
49
-
50
- ### Services/Business Logic
51
-
52
- {{#each service_groups}}
53
- {{service_index}}. {{service_name}} - `{{path}}`
54
- {{/each}}
55
- {{/if}}
56
-
57
- **Or specify custom:**
58
-
59
- - Folder path (e.g., "client/src/features/dashboard")
60
- - File path (e.g., "server/src/api/users.ts")
61
- - Feature name (e.g., "authentication system")
62
-
63
- Enter your choice (number or custom path):
64
- </ask>
65
-
66
- <action>Parse user input to determine: - target_type: "folder" | "file" | "feature" | "api_group" | "component_group" - target_path: Absolute path to scan - target_name: Human-readable name for documentation - target_scope: List of all files to analyze
67
- </action>
68
-
69
- <action>Store as {{deep_dive_target}}</action>
70
-
71
- <action>Display confirmation:
72
- Target: {{target_name}}
73
- Type: {{target_type}}
74
- Path: {{target_path}}
75
- Estimated files to analyze: {{estimated_file_count}}
76
-
77
- This will read EVERY file in this area. Proceed? [y/n]
78
- </action>
79
-
80
- <action if="user confirms 'n'">Return to Step 13a (select different area)</action>
81
- </step>
82
-
83
- <step n="13b" goal="Comprehensive exhaustive scan of target area">
84
- <action>Set scan_mode = "exhaustive"</action>
85
- <action>Initialize file_inventory = []</action>
86
- <critical>You must read every line of every file in scope and capture a plain-language explanation (what the file does, side effects, why it matters) that future developer agents can act on. No shortcuts.</critical>
87
-
88
- <check if="target_type == folder">
89
- <action>Get complete recursive file list from {{target_path}}</action>
90
- <action>Filter out: node_modules/, .git/, dist/, build/, coverage/, *.min.js, *.map</action>
91
- <action>For EVERY remaining file in folder:
92
- - Read complete file contents (all lines)
93
- - Extract all exports (functions, classes, types, interfaces, constants)
94
- - Extract all imports (dependencies)
95
- - Identify purpose from comments and code structure
96
- - Write 1-2 sentences (minimum) in natural language describing behaviour, side effects, assumptions, and anything a developer must know before modifying the file
97
- - Extract function signatures with parameter types and return types
98
- - Note any TODOs, FIXMEs, or comments
99
- - Identify patterns (hooks, components, services, controllers, etc.)
100
- - Capture per-file contributor guidance: `contributor_note`, `risks`, `verification_steps`, `suggested_tests`
101
- - Store in file_inventory
102
- </action>
103
- </check>
104
-
105
- <check if="target_type == file">
106
- <action>Read complete file at {{target_path}}</action>
107
- <action>Extract all information as above</action>
108
- <action>Read all files it imports (follow import chain 1 level deep)</action>
109
- <action>Find all files that import this file (dependents via grep)</action>
110
- <action>Store all in file_inventory</action>
111
- </check>
112
-
113
- <check if="target_type == api_group">
114
- <action>Identify all route/controller files in API group</action>
115
- <action>Read all route handlers completely</action>
116
- <action>Read associated middleware, controllers, services</action>
117
- <action>Read data models and schemas used</action>
118
- <action>Extract complete request/response schemas</action>
119
- <action>Document authentication and authorization requirements</action>
120
- <action>Store all in file_inventory</action>
121
- </check>
122
-
123
- <check if="target_type == feature">
124
- <action>Search codebase for all files related to feature name</action>
125
- <action>Include: UI components, API endpoints, models, services, tests</action>
126
- <action>Read each file completely</action>
127
- <action>Store all in file_inventory</action>
128
- </check>
129
-
130
- <check if="target_type == component_group">
131
- <action>Get all component files in group</action>
132
- <action>Read each component completely</action>
133
- <action>Extract: Props interfaces, hooks used, child components, state management</action>
134
- <action>Store all in file_inventory</action>
135
- </check>
136
-
137
- <action>For each file in file\*inventory, document: - **File Path:** Full path - **Purpose:** What this file does (1-2 sentences) - **Lines of Code:** Total LOC - **Exports:** Complete list with signatures
138
-
139
- - Functions: `functionName(param: Type): ReturnType` - Description
140
- - Classes: `ClassName` - Description with key methods
141
- - Types/Interfaces: `TypeName` - Description
142
- - Constants: `CONSTANT_NAME: Type` - Description - **Imports/Dependencies:** What it uses and why - **Used By:** Files that import this (dependents) - **Key Implementation Details:** Important logic, algorithms, patterns - **State Management:** If applicable (Redux, Context, local state) - **Side Effects:** API calls, database queries, file I/O, external services - **Error Handling:** Try/catch blocks, error boundaries, validation - **Testing:** Associated test files and coverage - **Comments/TODOs:** Any inline documentation or planned work
143
- </action>
144
-
145
- <template-output>comprehensive_file_inventory</template-output>
146
- </step>
147
-
148
- <step n="13c" goal="Analyze relationships and data flow">
149
- <action>Build dependency graph for scanned area:
150
- - Create graph with files as nodes
151
- - Add edges for import relationships
152
- - Identify circular dependencies if any
153
- - Find entry points (files not imported by others in scope)
154
- - Find leaf nodes (files that don't import others in scope)
155
- </action>
156
-
157
- <action>Trace data flow through the system: - Follow function calls and data transformations - Track API calls and their responses - Document state updates and propagation - Map database queries and mutations
158
- </action>
159
-
160
- <action>Identify integration points: - External APIs consumed - Internal APIs/services called - Shared state accessed - Events published/subscribed - Database tables accessed
161
- </action>
162
-
163
- <template-output>dependency_graph</template-output>
164
- <template-output>data_flow_analysis</template-output>
165
- <template-output>integration_points</template-output>
166
- </step>
167
-
168
- <step n="13d" goal="Find related code and similar patterns">
169
- <action>Search codebase OUTSIDE scanned area for:
170
- - Similar file/folder naming patterns
171
- - Similar function signatures
172
- - Similar component structures
173
- - Similar API patterns
174
- - Reusable utilities that could be used
175
- </action>
176
-
177
- <action>Identify code reuse opportunities: - Shared utilities available - Design patterns used elsewhere - Component libraries available - Helper functions that could apply
178
- </action>
179
-
180
- <action>Find reference implementations: - Similar features in other parts of codebase - Established patterns to follow - Testing approaches used elsewhere
181
- </action>
182
-
183
- <template-output>related_code_references</template-output>
184
- <template-output>reuse_opportunities</template-output>
185
- </step>
186
-
187
- <step n="13e" goal="Generate comprehensive deep-dive documentation">
188
- <action>Create documentation filename: deep-dive-{{sanitized_target_name}}.md</action>
189
- <action>Aggregate contributor insights across files:
190
- - Combine unique risk/gotcha notes into {{risks_notes}}
191
- - Combine verification steps developers should run before changes into {{verification_steps}}
192
- - Combine recommended test commands into {{suggested_tests}}
193
- </action>
194
-
195
- <action>Load complete deep-dive template from: {installed_path}/templates/deep-dive-template.md</action>
196
- <action>Fill template with all collected data from steps 13b-13d</action>
197
- <action>Write filled template to: {project_knowledge}/deep-dive-{{sanitized_target_name}}.md</action>
198
- <action>Validate deep-dive document completeness</action>
199
-
200
- <template-output>deep_dive_documentation</template-output>
201
-
202
- <action>Update state file: - Add to deep_dive_targets array: {"target_name": "{{target_name}}", "target_path": "{{target_path}}", "files_analyzed": {{file_count}}, "output_file": "deep-dive-{{sanitized_target_name}}.md", "timestamp": "{{now}}"} - Add output to outputs_generated - Update last_updated timestamp
203
- </action>
204
- </step>
205
-
206
- <step n="13f" goal="Update master index with deep-dive link">
207
- <action>Read existing index.md</action>
208
-
209
- <action>Check if "Deep-Dive Documentation" section exists</action>
210
-
211
- <check if="section does not exist">
212
- <action>Add new section after "Generated Documentation":
213
-
214
- ## Deep-Dive Documentation
215
-
216
- Detailed exhaustive analysis of specific areas:
217
-
218
- </action>
219
-
220
- </check>
221
-
222
- <action>Add link to new deep-dive doc:
223
-
224
- - [{{target_name}} Deep-Dive](./deep-dive-{{sanitized_target_name}}.md) - Comprehensive analysis of {{target_description}} ({{file_count}} files, {{total_loc}} LOC) - Generated {{date}}
225
- </action>
226
-
227
- <action>Update index metadata:
228
- Last Updated: {{date}}
229
- Deep-Dives: {{deep_dive_count}}
230
- </action>
231
-
232
- <action>Save updated index.md</action>
233
-
234
- <template-output>updated_index</template-output>
235
- </step>
236
-
237
- <step n="13g" goal="Offer to continue or complete">
238
- <action>Display summary:
239
-
240
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
241
-
242
- ## Deep-Dive Documentation Complete! ✓
243
-
244
- **Generated:** {project_knowledge}/deep-dive-{{target_name}}.md
245
- **Files Analyzed:** {{file_count}}
246
- **Lines of Code Scanned:** {{total_loc}}
247
- **Time Taken:** ~{{duration}}
248
-
249
- **Documentation Includes:**
250
-
251
- - Complete file inventory with all exports
252
- - Dependency graph and data flow
253
- - Integration points and API contracts
254
- - Testing analysis and coverage
255
- - Related code and reuse opportunities
256
- - Implementation guidance
257
-
258
- **Index Updated:** {project_knowledge}/index.md now includes link to this deep-dive
259
-
260
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
261
- </action>
262
-
263
- <ask>Would you like to:
264
-
265
- 1. **Deep-dive another area** - Analyze another feature/module/folder
266
- 2. **Finish** - Complete workflow
267
-
268
- Your choice [1/2]:
269
- </ask>
270
-
271
- <action if="user selects 1">
272
- <action>Clear current deep_dive_target</action>
273
- <action>Go to Step 13a (select new area)</action>
274
- </action>
275
-
276
- <action if="user selects 2">
277
- <action>Display final message:
278
-
279
- All deep-dive documentation complete!
280
-
281
- **Master Index:** {project_knowledge}/index.md
282
- **Deep-Dives Generated:** {{deep_dive_count}}
283
-
284
- These comprehensive docs are now ready for:
285
-
286
- - Architecture review
287
- - Implementation planning
288
- - Code understanding
289
- - Brownfield PRD creation
290
-
291
- Thank you for using the document-project workflow!
292
- </action>
293
- <action>Exit workflow</action>
294
- </action>
295
- </step>
296
- </step>
297
-
298
- </workflow>
@@ -1,31 +0,0 @@
1
- # Deep-Dive Documentation Workflow Configuration
2
- name: "document-project-deep-dive"
3
- description: "Exhaustive deep-dive documentation of specific project areas"
4
- author: "BMad"
5
-
6
- # This is a sub-workflow called by document-project/workflow.yaml
7
- parent_workflow: "{project-root}/_bmad/bmm/workflows/document-project/workflow.yaml"
8
-
9
- # Critical variables inherited from parent
10
- config_source: "{project-root}/_bmad/bmb/config.yaml"
11
- project_knowledge: "{config_source}:project_knowledge"
12
- user_name: "{config_source}:user_name"
13
- date: system-generated
14
-
15
- # Module path and component files
16
- installed_path: "{project-root}/_bmad/bmm/workflows/document-project/workflows"
17
- template: false # Action workflow
18
- instructions: "{installed_path}/deep-dive-instructions.md"
19
- validation: "{project-root}/_bmad/bmm/workflows/document-project/checklist.md"
20
-
21
- # Templates
22
- deep_dive_template: "{project-root}/_bmad/bmm/workflows/document-project/templates/deep-dive-template.md"
23
-
24
- # Runtime inputs (passed from parent workflow)
25
- workflow_mode: "deep_dive"
26
- scan_level: "exhaustive" # Deep-dive always uses exhaustive scan
27
- project_root_path: ""
28
- existing_index_path: "" # Path to existing index.md
29
-
30
- # Configuration
31
- autonomous: false # Requires user input to select target area