ma-agents 2.15.0 → 2.16.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 (325) hide show
  1. package/lib/agents.js +5 -5
  2. package/lib/bmad-customizations/antigravity.customize.yaml +16 -8
  3. package/lib/bmad-customizations/bmm-cyber.customize.yaml +17 -35
  4. package/lib/bmad-customizations/bmm-devops.customize.yaml +18 -31
  5. package/lib/bmad-customizations/bmm-mil498.customize.yaml +21 -32
  6. package/lib/bmad-customizations/bmm-sre.customize.yaml +19 -32
  7. package/lib/bmad-customizations/cyber.md +44 -29
  8. package/lib/bmad-customizations/devops.md +44 -27
  9. package/lib/bmad-customizations/mil498.md +41 -35
  10. package/lib/bmad-customizations/sre.md +44 -27
  11. package/lib/bmad.js +1 -2
  12. package/package.json +1 -1
  13. package/_bmad/_config/agent-manifest.csv +0 -15
  14. package/_bmad/_config/agents/antigravity.customize.yaml +0 -10
  15. package/_bmad/_config/agents/bmm-analyst.customize.yaml +0 -41
  16. package/_bmad/_config/agents/bmm-architect.customize.yaml +0 -41
  17. package/_bmad/_config/agents/bmm-cyber.customize.yaml +0 -42
  18. package/_bmad/_config/agents/bmm-dev.customize.yaml +0 -41
  19. package/_bmad/_config/agents/bmm-devops.customize.yaml +0 -37
  20. package/_bmad/_config/agents/bmm-mil498.customize.yaml +0 -41
  21. package/_bmad/_config/agents/bmm-pm.customize.yaml +0 -41
  22. package/_bmad/_config/agents/bmm-qa.customize.yaml +0 -41
  23. package/_bmad/_config/agents/bmm-quick-flow-solo-dev.customize.yaml +0 -41
  24. package/_bmad/_config/agents/bmm-sm.customize.yaml +0 -41
  25. package/_bmad/_config/agents/bmm-sre.customize.yaml +0 -37
  26. package/_bmad/_config/agents/bmm-tech-writer.customize.yaml +0 -41
  27. package/_bmad/_config/agents/bmm-ux-designer.customize.yaml +0 -41
  28. package/_bmad/_config/agents/claude-code.customize.yaml +0 -10
  29. package/_bmad/_config/agents/cline.customize.yaml +0 -9
  30. package/_bmad/_config/agents/core-bmad-master.customize.yaml +0 -41
  31. package/_bmad/_config/agents/cursor.customize.yaml +0 -9
  32. package/_bmad/_config/agents/gemini.customize.yaml +0 -9
  33. package/_bmad/_config/agents/generic.customize.yaml +0 -7
  34. package/_bmad/_config/bmad-help.csv +0 -40
  35. package/_bmad/_config/files-manifest.csv +0 -212
  36. package/_bmad/_config/manifest.yaml +0 -27
  37. package/_bmad/_config/task-manifest.csv +0 -8
  38. package/_bmad/_config/tool-manifest.csv +0 -1
  39. package/_bmad/_config/workflow-manifest.csv +0 -26
  40. package/_bmad/_memory/config.yaml +0 -11
  41. package/_bmad/_memory/tech-writer-sidecar/documentation-standards.md +0 -224
  42. package/_bmad/bmm/agents/analyst.md +0 -78
  43. package/_bmad/bmm/agents/architect.md +0 -58
  44. package/_bmad/bmm/agents/cyber.md +0 -56
  45. package/_bmad/bmm/agents/dev.md +0 -69
  46. package/_bmad/bmm/agents/devops.md +0 -54
  47. package/_bmad/bmm/agents/mil498.md +0 -65
  48. package/_bmad/bmm/agents/pm.md +0 -72
  49. package/_bmad/bmm/agents/qa.md +0 -92
  50. package/_bmad/bmm/agents/quick-flow-solo-dev.md +0 -69
  51. package/_bmad/bmm/agents/sm.md +0 -70
  52. package/_bmad/bmm/agents/sre.md +0 -54
  53. package/_bmad/bmm/agents/tech-writer/tech-writer.md +0 -70
  54. package/_bmad/bmm/agents/ux-designer.md +0 -57
  55. package/_bmad/bmm/config.yaml +0 -16
  56. package/_bmad/bmm/data/project-context-template.md +0 -26
  57. package/_bmad/bmm/module-help.csv +0 -31
  58. package/_bmad/bmm/teams/default-party.csv +0 -20
  59. package/_bmad/bmm/teams/team-fullstack.yaml +0 -12
  60. package/_bmad/bmm/templates/mil498/OCD.md +0 -169
  61. package/_bmad/bmm/templates/mil498/README.md +0 -4
  62. package/_bmad/bmm/templates/mil498/SDP.md +0 -307
  63. package/_bmad/bmm/templates/mil498/SRS.md +0 -219
  64. package/_bmad/bmm/templates/mil498/SSDD.md +0 -154
  65. package/_bmad/bmm/templates/mil498/SSS.md +0 -225
  66. package/_bmad/bmm/templates/mil498/STD.md +0 -188
  67. package/_bmad/bmm/workflows/1-analysis/create-product-brief/product-brief.template.md +0 -10
  68. package/_bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-01-init.md +0 -177
  69. package/_bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-01b-continue.md +0 -161
  70. package/_bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-02-vision.md +0 -199
  71. package/_bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-03-users.md +0 -202
  72. package/_bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-04-metrics.md +0 -205
  73. package/_bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-05-scope.md +0 -219
  74. package/_bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-06-complete.md +0 -162
  75. package/_bmad/bmm/workflows/1-analysis/create-product-brief/workflow.md +0 -57
  76. package/_bmad/bmm/workflows/1-analysis/research/domain-steps/step-01-init.md +0 -137
  77. package/_bmad/bmm/workflows/1-analysis/research/domain-steps/step-02-domain-analysis.md +0 -229
  78. package/_bmad/bmm/workflows/1-analysis/research/domain-steps/step-03-competitive-landscape.md +0 -238
  79. package/_bmad/bmm/workflows/1-analysis/research/domain-steps/step-04-regulatory-focus.md +0 -206
  80. package/_bmad/bmm/workflows/1-analysis/research/domain-steps/step-05-technical-trends.md +0 -234
  81. package/_bmad/bmm/workflows/1-analysis/research/domain-steps/step-06-research-synthesis.md +0 -444
  82. package/_bmad/bmm/workflows/1-analysis/research/market-steps/step-01-init.md +0 -182
  83. package/_bmad/bmm/workflows/1-analysis/research/market-steps/step-02-customer-behavior.md +0 -237
  84. package/_bmad/bmm/workflows/1-analysis/research/market-steps/step-03-customer-pain-points.md +0 -249
  85. package/_bmad/bmm/workflows/1-analysis/research/market-steps/step-04-customer-decisions.md +0 -259
  86. package/_bmad/bmm/workflows/1-analysis/research/market-steps/step-05-competitive-analysis.md +0 -177
  87. package/_bmad/bmm/workflows/1-analysis/research/market-steps/step-06-research-completion.md +0 -476
  88. package/_bmad/bmm/workflows/1-analysis/research/research.template.md +0 -29
  89. package/_bmad/bmm/workflows/1-analysis/research/technical-steps/step-01-init.md +0 -137
  90. package/_bmad/bmm/workflows/1-analysis/research/technical-steps/step-02-technical-overview.md +0 -239
  91. package/_bmad/bmm/workflows/1-analysis/research/technical-steps/step-03-integration-patterns.md +0 -248
  92. package/_bmad/bmm/workflows/1-analysis/research/technical-steps/step-04-architectural-patterns.md +0 -202
  93. package/_bmad/bmm/workflows/1-analysis/research/technical-steps/step-05-implementation-research.md +0 -233
  94. package/_bmad/bmm/workflows/1-analysis/research/technical-steps/step-06-research-synthesis.md +0 -487
  95. package/_bmad/bmm/workflows/1-analysis/research/workflow-domain-research.md +0 -54
  96. package/_bmad/bmm/workflows/1-analysis/research/workflow-market-research.md +0 -54
  97. package/_bmad/bmm/workflows/1-analysis/research/workflow-technical-research.md +0 -54
  98. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/data/domain-complexity.csv +0 -15
  99. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/data/prd-purpose.md +0 -197
  100. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/data/project-types.csv +0 -11
  101. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-01-init.md +0 -191
  102. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-01b-continue.md +0 -152
  103. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-02-discovery.md +0 -224
  104. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-02b-vision.md +0 -154
  105. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-02c-executive-summary.md +0 -170
  106. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-03-success.md +0 -226
  107. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-04-journeys.md +0 -213
  108. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-05-domain.md +0 -207
  109. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-06-innovation.md +0 -226
  110. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-07-project-type.md +0 -237
  111. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-08-scoping.md +0 -228
  112. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-09-functional.md +0 -231
  113. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-10-nonfunctional.md +0 -242
  114. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-11-polish.md +0 -217
  115. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-12-complete.md +0 -124
  116. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-e/step-e-01-discovery.md +0 -247
  117. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-e/step-e-01b-legacy-conversion.md +0 -208
  118. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-e/step-e-02-review.md +0 -249
  119. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-e/step-e-03-edit.md +0 -253
  120. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-e/step-e-04-complete.md +0 -168
  121. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-01-discovery.md +0 -226
  122. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-02-format-detection.md +0 -191
  123. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-02b-parity-check.md +0 -209
  124. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-03-density-validation.md +0 -174
  125. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-04-brief-coverage-validation.md +0 -214
  126. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-05-measurability-validation.md +0 -228
  127. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-06-traceability-validation.md +0 -217
  128. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-07-implementation-leakage-validation.md +0 -205
  129. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-08-domain-compliance-validation.md +0 -243
  130. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-09-project-type-validation.md +0 -263
  131. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-10-smart-validation.md +0 -209
  132. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-11-holistic-quality-validation.md +0 -264
  133. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-12-completeness-validation.md +0 -242
  134. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-13-report-complete.md +0 -231
  135. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/templates/prd-template.md +0 -10
  136. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/workflow-create-prd.md +0 -63
  137. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/workflow-edit-prd.md +0 -65
  138. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/workflow-validate-prd.md +0 -63
  139. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-01-init.md +0 -135
  140. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-01b-continue.md +0 -127
  141. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-02-discovery.md +0 -190
  142. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-03-core-experience.md +0 -216
  143. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-04-emotional-response.md +0 -219
  144. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-05-inspiration.md +0 -234
  145. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-06-design-system.md +0 -252
  146. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-07-defining-experience.md +0 -254
  147. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-08-visual-foundation.md +0 -224
  148. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-09-design-directions.md +0 -224
  149. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-10-user-journeys.md +0 -241
  150. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-11-component-strategy.md +0 -248
  151. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-12-ux-patterns.md +0 -237
  152. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-13-responsive-accessibility.md +0 -264
  153. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-14-complete.md +0 -171
  154. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/ux-design-template.md +0 -13
  155. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/workflow.md +0 -42
  156. package/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-01-document-discovery.md +0 -184
  157. package/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-02-prd-analysis.md +0 -172
  158. package/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-03-epic-coverage-validation.md +0 -173
  159. package/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-04-ux-alignment.md +0 -133
  160. package/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-05-epic-quality-review.md +0 -245
  161. package/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-06-final-assessment.md +0 -129
  162. package/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/templates/readiness-report-template.md +0 -4
  163. package/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/workflow.md +0 -54
  164. package/_bmad/bmm/workflows/3-solutioning/create-architecture/architecture-decision-template.md +0 -12
  165. package/_bmad/bmm/workflows/3-solutioning/create-architecture/data/domain-complexity.csv +0 -13
  166. package/_bmad/bmm/workflows/3-solutioning/create-architecture/data/project-types.csv +0 -7
  167. package/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-01-init.md +0 -153
  168. package/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-01b-continue.md +0 -173
  169. package/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-02-context.md +0 -224
  170. package/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-03-starter.md +0 -329
  171. package/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-04-decisions.md +0 -318
  172. package/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-05-patterns.md +0 -359
  173. package/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-06-structure.md +0 -379
  174. package/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-07-validation.md +0 -359
  175. package/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-08-complete.md +0 -76
  176. package/_bmad/bmm/workflows/3-solutioning/create-architecture/workflow.md +0 -49
  177. package/_bmad/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-01-validate-prerequisites.md +0 -259
  178. package/_bmad/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-02-design-epics.md +0 -233
  179. package/_bmad/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-03-create-stories.md +0 -272
  180. package/_bmad/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-04-final-validation.md +0 -149
  181. package/_bmad/bmm/workflows/3-solutioning/create-epics-and-stories/templates/epics-template.md +0 -57
  182. package/_bmad/bmm/workflows/3-solutioning/create-epics-and-stories/workflow.md +0 -58
  183. package/_bmad/bmm/workflows/4-implementation/code-review/checklist.md +0 -23
  184. package/_bmad/bmm/workflows/4-implementation/code-review/instructions.xml +0 -227
  185. package/_bmad/bmm/workflows/4-implementation/code-review/workflow.yaml +0 -43
  186. package/_bmad/bmm/workflows/4-implementation/correct-course/checklist.md +0 -288
  187. package/_bmad/bmm/workflows/4-implementation/correct-course/instructions.md +0 -207
  188. package/_bmad/bmm/workflows/4-implementation/correct-course/workflow.yaml +0 -53
  189. package/_bmad/bmm/workflows/4-implementation/create-story/checklist.md +0 -358
  190. package/_bmad/bmm/workflows/4-implementation/create-story/instructions.xml +0 -346
  191. package/_bmad/bmm/workflows/4-implementation/create-story/template.md +0 -49
  192. package/_bmad/bmm/workflows/4-implementation/create-story/workflow.yaml +0 -52
  193. package/_bmad/bmm/workflows/4-implementation/dev-story/checklist.md +0 -80
  194. package/_bmad/bmm/workflows/4-implementation/dev-story/instructions.xml +0 -410
  195. package/_bmad/bmm/workflows/4-implementation/dev-story/workflow.yaml +0 -20
  196. package/_bmad/bmm/workflows/4-implementation/retrospective/instructions.md +0 -1444
  197. package/_bmad/bmm/workflows/4-implementation/retrospective/workflow.yaml +0 -52
  198. package/_bmad/bmm/workflows/4-implementation/sprint-planning/checklist.md +0 -33
  199. package/_bmad/bmm/workflows/4-implementation/sprint-planning/instructions.md +0 -226
  200. package/_bmad/bmm/workflows/4-implementation/sprint-planning/sprint-status-template.yaml +0 -55
  201. package/_bmad/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +0 -47
  202. package/_bmad/bmm/workflows/4-implementation/sprint-status/instructions.md +0 -230
  203. package/_bmad/bmm/workflows/4-implementation/sprint-status/workflow.yaml +0 -25
  204. package/_bmad/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-01-mode-detection.md +0 -174
  205. package/_bmad/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-02-context-gathering.md +0 -118
  206. package/_bmad/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-03-execute.md +0 -111
  207. package/_bmad/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-04-self-check.md +0 -111
  208. package/_bmad/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-05-adversarial-review.md +0 -104
  209. package/_bmad/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-06-resolve-findings.md +0 -146
  210. package/_bmad/bmm/workflows/bmad-quick-flow/quick-dev/workflow.md +0 -50
  211. package/_bmad/bmm/workflows/bmad-quick-flow/quick-spec/steps/step-01-understand.md +0 -189
  212. package/_bmad/bmm/workflows/bmad-quick-flow/quick-spec/steps/step-02-investigate.md +0 -143
  213. package/_bmad/bmm/workflows/bmad-quick-flow/quick-spec/steps/step-03-generate.md +0 -126
  214. package/_bmad/bmm/workflows/bmad-quick-flow/quick-spec/steps/step-04-review.md +0 -200
  215. package/_bmad/bmm/workflows/bmad-quick-flow/quick-spec/tech-spec-template.md +0 -74
  216. package/_bmad/bmm/workflows/bmad-quick-flow/quick-spec/workflow.md +0 -79
  217. package/_bmad/bmm/workflows/cyber/generate-certs.md +0 -18
  218. package/_bmad/bmm/workflows/cyber/immunity-estimation.md +0 -20
  219. package/_bmad/bmm/workflows/cyber/security-audit.md +0 -18
  220. package/_bmad/bmm/workflows/cyber/vault-secrets.md +0 -19
  221. package/_bmad/bmm/workflows/cyber/verify-docker-users.md +0 -14
  222. package/_bmad/bmm/workflows/cyber/verify-image-signature.md +0 -13
  223. package/_bmad/bmm/workflows/cyber/vulnerability-scan.md +0 -19
  224. package/_bmad/bmm/workflows/devops/configure-infrastructure.md +0 -18
  225. package/_bmad/bmm/workflows/devops/disconnected-deployment.md +0 -18
  226. package/_bmad/bmm/workflows/devops/docker-compose-setup.md +0 -17
  227. package/_bmad/bmm/workflows/devops/manage-helm.md +0 -19
  228. package/_bmad/bmm/workflows/devops/sign-docker-image.md +0 -15
  229. package/_bmad/bmm/workflows/document-project/checklist.md +0 -245
  230. package/_bmad/bmm/workflows/document-project/documentation-requirements.csv +0 -12
  231. package/_bmad/bmm/workflows/document-project/instructions.md +0 -130
  232. package/_bmad/bmm/workflows/document-project/templates/deep-dive-template.md +0 -345
  233. package/_bmad/bmm/workflows/document-project/templates/index-template.md +0 -169
  234. package/_bmad/bmm/workflows/document-project/templates/project-overview-template.md +0 -103
  235. package/_bmad/bmm/workflows/document-project/templates/project-scan-report-schema.json +0 -160
  236. package/_bmad/bmm/workflows/document-project/templates/source-tree-template.md +0 -135
  237. package/_bmad/bmm/workflows/document-project/workflow.yaml +0 -22
  238. package/_bmad/bmm/workflows/document-project/workflows/deep-dive-instructions.md +0 -298
  239. package/_bmad/bmm/workflows/document-project/workflows/deep-dive.yaml +0 -31
  240. package/_bmad/bmm/workflows/document-project/workflows/full-scan-instructions.md +0 -1106
  241. package/_bmad/bmm/workflows/document-project/workflows/full-scan.yaml +0 -31
  242. package/_bmad/bmm/workflows/generate-project-context/project-context-template.md +0 -21
  243. package/_bmad/bmm/workflows/generate-project-context/steps/step-01-discover.md +0 -184
  244. package/_bmad/bmm/workflows/generate-project-context/steps/step-02-generate.md +0 -318
  245. package/_bmad/bmm/workflows/generate-project-context/steps/step-03-complete.md +0 -278
  246. package/_bmad/bmm/workflows/generate-project-context/workflow.md +0 -49
  247. package/_bmad/bmm/workflows/mil498/bmad-mil-generate-ocd.md +0 -17
  248. package/_bmad/bmm/workflows/mil498/bmad-mil-generate-sdd.md +0 -18
  249. package/_bmad/bmm/workflows/mil498/bmad-mil-generate-sdp.md +0 -17
  250. package/_bmad/bmm/workflows/mil498/bmad-mil-generate-srs.md +0 -19
  251. package/_bmad/bmm/workflows/mil498/bmad-mil-generate-sss.md +0 -16
  252. package/_bmad/bmm/workflows/mil498/bmad-mil-generate-std.md +0 -17
  253. package/_bmad/bmm/workflows/qa-generate-e2e-tests/checklist.md +0 -33
  254. package/_bmad/bmm/workflows/qa-generate-e2e-tests/instructions.md +0 -110
  255. package/_bmad/bmm/workflows/qa-generate-e2e-tests/workflow.yaml +0 -42
  256. package/_bmad/bmm/workflows/sre/check-deployment-status.md +0 -23
  257. package/_bmad/bmm/workflows/sre/check-secrets.md +0 -14
  258. package/_bmad/bmm/workflows/sre/check-system-status.md +0 -18
  259. package/_bmad/bmm/workflows/sre/day-2-ops.md +0 -16
  260. package/_bmad/bmm/workflows/sre/deployment-strategies.md +0 -18
  261. package/_bmad/bmm/workflows/sre/fix-deployments.md +0 -16
  262. package/_bmad/bmm/workflows/sre/gitops-status.md +0 -16
  263. package/_bmad/core/agents/bmad-master.md +0 -56
  264. package/_bmad/core/config.yaml +0 -9
  265. package/_bmad/core/module-help.csv +0 -10
  266. package/_bmad/core/tasks/editorial-review-prose.xml +0 -102
  267. package/_bmad/core/tasks/editorial-review-structure.xml +0 -208
  268. package/_bmad/core/tasks/help.md +0 -86
  269. package/_bmad/core/tasks/index-docs.xml +0 -65
  270. package/_bmad/core/tasks/review-adversarial-general.xml +0 -49
  271. package/_bmad/core/tasks/review-edge-case-hunter.xml +0 -63
  272. package/_bmad/core/tasks/shard-doc.xml +0 -108
  273. package/_bmad/core/tasks/workflow.xml +0 -235
  274. package/_bmad/core/workflows/advanced-elicitation/methods.csv +0 -51
  275. package/_bmad/core/workflows/advanced-elicitation/workflow.xml +0 -118
  276. package/_bmad/core/workflows/brainstorming/brain-methods.csv +0 -62
  277. package/_bmad/core/workflows/brainstorming/steps/step-01-session-setup.md +0 -210
  278. package/_bmad/core/workflows/brainstorming/steps/step-01b-continue.md +0 -122
  279. package/_bmad/core/workflows/brainstorming/steps/step-02a-user-selected.md +0 -225
  280. package/_bmad/core/workflows/brainstorming/steps/step-02b-ai-recommended.md +0 -237
  281. package/_bmad/core/workflows/brainstorming/steps/step-02c-random-selection.md +0 -209
  282. package/_bmad/core/workflows/brainstorming/steps/step-02d-progressive-flow.md +0 -264
  283. package/_bmad/core/workflows/brainstorming/steps/step-03-technique-execution.md +0 -399
  284. package/_bmad/core/workflows/brainstorming/steps/step-04-idea-organization.md +0 -303
  285. package/_bmad/core/workflows/brainstorming/template.md +0 -15
  286. package/_bmad/core/workflows/brainstorming/workflow.md +0 -60
  287. package/_bmad/core/workflows/party-mode/steps/step-01-agent-loading.md +0 -138
  288. package/_bmad/core/workflows/party-mode/steps/step-02-discussion-orchestration.md +0 -187
  289. package/_bmad/core/workflows/party-mode/steps/step-03-graceful-exit.md +0 -168
  290. package/_bmad/core/workflows/party-mode/workflow.md +0 -194
  291. package/_bmad/custom/agents/cyber.md +0 -56
  292. package/_bmad/custom/agents/devops.md +0 -54
  293. package/_bmad/custom/agents/mil498.md +0 -65
  294. package/_bmad/custom/agents/sre.md +0 -54
  295. package/_bmad/custom/config.yaml +0 -11
  296. package/_bmad/custom/workflows/cyber/generate-certs.md +0 -18
  297. package/_bmad/custom/workflows/cyber/immunity-estimation.md +0 -20
  298. package/_bmad/custom/workflows/cyber/security-audit.md +0 -18
  299. package/_bmad/custom/workflows/cyber/vault-secrets.md +0 -19
  300. package/_bmad/custom/workflows/cyber/verify-docker-users.md +0 -14
  301. package/_bmad/custom/workflows/cyber/verify-image-signature.md +0 -13
  302. package/_bmad/custom/workflows/cyber/vulnerability-scan.md +0 -19
  303. package/_bmad/custom/workflows/devops/configure-infrastructure.md +0 -18
  304. package/_bmad/custom/workflows/devops/disconnected-deployment.md +0 -18
  305. package/_bmad/custom/workflows/devops/docker-compose-setup.md +0 -17
  306. package/_bmad/custom/workflows/devops/manage-helm.md +0 -19
  307. package/_bmad/custom/workflows/devops/sign-docker-image.md +0 -15
  308. package/_bmad/custom/workflows/mil498/bmad-mil-generate-ocd.md +0 -17
  309. package/_bmad/custom/workflows/mil498/bmad-mil-generate-sdd.md +0 -18
  310. package/_bmad/custom/workflows/mil498/bmad-mil-generate-sdp.md +0 -17
  311. package/_bmad/custom/workflows/mil498/bmad-mil-generate-srs.md +0 -19
  312. package/_bmad/custom/workflows/mil498/bmad-mil-generate-sss.md +0 -16
  313. package/_bmad/custom/workflows/mil498/bmad-mil-generate-std.md +0 -17
  314. package/_bmad/custom/workflows/sre/check-deployment-status.md +0 -23
  315. package/_bmad/custom/workflows/sre/check-secrets.md +0 -14
  316. package/_bmad/custom/workflows/sre/check-system-status.md +0 -18
  317. package/_bmad/custom/workflows/sre/day-2-ops.md +0 -16
  318. package/_bmad/custom/workflows/sre/deployment-strategies.md +0 -18
  319. package/_bmad/custom/workflows/sre/fix-deployments.md +0 -16
  320. package/_bmad/custom/workflows/sre/gitops-status.md +0 -16
  321. package/_bmad/skills/config.yaml +0 -11
  322. package/_bmad/skills/sre/.ma-agents.json +0 -14
  323. package/_bmad/skills/sre/MANIFEST.yaml +0 -7
  324. package/_bmad/skills/sre/docker-image-signing/SKILL.md +0 -28
  325. 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