bmad-odoo 1.0.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 (282) hide show
  1. package/CHANGELOG.md +38 -0
  2. package/LICENSE +21 -0
  3. package/README.md +317 -0
  4. package/_config/agent-manifest.csv +10 -0
  5. package/_config/manifest.yaml +10 -0
  6. package/_config/workflow-manifest.csv +10 -0
  7. package/bmm/agents/analyst.md +93 -0
  8. package/bmm/agents/architect.md +72 -0
  9. package/bmm/agents/dev.md +85 -0
  10. package/bmm/agents/pm.md +61 -0
  11. package/bmm/agents/quick-flow-solo-dev.md +58 -0
  12. package/bmm/agents/sm.md +56 -0
  13. package/bmm/agents/tea.md +57 -0
  14. package/bmm/agents/tech-writer.md +56 -0
  15. package/bmm/agents/ux-designer.md +56 -0
  16. package/bmm/config.yaml +27 -0
  17. package/bmm/data/odoo-knowledge-base.md +90 -0
  18. package/bmm/teams/default-team.md +17 -0
  19. package/bmm/testarch/odoo-test-design/steps/step-01-init.md +44 -0
  20. package/bmm/testarch/odoo-test-design/steps/step-02-test-cases.md +82 -0
  21. package/bmm/testarch/odoo-test-design/steps/step-03-complete.md +69 -0
  22. package/bmm/testarch/odoo-test-design/workflow.md +30 -0
  23. package/bmm/testarch/odoo-testing-guide.md +30 -0
  24. package/bmm/workflows/1-analysis/analyze-process/process-analysis.template.md +80 -0
  25. package/bmm/workflows/1-analysis/analyze-process/steps/step-01-init.md +44 -0
  26. package/bmm/workflows/1-analysis/analyze-process/steps/step-02-current-state.md +55 -0
  27. package/bmm/workflows/1-analysis/analyze-process/steps/step-03-pain-points.md +67 -0
  28. package/bmm/workflows/1-analysis/analyze-process/steps/step-04-odoo-mapping.md +67 -0
  29. package/bmm/workflows/1-analysis/analyze-process/steps/step-05-recommendations.md +99 -0
  30. package/bmm/workflows/1-analysis/analyze-process/steps/step-06-complete.md +62 -0
  31. package/bmm/workflows/1-analysis/analyze-process/workflow.md +60 -0
  32. package/bmm/workflows/1-analysis/create-odoo-product-brief/steps/step-01-init.md +45 -0
  33. package/bmm/workflows/1-analysis/create-odoo-product-brief/steps/step-02-users-stakeholders.md +46 -0
  34. package/bmm/workflows/1-analysis/create-odoo-product-brief/steps/step-03-odoo-modules.md +59 -0
  35. package/bmm/workflows/1-analysis/create-odoo-product-brief/steps/step-04-scope-timeline.md +64 -0
  36. package/bmm/workflows/1-analysis/create-odoo-product-brief/steps/step-05-complete.md +32 -0
  37. package/bmm/workflows/1-analysis/create-odoo-product-brief/workflow.md +35 -0
  38. package/bmm/workflows/1-analysis/create-product-brief/product-brief.template.md +10 -0
  39. package/bmm/workflows/1-analysis/create-product-brief/steps/step-01-init.md +182 -0
  40. package/bmm/workflows/1-analysis/create-product-brief/steps/step-01b-continue.md +166 -0
  41. package/bmm/workflows/1-analysis/create-product-brief/steps/step-02-vision.md +204 -0
  42. package/bmm/workflows/1-analysis/create-product-brief/steps/step-03-users.md +207 -0
  43. package/bmm/workflows/1-analysis/create-product-brief/steps/step-04-metrics.md +210 -0
  44. package/bmm/workflows/1-analysis/create-product-brief/steps/step-05-scope.md +224 -0
  45. package/bmm/workflows/1-analysis/create-product-brief/steps/step-06-complete.md +199 -0
  46. package/bmm/workflows/1-analysis/create-product-brief/workflow.md +58 -0
  47. package/bmm/workflows/1-analysis/gap-analysis/steps/step-01-init.md +45 -0
  48. package/bmm/workflows/1-analysis/gap-analysis/steps/step-02-odoo-capabilities.md +36 -0
  49. package/bmm/workflows/1-analysis/gap-analysis/steps/step-03-gap-matrix.md +51 -0
  50. package/bmm/workflows/1-analysis/gap-analysis/workflow.md +45 -0
  51. package/bmm/workflows/1-analysis/research/domain-steps/step-01-init.md +137 -0
  52. package/bmm/workflows/1-analysis/research/domain-steps/step-02-domain-analysis.md +229 -0
  53. package/bmm/workflows/1-analysis/research/domain-steps/step-03-competitive-landscape.md +238 -0
  54. package/bmm/workflows/1-analysis/research/domain-steps/step-04-regulatory-focus.md +206 -0
  55. package/bmm/workflows/1-analysis/research/domain-steps/step-05-technical-trends.md +234 -0
  56. package/bmm/workflows/1-analysis/research/domain-steps/step-06-research-synthesis.md +443 -0
  57. package/bmm/workflows/1-analysis/research/market-steps/step-01-init.md +182 -0
  58. package/bmm/workflows/1-analysis/research/market-steps/step-02-customer-behavior.md +237 -0
  59. package/bmm/workflows/1-analysis/research/market-steps/step-02-customer-insights.md +200 -0
  60. package/bmm/workflows/1-analysis/research/market-steps/step-03-customer-pain-points.md +249 -0
  61. package/bmm/workflows/1-analysis/research/market-steps/step-04-customer-decisions.md +259 -0
  62. package/bmm/workflows/1-analysis/research/market-steps/step-05-competitive-analysis.md +177 -0
  63. package/bmm/workflows/1-analysis/research/market-steps/step-06-research-completion.md +475 -0
  64. package/bmm/workflows/1-analysis/research/research.template.md +29 -0
  65. package/bmm/workflows/1-analysis/research/technical-steps/step-01-init.md +137 -0
  66. package/bmm/workflows/1-analysis/research/technical-steps/step-02-technical-overview.md +239 -0
  67. package/bmm/workflows/1-analysis/research/technical-steps/step-03-integration-patterns.md +248 -0
  68. package/bmm/workflows/1-analysis/research/technical-steps/step-04-architectural-patterns.md +202 -0
  69. package/bmm/workflows/1-analysis/research/technical-steps/step-05-implementation-research.md +239 -0
  70. package/bmm/workflows/1-analysis/research/technical-steps/step-06-research-synthesis.md +486 -0
  71. package/bmm/workflows/1-analysis/research/workflow.md +173 -0
  72. package/bmm/workflows/2-plan-workflows/create-odoo-addon/steps/step-01-init.md +48 -0
  73. package/bmm/workflows/2-plan-workflows/create-odoo-addon/steps/step-02-technical-design.md +82 -0
  74. package/bmm/workflows/2-plan-workflows/create-odoo-addon/steps/step-03-generate.md +86 -0
  75. package/bmm/workflows/2-plan-workflows/create-odoo-addon/workflow.md +39 -0
  76. package/bmm/workflows/2-plan-workflows/create-odoo-epic/steps/step-01-init.md +55 -0
  77. package/bmm/workflows/2-plan-workflows/create-odoo-epic/steps/step-02-stories.md +53 -0
  78. package/bmm/workflows/2-plan-workflows/create-odoo-epic/steps/step-03-complete.md +39 -0
  79. package/bmm/workflows/2-plan-workflows/create-odoo-epic/workflow.md +35 -0
  80. package/bmm/workflows/2-plan-workflows/create-odoo-prd/steps/step-01-init.md +46 -0
  81. package/bmm/workflows/2-plan-workflows/create-odoo-prd/steps/step-02-functional-requirements.md +56 -0
  82. package/bmm/workflows/2-plan-workflows/create-odoo-prd/steps/step-03-technical-requirements.md +45 -0
  83. package/bmm/workflows/2-plan-workflows/create-odoo-prd/steps/step-04-complete.md +40 -0
  84. package/bmm/workflows/2-plan-workflows/create-odoo-prd/workflow.md +29 -0
  85. package/bmm/workflows/2-plan-workflows/create-odoo-ux-design/steps/step-01-init.md +52 -0
  86. package/bmm/workflows/2-plan-workflows/create-odoo-ux-design/steps/step-02-form-design.md +78 -0
  87. package/bmm/workflows/2-plan-workflows/create-odoo-ux-design/steps/step-03-tree-design.md +84 -0
  88. package/bmm/workflows/2-plan-workflows/create-odoo-ux-design/steps/step-04-complete.md +55 -0
  89. package/bmm/workflows/2-plan-workflows/create-odoo-ux-design/workflow.md +30 -0
  90. package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-01-init.md +135 -0
  91. package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-01b-continue.md +127 -0
  92. package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-02-discovery.md +190 -0
  93. package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-03-core-experience.md +216 -0
  94. package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-04-emotional-response.md +219 -0
  95. package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-05-inspiration.md +234 -0
  96. package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-06-design-system.md +252 -0
  97. package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-07-defining-experience.md +254 -0
  98. package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-08-visual-foundation.md +224 -0
  99. package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-09-design-directions.md +224 -0
  100. package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-10-user-journeys.md +241 -0
  101. package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-11-component-strategy.md +248 -0
  102. package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-12-ux-patterns.md +237 -0
  103. package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-13-responsive-accessibility.md +264 -0
  104. package/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-14-complete.md +228 -0
  105. package/bmm/workflows/2-plan-workflows/create-ux-design/ux-design-template.md +13 -0
  106. package/bmm/workflows/2-plan-workflows/create-ux-design/workflow.md +43 -0
  107. package/bmm/workflows/2-plan-workflows/plan-odoo-migration/steps/step-01-init.md +49 -0
  108. package/bmm/workflows/2-plan-workflows/plan-odoo-migration/steps/step-02-risk-assessment.md +51 -0
  109. package/bmm/workflows/2-plan-workflows/plan-odoo-migration/steps/step-03-roadmap.md +58 -0
  110. package/bmm/workflows/2-plan-workflows/plan-odoo-migration/workflow.md +29 -0
  111. package/bmm/workflows/2-plan-workflows/prd/domain-complexity.csv +13 -0
  112. package/bmm/workflows/2-plan-workflows/prd/prd-template.md +11 -0
  113. package/bmm/workflows/2-plan-workflows/prd/project-types.csv +11 -0
  114. package/bmm/workflows/2-plan-workflows/prd/steps/step-01-init.md +197 -0
  115. package/bmm/workflows/2-plan-workflows/prd/steps/step-01b-continue.md +166 -0
  116. package/bmm/workflows/2-plan-workflows/prd/steps/step-02-discovery.md +421 -0
  117. package/bmm/workflows/2-plan-workflows/prd/steps/step-03-success.md +290 -0
  118. package/bmm/workflows/2-plan-workflows/prd/steps/step-04-journeys.md +291 -0
  119. package/bmm/workflows/2-plan-workflows/prd/steps/step-05-domain.md +271 -0
  120. package/bmm/workflows/2-plan-workflows/prd/steps/step-06-innovation.md +262 -0
  121. package/bmm/workflows/2-plan-workflows/prd/steps/step-07-project-type.md +258 -0
  122. package/bmm/workflows/2-plan-workflows/prd/steps/step-08-scoping.md +299 -0
  123. package/bmm/workflows/2-plan-workflows/prd/steps/step-09-functional.md +270 -0
  124. package/bmm/workflows/2-plan-workflows/prd/steps/step-10-nonfunctional.md +294 -0
  125. package/bmm/workflows/2-plan-workflows/prd/steps/step-11-complete.md +186 -0
  126. package/bmm/workflows/2-plan-workflows/prd/workflow.md +63 -0
  127. package/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-01-document-discovery.md +190 -0
  128. package/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-02-prd-analysis.md +178 -0
  129. package/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-03-epic-coverage-validation.md +179 -0
  130. package/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-04-ux-alignment.md +139 -0
  131. package/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-05-epic-quality-review.md +252 -0
  132. package/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-06-final-assessment.md +133 -0
  133. package/bmm/workflows/3-solutioning/check-implementation-readiness/templates/readiness-report-template.md +4 -0
  134. package/bmm/workflows/3-solutioning/check-implementation-readiness/workflow.md +55 -0
  135. package/bmm/workflows/3-solutioning/create-architecture/architecture-decision-template.md +12 -0
  136. package/bmm/workflows/3-solutioning/create-architecture/data/domain-complexity.csv +11 -0
  137. package/bmm/workflows/3-solutioning/create-architecture/data/project-types.csv +7 -0
  138. package/bmm/workflows/3-solutioning/create-architecture/steps/step-01-init.md +153 -0
  139. package/bmm/workflows/3-solutioning/create-architecture/steps/step-01b-continue.md +164 -0
  140. package/bmm/workflows/3-solutioning/create-architecture/steps/step-02-context.md +224 -0
  141. package/bmm/workflows/3-solutioning/create-architecture/steps/step-03-starter.md +331 -0
  142. package/bmm/workflows/3-solutioning/create-architecture/steps/step-04-decisions.md +318 -0
  143. package/bmm/workflows/3-solutioning/create-architecture/steps/step-05-patterns.md +359 -0
  144. package/bmm/workflows/3-solutioning/create-architecture/steps/step-06-structure.md +379 -0
  145. package/bmm/workflows/3-solutioning/create-architecture/steps/step-07-validation.md +359 -0
  146. package/bmm/workflows/3-solutioning/create-architecture/steps/step-08-complete.md +352 -0
  147. package/bmm/workflows/3-solutioning/create-architecture/workflow.md +50 -0
  148. package/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-01-validate-prerequisites.md +259 -0
  149. package/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-02-design-epics.md +233 -0
  150. package/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-03-create-stories.md +272 -0
  151. package/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-04-final-validation.md +145 -0
  152. package/bmm/workflows/3-solutioning/create-epics-and-stories/templates/epics-template.md +57 -0
  153. package/bmm/workflows/3-solutioning/create-epics-and-stories/workflow.md +59 -0
  154. package/bmm/workflows/3-solutioning/enhance-existing-system/steps/step-01-init.md +44 -0
  155. package/bmm/workflows/3-solutioning/enhance-existing-system/steps/step-02-inheritance-strategy.md +75 -0
  156. package/bmm/workflows/3-solutioning/enhance-existing-system/steps/step-03-implementation.md +64 -0
  157. package/bmm/workflows/3-solutioning/enhance-existing-system/workflow.md +30 -0
  158. package/bmm/workflows/3-solutioning/quick-addon/workflow.md +23 -0
  159. package/bmm/workflows/4-implementation/code-review/checklist.md +23 -0
  160. package/bmm/workflows/4-implementation/code-review/instructions.xml +225 -0
  161. package/bmm/workflows/4-implementation/code-review/workflow.yaml +50 -0
  162. package/bmm/workflows/4-implementation/correct-course/checklist.md +279 -0
  163. package/bmm/workflows/4-implementation/correct-course/instructions.md +206 -0
  164. package/bmm/workflows/4-implementation/correct-course/workflow.yaml +58 -0
  165. package/bmm/workflows/4-implementation/create-next-story/steps/step-01-init.md +53 -0
  166. package/bmm/workflows/4-implementation/create-next-story/steps/step-02-acceptance-criteria.md +63 -0
  167. package/bmm/workflows/4-implementation/create-next-story/steps/step-03-tasks.md +68 -0
  168. package/bmm/workflows/4-implementation/create-next-story/steps/step-04-complete.md +70 -0
  169. package/bmm/workflows/4-implementation/create-next-story/workflow.md +30 -0
  170. package/bmm/workflows/4-implementation/dev-story/checklist.md +80 -0
  171. package/bmm/workflows/4-implementation/dev-story/instructions.xml +409 -0
  172. package/bmm/workflows/4-implementation/dev-story/workflow.yaml +25 -0
  173. package/bmm/workflows/4-implementation/rapid-brownfield/steps/step-01-quick-story.md +79 -0
  174. package/bmm/workflows/4-implementation/rapid-brownfield/workflow.md +29 -0
  175. package/bmm/workflows/4-implementation/retrospective/instructions.md +1443 -0
  176. package/bmm/workflows/4-implementation/retrospective/workflow.yaml +57 -0
  177. package/bmm/workflows/4-implementation/sprint-planning/checklist.md +33 -0
  178. package/bmm/workflows/4-implementation/sprint-planning/instructions.md +225 -0
  179. package/bmm/workflows/4-implementation/sprint-planning/sprint-status-template.yaml +55 -0
  180. package/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +52 -0
  181. package/bmm/workflows/4-implementation/sprint-status/instructions.md +229 -0
  182. package/bmm/workflows/4-implementation/sprint-status/workflow.yaml +35 -0
  183. package/bmm/workflows/bmad-quick-flow/create-tech-spec/steps/step-01-understand.md +189 -0
  184. package/bmm/workflows/bmad-quick-flow/create-tech-spec/steps/step-02-investigate.md +144 -0
  185. package/bmm/workflows/bmad-quick-flow/create-tech-spec/steps/step-03-generate.md +128 -0
  186. package/bmm/workflows/bmad-quick-flow/create-tech-spec/steps/step-04-review.md +173 -0
  187. package/bmm/workflows/bmad-quick-flow/create-tech-spec/tech-spec-template.md +74 -0
  188. package/bmm/workflows/bmad-quick-flow/create-tech-spec/workflow.md +79 -0
  189. package/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-01-mode-detection.md +156 -0
  190. package/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-02-context-gathering.md +120 -0
  191. package/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-03-execute.md +113 -0
  192. package/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-04-self-check.md +113 -0
  193. package/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-05-adversarial-review.md +106 -0
  194. package/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-06-resolve-findings.md +140 -0
  195. package/bmm/workflows/bmad-quick-flow/quick-dev/workflow.md +52 -0
  196. package/bmm/workflows/document-odoo/steps/step-01-init.md +43 -0
  197. package/bmm/workflows/document-odoo/steps/step-02-readme.md +98 -0
  198. package/bmm/workflows/document-odoo/steps/step-03-user-guide.md +76 -0
  199. package/bmm/workflows/document-odoo/steps/step-04-complete.md +58 -0
  200. package/bmm/workflows/document-odoo/workflow.md +30 -0
  201. package/bmm/workflows/document-project/checklist.md +245 -0
  202. package/bmm/workflows/document-project/documentation-requirements.csv +12 -0
  203. package/bmm/workflows/document-project/instructions.md +221 -0
  204. package/bmm/workflows/document-project/templates/deep-dive-template.md +345 -0
  205. package/bmm/workflows/document-project/templates/index-template.md +169 -0
  206. package/bmm/workflows/document-project/templates/project-overview-template.md +103 -0
  207. package/bmm/workflows/document-project/templates/project-scan-report-schema.json +160 -0
  208. package/bmm/workflows/document-project/templates/source-tree-template.md +135 -0
  209. package/bmm/workflows/document-project/workflow.yaml +28 -0
  210. package/bmm/workflows/document-project/workflows/deep-dive-instructions.md +298 -0
  211. package/bmm/workflows/document-project/workflows/deep-dive.yaml +31 -0
  212. package/bmm/workflows/document-project/workflows/full-scan-instructions.md +1106 -0
  213. package/bmm/workflows/document-project/workflows/full-scan.yaml +31 -0
  214. package/bmm/workflows/excalidraw-diagrams/_shared/excalidraw-library.json +90 -0
  215. package/bmm/workflows/excalidraw-diagrams/_shared/excalidraw-templates.yaml +127 -0
  216. package/bmm/workflows/excalidraw-diagrams/create-dataflow/checklist.md +39 -0
  217. package/bmm/workflows/excalidraw-diagrams/create-dataflow/instructions.md +130 -0
  218. package/bmm/workflows/excalidraw-diagrams/create-dataflow/workflow.yaml +26 -0
  219. package/bmm/workflows/excalidraw-diagrams/create-diagram/checklist.md +43 -0
  220. package/bmm/workflows/excalidraw-diagrams/create-diagram/instructions.md +141 -0
  221. package/bmm/workflows/excalidraw-diagrams/create-diagram/workflow.yaml +26 -0
  222. package/bmm/workflows/excalidraw-diagrams/create-flowchart/checklist.md +49 -0
  223. package/bmm/workflows/excalidraw-diagrams/create-flowchart/instructions.md +241 -0
  224. package/bmm/workflows/excalidraw-diagrams/create-flowchart/workflow.yaml +26 -0
  225. package/bmm/workflows/excalidraw-diagrams/create-wireframe/checklist.md +38 -0
  226. package/bmm/workflows/excalidraw-diagrams/create-wireframe/instructions.md +133 -0
  227. package/bmm/workflows/excalidraw-diagrams/create-wireframe/workflow.yaml +26 -0
  228. package/bmm/workflows/generate-project-context/project-context-template.md +21 -0
  229. package/bmm/workflows/generate-project-context/steps/step-01-discover.md +184 -0
  230. package/bmm/workflows/generate-project-context/steps/step-02-generate.md +318 -0
  231. package/bmm/workflows/generate-project-context/steps/step-03-complete.md +278 -0
  232. package/bmm/workflows/generate-project-context/workflow.md +49 -0
  233. package/bmm/workflows/testarch/atdd/atdd-checklist-template.md +364 -0
  234. package/bmm/workflows/testarch/atdd/checklist.md +374 -0
  235. package/bmm/workflows/testarch/atdd/instructions.md +806 -0
  236. package/bmm/workflows/testarch/atdd/workflow.yaml +45 -0
  237. package/bmm/workflows/testarch/automate/checklist.md +582 -0
  238. package/bmm/workflows/testarch/automate/instructions.md +1324 -0
  239. package/bmm/workflows/testarch/automate/workflow.yaml +52 -0
  240. package/bmm/workflows/testarch/ci/checklist.md +248 -0
  241. package/bmm/workflows/testarch/ci/github-actions-template.yaml +198 -0
  242. package/bmm/workflows/testarch/ci/gitlab-ci-template.yaml +149 -0
  243. package/bmm/workflows/testarch/ci/instructions.md +536 -0
  244. package/bmm/workflows/testarch/ci/workflow.yaml +45 -0
  245. package/bmm/workflows/testarch/framework/checklist.md +321 -0
  246. package/bmm/workflows/testarch/framework/instructions.md +481 -0
  247. package/bmm/workflows/testarch/framework/workflow.yaml +47 -0
  248. package/bmm/workflows/testarch/nfr-assess/checklist.md +407 -0
  249. package/bmm/workflows/testarch/nfr-assess/instructions.md +722 -0
  250. package/bmm/workflows/testarch/nfr-assess/nfr-report-template.md +445 -0
  251. package/bmm/workflows/testarch/nfr-assess/workflow.yaml +47 -0
  252. package/bmm/workflows/testarch/test-design/checklist.md +235 -0
  253. package/bmm/workflows/testarch/test-design/instructions.md +788 -0
  254. package/bmm/workflows/testarch/test-design/test-design-template.md +294 -0
  255. package/bmm/workflows/testarch/test-design/workflow.yaml +54 -0
  256. package/bmm/workflows/testarch/test-review/checklist.md +472 -0
  257. package/bmm/workflows/testarch/test-review/instructions.md +628 -0
  258. package/bmm/workflows/testarch/test-review/test-review-template.md +390 -0
  259. package/bmm/workflows/testarch/test-review/workflow.yaml +46 -0
  260. package/bmm/workflows/testarch/trace/checklist.md +655 -0
  261. package/bmm/workflows/testarch/trace/instructions.md +1047 -0
  262. package/bmm/workflows/testarch/trace/trace-template.md +675 -0
  263. package/bmm/workflows/testarch/trace/workflow.yaml +55 -0
  264. package/bmm/workflows/workflow-status/init/instructions.md +346 -0
  265. package/bmm/workflows/workflow-status/init/workflow.yaml +29 -0
  266. package/bmm/workflows/workflow-status/instructions.md +395 -0
  267. package/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +103 -0
  268. package/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +100 -0
  269. package/bmm/workflows/workflow-status/paths/method-brownfield.yaml +103 -0
  270. package/bmm/workflows/workflow-status/paths/method-greenfield.yaml +100 -0
  271. package/bmm/workflows/workflow-status/project-levels.yaml +59 -0
  272. package/bmm/workflows/workflow-status/workflow-status-template.yaml +24 -0
  273. package/bmm/workflows/workflow-status/workflow.yaml +30 -0
  274. package/core/agents/bmad-odoo-master.md +61 -0
  275. package/core/config.yaml +7 -0
  276. package/core/resources/README.md +5 -0
  277. package/core/tasks/README.md +7 -0
  278. package/core/workflows/README.md +8 -0
  279. package/index.js +84 -0
  280. package/package.json +48 -0
  281. package/scripts/postinstall.js +447 -0
  282. package/scripts/setup-cli.js +17 -0
