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,331 @@
1
+ # Step 3: Starter Template Evaluation
2
+
3
+ ## MANDATORY EXECUTION RULES (READ FIRST):
4
+
5
+ - 🛑 NEVER generate content without user input
6
+ - ✅ ALWAYS treat this as collaborative discovery between architectural peers
7
+ - 📋 YOU ARE A FACILITATOR, not a content generator
8
+ - 💬 FOCUS on evaluating starter template options with current versions
9
+ - 🌐 ALWAYS search the web to verify current versions - NEVER trust hardcoded versions
10
+ - ⚠️ ABSOLUTELY NO TIME ESTIMATES - AI development speed has fundamentally changed
11
+ - 📖 CRITICAL: ALWAYS read the complete step file before taking any action - partial understanding leads to incomplete architecture
12
+ - 🔄 CRITICAL: When loading next step with 'C', ensure the entire file is read and understood before proceeding
13
+ - ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
14
+
15
+ ## EXECUTION PROTOCOLS:
16
+
17
+ - 🎯 Show your analysis before taking any action
18
+ - 🌐 Search the web to verify current versions and options
19
+ - ⚠️ Present A/P/C menu after generating starter template analysis
20
+ - 💾 ONLY save when user chooses C (Continue)
21
+ - 📖 Update frontmatter `stepsCompleted: [1, 2, 3]` before loading next step
22
+ - 🚫 FORBIDDEN to load next step until C is selected
23
+
24
+ ## COLLABORATION MENUS (A/P/C):
25
+
26
+ This step will generate content and present choices:
27
+
28
+ - **A (Advanced Elicitation)**: Use discovery protocols to explore unconventional starter options or custom approaches
29
+ - **P (Party Mode)**: Bring multiple perspectives to evaluate starter trade-offs for different use cases
30
+ - **C (Continue)**: Save the content to the document and proceed to next step
31
+
32
+ ## PROTOCOL INTEGRATION:
33
+
34
+ - When 'A' selected: Execute {project-root}/_bmad/core/workflows/advanced-elicitation/workflow.xml
35
+ - When 'P' selected: Execute {project-root}/_bmad/core/workflows/party-mode/workflow.md
36
+ - PROTOCOLS always return to display this step's A/P/C menu after the A or P have completed
37
+ - User accepts/rejects protocol changes before proceeding
38
+
39
+ ## CONTEXT BOUNDARIES:
40
+
41
+ - Project context from step 2 is available and complete
42
+ - Project context file from step-01 may contain technical preferences
43
+ - No architectural decisions made yet - evaluating foundations
44
+ - Focus on technical preferences discovery and starter evaluation
45
+ - Consider project requirements and existing preferences when evaluating options
46
+
47
+ ## YOUR TASK:
48
+
49
+ Discover technical preferences and evaluate starter template options, leveraging existing technical preferences and establishing solid architectural foundations.
50
+
51
+ ## STARTER EVALUATION SEQUENCE:
52
+
53
+ ### 0. Check Technical Preferences & Context
54
+
55
+ **Check Project Context for Existing Technical Preferences:**
56
+ "Before we dive into starter templates, let me check if you have any technical preferences already documented.
57
+
58
+ {{if_project_context_exists}}
59
+ I found some technical rules in your project context file:
60
+ {{extracted_technical_preferences_from_project_context}}
61
+
62
+ **Project Context Technical Rules Found:**
63
+
64
+ - Languages/Frameworks: {{languages_frameworks_from_context}}
65
+ - Tools & Libraries: {{tools_from_context}}
66
+ - Development Patterns: {{patterns_from_context}}
67
+ - Platform Preferences: {{platforms_from_context}}
68
+
69
+ {{else}}
70
+ No existing technical preferences found in project context file. We'll establish your technical preferences now.
71
+ {{/if_project_context}}"
72
+
73
+ **Discover User Technical Preferences:**
74
+ "Based on your project context, let's discuss your technical preferences:
75
+
76
+ {{primary_technology_category}} Preferences:
77
+
78
+ - **Languages**: Do you have preferences between TypeScript/JavaScript, Python, Go, Rust, etc.?
79
+ - **Frameworks**: Any existing familiarity or preferences (React, Vue, Angular, Next.js, etc.)?
80
+ - **Databases**: Any preferences or existing infrastructure (PostgreSQL, MongoDB, MySQL, etc.)?
81
+
82
+ **Development Experience:**
83
+
84
+ - What's your team's experience level with different technologies?
85
+ - Are there any technologies you want to learn vs. what you're comfortable with?
86
+
87
+ **Platform/Deployment Preferences:**
88
+
89
+ - Cloud provider preferences (AWS, Vercel, Railway, etc.)?
90
+ - Container preferences (Docker, Serverless, Traditional)?
91
+
92
+ **Integrations:**
93
+
94
+ - Any existing systems or APIs you need to integrate with?
95
+ - Third-party services you plan to use (payment, authentication, analytics, etc.)?
96
+
97
+ These preferences will help me recommend the most suitable starter templates and guide our architectural decisions."
98
+
99
+ ### 1. Identify Primary Technology Domain
100
+
101
+ Based on project context analysis and technical preferences, identify the primary technology stack:
102
+
103
+ - **Web application** → Look for Next.js, Vite, Remix, SvelteKit starters
104
+ - **Mobile app** → Look for React Native, Expo, Flutter starters
105
+ - **API/Backend** → Look for NestJS, Express, Fastify, Supabase starters
106
+ - **CLI tool** → Look for CLI framework starters (oclif, commander, etc.)
107
+ - **Full-stack** → Look for T3, RedwoodJS, Blitz, Next.js starters
108
+ - **Desktop** → Look for Electron, Tauri starters
109
+
110
+ ### 2. UX Requirements Consideration
111
+
112
+ If UX specification was loaded, consider UX requirements when selecting starter:
113
+
114
+ - **Rich animations** → Framer Motion compatible starter
115
+ - **Complex forms** → React Hook Form included starter
116
+ - **Real-time features** → Socket.io or WebSocket ready starter
117
+ - **Design system** → Storybook-enabled starter
118
+ - **Offline capability** → Service worker or PWA configured starter
119
+
120
+ ### 3. Research Current Starter Options
121
+
122
+ Search the web to find current, maintained starter templates:
123
+
124
+ ```
125
+ Search the web: "{{primary_technology}} starter template CLI create command latest"
126
+ Search the web: "{{primary_technology}} boilerplate generator latest options"
127
+ Search the web: "{{primary_technology}} production-ready starter best practices"
128
+ ```
129
+
130
+ ### 4. Investigate Top Starter Options
131
+
132
+ For each promising starter found, investigate details:
133
+
134
+ ```
135
+ Search the web: "{{starter_name}} default setup technologies included latest"
136
+ Search the web: "{{starter_name}} project structure file organization"
137
+ Search the web: "{{starter_name}} production deployment capabilities"
138
+ Search the web: "{{starter_name}} recent updates maintenance status"
139
+ ```
140
+
141
+ ### 5. Analyze What Each Starter Provides
142
+
143
+ For each viable starter option, document:
144
+
145
+ **Technology Decisions Made:**
146
+
147
+ - Language/TypeScript configuration
148
+ - Styling solution (CSS, Tailwind, Styled Components, etc.)
149
+ - Testing framework setup
150
+ - Linting/Formatting configuration
151
+ - Build tooling and optimization
152
+ - Project structure and organization
153
+
154
+ **Architectural Patterns Established:**
155
+
156
+ - Code organization patterns
157
+ - Component structure conventions
158
+ - API layering approach
159
+ - State management setup
160
+ - Routing patterns
161
+ - Environment configuration
162
+
163
+ **Development Experience Features:**
164
+
165
+ - Hot reloading and development server
166
+ - TypeScript configuration
167
+ - Debugging setup
168
+ - Testing infrastructure
169
+ - Documentation generation
170
+
171
+ ### 6. Present Starter Options
172
+
173
+ Based on user skill level and project needs:
174
+
175
+ **For Expert Users:**
176
+ "Found {{starter_name}} which provides:
177
+ {{quick_decision_list_of_key_decisions}}
178
+
179
+ This would establish our base architecture with these technical decisions already made. Use it?"
180
+
181
+ **For Intermediate Users:**
182
+ "I found {{starter_name}}, which is a well-maintained starter for {{project_type}} projects.
183
+
184
+ It makes these architectural decisions for us:
185
+ {{decision_list_with_explanations}}
186
+
187
+ This gives us a solid foundation following current best practices. Should we use it?"
188
+
189
+ **For Beginner Users:**
190
+ "I found {{starter_name}}, which is like a pre-built foundation for your project.
191
+
192
+ Think of it like buying a prefab house frame instead of cutting each board yourself.
193
+
194
+ It makes these decisions for us:
195
+ {{friendly_explanation_of_decisions}}
196
+
197
+ This is a great starting point that follows best practices and saves us from making dozens of small technical choices. Should we use it?"
198
+
199
+ ### 7. Get Current CLI Commands
200
+
201
+ If user shows interest in a starter, get the exact current commands:
202
+
203
+ ```
204
+ Search the web: "{{starter_name}} CLI command options flags latest"
205
+ Search the web: "{{starter_name}} create new project command examples"
206
+ ```
207
+
208
+ ### 8. Generate Starter Template Content
209
+
210
+ Prepare the content to append to the document:
211
+
212
+ #### Content Structure:
213
+
214
+ ````markdown
215
+ ## Starter Template Evaluation
216
+
217
+ ### Primary Technology Domain
218
+
219
+ {{identified_domain}} based on project requirements analysis
220
+
221
+ ### Starter Options Considered
222
+
223
+ {{analysis_of_evaluated_starters}}
224
+
225
+ ### Selected Starter: {{starter_name}}
226
+
227
+ **Rationale for Selection:**
228
+ {{why_this_starter_was_chosen}}
229
+
230
+ **Initialization Command:**
231
+
232
+ ```bash
233
+ {{full_starter_command_with_options}}
234
+ ```
235
+ ````
236
+
237
+ **Architectural Decisions Provided by Starter:**
238
+
239
+ **Language & Runtime:**
240
+ {{language_typescript_setup}}
241
+
242
+ **Styling Solution:**
243
+ {{styling_solution_configuration}}
244
+
245
+ **Build Tooling:**
246
+ {{build_tools_and_optimization}}
247
+
248
+ **Testing Framework:**
249
+ {{testing_setup_and_configuration}}
250
+
251
+ **Code Organization:**
252
+ {{project_structure_and_patterns}}
253
+
254
+ **Development Experience:**
255
+ {{development_tools_and_workflow}}
256
+
257
+ **Note:** Project initialization using this command should be the first implementation story.
258
+
259
+ ```
260
+
261
+ ### 9. Present Content and Menu
262
+
263
+ Show the generated content and present choices:
264
+
265
+ "I've analyzed starter template options for {{project_type}} projects.
266
+
267
+ **Here's what I'll add to the document:**
268
+
269
+ [Show the complete markdown content from step 8]
270
+
271
+ **What would you like to do?**
272
+ [A] Advanced Elicitation - Explore custom approaches or unconventional starters
273
+ [P] Party Mode - Evaluate trade-offs from different perspectives
274
+ [C] Continue - Save this decision and move to architectural decisions"
275
+
276
+ ### 10. Handle Menu Selection
277
+
278
+ #### If 'A' (Advanced Elicitation):
279
+
280
+ - Execute {project-root}/_bmad/core/workflows/advanced-elicitation/workflow.xml with current starter analysis
281
+ - Process enhanced insights about starter options or custom approaches
282
+ - Ask user: "Accept these changes to the starter template evaluation? (y/n)"
283
+ - If yes: Update content, then return to A/P/C menu
284
+ - If no: Keep original content, then return to A/P/C menu
285
+
286
+ #### If 'P' (Party Mode):
287
+
288
+ - Execute {project-root}/_bmad/core/workflows/party-mode/workflow.md with starter evaluation context
289
+ - Process collaborative insights about starter trade-offs
290
+ - Ask user: "Accept these changes to the starter template evaluation? (y/n)"
291
+ - If yes: Update content, then return to A/P/C menu
292
+ - If no: Keep original content, then return to A/P/C menu
293
+
294
+ #### If 'C' (Continue):
295
+
296
+ - Append the final content to `{planning_artifacts}/architecture.md`
297
+ - Update frontmatter: `stepsCompleted: [1, 2, 3]`
298
+ - Load `./step-04-decisions.md`
299
+
300
+ ## APPEND TO DOCUMENT:
301
+
302
+ When user selects 'C', append the content directly to the document using the structure from step 8.
303
+
304
+ ## SUCCESS METRICS:
305
+
306
+ ✅ Primary technology domain correctly identified from project context
307
+ ✅ Current, maintained starter templates researched and evaluated
308
+ ✅ All versions verified using web search, not hardcoded
309
+ ✅ Architectural implications of starter choice clearly documented
310
+ ✅ User provided with clear rationale for starter selection
311
+ ✅ A/P/C menu presented and handled correctly
312
+ ✅ Content properly appended to document when C selected
313
+
314
+ ## FAILURE MODES:
315
+
316
+ ❌ Not verifying current versions with web search
317
+ ❌ Ignoring UX requirements when evaluating starters
318
+ ❌ Not documenting what architectural decisions the starter makes
319
+ ❌ Failing to consider maintenance status of starter templates
320
+ ❌ Not providing clear rationale for starter selection
321
+ ❌ Not presenting A/P/C menu after content generation
322
+ ❌ **CRITICAL**: Reading only partial step file - leads to incomplete understanding and poor decisions
323
+ ❌ **CRITICAL**: Proceeding with 'C' without fully reading and understanding the next step file
324
+ ❌ **CRITICAL**: Making decisions without complete understanding of step requirements and protocols
325
+
326
+ ## NEXT STEP:
327
+
328
+ After user selects 'C' and content is saved to document, load `./step-04-decisions.md` to begin making specific architectural decisions.
329
+
330
+ Remember: Do NOT proceed to step-04 until user explicitly selects 'C' from the A/P/C menu and content is saved!
331
+ ```
@@ -0,0 +1,318 @@
1
+ # Step 4: Core Architectural Decisions
2
+
3
+ ## MANDATORY EXECUTION RULES (READ FIRST):
4
+
5
+ - 🛑 NEVER generate content without user input
6
+
7
+ - 📖 CRITICAL: ALWAYS read the complete step file before taking any action - partial understanding leads to incomplete decisions
8
+ - 🔄 CRITICAL: When loading next step with 'C', ensure the entire file is read and understood before proceeding
9
+ - ✅ ALWAYS treat this as collaborative discovery between architectural peers
10
+ - 📋 YOU ARE A FACILITATOR, not a content generator
11
+ - 💬 FOCUS on making critical architectural decisions collaboratively
12
+ - 🌐 ALWAYS search the web to verify current technology versions
13
+ - ⚠️ ABSOLUTELY NO TIME ESTIMATES - AI development speed has fundamentally changed
14
+ - ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
15
+
16
+ ## EXECUTION PROTOCOLS:
17
+
18
+ - 🎯 Show your analysis before taking any action
19
+ - 🌐 Search the web to verify technology versions and options
20
+ - ⚠️ Present A/P/C menu after each major decision category
21
+ - 💾 ONLY save when user chooses C (Continue)
22
+ - 📖 Update frontmatter `stepsCompleted: [1, 2, 3, 4]` before loading next step
23
+ - 🚫 FORBIDDEN to load next step until C is selected
24
+
25
+ ## COLLABORATION MENUS (A/P/C):
26
+
27
+ This step will generate content and present choices for each decision category:
28
+
29
+ - **A (Advanced Elicitation)**: Use discovery protocols to explore innovative approaches to specific decisions
30
+ - **P (Party Mode)**: Bring multiple perspectives to evaluate decision trade-offs
31
+ - **C (Continue)**: Save the current decisions and proceed to next decision category
32
+
33
+ ## PROTOCOL INTEGRATION:
34
+
35
+ - When 'A' selected: Execute {project-root}/_bmad/core/workflows/advanced-elicitation/workflow.xml
36
+ - When 'P' selected: Execute {project-root}/_bmad/core/workflows/party-mode/workflow.md
37
+ - PROTOCOLS always return to display this step's A/P/C menu after the A or P have completed
38
+ - User accepts/rejects protocol changes before proceeding
39
+
40
+ ## CONTEXT BOUNDARIES:
41
+
42
+ - Project context from step 2 is available
43
+ - Starter template choice from step 3 is available
44
+ - Project context file may contain technical preferences and rules
45
+ - Technical preferences discovered in step 3 are available
46
+ - Focus on decisions not already made by starter template or existing preferences
47
+ - Collaborative decision making, not recommendations
48
+
49
+ ## YOUR TASK:
50
+
51
+ Facilitate collaborative architectural decision making, leveraging existing technical preferences and starter template decisions, focusing on remaining choices critical to the project's success.
52
+
53
+ ## DECISION MAKING SEQUENCE:
54
+
55
+ ### 1. Load Decision Framework & Check Existing Preferences
56
+
57
+ **Review Technical Preferences from Step 3:**
58
+ "Based on our technical preferences discussion in step 3, let's build on those foundations:
59
+
60
+ **Your Technical Preferences:**
61
+ {{user_technical_preferences_from_step_3}}
62
+
63
+ **Starter Template Decisions:**
64
+ {{starter_template_decisions}}
65
+
66
+ **Project Context Technical Rules:**
67
+ {{project_context_technical_rules}}"
68
+
69
+ **Identify Remaining Decisions:**
70
+ Based on technical preferences, starter template choice, and project context, identify remaining critical decisions:
71
+
72
+ **Already Decided (Don't re-decide these):**
73
+
74
+ - {{starter_template_decisions}}
75
+ - {{user_technology_preferences}}
76
+ - {{project_context_technical_rules}}
77
+
78
+ **Critical Decisions:** Must be decided before implementation can proceed
79
+ **Important Decisions:** Shape the architecture significantly
80
+ **Nice-to-Have:** Can be deferred if needed
81
+
82
+ ### 2. Decision Categories by Priority
83
+
84
+ #### Category 1: Data Architecture
85
+
86
+ - Database choice (if not determined by starter)
87
+ - Data modeling approach
88
+ - Data validation strategy
89
+ - Migration approach
90
+ - Caching strategy
91
+
92
+ #### Category 2: Authentication & Security
93
+
94
+ - Authentication method
95
+ - Authorization patterns
96
+ - Security middleware
97
+ - Data encryption approach
98
+ - API security strategy
99
+
100
+ #### Category 3: API & Communication
101
+
102
+ - API design patterns (REST, GraphQL, etc.)
103
+ - API documentation approach
104
+ - Error handling standards
105
+ - Rate limiting strategy
106
+ - Communication between services
107
+
108
+ #### Category 4: Frontend Architecture (if applicable)
109
+
110
+ - State management approach
111
+ - Component architecture
112
+ - Routing strategy
113
+ - Performance optimization
114
+ - Bundle optimization
115
+
116
+ #### Category 5: Infrastructure & Deployment
117
+
118
+ - Hosting strategy
119
+ - CI/CD pipeline approach
120
+ - Environment configuration
121
+ - Monitoring and logging
122
+ - Scaling strategy
123
+
124
+ ### 3. Facilitate Each Decision Category
125
+
126
+ For each category, facilitate collaborative decision making:
127
+
128
+ **Present the Decision:**
129
+ Based on user skill level and project context:
130
+
131
+ **Expert Mode:**
132
+ "{{Decision_Category}}: {{Specific_Decision}}
133
+
134
+ Options: {{concise_option_list_with_tradeoffs}}
135
+
136
+ What's your preference for this decision?"
137
+
138
+ **Intermediate Mode:**
139
+ "Next decision: {{Human_Friendly_Category}}
140
+
141
+ We need to choose {{Specific_Decision}}.
142
+
143
+ Common options:
144
+ {{option_list_with_brief_explanations}}
145
+
146
+ For your project, I'd lean toward {{recommendation}} because {{reason}}. What are your thoughts?"
147
+
148
+ **Beginner Mode:**
149
+ "Let's talk about {{Human_Friendly_Category}}.
150
+
151
+ {{Educational_Context_About_Why_This_Matters}}
152
+
153
+ Think of it like {{real_world_analogy}}.
154
+
155
+ Your main options:
156
+ {{friendly_options_with_pros_cons}}
157
+
158
+ My suggestion: {{recommendation}}
159
+ This is good for you because {{beginner_friendly_reason}}.
160
+
161
+ What feels right to you?"
162
+
163
+ **Verify Technology Versions:**
164
+ If decision involves specific technology:
165
+
166
+ ```
167
+ Search the web: "{{technology}} latest stable version"
168
+ Search the web: "{{technology}} current LTS version"
169
+ Search the web: "{{technology}} production readiness"
170
+ ```
171
+
172
+ **Get User Input:**
173
+ "What's your preference? (or 'explain more' for details)"
174
+
175
+ **Handle User Response:**
176
+
177
+ - If user wants more info: Provide deeper explanation
178
+ - If user has preference: Discuss implications and record decision
179
+ - If user wants alternatives: Explore other options
180
+
181
+ **Record the Decision:**
182
+
183
+ - Category: {{category}}
184
+ - Decision: {{user_choice}}
185
+ - Version: {{verified_version_if_applicable}}
186
+ - Rationale: {{user_reasoning_or_default}}
187
+ - Affects: {{components_or_epics}}
188
+ - Provided by Starter: {{yes_if_from_starter}}
189
+
190
+ ### 4. Check for Cascading Implications
191
+
192
+ After each major decision, identify related decisions:
193
+
194
+ "This choice means we'll also need to decide:
195
+
196
+ - {{related_decision_1}}
197
+ - {{related_decision_2}}"
198
+
199
+ ### 5. Generate Decisions Content
200
+
201
+ After facilitating all decision categories, prepare the content to append:
202
+
203
+ #### Content Structure:
204
+
205
+ ```markdown
206
+ ## Core Architectural Decisions
207
+
208
+ ### Decision Priority Analysis
209
+
210
+ **Critical Decisions (Block Implementation):**
211
+ {{critical_decisions_made}}
212
+
213
+ **Important Decisions (Shape Architecture):**
214
+ {{important_decisions_made}}
215
+
216
+ **Deferred Decisions (Post-MVP):**
217
+ {{decisions_deferred_with_rationale}}
218
+
219
+ ### Data Architecture
220
+
221
+ {{data_related_decisions_with_versions_and_rationale}}
222
+
223
+ ### Authentication & Security
224
+
225
+ {{security_related_decisions_with_versions_and_rationale}}
226
+
227
+ ### API & Communication Patterns
228
+
229
+ {{api_related_decisions_with_versions_and_rationale}}
230
+
231
+ ### Frontend Architecture
232
+
233
+ {{frontend_related_decisions_with_versions_and_rationale}}
234
+
235
+ ### Infrastructure & Deployment
236
+
237
+ {{infrastructure_related_decisions_with_versions_and_rationale}}
238
+
239
+ ### Decision Impact Analysis
240
+
241
+ **Implementation Sequence:**
242
+ {{ordered_list_of_decisions_for_implementation}}
243
+
244
+ **Cross-Component Dependencies:**
245
+ {{how_decisions_affect_each_other}}
246
+ ```
247
+
248
+ ### 6. Present Content and Menu
249
+
250
+ Show the generated decisions content and present choices:
251
+
252
+ "I've documented all the core architectural decisions we've made together.
253
+
254
+ **Here's what I'll add to the document:**
255
+
256
+ [Show the complete markdown content from step 5]
257
+
258
+ **What would you like to do?**
259
+ [A] Advanced Elicitation - Explore innovative approaches to any specific decisions
260
+ [P] Party Mode - Review decisions from multiple perspectives
261
+ [C] Continue - Save these decisions and move to implementation patterns"
262
+
263
+ ### 7. Handle Menu Selection
264
+
265
+ #### If 'A' (Advanced Elicitation):
266
+
267
+ - Execute {project-root}/_bmad/core/workflows/advanced-elicitation/workflow.xml with specific decision categories
268
+ - Process enhanced insights about particular decisions
269
+ - Ask user: "Accept these enhancements to the architectural decisions? (y/n)"
270
+ - If yes: Update content, then return to A/P/C menu
271
+ - If no: Keep original content, then return to A/P/C menu
272
+
273
+ #### If 'P' (Party Mode):
274
+
275
+ - Execute {project-root}/_bmad/core/workflows/party-mode/workflow.md with architectural decisions context
276
+ - Process collaborative insights about decision trade-offs
277
+ - Ask user: "Accept these changes to the architectural decisions? (y/n)"
278
+ - If yes: Update content, then return to A/P/C menu
279
+ - If no: Keep original content, then return to A/P/C menu
280
+
281
+ #### If 'C' (Continue):
282
+
283
+ - Append the final content to `{planning_artifacts}/architecture.md`
284
+ - Update frontmatter: `stepsCompleted: [1, 2, 3, 4]`
285
+ - Load `./step-05-patterns.md`
286
+
287
+ ## APPEND TO DOCUMENT:
288
+
289
+ When user selects 'C', append the content directly to the document using the structure from step 5.
290
+
291
+ ## SUCCESS METRICS:
292
+
293
+ ✅ All critical architectural decisions made collaboratively
294
+ ✅ Technology versions verified using web search
295
+ ✅ Decision rationale clearly documented
296
+ ✅ Cascading implications identified and addressed
297
+ ✅ User provided appropriate level of explanation for skill level
298
+ ✅ A/P/C menu presented and handled correctly for each category
299
+ ✅ Content properly appended to document when C selected
300
+
301
+ ## FAILURE MODES:
302
+
303
+ ❌ Making recommendations instead of facilitating decisions
304
+ ❌ Not verifying technology versions with web search
305
+ ❌ Missing cascading implications between decisions
306
+ ❌ Not adapting explanations to user skill level
307
+ ❌ Forgetting to document decisions made by starter template
308
+ ❌ Not presenting A/P/C menu after content generation
309
+
310
+ ❌ **CRITICAL**: Reading only partial step file - leads to incomplete understanding and poor decisions
311
+ ❌ **CRITICAL**: Proceeding with 'C' without fully reading and understanding the next step file
312
+ ❌ **CRITICAL**: Making decisions without complete understanding of step requirements and protocols
313
+
314
+ ## NEXT STEP:
315
+
316
+ After user selects 'C' and content is saved to document, load `./step-05-patterns.md` to define implementation patterns that ensure consistency across AI agents.
317
+
318
+ Remember: Do NOT proceed to step-05 until user explicitly selects 'C' from the A/P/C menu and content is saved!