@@ -0,0 +1,35 @@
1
+ # Sprint Status - Implementation Tracker
2
+ name: sprint-status
3
+ description: "Summarize sprint-status.yaml, surface risks, and route to the right implementation workflow."
4
+ author: "BMad"
5
+
6
+ # Critical variables from config
7
+ config_source: "{project-root}/_bmad/bmm/config.yaml"
8
+ output_folder: "{config_source}:output_folder"
9
+ user_name: "{config_source}:user_name"
10
+ communication_language: "{config_source}:communication_language"
11
+ document_output_language: "{config_source}:document_output_language"
12
+ date: system-generated
13
+ implementation_artifacts: "{config_source}:implementation_artifacts"
14
+ planning_artifacts: "{config_source}:planning_artifacts"
15
+
16
+ # Workflow components
17
+ installed_path: "{project-root}/_bmad/bmm/workflows/4-implementation/sprint-status"
18
+ instructions: "{installed_path}/instructions.md"
19
+
20
+ # Inputs
21
+ variables:
22
+ sprint_status_file: "{implementation_artifacts}/sprint-status.yaml || {output_folder}/sprint-status.yaml"
23
+ tracking_system: "file-system"
24
+
25
+ # Smart input file references
26
+ input_file_patterns:
27
+ sprint_status:
28
+ description: "Sprint status file generated by sprint-planning"
29
+ whole: "{implementation_artifacts}/sprint-status.yaml || {output_folder}/sprint-status.yaml"
30
+ load_strategy: "FULL_LOAD"
31
+
32
+ # Standalone so IDE commands get generated
33
+ standalone: true
34
+
35
+ # No web bundle needed
@@ -0,0 +1,189 @@
1
+ ---
2
+ name: 'step-01-understand'
3
+ description: 'Analyze the requirement delta between current state and what user wants to build'
4
+
5
+ workflow_path: '{project-root}/_bmad/bmm/workflows/bmad-quick-flow/create-tech-spec'
6
+ nextStepFile: '{workflow_path}/steps/step-02-investigate.md'
7
+ skipToStepFile: '{workflow_path}/steps/step-03-generate.md'
8
+ templateFile: '{workflow_path}/tech-spec-template.md'
9
+ wipFile: '{implementation_artifacts}/tech-spec-wip.md'
10
+ ---
11
+
12
+ # Step 1: Analyze Requirement Delta
13
+
14
+ **Progress: Step 1 of 4** - Next: Deep Investigation
15
+
16
+ ## RULES:
17
+
18
+ - MUST NOT skip steps.
19
+ - MUST NOT optimize sequence.
20
+ - MUST follow exact instructions.
21
+ - MUST NOT look ahead to future steps.
22
+ - ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
23
+
24
+ ## CONTEXT:
25
+
26
+ - Variables from `workflow.md` are available in memory.
27
+ - Focus: Define the technical requirement delta and scope.
28
+ - Investigation: Perform surface-level code scans ONLY to verify the delta. Reserve deep dives into implementation consequences for Step 2.
29
+ - Objective: Establish a verifiable delta between current state and target state.
30
+
31
+ ## SEQUENCE OF INSTRUCTIONS
32
+
33
+ ### 0. Check for Work in Progress
34
+
35
+ a) **Before anything else, check if `{wipFile}` exists:**
36
+
37
+ b) **IF WIP FILE EXISTS:**
38
+
39
+ 1. Read the frontmatter and extract: `title`, `slug`, `stepsCompleted`
40
+ 2. Calculate progress: `lastStep = max(stepsCompleted)`
41
+ 3. Present to user:
42
+
43
+ ```
44
+ Hey {user_name}! Found a tech-spec in progress:
45
+
46
+ **{title}** - Step {lastStep} of 4 complete
47
+
48
+ Is this what you're here to continue?
49
+
50
+ [y] Yes, pick up where I left off
51
+ [n] No, archive it and start something new
52
+ ```
53
+
54
+ 4. **HALT and wait for user selection.**
55
+
56
+ a) **Menu Handling:**
57
+
58
+ - **[y] Continue existing:**
59
+ - Jump directly to the appropriate step based on `stepsCompleted`:
60
+ - `[1]` → Load `{nextStepFile}` (Step 2)
61
+ - `[1, 2]` → Load `{skipToStepFile}` (Step 3)
62
+ - `[1, 2, 3]` → Load `{workflow_path}/steps/step-04-review.md` (Step 4)
63
+ - **[n] Archive and start fresh:**
64
+ - Rename `{wipFile}` to `{implementation_artifacts}/tech-spec-{slug}-archived-{date}.md`
65
+
66
+ ### 1. Greet and Ask for Initial Request
67
+
68
+ a) **Greet the user briefly:**
69
+
70
+ "Hey {user_name}! What are we building today?"
71
+
72
+ b) **Get their initial description.** Don't ask detailed questions yet - just understand enough to know where to look.
73
+
74
+ ### 2. Quick Orient Scan
75
+
76
+ a) **Before asking detailed questions, do a rapid scan to understand the landscape:**
77
+
78
+ b) **Check for existing context docs:**
79
+
80
+ - Check `{output_folder}` and `{planning_artifacts}`for planning documents (PRD, architecture, epics, research)
81
+ - Check for `**/project-context.md` - if it exists, skim for patterns and conventions
82
+ - Check for any existing stories or specs related to user's request
83
+
84
+ c) **If user mentioned specific code/features, do a quick scan:**
85
+
86
+ - Search for relevant files/classes/functions they mentioned
87
+ - Skim the structure (don't deep-dive yet - that's Step 2)
88
+ - Note: tech stack, obvious patterns, file locations
89
+
90
+ d) **Build mental model:**
91
+
92
+ - What's the likely landscape for this feature?
93
+ - What's the likely scope based on what you found?
94
+ - What questions do you NOW have, informed by the code?
95
+
96
+ **This scan should take < 30 seconds. Just enough to ask smart questions.**
97
+
98
+ ### 3. Ask Informed Questions
99
+
100
+ a) **Now ask clarifying questions - but make them INFORMED by what you found:**
101
+
102
+ Instead of generic questions like "What's the scope?", ask specific ones like:
103
+ - "`AuthService` handles validation in the controller — should the new field follow that pattern or move it to a dedicated validator?"
104
+ - "`NavigationSidebar` component uses local state for the 'collapsed' toggle — should we stick with that or move it to the global store?"
105
+ - "The epics doc mentions X - is this related?"
106
+
107
+ **Adapt to {user_skill_level}.** Technical users want technical questions. Non-technical users need translation.
108
+
109
+ b) **If no existing code is found:**
110
+
111
+ - Ask about intended architecture, patterns, constraints
112
+ - Ask what similar systems they'd like to emulate
113
+
114
+ ### 4. Capture Core Understanding
115
+
116
+ a) **From the conversation, extract and confirm:**
117
+
118
+ - **Title**: A clear, concise name for this work
119
+ - **Slug**: URL-safe version of title (lowercase, hyphens, no spaces)
120
+ - **Problem Statement**: What problem are we solving?
121
+ - **Solution**: High-level approach (1-2 sentences)
122
+ - **In Scope**: What's included
123
+ - **Out of Scope**: What's explicitly NOT included
124
+
125
+ b) **Ask the user to confirm the captured understanding before proceeding.**
126
+
127
+ ### 5. Initialize WIP File
128
+
129
+ a) **Create the tech-spec WIP file:**
130
+
131
+ 1. Copy template from `{templateFile}`
132
+ 2. Write to `{wipFile}`
133
+ 3. Update frontmatter with captured values:
134
+ ```yaml
135
+ ---
136
+ title: '{title}'
137
+ slug: '{slug}'
138
+ created: '{date}'
139
+ status: 'in-progress'
140
+ stepsCompleted: [1]
141
+ tech_stack: []
142
+ files_to_modify: []
143
+ code_patterns: []
144
+ test_patterns: []
145
+ ---
146
+ ```
147
+ 4. Fill in Overview section with Problem Statement, Solution, and Scope
148
+ 5. Fill in Context for Development section with any technical preferences or constraints gathered during informed discovery.
149
+ 6. Write the file
150
+
151
+ b) **Report to user:**
152
+
153
+ "Created: `{wipFile}`
154
+
155
+ **Captured:**
156
+
157
+ - Title: {title}
158
+ - Problem: {problem_statement_summary}
159
+ - Scope: {scope_summary}"
160
+
161
+ ### 6. Present Checkpoint Menu
162
+
163
+ a) **Display menu:**
164
+
165
+ ```
166
+ [a] Advanced Elicitation - dig deeper into requirements
167
+ [c] Continue - proceed to next step
168
+ [p] Party Mode - bring in other experts
169
+ ```
170
+
171
+ b) **HALT and wait for user selection.**
172
+
173
+ #### Menu Handling:
174
+
175
+ - **[a]**: Load and execute `{advanced_elicitation}`, then return here and redisplay menu
176
+ - **[c]**: Load and execute `{nextStepFile}` (Map Technical Constraints)
177
+ - **[p]**: Load and execute `{party_mode_exec}`, then return here and redisplay menu
178
+
179
+ ---
180
+
181
+ ## REQUIRED OUTPUTS:
182
+
183
+ - MUST initialize WIP file with captured metadata.
184
+
185
+ ## VERIFICATION CHECKLIST:
186
+
187
+ - [ ] WIP check performed FIRST before any greeting.
188
+ - [ ] `{wipFile}` created with correct frontmatter, Overview, Context for Development, and `stepsCompleted: [1]`.
189
+ - [ ] User selected [c] to continue.
@@ -0,0 +1,144 @@
1
+ ---
2
+ name: 'step-02-investigate'
3
+ description: 'Map technical constraints and anchor points within the codebase'
4
+
5
+ workflow_path: '{project-root}/_bmad/bmm/workflows/bmad-quick-flow/create-tech-spec'
6
+ nextStepFile: '{workflow_path}/steps/step-03-generate.md'
7
+ wipFile: '{implementation_artifacts}/tech-spec-wip.md'
8
+ ---
9
+
10
+ # Step 2: Map Technical Constraints & Anchor Points
11
+
12
+ **Progress: Step 2 of 4** - Next: Generate Plan
13
+
14
+ ## RULES:
15
+
16
+ - MUST NOT skip steps.
17
+ - MUST NOT optimize sequence.
18
+ - MUST follow exact instructions.
19
+ - MUST NOT generate the full spec yet (that's Step 3).
20
+ - ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
21
+
22
+ ## CONTEXT:
23
+
24
+ - Requires `{wipFile}` from Step 1 with the "Problem Statement" defined.
25
+ - Focus: Map the problem statement to specific anchor points in the codebase.
26
+ - Output: Exact files to touch, classes/patterns to extend, and technical constraints identified.
27
+ - Objective: Provide the implementation-ready ground truth for the plan.
28
+
29
+ ## SEQUENCE OF INSTRUCTIONS
30
+
31
+ ### 1. Load Current State
32
+
33
+ **Read `{wipFile}` and extract:**
34
+
35
+ - Problem statement and scope from Overview section
36
+ - Any context gathered in Step 1
37
+
38
+ ### 2. Execute Investigation Path
39
+
40
+ **Universal Code Investigation:**
41
+
42
+ _Isolate deep exploration in sub-agents/tasks where available. Return distilled summaries only to prevent context snowballing._
43
+
44
+ a) **Build on Step 1's Quick Scan**
45
+
46
+ Review what was found in Step 1's orient scan. Then ask:
47
+
48
+ "Based on my quick look, I see [files/patterns found]. Are there other files or directories I should investigate deeply?"
49
+
50
+ b) **Read and Analyze Code**
51
+
52
+ For each file/directory provided:
53
+
54
+ - Read the complete file(s)
55
+ - Identify patterns, conventions, coding style
56
+ - Note dependencies and imports
57
+ - Find related test files
58
+
59
+ **If NO relevant code is found (Clean Slate):**
60
+
61
+ - Identify the target directory where the feature should live.
62
+ - Scan parent directories for architectural context.
63
+ - Identify standard project utilities or boilerplate that SHOULD be used.
64
+ - Document this as "Confirmed Clean Slate" - establishing that no legacy constraints exist.
65
+
66
+
67
+ c) **Document Technical Context**
68
+
69
+ Capture and confirm with user:
70
+
71
+ - **Tech Stack**: Languages, frameworks, libraries
72
+ - **Code Patterns**: Architecture patterns, naming conventions, file structure
73
+ - **Files to Modify/Create**: Specific files that will need changes or new files to be created
74
+ - **Test Patterns**: How tests are structured, test frameworks used
75
+
76
+ d) **Look for project-context.md**
77
+
78
+ If `**/project-context.md` exists and wasn't loaded in Step 1:
79
+
80
+ - Load it now
81
+ - Extract patterns and conventions
82
+ - Note any rules that must be followed
83
+
84
+ ### 3. Update WIP File
85
+
86
+ **Update `{wipFile}` frontmatter:**
87
+
88
+ ```yaml
89
+ ---
90
+ # ... existing frontmatter ...
91
+ stepsCompleted: [1, 2]
92
+ tech_stack: ['{captured_tech_stack}']
93
+ files_to_modify: ['{captured_files}']
94
+ code_patterns: ['{captured_patterns}']
95
+ test_patterns: ['{captured_test_patterns}']
96
+ ---
97
+ ```
98
+
99
+ **Update the Context for Development section:**
100
+
101
+ Fill in:
102
+
103
+ - Codebase Patterns (from investigation)
104
+ - Files to Reference table (files reviewed)
105
+ - Technical Decisions (any decisions made during investigation)
106
+
107
+ **Report to user:**
108
+
109
+ "**Context Gathered:**
110
+
111
+ - Tech Stack: {tech_stack_summary}
112
+ - Files to Modify: {files_count} files identified
113
+ - Patterns: {patterns_summary}
114
+ - Tests: {test_patterns_summary}"
115
+
116
+ ### 4. Present Checkpoint Menu
117
+
118
+ **Display menu:**
119
+
120
+ ```
121
+ [a] Advanced Elicitation - explore more context
122
+ [c] Continue - proceed to Generate Spec
123
+ [p] Party Mode - bring in other experts
124
+ ```
125
+
126
+ **HALT and wait for user selection.**
127
+
128
+ #### Menu Handling:
129
+
130
+ - **[a]**: Load and execute `{advanced_elicitation}`, then return here and redisplay menu
131
+ - **[c]**: Verify frontmatter updated with `stepsCompleted: [1, 2]`, then load and execute `{nextStepFile}`
132
+ - **[p]**: Load and execute `{party_mode_exec}`, then return here and redisplay menu
133
+
134
+ ---
135
+
136
+ ## REQUIRED OUTPUTS:
137
+
138
+ - MUST document technical context (stack, patterns, files identified).
139
+ - MUST update `{wipFile}` with functional context.
140
+
141
+ ## VERIFICATION CHECKLIST:
142
+
143
+ - [ ] Technical mapping performed and documented.
144
+ - [ ] `stepsCompleted: [1, 2]` set in frontmatter.
@@ -0,0 +1,128 @@
1
+ ---
2
+ name: 'step-03-generate'
3
+ description: 'Build the implementation plan based on the technical mapping of constraints'
4
+
5
+ workflow_path: '{project-root}/_bmad/bmm/workflows/bmad-quick-flow/create-tech-spec'
6
+ nextStepFile: '{workflow_path}/steps/step-04-review.md'
7
+ wipFile: '{implementation_artifacts}/tech-spec-wip.md'
8
+ ---
9
+
10
+ # Step 3: Generate Implementation Plan
11
+
12
+ **Progress: Step 3 of 4** - Next: Review & Finalize
13
+
14
+ ## RULES:
15
+
16
+ - MUST NOT skip steps.
17
+ - MUST NOT optimize sequence.
18
+ - MUST follow exact instructions.
19
+ - MUST NOT implement anything - just document.
20
+ - ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
21
+
22
+ ## CONTEXT:
23
+
24
+ - Requires `{wipFile}` with defined "Overview" and "Context for Development" sections.
25
+ - Focus: Create the implementation sequence that addresses the requirement delta using the captured technical context.
26
+ - Output: Implementation-ready tasks with specific files and instructions.
27
+ - Target: Meet the **READY FOR DEVELOPMENT** standard defined in `workflow.md`.
28
+
29
+ ## SEQUENCE OF INSTRUCTIONS
30
+
31
+ ### 1. Load Current State
32
+
33
+ **Read `{wipFile}` completely and extract:**
34
+
35
+ - All frontmatter values
36
+ - Overview section (Problem, Solution, Scope)
37
+ - Context for Development section (Patterns, Files, Decisions)
38
+
39
+ ### 2. Generate Implementation Plan
40
+
41
+ Generate specific implementation tasks:
42
+
43
+ a) **Task Breakdown**
44
+
45
+ - Each task should be a discrete, completable unit of work
46
+ - Tasks should be ordered logically (dependencies first)
47
+ - Include the specific files to modify in each task
48
+ - Be explicit about what changes to make
49
+
50
+ b) **Task Format**
51
+
52
+ ```markdown
53
+ - [ ] Task N: Clear action description
54
+ - File: `path/to/file.ext`
55
+ - Action: Specific change to make
56
+ - Notes: Any implementation details
57
+ ```
58
+
59
+ ### 3. Generate Acceptance Criteria
60
+
61
+ **Create testable acceptance criteria:**
62
+
63
+ Each AC should follow Given/When/Then format:
64
+
65
+ ```markdown
66
+ - [ ] AC N: Given [precondition], when [action], then [expected result]
67
+ ```
68
+
69
+ **Ensure ACs cover:**
70
+
71
+ - Happy path functionality
72
+ - Error handling
73
+ - Edge cases (if relevant)
74
+ - Integration points (if relevant)
75
+
76
+ ### 4. Complete Additional Context
77
+
78
+ **Fill in remaining sections:**
79
+
80
+ a) **Dependencies**
81
+
82
+ - External libraries or services needed
83
+ - Other tasks or features this depends on
84
+ - API or data dependencies
85
+
86
+ b) **Testing Strategy**
87
+
88
+ - Unit tests needed
89
+ - Integration tests needed
90
+ - Manual testing steps
91
+
92
+ c) **Notes**
93
+
94
+ - High-risk items from pre-mortem analysis
95
+ - Known limitations
96
+ - Future considerations (out of scope but worth noting)
97
+
98
+ ### 5. Write Complete Spec
99
+
100
+ a) **Update `{wipFile}` with all generated content:**
101
+
102
+ - Ensure all template sections are filled in
103
+ - No placeholder text remaining
104
+ - All frontmatter values current
105
+ - Update status to 'review' (NOT 'ready-for-dev' - that happens after user review in Step 4)
106
+
107
+ b) **Update frontmatter:**
108
+
109
+ ```yaml
110
+ ---
111
+ # ... existing values ...
112
+ status: 'review'
113
+ stepsCompleted: [1, 2, 3]
114
+ ---
115
+ ```
116
+
117
+ c) **Load and execute `{nextStepFile}` (Step 4)**
118
+
119
+ ## REQUIRED OUTPUTS:
120
+
121
+ - Tasks MUST be specific, actionable, ordered logically, with files to modify.
122
+ - ACs MUST be testable, using Given/When/Then format.
123
+ - Status MUST be updated to 'review'.
124
+
125
+ ## VERIFICATION CHECKLIST:
126
+
127
+ - [ ] `stepsCompleted: [1, 2, 3]` set in frontmatter.
128
+ - [ ] Spec meets the **READY FOR DEVELOPMENT** standard.
@@ -0,0 +1,173 @@
1
+ ---
2
+ name: 'step-04-review'
3
+ description: 'Review and finalize the tech-spec'
4
+
5
+ workflow_path: '{project-root}/_bmad/bmm/workflows/bmad-quick-flow/create-tech-spec'
6
+ wipFile: '{implementation_artifacts}/tech-spec-wip.md'
7
+ ---
8
+
9
+ # Step 4: Review & Finalize
10
+
11
+ **Progress: Step 4 of 4** - Final Step
12
+
13
+ ## RULES:
14
+
15
+ - MUST NOT skip steps.
16
+ - MUST NOT optimize sequence.
17
+ - MUST follow exact instructions.
18
+ - ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
19
+
20
+ ## CONTEXT:
21
+
22
+ - Requires `{wipFile}` from Step 3.
23
+ - MUST present COMPLETE spec content. Iterate until user is satisfied.
24
+ - **Criteria**: The spec MUST meet the **READY FOR DEVELOPMENT** standard defined in `workflow.md`.
25
+
26
+ ## SEQUENCE OF INSTRUCTIONS
27
+
28
+ ### 1. Load and Present Complete Spec
29
+
30
+ **Read `{wipFile}` completely and extract `slug` from frontmatter for later use.**
31
+
32
+ **Present to user:**
33
+
34
+ "Here's your complete tech-spec. Please review:"
35
+
36
+ [Display the complete spec content - all sections]
37
+
38
+ "**Quick Summary:**
39
+
40
+ - {task_count} tasks to implement
41
+ - {ac_count} acceptance criteria to verify
42
+ - {files_count} files to modify
43
+
44
+ Does this capture your intent? Any changes needed?"
45
+
46
+ ### 2. Handle Review Feedback
47
+
48
+ a) **If user requests changes:**
49
+
50
+ - Make the requested edits to `{wipFile}`
51
+ - Re-present the affected sections
52
+ - Ask if there are more changes
53
+ - Loop until user is satisfied
54
+
55
+ b) **If the spec does NOT meet the "Ready for Development" standard:**
56
+
57
+ - Point out the missing/weak sections (e.g., non-actionable tasks, missing ACs).
58
+ - Propose specific improvements to reach the standard.
59
+ - Make the edits once the user agrees.
60
+
61
+ c) **If user has questions:**
62
+
63
+ - Answer questions about the spec
64
+ - Clarify any confusing sections
65
+ - Make clarifying edits if needed
66
+
67
+ ### 3. Finalize the Spec
68
+
69
+ **When user confirms the spec is good AND it meets the "Ready for Development" standard:**
70
+
71
+ a) Update `{wipFile}` frontmatter:
72
+
73
+ ```yaml
74
+ ---
75
+ # ... existing values ...
76
+ status: 'ready-for-dev'
77
+ stepsCompleted: [1, 2, 3, 4]
78
+ ---
79
+ ```
80
+
81
+ b) **Rename WIP file to final filename:**
82
+ - Using the `slug` extracted in Section 1
83
+ - Rename `{wipFile}` → `{implementation_artifacts}/tech-spec-{slug}.md`
84
+ - Store this as `finalFile` for use in menus below
85
+
86
+ ### 4. Present Final Menu
87
+
88
+ a) **Display completion message and menu:**
89
+
90
+ ```
91
+ **Tech-Spec Complete!**
92
+
93
+ Saved to: {finalFile}
94
+
95
+ ---
96
+
97
+ **Next Steps:**
98
+
99
+ [a] Advanced Elicitation - refine further
100
+ [r] Adversarial Review - critique of the spec (highly recommended)
101
+ [b] Begin Development - start implementing now (not recommended)
102
+ [d] Done - exit workflow
103
+ [p] Party Mode - get expert feedback before dev
104
+
105
+ ---
106
+
107
+ Once you are fully satisfied with the spec (ideally after **Adversarial Review** and maybe a few rounds of **Advanced Elicitation**), it is recommended to run implementation in a FRESH CONTEXT for best results.
108
+
109
+ Copy this prompt to start dev:
110
+
111
+ \`\`\`
112
+ quick-dev {finalFile}
113
+ \`\`\`
114
+
115
+ This ensures the dev agent has clean context focused solely on implementation.
116
+ ```
117
+
118
+ b) **HALT and wait for user selection.**
119
+
120
+ #### Menu Handling:
121
+
122
+ - **[a]**: Load and execute `{advanced_elicitation}`, then return here and redisplay menu
123
+ - **[b]**: Load and execute `{quick_dev_workflow}` with the final spec file (warn: fresh context is better)
124
+ - **[d]**: Exit workflow - display final confirmation and path to spec
125
+ - **[p]**: Load and execute `{party_mode_exec}`, then return here and redisplay menu
126
+ - **[r]**: Execute Adversarial Review:
127
+ 1. **Invoke Adversarial Review Task**:
128
+ > With `{finalFile}` constructed, invoke the review task. If possible, use information asymmetry: run this task, and only it, in a separate subagent or process with read access to the project, but no context except the `{finalFile}`.
129
+ <invoke-task>Review {finalFile} using {project-root}/_bmad/core/tasks/review-adversarial-general.xml</invoke-task>
130
+ > **Platform fallback:** If task invocation not available, load the task file and execute its instructions inline, passing `{finalFile}` as the content.
131
+ > The task should: review `{finalFile}` and return a list of findings.
132
+
133
+ 2. **Process Findings**:
134
+ > Capture the findings from the task output.
135
+ > **If zero findings:** HALT - this is suspicious. Re-analyze or request user guidance.
136
+ > Evaluate severity (Critical, High, Medium, Low) and validity (real, noise, undecided).
137
+ > DO NOT exclude findings based on severity or validity unless explicitly asked to do so.
138
+ > Order findings by severity.
139
+ > Number the ordered findings (F1, F2, F3, etc.).
140
+ > If TodoWrite or similar tool is available, turn each finding into a TODO, include ID, severity, validity, and description in the TODO; otherwise present findings as a table with columns: ID, Severity, Validity, Description
141
+
142
+ 3. Return here and redisplay menu.
143
+
144
+ ### 5. Exit Workflow
145
+
146
+ **When user selects [d]:**
147
+
148
+ "**All done!** Your tech-spec is ready at:
149
+
150
+ `{finalFile}`
151
+
152
+ When you're ready to implement, run:
153
+
154
+ ```
155
+ quick-dev {finalFile}
156
+ ```
157
+
158
+ Ship it!"
159
+
160
+ ---
161
+
162
+ ## REQUIRED OUTPUTS:
163
+
164
+ - MUST update status to 'ready-for-dev'.
165
+ - MUST rename file to `tech-spec-{slug}.md`.
166
+ - MUST provide clear next-step guidance and recommend fresh context for dev.
167
+
168
+ ## VERIFICATION CHECKLIST:
169
+
170
+ - [ ] Complete spec presented for review.
171
+ - [ ] Requested changes implemented.
172
+ - [ ] Spec verified against **READY FOR DEVELOPMENT** standard.
173
+ - [ ] `stepsCompleted: [1, 2, 3, 4]` set and file renamed.