agentvibes 2.9.7 → 2.12.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 (441) hide show
  1. package/.claude/commands/agent-vibes/agent-vibes.md +1 -1
  2. package/.claude/commands/agent-vibes/bmad.md +3 -3
  3. package/.claude/commands/agent-vibes/set-pretext.md +2 -2
  4. package/.claude/commands/agent-vibes-bmad-voices.md +5 -5
  5. package/.claude/hooks/bmad-speak.sh +1 -1
  6. package/.claude/hooks/bmad-voice-manager.sh +1 -1
  7. package/.claude/hooks/migrate-to-agentvibes.sh +161 -0
  8. package/.claude/hooks/play-tts-elevenlabs.sh +1 -1
  9. package/.claude/output-styles/agent-vibes.md +3 -3
  10. package/README.md +9 -6
  11. package/RELEASE_NOTES.md +341 -0
  12. package/docs/architecture/provider-system.md +3 -3
  13. package/docs/bmad-v6-support.md +1 -1
  14. package/docs/technical-deep-dive.md +1 -1
  15. package/docs/voice-mapping-format.md +1 -1
  16. package/package.json +1 -1
  17. package/src/installer.js +93 -21
  18. package/test-migration.sh +539 -0
  19. package/.bmad/_cfg/agent-manifest.csv +0 -11
  20. package/.bmad/_cfg/agent-voice-map.csv +0 -11
  21. package/.bmad/_cfg/agents/bmm-analyst.customize.yaml +0 -42
  22. package/.bmad/_cfg/agents/bmm-architect.customize.yaml +0 -42
  23. package/.bmad/_cfg/agents/bmm-dev.customize.yaml +0 -42
  24. package/.bmad/_cfg/agents/bmm-frame-expert.customize.yaml +0 -42
  25. package/.bmad/_cfg/agents/bmm-pm.customize.yaml +0 -42
  26. package/.bmad/_cfg/agents/bmm-sm.customize.yaml +0 -42
  27. package/.bmad/_cfg/agents/bmm-tea.customize.yaml +0 -42
  28. package/.bmad/_cfg/agents/bmm-tech-writer.customize.yaml +0 -42
  29. package/.bmad/_cfg/agents/bmm-ux-designer.customize.yaml +0 -42
  30. package/.bmad/_cfg/agents/core-bmad-master.customize.yaml +0 -42
  31. package/.bmad/_cfg/files-manifest.csv +0 -243
  32. package/.bmad/_cfg/ides/claude-code.yaml +0 -6
  33. package/.bmad/_cfg/manifest.yaml +0 -9
  34. package/.bmad/_cfg/task-manifest.csv +0 -5
  35. package/.bmad/_cfg/tool-manifest.csv +0 -2
  36. package/.bmad/_cfg/workflow-manifest.csv +0 -38
  37. package/.bmad/bmm/README.md +0 -128
  38. package/.bmad/bmm/agents/analyst.md +0 -79
  39. package/.bmad/bmm/agents/analyst.md.backup-pre-tts +0 -75
  40. package/.bmad/bmm/agents/architect.md +0 -80
  41. package/.bmad/bmm/agents/dev.md +0 -70
  42. package/.bmad/bmm/agents/frame-expert.md +0 -72
  43. package/.bmad/bmm/agents/pm.md +0 -84
  44. package/.bmad/bmm/agents/sm.md +0 -93
  45. package/.bmad/bmm/agents/tea.md +0 -80
  46. package/.bmad/bmm/agents/tech-writer.md +0 -84
  47. package/.bmad/bmm/agents/ux-designer.md +0 -79
  48. package/.bmad/bmm/config.yaml +0 -17
  49. package/.bmad/bmm/docs/README.md +0 -236
  50. package/.bmad/bmm/docs/agents-guide.md +0 -1058
  51. package/.bmad/bmm/docs/brownfield-guide.md +0 -762
  52. package/.bmad/bmm/docs/enterprise-agentic-development.md +0 -686
  53. package/.bmad/bmm/docs/faq.md +0 -588
  54. package/.bmad/bmm/docs/glossary.md +0 -320
  55. package/.bmad/bmm/docs/party-mode.md +0 -224
  56. package/.bmad/bmm/docs/quick-spec-flow.md +0 -652
  57. package/.bmad/bmm/docs/quick-start.md +0 -376
  58. package/.bmad/bmm/docs/scale-adaptive-system.md +0 -612
  59. package/.bmad/bmm/docs/test-architecture.md +0 -396
  60. package/.bmad/bmm/docs/workflow-architecture-reference.md +0 -366
  61. package/.bmad/bmm/docs/workflow-document-project-reference.md +0 -489
  62. package/.bmad/bmm/docs/workflows-analysis.md +0 -370
  63. package/.bmad/bmm/docs/workflows-implementation.md +0 -286
  64. package/.bmad/bmm/docs/workflows-planning.md +0 -612
  65. package/.bmad/bmm/docs/workflows-solutioning.md +0 -554
  66. package/.bmad/bmm/teams/default-party.csv +0 -20
  67. package/.bmad/bmm/teams/team-fullstack.yaml +0 -13
  68. package/.bmad/bmm/testarch/knowledge/ci-burn-in.md +0 -675
  69. package/.bmad/bmm/testarch/knowledge/component-tdd.md +0 -486
  70. package/.bmad/bmm/testarch/knowledge/contract-testing.md +0 -957
  71. package/.bmad/bmm/testarch/knowledge/data-factories.md +0 -500
  72. package/.bmad/bmm/testarch/knowledge/email-auth.md +0 -721
  73. package/.bmad/bmm/testarch/knowledge/error-handling.md +0 -725
  74. package/.bmad/bmm/testarch/knowledge/feature-flags.md +0 -750
  75. package/.bmad/bmm/testarch/knowledge/fixture-architecture.md +0 -401
  76. package/.bmad/bmm/testarch/knowledge/network-first.md +0 -486
  77. package/.bmad/bmm/testarch/knowledge/nfr-criteria.md +0 -670
  78. package/.bmad/bmm/testarch/knowledge/playwright-config.md +0 -730
  79. package/.bmad/bmm/testarch/knowledge/probability-impact.md +0 -601
  80. package/.bmad/bmm/testarch/knowledge/risk-governance.md +0 -615
  81. package/.bmad/bmm/testarch/knowledge/selective-testing.md +0 -732
  82. package/.bmad/bmm/testarch/knowledge/selector-resilience.md +0 -527
  83. package/.bmad/bmm/testarch/knowledge/test-healing-patterns.md +0 -644
  84. package/.bmad/bmm/testarch/knowledge/test-levels-framework.md +0 -473
  85. package/.bmad/bmm/testarch/knowledge/test-priorities-matrix.md +0 -373
  86. package/.bmad/bmm/testarch/knowledge/test-quality.md +0 -664
  87. package/.bmad/bmm/testarch/knowledge/timing-debugging.md +0 -372
  88. package/.bmad/bmm/testarch/knowledge/visual-debugging.md +0 -524
  89. package/.bmad/bmm/testarch/tea-index.csv +0 -22
  90. package/.bmad/bmm/workflows/1-analysis/brainstorm-project/instructions.md +0 -112
  91. package/.bmad/bmm/workflows/1-analysis/brainstorm-project/project-context.md +0 -25
  92. package/.bmad/bmm/workflows/1-analysis/brainstorm-project/workflow.yaml +0 -26
  93. package/.bmad/bmm/workflows/1-analysis/domain-research/instructions.md +0 -425
  94. package/.bmad/bmm/workflows/1-analysis/domain-research/template.md +0 -180
  95. package/.bmad/bmm/workflows/1-analysis/domain-research/workflow.yaml +0 -28
  96. package/.bmad/bmm/workflows/1-analysis/product-brief/checklist.md +0 -115
  97. package/.bmad/bmm/workflows/1-analysis/product-brief/instructions.md +0 -524
  98. package/.bmad/bmm/workflows/1-analysis/product-brief/template.md +0 -181
  99. package/.bmad/bmm/workflows/1-analysis/product-brief/workflow.yaml +0 -45
  100. package/.bmad/bmm/workflows/1-analysis/research/checklist-deep-prompt.md +0 -144
  101. package/.bmad/bmm/workflows/1-analysis/research/checklist-technical.md +0 -249
  102. package/.bmad/bmm/workflows/1-analysis/research/checklist.md +0 -299
  103. package/.bmad/bmm/workflows/1-analysis/research/claude-code/injections.yaml +0 -114
  104. package/.bmad/bmm/workflows/1-analysis/research/instructions-deep-prompt.md +0 -438
  105. package/.bmad/bmm/workflows/1-analysis/research/instructions-market.md +0 -675
  106. package/.bmad/bmm/workflows/1-analysis/research/instructions-router.md +0 -134
  107. package/.bmad/bmm/workflows/1-analysis/research/instructions-technical.md +0 -534
  108. package/.bmad/bmm/workflows/1-analysis/research/template-deep-prompt.md +0 -94
  109. package/.bmad/bmm/workflows/1-analysis/research/template-market.md +0 -347
  110. package/.bmad/bmm/workflows/1-analysis/research/template-technical.md +0 -245
  111. package/.bmad/bmm/workflows/1-analysis/research/workflow.yaml +0 -44
  112. package/.bmad/bmm/workflows/2-plan-workflows/create-epics-and-stories/epics-template.md +0 -80
  113. package/.bmad/bmm/workflows/2-plan-workflows/create-epics-and-stories/instructions.md +0 -616
  114. package/.bmad/bmm/workflows/2-plan-workflows/create-epics-and-stories/workflow.yaml +0 -53
  115. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/checklist.md +0 -310
  116. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md +0 -1308
  117. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/ux-design-template.md +0 -145
  118. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/workflow.yaml +0 -61
  119. package/.bmad/bmm/workflows/2-plan-workflows/prd/checklist.md +0 -346
  120. package/.bmad/bmm/workflows/2-plan-workflows/prd/domain-complexity.csv +0 -13
  121. package/.bmad/bmm/workflows/2-plan-workflows/prd/instructions.md +0 -703
  122. package/.bmad/bmm/workflows/2-plan-workflows/prd/prd-template.md +0 -204
  123. package/.bmad/bmm/workflows/2-plan-workflows/prd/project-types.csv +0 -11
  124. package/.bmad/bmm/workflows/2-plan-workflows/prd/workflow.yaml +0 -52
  125. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/checklist.md +0 -217
  126. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/epics-template.md +0 -74
  127. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions-generate-stories.md +0 -436
  128. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions.md +0 -980
  129. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/tech-spec-template.md +0 -181
  130. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/user-story-template.md +0 -90
  131. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +0 -58
  132. package/.bmad/bmm/workflows/3-solutioning/architecture/architecture-patterns.yaml +0 -321
  133. package/.bmad/bmm/workflows/3-solutioning/architecture/architecture-template.md +0 -103
  134. package/.bmad/bmm/workflows/3-solutioning/architecture/checklist.md +0 -240
  135. package/.bmad/bmm/workflows/3-solutioning/architecture/decision-catalog.yaml +0 -222
  136. package/.bmad/bmm/workflows/3-solutioning/architecture/instructions.md +0 -768
  137. package/.bmad/bmm/workflows/3-solutioning/architecture/pattern-categories.csv +0 -13
  138. package/.bmad/bmm/workflows/3-solutioning/architecture/workflow.yaml +0 -55
  139. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/checklist.md +0 -169
  140. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/instructions.md +0 -332
  141. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/template.md +0 -146
  142. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/workflow.yaml +0 -62
  143. package/.bmad/bmm/workflows/4-implementation/code-review/backlog_template.md +0 -12
  144. package/.bmad/bmm/workflows/4-implementation/code-review/checklist.md +0 -22
  145. package/.bmad/bmm/workflows/4-implementation/code-review/instructions.md +0 -398
  146. package/.bmad/bmm/workflows/4-implementation/code-review/workflow.yaml +0 -60
  147. package/.bmad/bmm/workflows/4-implementation/correct-course/checklist.md +0 -279
  148. package/.bmad/bmm/workflows/4-implementation/correct-course/instructions.md +0 -206
  149. package/.bmad/bmm/workflows/4-implementation/correct-course/workflow.yaml +0 -56
  150. package/.bmad/bmm/workflows/4-implementation/create-story/checklist.md +0 -240
  151. package/.bmad/bmm/workflows/4-implementation/create-story/instructions.md +0 -256
  152. package/.bmad/bmm/workflows/4-implementation/create-story/template.md +0 -51
  153. package/.bmad/bmm/workflows/4-implementation/create-story/workflow.yaml +0 -71
  154. package/.bmad/bmm/workflows/4-implementation/dev-story/checklist.md +0 -38
  155. package/.bmad/bmm/workflows/4-implementation/dev-story/instructions.md +0 -267
  156. package/.bmad/bmm/workflows/4-implementation/dev-story/workflow.yaml +0 -56
  157. package/.bmad/bmm/workflows/4-implementation/epic-tech-context/checklist.md +0 -17
  158. package/.bmad/bmm/workflows/4-implementation/epic-tech-context/instructions.md +0 -164
  159. package/.bmad/bmm/workflows/4-implementation/epic-tech-context/template.md +0 -76
  160. package/.bmad/bmm/workflows/4-implementation/epic-tech-context/workflow.yaml +0 -57
  161. package/.bmad/bmm/workflows/4-implementation/retrospective/instructions.md +0 -1443
  162. package/.bmad/bmm/workflows/4-implementation/retrospective/workflow.yaml +0 -56
  163. package/.bmad/bmm/workflows/4-implementation/sprint-planning/checklist.md +0 -33
  164. package/.bmad/bmm/workflows/4-implementation/sprint-planning/instructions.md +0 -234
  165. package/.bmad/bmm/workflows/4-implementation/sprint-planning/sprint-status-template.yaml +0 -55
  166. package/.bmad/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +0 -49
  167. package/.bmad/bmm/workflows/4-implementation/story-context/checklist.md +0 -16
  168. package/.bmad/bmm/workflows/4-implementation/story-context/context-template.xml +0 -34
  169. package/.bmad/bmm/workflows/4-implementation/story-context/instructions.md +0 -209
  170. package/.bmad/bmm/workflows/4-implementation/story-context/workflow.yaml +0 -61
  171. package/.bmad/bmm/workflows/4-implementation/story-done/instructions.md +0 -111
  172. package/.bmad/bmm/workflows/4-implementation/story-done/workflow.yaml +0 -26
  173. package/.bmad/bmm/workflows/4-implementation/story-ready/instructions.md +0 -117
  174. package/.bmad/bmm/workflows/4-implementation/story-ready/workflow.yaml +0 -23
  175. package/.bmad/bmm/workflows/document-project/checklist.md +0 -245
  176. package/.bmad/bmm/workflows/document-project/documentation-requirements.csv +0 -12
  177. package/.bmad/bmm/workflows/document-project/instructions.md +0 -222
  178. package/.bmad/bmm/workflows/document-project/templates/deep-dive-template.md +0 -345
  179. package/.bmad/bmm/workflows/document-project/templates/index-template.md +0 -169
  180. package/.bmad/bmm/workflows/document-project/templates/project-overview-template.md +0 -103
  181. package/.bmad/bmm/workflows/document-project/templates/project-scan-report-schema.json +0 -160
  182. package/.bmad/bmm/workflows/document-project/templates/source-tree-template.md +0 -135
  183. package/.bmad/bmm/workflows/document-project/workflow.yaml +0 -29
  184. package/.bmad/bmm/workflows/document-project/workflows/deep-dive-instructions.md +0 -298
  185. package/.bmad/bmm/workflows/document-project/workflows/deep-dive.yaml +0 -31
  186. package/.bmad/bmm/workflows/document-project/workflows/full-scan-instructions.md +0 -1106
  187. package/.bmad/bmm/workflows/document-project/workflows/full-scan.yaml +0 -31
  188. package/.bmad/bmm/workflows/frame-expert/_shared/excalidraw-helpers.md +0 -127
  189. package/.bmad/bmm/workflows/frame-expert/_shared/excalidraw-library.json +0 -90
  190. package/.bmad/bmm/workflows/frame-expert/_shared/excalidraw-templates.yaml +0 -127
  191. package/.bmad/bmm/workflows/frame-expert/_shared/validate-json-instructions.md +0 -79
  192. package/.bmad/bmm/workflows/frame-expert/create-dataflow/checklist.md +0 -39
  193. package/.bmad/bmm/workflows/frame-expert/create-dataflow/instructions.md +0 -131
  194. package/.bmad/bmm/workflows/frame-expert/create-dataflow/workflow.yaml +0 -23
  195. package/.bmad/bmm/workflows/frame-expert/create-diagram/checklist.md +0 -43
  196. package/.bmad/bmm/workflows/frame-expert/create-diagram/instructions.md +0 -142
  197. package/.bmad/bmm/workflows/frame-expert/create-diagram/workflow.yaml +0 -24
  198. package/.bmad/bmm/workflows/frame-expert/create-flowchart/checklist.md +0 -49
  199. package/.bmad/bmm/workflows/frame-expert/create-flowchart/instructions.md +0 -242
  200. package/.bmad/bmm/workflows/frame-expert/create-flowchart/workflow.yaml +0 -27
  201. package/.bmad/bmm/workflows/frame-expert/create-wireframe/checklist.md +0 -38
  202. package/.bmad/bmm/workflows/frame-expert/create-wireframe/instructions.md +0 -133
  203. package/.bmad/bmm/workflows/frame-expert/create-wireframe/workflow.yaml +0 -23
  204. package/.bmad/bmm/workflows/techdoc/documentation-standards.md +0 -262
  205. package/.bmad/bmm/workflows/testarch/atdd/atdd-checklist-template.md +0 -363
  206. package/.bmad/bmm/workflows/testarch/atdd/checklist.md +0 -373
  207. package/.bmad/bmm/workflows/testarch/atdd/instructions.md +0 -785
  208. package/.bmad/bmm/workflows/testarch/atdd/workflow.yaml +0 -45
  209. package/.bmad/bmm/workflows/testarch/automate/checklist.md +0 -580
  210. package/.bmad/bmm/workflows/testarch/automate/instructions.md +0 -1303
  211. package/.bmad/bmm/workflows/testarch/automate/workflow.yaml +0 -52
  212. package/.bmad/bmm/workflows/testarch/ci/checklist.md +0 -246
  213. package/.bmad/bmm/workflows/testarch/ci/github-actions-template.yaml +0 -165
  214. package/.bmad/bmm/workflows/testarch/ci/gitlab-ci-template.yaml +0 -128
  215. package/.bmad/bmm/workflows/testarch/ci/instructions.md +0 -517
  216. package/.bmad/bmm/workflows/testarch/ci/workflow.yaml +0 -45
  217. package/.bmad/bmm/workflows/testarch/framework/checklist.md +0 -321
  218. package/.bmad/bmm/workflows/testarch/framework/instructions.md +0 -455
  219. package/.bmad/bmm/workflows/testarch/framework/workflow.yaml +0 -47
  220. package/.bmad/bmm/workflows/testarch/nfr-assess/checklist.md +0 -405
  221. package/.bmad/bmm/workflows/testarch/nfr-assess/instructions.md +0 -722
  222. package/.bmad/bmm/workflows/testarch/nfr-assess/nfr-report-template.md +0 -443
  223. package/.bmad/bmm/workflows/testarch/nfr-assess/workflow.yaml +0 -47
  224. package/.bmad/bmm/workflows/testarch/test-design/checklist.md +0 -234
  225. package/.bmad/bmm/workflows/testarch/test-design/instructions.md +0 -782
  226. package/.bmad/bmm/workflows/testarch/test-design/test-design-template.md +0 -285
  227. package/.bmad/bmm/workflows/testarch/test-design/workflow.yaml +0 -48
  228. package/.bmad/bmm/workflows/testarch/test-review/checklist.md +0 -470
  229. package/.bmad/bmm/workflows/testarch/test-review/instructions.md +0 -608
  230. package/.bmad/bmm/workflows/testarch/test-review/test-review-template.md +0 -388
  231. package/.bmad/bmm/workflows/testarch/test-review/workflow.yaml +0 -46
  232. package/.bmad/bmm/workflows/testarch/trace/checklist.md +0 -654
  233. package/.bmad/bmm/workflows/testarch/trace/instructions.md +0 -1045
  234. package/.bmad/bmm/workflows/testarch/trace/trace-template.md +0 -673
  235. package/.bmad/bmm/workflows/testarch/trace/workflow.yaml +0 -55
  236. package/.bmad/bmm/workflows/workflow-status/init/instructions.md +0 -334
  237. package/.bmad/bmm/workflows/workflow-status/init/workflow.yaml +0 -28
  238. package/.bmad/bmm/workflows/workflow-status/instructions.md +0 -388
  239. package/.bmad/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +0 -138
  240. package/.bmad/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +0 -126
  241. package/.bmad/bmm/workflows/workflow-status/paths/game-design.yaml +0 -52
  242. package/.bmad/bmm/workflows/workflow-status/paths/method-brownfield.yaml +0 -122
  243. package/.bmad/bmm/workflows/workflow-status/paths/method-greenfield.yaml +0 -113
  244. package/.bmad/bmm/workflows/workflow-status/paths/quick-flow-brownfield.yaml +0 -58
  245. package/.bmad/bmm/workflows/workflow-status/paths/quick-flow-greenfield.yaml +0 -47
  246. package/.bmad/bmm/workflows/workflow-status/project-levels.yaml +0 -59
  247. package/.bmad/bmm/workflows/workflow-status/workflow-status-template.yaml +0 -24
  248. package/.bmad/bmm/workflows/workflow-status/workflow.yaml +0 -28
  249. package/.bmad/core/agents/bmad-master.md +0 -72
  250. package/.bmad/core/agents/bmad-web-orchestrator.agent.xml +0 -113
  251. package/.bmad/core/config.yaml +0 -11
  252. package/.bmad/core/tasks/adv-elicit-methods.csv +0 -39
  253. package/.bmad/core/tasks/advanced-elicitation-methods.csv +0 -21
  254. package/.bmad/core/tasks/advanced-elicitation.xml +0 -106
  255. package/.bmad/core/tasks/index-docs.xml +0 -65
  256. package/.bmad/core/tasks/validate-workflow.xml +0 -89
  257. package/.bmad/core/tasks/workflow.xml +0 -270
  258. package/.bmad/core/tools/shard-doc.xml +0 -109
  259. package/.bmad/core/workflows/brainstorming/README.md +0 -261
  260. package/.bmad/core/workflows/brainstorming/brain-methods.csv +0 -36
  261. package/.bmad/core/workflows/brainstorming/instructions.md +0 -315
  262. package/.bmad/core/workflows/brainstorming/template.md +0 -106
  263. package/.bmad/core/workflows/brainstorming/workflow.yaml +0 -38
  264. package/.bmad/core/workflows/party-mode/instructions.md +0 -203
  265. package/.bmad/core/workflows/party-mode/workflow.yaml +0 -28
  266. package/.bmad/docs/claude-code-instructions.md +0 -25
  267. package/.claude/commands/BMad/analyst.md +0 -88
  268. package/.claude/commands/BMad/architect.md +0 -89
  269. package/.claude/commands/BMad/bmad-master.md +0 -114
  270. package/.claude/commands/BMad/bmad-orchestrator.md +0 -151
  271. package/.claude/commands/BMad/dev.md +0 -85
  272. package/.claude/commands/BMad/pm.md +0 -88
  273. package/.claude/commands/BMad/po.md +0 -83
  274. package/.claude/commands/BMad/qa.md +0 -91
  275. package/.claude/commands/BMad/sm.md +0 -69
  276. package/.claude/commands/BMad/tasks/advanced-elicitation.md +0 -123
  277. package/.claude/commands/BMad/tasks/apply-qa-fixes.md +0 -154
  278. package/.claude/commands/BMad/tasks/brownfield-create-epic.md +0 -166
  279. package/.claude/commands/BMad/tasks/brownfield-create-story.md +0 -153
  280. package/.claude/commands/BMad/tasks/correct-course.md +0 -76
  281. package/.claude/commands/BMad/tasks/create-brownfield-story.md +0 -318
  282. package/.claude/commands/BMad/tasks/create-deep-research-prompt.md +0 -284
  283. package/.claude/commands/BMad/tasks/create-doc.md +0 -107
  284. package/.claude/commands/BMad/tasks/create-next-story.md +0 -118
  285. package/.claude/commands/BMad/tasks/document-project.md +0 -349
  286. package/.claude/commands/BMad/tasks/execute-checklist.md +0 -92
  287. package/.claude/commands/BMad/tasks/facilitate-brainstorming-session.md +0 -142
  288. package/.claude/commands/BMad/tasks/generate-ai-frontend-prompt.md +0 -57
  289. package/.claude/commands/BMad/tasks/index-docs.md +0 -179
  290. package/.claude/commands/BMad/tasks/kb-mode-interaction.md +0 -81
  291. package/.claude/commands/BMad/tasks/nfr-assess.md +0 -349
  292. package/.claude/commands/BMad/tasks/qa-gate.md +0 -167
  293. package/.claude/commands/BMad/tasks/review-story.md +0 -320
  294. package/.claude/commands/BMad/tasks/risk-profile.md +0 -359
  295. package/.claude/commands/BMad/tasks/shard-doc.md +0 -191
  296. package/.claude/commands/BMad/tasks/test-design.md +0 -180
  297. package/.claude/commands/BMad/tasks/trace-requirements.md +0 -270
  298. package/.claude/commands/BMad/tasks/validate-next-story.md +0 -140
  299. package/.claude/commands/BMad/ux-expert.md +0 -73
  300. package/.claude/commands/bmad/bmm/agents/analyst.md +0 -14
  301. package/.claude/commands/bmad/bmm/agents/architect.md +0 -14
  302. package/.claude/commands/bmad/bmm/agents/dev.md +0 -14
  303. package/.claude/commands/bmad/bmm/agents/frame-expert.md +0 -14
  304. package/.claude/commands/bmad/bmm/agents/pm.md +0 -14
  305. package/.claude/commands/bmad/bmm/agents/sm.md +0 -14
  306. package/.claude/commands/bmad/bmm/agents/tea.md +0 -14
  307. package/.claude/commands/bmad/bmm/agents/tech-writer.md +0 -14
  308. package/.claude/commands/bmad/bmm/agents/ux-designer.md +0 -14
  309. package/.claude/commands/bmad/bmm/workflows/architecture.md +0 -13
  310. package/.claude/commands/bmad/bmm/workflows/brainstorm-project.md +0 -13
  311. package/.claude/commands/bmad/bmm/workflows/code-review.md +0 -13
  312. package/.claude/commands/bmad/bmm/workflows/correct-course.md +0 -13
  313. package/.claude/commands/bmad/bmm/workflows/create-dataflow.md +0 -13
  314. package/.claude/commands/bmad/bmm/workflows/create-diagram.md +0 -13
  315. package/.claude/commands/bmad/bmm/workflows/create-epics-and-stories.md +0 -13
  316. package/.claude/commands/bmad/bmm/workflows/create-flowchart.md +0 -13
  317. package/.claude/commands/bmad/bmm/workflows/create-story.md +0 -13
  318. package/.claude/commands/bmad/bmm/workflows/create-ux-design.md +0 -13
  319. package/.claude/commands/bmad/bmm/workflows/create-wireframe.md +0 -13
  320. package/.claude/commands/bmad/bmm/workflows/dev-story.md +0 -13
  321. package/.claude/commands/bmad/bmm/workflows/document-project.md +0 -13
  322. package/.claude/commands/bmad/bmm/workflows/domain-research.md +0 -13
  323. package/.claude/commands/bmad/bmm/workflows/epic-tech-context.md +0 -13
  324. package/.claude/commands/bmad/bmm/workflows/implementation-readiness.md +0 -13
  325. package/.claude/commands/bmad/bmm/workflows/prd.md +0 -13
  326. package/.claude/commands/bmad/bmm/workflows/product-brief.md +0 -13
  327. package/.claude/commands/bmad/bmm/workflows/research.md +0 -13
  328. package/.claude/commands/bmad/bmm/workflows/retrospective.md +0 -13
  329. package/.claude/commands/bmad/bmm/workflows/sprint-planning.md +0 -13
  330. package/.claude/commands/bmad/bmm/workflows/story-context.md +0 -13
  331. package/.claude/commands/bmad/bmm/workflows/story-done.md +0 -13
  332. package/.claude/commands/bmad/bmm/workflows/story-ready.md +0 -13
  333. package/.claude/commands/bmad/bmm/workflows/tech-spec.md +0 -13
  334. package/.claude/commands/bmad/bmm/workflows/workflow-init.md +0 -13
  335. package/.claude/commands/bmad/bmm/workflows/workflow-status.md +0 -13
  336. package/.claude/commands/bmad/core/agents/bmad-master.md +0 -14
  337. package/.claude/commands/bmad/core/tasks/advanced-elicitation.md +0 -9
  338. package/.claude/commands/bmad/core/tasks/index-docs.md +0 -9
  339. package/.claude/commands/bmad/core/tools/shard-doc.md +0 -9
  340. package/.claude/commands/bmad/core/workflows/brainstorming.md +0 -13
  341. package/.claude/commands/bmad/core/workflows/party-mode.md +0 -13
  342. package/.claude/config/README-personality-defaults.md +0 -162
  343. package/.claude/config/agentvibes.json +0 -1
  344. package/.claude/config/bmad-voices-enabled.flag +0 -0
  345. package/.claude/config/bmad-voices.md +0 -68
  346. package/.claude/config/personality-voice-defaults.default.json +0 -21
  347. package/.claude/github-star-reminder.txt +0 -1
  348. package/.claude/hooks/bmad-party-manager.sh +0 -225
  349. package/.claude/hooks/stop.sh +0 -221
  350. package/.claude/piper-voices-dir.txt +0 -1
  351. package/.claude/plugins/bmad-voices-enabled.flag +0 -0
  352. package/.mcp.json +0 -88
  353. package/RELEASE_NOTES_v2.4.0_DRAFT.md +0 -116
  354. package/RELEASE_NOTES_v2.4.1_DRAFT.md +0 -61
  355. package/docs/2025-11-15_15-14-33.snagx +0 -0
  356. package/docs/Screenshot 2025-11-15 151325.png +0 -0
  357. package/docs/Screenshot 2025-11-15 151432.png +0 -0
  358. package/docs/macos-piper-issue.md +0 -172
  359. package/docs/stargazer-cms-prd.md +0 -1918
  360. package/docs/whatsapp-plugin-github-issue.md +0 -393
  361. package/docs/whatsapp-tts-plugin-feasibility.md +0 -418
  362. package/docs/whatsapp-tts-standalone-plugin.md +0 -628
  363. package/github-profile-draft.md +0 -57
  364. package/linkedin/vibe-coding-and-pulseaudio.md +0 -121
  365. package/mcp-server/agentvibes.db +0 -0
  366. package/scripts/audio-tunnel.config +0 -17
  367. package/v4-backup/.bmad-core/agent-teams/team-all.yaml +0 -15
  368. package/v4-backup/.bmad-core/agent-teams/team-fullstack.yaml +0 -19
  369. package/v4-backup/.bmad-core/agent-teams/team-ide-minimal.yaml +0 -11
  370. package/v4-backup/.bmad-core/agent-teams/team-no-ui.yaml +0 -14
  371. package/v4-backup/.bmad-core/agents/analyst.md +0 -84
  372. package/v4-backup/.bmad-core/agents/architect.md +0 -85
  373. package/v4-backup/.bmad-core/agents/bmad-master.md +0 -110
  374. package/v4-backup/.bmad-core/agents/bmad-orchestrator.md +0 -147
  375. package/v4-backup/.bmad-core/agents/dev.md +0 -81
  376. package/v4-backup/.bmad-core/agents/pm.md +0 -84
  377. package/v4-backup/.bmad-core/agents/po.md +0 -79
  378. package/v4-backup/.bmad-core/agents/qa.md +0 -87
  379. package/v4-backup/.bmad-core/agents/sm.md +0 -65
  380. package/v4-backup/.bmad-core/agents/ux-expert.md +0 -69
  381. package/v4-backup/.bmad-core/checklists/architect-checklist.md +0 -440
  382. package/v4-backup/.bmad-core/checklists/change-checklist.md +0 -184
  383. package/v4-backup/.bmad-core/checklists/pm-checklist.md +0 -372
  384. package/v4-backup/.bmad-core/checklists/po-master-checklist.md +0 -434
  385. package/v4-backup/.bmad-core/checklists/story-dod-checklist.md +0 -96
  386. package/v4-backup/.bmad-core/checklists/story-draft-checklist.md +0 -155
  387. package/v4-backup/.bmad-core/core-config.yaml +0 -22
  388. package/v4-backup/.bmad-core/data/bmad-kb.md +0 -809
  389. package/v4-backup/.bmad-core/data/brainstorming-techniques.md +0 -38
  390. package/v4-backup/.bmad-core/data/elicitation-methods.md +0 -156
  391. package/v4-backup/.bmad-core/data/technical-preferences.md +0 -5
  392. package/v4-backup/.bmad-core/data/test-levels-framework.md +0 -148
  393. package/v4-backup/.bmad-core/data/test-priorities-matrix.md +0 -174
  394. package/v4-backup/.bmad-core/enhanced-ide-development-workflow.md +0 -248
  395. package/v4-backup/.bmad-core/install-manifest.yaml +0 -230
  396. package/v4-backup/.bmad-core/tasks/advanced-elicitation.md +0 -119
  397. package/v4-backup/.bmad-core/tasks/apply-qa-fixes.md +0 -150
  398. package/v4-backup/.bmad-core/tasks/brownfield-create-epic.md +0 -162
  399. package/v4-backup/.bmad-core/tasks/brownfield-create-story.md +0 -149
  400. package/v4-backup/.bmad-core/tasks/correct-course.md +0 -72
  401. package/v4-backup/.bmad-core/tasks/create-brownfield-story.md +0 -314
  402. package/v4-backup/.bmad-core/tasks/create-deep-research-prompt.md +0 -280
  403. package/v4-backup/.bmad-core/tasks/create-doc.md +0 -103
  404. package/v4-backup/.bmad-core/tasks/create-next-story.md +0 -114
  405. package/v4-backup/.bmad-core/tasks/document-project.md +0 -345
  406. package/v4-backup/.bmad-core/tasks/execute-checklist.md +0 -88
  407. package/v4-backup/.bmad-core/tasks/facilitate-brainstorming-session.md +0 -138
  408. package/v4-backup/.bmad-core/tasks/generate-ai-frontend-prompt.md +0 -53
  409. package/v4-backup/.bmad-core/tasks/index-docs.md +0 -175
  410. package/v4-backup/.bmad-core/tasks/kb-mode-interaction.md +0 -77
  411. package/v4-backup/.bmad-core/tasks/nfr-assess.md +0 -345
  412. package/v4-backup/.bmad-core/tasks/qa-gate.md +0 -163
  413. package/v4-backup/.bmad-core/tasks/review-story.md +0 -316
  414. package/v4-backup/.bmad-core/tasks/risk-profile.md +0 -355
  415. package/v4-backup/.bmad-core/tasks/shard-doc.md +0 -187
  416. package/v4-backup/.bmad-core/tasks/test-design.md +0 -176
  417. package/v4-backup/.bmad-core/tasks/trace-requirements.md +0 -266
  418. package/v4-backup/.bmad-core/tasks/validate-next-story.md +0 -136
  419. package/v4-backup/.bmad-core/templates/architecture-tmpl.yaml +0 -651
  420. package/v4-backup/.bmad-core/templates/brainstorming-output-tmpl.yaml +0 -156
  421. package/v4-backup/.bmad-core/templates/brownfield-architecture-tmpl.yaml +0 -477
  422. package/v4-backup/.bmad-core/templates/brownfield-prd-tmpl.yaml +0 -281
  423. package/v4-backup/.bmad-core/templates/competitor-analysis-tmpl.yaml +0 -307
  424. package/v4-backup/.bmad-core/templates/front-end-architecture-tmpl.yaml +0 -219
  425. package/v4-backup/.bmad-core/templates/front-end-spec-tmpl.yaml +0 -350
  426. package/v4-backup/.bmad-core/templates/fullstack-architecture-tmpl.yaml +0 -824
  427. package/v4-backup/.bmad-core/templates/market-research-tmpl.yaml +0 -253
  428. package/v4-backup/.bmad-core/templates/prd-tmpl.yaml +0 -203
  429. package/v4-backup/.bmad-core/templates/project-brief-tmpl.yaml +0 -222
  430. package/v4-backup/.bmad-core/templates/qa-gate-tmpl.yaml +0 -103
  431. package/v4-backup/.bmad-core/templates/story-tmpl.yaml +0 -138
  432. package/v4-backup/.bmad-core/user-guide.md +0 -577
  433. package/v4-backup/.bmad-core/utils/bmad-doc-template.md +0 -327
  434. package/v4-backup/.bmad-core/utils/workflow-management.md +0 -71
  435. package/v4-backup/.bmad-core/workflows/brownfield-fullstack.yaml +0 -298
  436. package/v4-backup/.bmad-core/workflows/brownfield-service.yaml +0 -188
  437. package/v4-backup/.bmad-core/workflows/brownfield-ui.yaml +0 -198
  438. package/v4-backup/.bmad-core/workflows/greenfield-fullstack.yaml +0 -241
  439. package/v4-backup/.bmad-core/workflows/greenfield-service.yaml +0 -207
  440. package/v4-backup/.bmad-core/workflows/greenfield-ui.yaml +0 -236
  441. package/v4-backup/.bmad-core/working-in-the-brownfield.md +0 -606
@@ -1,768 +0,0 @@
1
- # Decision Architecture Workflow Instructions
2
-
3
- <workflow name="architecture">
4
-
5
- <critical>The workflow execution engine is governed by: {project-root}/.bmad/core/tasks/workflow.xml</critical>
6
- <critical>You MUST have already loaded and processed: {installed_path}/workflow.yaml</critical>
7
- <critical>This workflow uses ADAPTIVE FACILITATION - adjust your communication style based on {user_skill_level}</critical>
8
- <critical>The goal is ARCHITECTURAL DECISIONS that prevent AI agent conflicts, not detailed implementation specs</critical>
9
- <critical>Communicate all responses in {communication_language} and tailor to {user_skill_level}</critical>
10
- <critical>Generate all documents in {document_output_language}</critical>
11
- <critical>This workflow replaces architecture with a conversation-driven approach</critical>
12
- <critical>Input documents specified in workflow.yaml input_file_patterns - workflow engine handles fuzzy matching, whole vs sharded document discovery automatically</critical>
13
- <critical>ELICITATION POINTS: After completing each major architectural decision area (identified by template-output tags for decision_record, project_structure, novel_pattern_designs, implementation_patterns, and architecture_document), invoke advanced elicitation to refine decisions before proceeding</critical>
14
- <critical>⚠️ ABSOLUTELY NO TIME ESTIMATES - NEVER mention hours, days, weeks, months, or ANY time-based predictions. AI has fundamentally changed development speed - what once took teams weeks/months can now be done by one person in hours. DO NOT give ANY time estimates whatsoever.</critical>
15
- <critical>⚠️ CHECKPOINT PROTOCOL: After EVERY <template-output> tag, you MUST follow workflow.xml substep 2c: SAVE content to file immediately → SHOW checkpoint separator (━━━━━━━━━━━━━━━━━━━━━━━) → DISPLAY generated content → PRESENT options [a]Advanced Elicitation/[c]Continue/[p]Party-Mode/[y]YOLO → WAIT for user response. Never batch saves or skip checkpoints.</critical>
16
-
17
- <step n="0" goal="Validate workflow readiness" tag="workflow-status">
18
- <action>Check if {output_folder}/bmm-workflow-status.yaml exists</action>
19
-
20
- <check if="status file not found">
21
- <output>No workflow status file found. Create Architecture can run standalone or as part of BMM workflow path.</output>
22
- <output>**Recommended:** Run `workflow-init` first for project context tracking and workflow sequencing.</output>
23
- <ask>Continue in standalone mode or exit to run workflow-init? (continue/exit)</ask>
24
- <check if="continue">
25
- <action>Set standalone_mode = true</action>
26
- </check>
27
- <check if="exit">
28
- <action>Exit workflow</action>
29
- </check>
30
- </check>
31
-
32
- <check if="status file found">
33
- <action>Load the FULL file: {output_folder}/bmm-workflow-status.yaml</action>
34
- <action>Parse workflow_status section</action>
35
- <action>Check status of "create-architecture" workflow</action>
36
- <action>Get project_level from YAML metadata</action>
37
- <action>Find first non-completed workflow (next expected workflow)</action>
38
- </check>
39
-
40
- <check if="create-architecture status is indicates already completed">
41
- <output>⚠️ Architecture already completed: {{create-architecture status}}</output>
42
- <ask>Re-running will overwrite the existing architecture. Continue? (y/n)</ask>
43
- <check if="n">
44
- <output>Exiting. Use workflow-status to see your next step.</output>
45
- <action>Exit workflow</action>
46
- </check>
47
- </check>
48
-
49
- <check if="create-architecture is not the next expected workflow">
50
- <output>⚠️ Next expected workflow: {{next_workflow}}. Architecture is out of sequence.</output>
51
- <ask>Continue with Architecture anyway? (y/n)</ask>
52
- <check if="n">
53
- <output>Exiting. Run {{next_workflow}} instead.</output>
54
- <action>Exit workflow</action>
55
- </check>
56
- </check>
57
-
58
- <action>Set standalone_mode = false</action>
59
-
60
- <action>Check for existing PRD file using fuzzy matching</action>
61
-
62
- <action>Fuzzy match PRD file: {prd_file}</action>
63
- <check if="PRD_not_found">
64
- <output>**PRD Not Found**
65
-
66
- Creation of an Architecture works from your Product Requirements Document (PRD), along with an optional UX Design and other assets.
67
-
68
- Looking for: _prd_.md, or prd/\* + files in {output_folder}
69
-
70
- Please talk to the PM Agent to run the Create PRD workflow first to define your requirements, or if I am mistaken and it does exist, provide the file now.
71
- </output>
72
- <ask>Would you like to exit, or can you provide a PRD?
73
- <action if='yes to exit'>Exit workflow - PRD required</action>
74
- <action if='prd provided'>Proceed to Step 1</action>
75
- </ask>
76
- </check>
77
-
78
- </step>
79
-
80
- <step n="0.5" goal="Discover and load input documents">
81
- <invoke-protocol name="discover_inputs" />
82
- <note>After discovery, these content variables are available: {prd_content}, {epics_content}, {ux_design_content}, {document_project_content}</note>
83
- </step>
84
-
85
- <step n="1" goal="Load and understand project context">
86
- <action>Review loaded PRD: {prd_content} (auto-loaded in Step 0.5 - handles both whole and sharded documents)</action>
87
-
88
- <check if="{epics_content} is not empty">
89
- <action>Review loaded epics: {epics_content}</action>
90
- </check>
91
-
92
- <action>Check for UX specification:
93
- <check if="{ux_design_content} is not empty">
94
- <action>Extract architectural implications from {ux_design_content}: - Component complexity (simple forms vs rich interactions) - Animation/transition requirements - Real-time update needs (live data, collaborative features) - Platform-specific UI requirements - Accessibility standards (WCAG compliance level) - Responsive design breakpoints - Offline capability requirements - Performance expectations (load times, interaction responsiveness)
95
- </action>
96
- </check>
97
- </action>
98
-
99
- <action>Extract and understand from {prd_content}:
100
-
101
- - Functional Requirements (FRs) - the complete list of capabilities
102
- - Non-Functional Requirements (performance, security, compliance, etc.)
103
- - Any technical constraints mentioned
104
- </action>
105
-
106
- <check if="{epics_content} is not empty">
107
- <action>Extract from {epics_content}:
108
- - Epic structure and user stories
109
- - Acceptance criteria
110
- </action>
111
- </check>
112
-
113
- <action>Count and assess project scale:
114
- <check if="{epics_content} is not empty">
115
-
116
- - Number of epics: {{epic_count}}
117
- - Number of stories: {{story_count}}
118
- </check>
119
- <check if="{epics_content} is empty">
120
- - Number of functional requirements: {{fr_count}} (from PRD)
121
- - FR categories: {{fr_category_list}} (capability groups from PRD)
122
- </check>
123
- - Complexity indicators (real-time, multi-tenant, regulated, etc.)
124
- - UX complexity level (if UX spec exists)
125
- - Novel features
126
- </action>
127
-
128
- <action>Reflect understanding back to {user_name}:
129
- "I'm reviewing your project documentation for {{project_name}}.
130
- <check if="{epics_content} is not empty">
131
- I see {{epic_count}} epics with {{story_count}} total stories.
132
- </check>
133
- <check if="{epics_content} is empty">
134
- I found {{fr_count}} functional requirements organized into {{fr_category_list}}.
135
- </check>
136
- {{if_ux_spec}}I also found your UX specification which defines the user experience requirements.{{/if_ux_spec}}
137
-
138
- Key aspects I notice:
139
- - [Summarize core functionality]
140
- - [Note critical NFRs]
141
- {{if_ux_spec}}- [Note UX complexity and requirements]{{/if_ux_spec}}
142
- - [Identify unique challenges]
143
-
144
- This will help me guide you through the architectural decisions needed
145
- to ensure AI agents implement this consistently."
146
-
147
- </action>
148
-
149
- <ask>Does this match your understanding of the project?</ask>
150
- <template-output>project_context_understanding</template-output>
151
- </step>
152
-
153
- <step n="2" goal="Discover and evaluate starter templates">
154
- <critical>Modern starter templates make many good architectural decisions by default</critical>
155
-
156
- <action>Based on PRD analysis, identify the primary technology domain: - Web application → Look for Next.js, Vite, Remix starters - Mobile app → Look for React Native, Expo, Flutter starters - API/Backend → Look for NestJS, Express, Fastify starters - CLI tool → Look for CLI framework starters - Full-stack → Look for T3, RedwoodJS, Blitz starters
157
- </action>
158
-
159
- <check if="ux_spec_loaded">
160
- <action>Consider UX requirements when selecting starter:
161
- - Rich animations → Framer Motion compatible starter
162
- - Complex forms → React Hook Form included starter
163
- - Real-time features → Socket.io or WebSocket ready starter
164
- - Accessibility focus → WCAG-compliant component library starter
165
- - Design system → Storybook-enabled starter
166
- </action>
167
- </check>
168
-
169
- <action>Search for relevant starter templates with websearch, examples:
170
- <WebSearch>{{primary_technology}} starter template CLI create command latest {date}</WebSearch>
171
- <WebSearch>{{primary_technology}} boilerplate generator latest options</WebSearch>
172
- </action>
173
-
174
- <check if="starter_templates_found">
175
- <action>Investigate what each starter provides:
176
- <WebSearch>{{starter_name}} default setup technologies included latest</WebSearch>
177
- <WebSearch>{{starter_name}} project structure file organization</WebSearch>
178
- </action>
179
-
180
- <check if="{user_skill_level} == 'expert'">
181
- <action>Present starter options concisely:
182
- "Found {{starter_name}} which provides:
183
- {{quick_decision_list}}
184
-
185
- This would establish our base architecture. Use it?"
186
- </action>
187
- </check>
188
-
189
- <check if="{user_skill_level} == 'beginner'">
190
- <action>Explain starter benefits:
191
- "I found {{starter_name}}, which is like a pre-built foundation for your project.
192
-
193
- Think of it like buying a prefab house frame instead of cutting each board yourself.
194
-
195
- It makes these decisions for you:
196
- {{friendly_decision_list}}
197
-
198
- This is a great starting point that follows best practices. Should we use it?"
199
- </action>
200
- </check>
201
-
202
- <ask>Use {{starter_name}} as the foundation? (recommended) [y/n]</ask>
203
-
204
- <check if="user_accepts_starter">
205
- <action>Get current starter command and options:
206
- <WebSearch>{{starter_name}} CLI command options flags latest 2024</WebSearch>
207
- </action>
208
-
209
- <action>Document the initialization command:
210
- Store command: {{full_starter_command_with_options}}
211
- Example: "npx create-next-app@latest my-app --typescript --tailwind --app"
212
- </action>
213
-
214
- <action>Extract and document starter-provided decisions:
215
- Starter provides these architectural decisions:
216
- - Language/TypeScript: {{provided_or_not}}
217
- - Styling solution: {{provided_or_not}}
218
- - Testing framework: {{provided_or_not}}
219
- - Linting/Formatting: {{provided_or_not}}
220
- - Build tooling: {{provided_or_not}}
221
- - Project structure: {{provided_pattern}}
222
- </action>
223
-
224
- <action>Mark these decisions as "PROVIDED BY STARTER" in our decision tracking</action>
225
-
226
- <action>Note for first implementation story:
227
- "Project initialization using {{starter_command}} should be the first implementation story"
228
- </action>
229
- </check>
230
-
231
- <check if="user_rejects_starter">
232
- <ask>Any specific reason to avoid the starter? (helps me understand constraints)</ask>
233
- <action>Note: Manual setup required, all decisions need to be made explicitly</action>
234
- </check>
235
-
236
- </check>
237
-
238
- <check if="no_starter_found_or_applicable">
239
- <action>Note: No standard starter template found for this project type.
240
- We will make all architectural decisions explicitly.</action>
241
- </check>
242
-
243
- <template-output>starter_template_decision</template-output>
244
- </step>
245
-
246
- <step n="3" goal="Adapt facilitation style and identify remaining decisions">
247
- <action>Based on {user_skill_level} from config, set facilitation approach:
248
-
249
- <check if="{user_skill_level} == 'expert'">
250
- Set mode: EXPERT
251
- - Use technical terminology freely
252
- - Move quickly through decisions
253
- - Assume familiarity with patterns and tools
254
- - Focus on edge cases and advanced concerns
255
- </check>
256
-
257
- <check if="{user_skill_level} == 'intermediate'">
258
- Set mode: INTERMEDIATE
259
- - Balance technical accuracy with clarity
260
- - Explain complex patterns briefly
261
- - Confirm understanding at key points
262
- - Provide context for non-obvious choices
263
- </check>
264
-
265
- <check if="{user_skill_level} == 'beginner'">
266
- Set mode: BEGINNER
267
- - Use analogies and real-world examples
268
- - Explain technical concepts in simple terms
269
- - Provide education about why decisions matter
270
- - Protect from complexity overload
271
- </check>
272
- </action>
273
-
274
- <action>Load decision catalog: {decision_catalog}</action>
275
- <action>Load architecture patterns: {architecture_patterns}</action>
276
-
277
- <action>Analyze PRD against patterns to identify needed decisions: - Match functional requirements to known patterns - Identify which categories of decisions are needed - Flag any novel/unique aspects requiring special attention - Consider which decisions the starter template already made (if applicable)
278
- </action>
279
-
280
- <action>Create decision priority list:
281
- CRITICAL (blocks everything): - {{list_of_critical_decisions}}
282
-
283
- IMPORTANT (shapes architecture):
284
- - {{list_of_important_decisions}}
285
-
286
- NICE-TO-HAVE (can defer):
287
- - {{list_of_optional_decisions}}
288
-
289
- </action>
290
-
291
- <action>Announce plan to {user_name} based on mode:
292
- <check if="mode == 'EXPERT'">
293
- "Based on your PRD, we need to make {{total_decision_count}} architectural decisions.
294
- {{starter_covered_count}} are covered by the starter template.
295
- Let's work through the remaining {{remaining_count}} decisions."
296
- </check>
297
-
298
- <check if="mode == 'BEGINNER'">
299
- "Great! I've analyzed your requirements and found {{total_decision_count}} technical
300
- choices we need to make. Don't worry - I'll guide you through each one and explain
301
- why it matters. {{if_starter}}The starter template handles {{starter_covered_count}}
302
- of these automatically.{{/if_starter}}"
303
- </check>
304
-
305
- </action>
306
-
307
- <template-output>decision_identification</template-output>
308
- </step>
309
-
310
- <step n="4" goal="Facilitate collaborative decision making" repeat="for-each-decision">
311
- <critical>Each decision must be made WITH the user, not FOR them</critical>
312
- <critical>ALWAYS verify current versions using WebSearch - NEVER trust hardcoded versions</critical>
313
-
314
- <action>For each decision in priority order:</action>
315
-
316
- <action>Present the decision based on mode:
317
- <check if="mode == 'EXPERT'">
318
- "{{Decision_Category}}: {{Specific_Decision}}
319
-
320
- Options: {{concise_option_list_with_tradeoffs}}
321
-
322
- Recommendation: {{recommendation}} for {{reason}}"
323
-
324
- </check>
325
-
326
- <check if="mode == 'INTERMEDIATE'">
327
- "Next decision: {{Human_Friendly_Category}}
328
-
329
- We need to choose {{Specific_Decision}}.
330
-
331
- Common options:
332
- {{option_list_with_brief_explanations}}
333
-
334
- For your project, {{recommendation}} would work well because {{reason}}."
335
-
336
- </check>
337
-
338
- <check if="mode == 'BEGINNER'">
339
- "Let's talk about {{Human_Friendly_Category}}.
340
-
341
- {{Educational_Context_About_Why_This_Matters}}
342
-
343
- Think of it like {{real_world_analogy}}.
344
-
345
- Your main options:
346
- {{friendly_options_with_pros_cons}}
347
-
348
- My suggestion: {{recommendation}}
349
- This is good for you because {{beginner_friendly_reason}}."
350
-
351
- </check>
352
-
353
- </action>
354
-
355
- <check if="decision_involves_specific_technology">
356
- <action>Verify current stable version:
357
- <WebSearch>{{technology}} latest stable version 2024</WebSearch>
358
- <WebSearch>{{technology}} current LTS version</WebSearch>
359
- </action>
360
-
361
- <action>Update decision record with verified version:
362
- Technology: {{technology}}
363
- Verified Version: {{version_from_search}}
364
- Verification Date: {{today}}
365
- </action>
366
-
367
- </check>
368
-
369
- <ask>What's your preference? (or 'explain more' for details)</ask>
370
-
371
- <check if="user_wants_more_info">
372
- <action>Provide deeper explanation appropriate to skill level</action>
373
- <check if="complex_tradeoffs">
374
- <action>Consider using advanced elicitation:
375
- "Would you like to explore innovative approaches to this decision?
376
- I can help brainstorm unconventional solutions if you have specific goals."
377
- </action>
378
- </check>
379
- </check>
380
-
381
- <action>Record decision:
382
- Category: {{category}}
383
- Decision: {{user_choice}}
384
- Version: {{verified_version_if_applicable}}
385
- <check if="{epics_content} is not empty">
386
- Affects Epics: {{list_of_affected_epics}}
387
- </check>
388
- <check if="{epics_content} is empty">
389
- Affects FR Categories: {{list_of_affected_fr_categories}}
390
- </check>
391
- Rationale: {{user_reasoning_or_default}}
392
- Provided by Starter: {{yes_if_from_starter}}
393
- </action>
394
-
395
- <action>Check for cascading implications:
396
- "This choice means we'll also need to {{related_decisions}}"
397
- </action>
398
-
399
- <template-output>decision_record</template-output>
400
- </step>
401
-
402
- <step n="5" goal="Address cross-cutting concerns">
403
- <critical>These decisions affect EVERY epic and story</critical>
404
-
405
- <action>Facilitate decisions for consistency patterns: - Error handling strategy (How will all agents handle errors?) - Logging approach (Structured? Format? Levels?) - Date/time handling (Timezone? Format? Library?) - Authentication pattern (Where? How? Token format?) - API response format (Structure? Status codes? Errors?) - Testing strategy (Unit? Integration? E2E?)
406
- </action>
407
-
408
- <check if="{user_skill_level} == 'beginner'">
409
- <action>Explain why these matter why its critical to go through and decide these things now.</action>
410
- </check>
411
-
412
- <template-output>cross_cutting_decisions</template-output>
413
- </step>
414
-
415
- <step n="6" goal="Define project structure and boundaries">
416
- <action>Based on all decisions made, define the project structure</action>
417
-
418
- <action>Create comprehensive source tree: - Root configuration files - Source code organization - Test file locations - Build/dist directories - Documentation structure
419
- </action>
420
-
421
- <check if="{epics_content} is not empty">
422
- <action>Map epics to architectural boundaries:
423
- "Epic: {{epic_name}} → Lives in {{module/directory/service}}"
424
- </action>
425
- </check>
426
- <check if="{epics_content} is empty">
427
- <action>Map FR categories to architectural boundaries:
428
- "FR Category: {{fr_category_name}} → Lives in {{module/directory/service}}"
429
- </action>
430
- </check>
431
-
432
- <action>Define integration points: - Where do components communicate? - What are the API boundaries? - How do services interact?
433
- </action>
434
-
435
- <template-output>project_structure</template-output>
436
- </step>
437
-
438
- <step n="7" goal="Design novel architectural patterns" optional="true">
439
- <critical>Some projects require INVENTING new patterns, not just choosing existing ones</critical>
440
-
441
- <action>Scan PRD for concepts that don't have standard solutions: - Novel interaction patterns (e.g., "swipe to match" before Tinder existed) - Unique multi-component workflows (e.g., "viral invitation system") - New data relationships (e.g., "social graph" before Facebook) - Unprecedented user experiences (e.g., "ephemeral messages" before Snapchat)
442
- <check if="{epics_content} is not empty">
443
-
444
- - Complex state machines crossing multiple epics
445
- </check>
446
- <check if="{epics_content} is empty">
447
- - Complex state machines crossing multiple FR categories
448
- </check>
449
- </action>
450
-
451
- <check if="novel_patterns_detected">
452
- <action>For each novel pattern identified:</action>
453
-
454
- <action>Engage user in design collaboration:
455
- <check if="{user_skill_level} == 'expert'">
456
- "The {{pattern_name}} concept requires architectural innovation.
457
-
458
- Core challenge: {{challenge_description}}
459
-
460
- Let's design the component interaction model:"
461
- </check>
462
-
463
- <check if="{user_skill_level} == 'beginner'">
464
- "Your idea about {{pattern_name}} is unique - there isn't a standard way to build this yet!
465
-
466
- This is exciting - we get to invent the architecture together.
467
-
468
- Let me help you think through how this should work:"
469
- </check>
470
-
471
- </action>
472
-
473
- <action>Facilitate pattern design: 1. Identify core components involved 2. Map data flow between components 3. Design state management approach 4. Create sequence diagrams for complex flows 5. Define API contracts for the pattern 6. Consider edge cases and failure modes
474
- </action>
475
-
476
- <action>Use advanced elicitation for innovation:
477
- "What if we approached this differently? - What would the ideal user experience look like? - Are there analogies from other domains we could apply? - What constraints can we challenge?"
478
- </action>
479
-
480
- <action>Document the novel pattern:
481
- Pattern Name: {{pattern_name}}
482
- Purpose: {{what_problem_it_solves}}
483
- Components:
484
- {{component_list_with_responsibilities}}
485
- Data Flow:
486
- {{sequence_description_or_diagram}}
487
- Implementation Guide:
488
- {{how_agents_should_build_this}}
489
-
490
- <check if="{epics_content} is not empty">
491
- Affects Epics:
492
- {{epics_that_use_this_pattern}}
493
- </check>
494
- <check if="{epics_content} is empty">
495
- Affects FR Categories:
496
- {{fr_categories_that_use_this_pattern}}
497
- </check>
498
- </action>
499
-
500
- <action>Validate pattern completeness:
501
-
502
- <check if="{epics_content} is not empty">
503
- "Does this {{pattern_name}} design cover all the use cases in your epics?
504
- </check>
505
- <check if="{epics_content} is empty">
506
- "Does this {{pattern_name}} design cover all the use cases in your requirements?
507
- </check>
508
- - {{use_case_1}}: ✓ Handled by {{component}}
509
- - {{use_case_2}}: ✓ Handled by {{component}}
510
- ..."
511
- </action>
512
-
513
- </check>
514
-
515
- <check if="no_novel_patterns">
516
- <action>Note: All patterns in this project have established solutions.
517
- Proceeding with standard architectural patterns.</action>
518
- </check>
519
-
520
- <template-output>novel_pattern_designs</template-output>
521
- </step>
522
-
523
- <step n="8" goal="Define implementation patterns to prevent agent conflicts">
524
- <critical>These patterns ensure multiple AI agents write compatible code</critical>
525
- <critical>Focus on what agents could decide DIFFERENTLY if not specified</critical>
526
-
527
- <action>Load pattern categories: {pattern_categories}</action>
528
-
529
- <action>Based on chosen technologies, identify potential conflict points:
530
- "Given that we're using {{tech_stack}}, agents need consistency rules for:"
531
- </action>
532
-
533
- <action>For each relevant pattern category, facilitate decisions:
534
-
535
- NAMING PATTERNS (How things are named):
536
- <check if="has_api">
537
- - REST endpoint naming: /users or /user? Plural or singular?
538
- - Route parameter format: :id or {id}?
539
- </check>
540
- <check if="has_database">
541
- - Table naming: users or Users or user?
542
- - Column naming: user_id or userId?
543
- - Foreign key format: user_id or fk_user?
544
- </check>
545
- <check if="has_frontend">
546
- - Component naming: UserCard or user-card?
547
- - File naming: UserCard.tsx or user-card.tsx?
548
- </check>
549
-
550
- STRUCTURE PATTERNS (How things are organized):
551
- - Where do tests live? __tests__/ or *.test.ts co-located?
552
- - How are components organized? By feature or by type?
553
- - Where do shared utilities go?
554
-
555
- FORMAT PATTERNS (Data exchange formats):
556
- <check if="has_api">
557
- - API response wrapper? {data: ..., error: ...} or direct response?
558
- - Error format? {message, code} or {error: {type, detail}}?
559
- - Date format in JSON? ISO strings or timestamps?
560
- </check>
561
-
562
- COMMUNICATION PATTERNS (How components interact):
563
- <check if="has_events">
564
- - Event naming convention?
565
- - Event payload structure?
566
- </check>
567
- <check if="has_state_management">
568
- - State update pattern?
569
- - Action naming convention?
570
- </check>
571
-
572
- LIFECYCLE PATTERNS (State and flow):
573
- - How are loading states handled?
574
- - What's the error recovery pattern?
575
- - How are retries implemented?
576
-
577
- LOCATION PATTERNS (Where things go):
578
- - API route structure?
579
- - Static asset organization?
580
- - Config file locations?
581
-
582
- CONSISTENCY PATTERNS (Cross-cutting):
583
- - How are dates formatted in the UI?
584
- - What's the logging format?
585
- - How are user-facing errors written?
586
-
587
- </action>
588
-
589
- <check if="{user_skill_level} == 'expert'">
590
- <action>Rapid-fire through patterns:
591
- "Quick decisions on implementation patterns:
592
- - {{pattern}}: {{suggested_convention}} OK? [y/n/specify]"
593
- </action>
594
- </check>
595
-
596
- <check if="{user_skill_level} == 'beginner'">
597
- <action>Explain each pattern's importance:
598
- "Let me explain why this matters:
599
- If one AI agent names database tables 'users' and another names them 'Users',
600
- your app will crash. We need to pick one style and make sure everyone follows it."
601
- </action>
602
- </check>
603
-
604
- <action>Document implementation patterns:
605
- Category: {{pattern_category}}
606
- Pattern: {{specific_pattern}}
607
- Convention: {{decided_convention}}
608
- Example: {{concrete_example}}
609
- Enforcement: "All agents MUST follow this pattern"
610
- </action>
611
-
612
- <template-output>implementation_patterns</template-output>
613
- </step>
614
-
615
- <step n="9" goal="Validate architectural coherence">
616
- <action>Run coherence checks:</action>
617
-
618
- <action>Check decision compatibility: - Do all decisions work together? - Are there any conflicting choices? - Do the versions align properly?
619
- </action>
620
-
621
- <check if="{epics_content} is not empty">
622
- <action>Verify epic coverage: - Does every epic have architectural support? - Are all user stories implementable with these decisions? - Are there any gaps?
623
- </action>
624
- </check>
625
- <check if="{epics_content} is empty">
626
- <action>Verify FR coverage: - Does every functional requirement have architectural support? - Are all capabilities implementable with these decisions? - Are there any gaps?
627
- </action>
628
- </check>
629
-
630
- <action>Validate pattern completeness: - Are there any patterns we missed that agents would need? - Do novel patterns integrate with standard architecture? - Are implementation patterns comprehensive enough?
631
- </action>
632
-
633
- <check if="issues_found">
634
- <action>Address issues with {user_name}:
635
- "I notice {{issue_description}}.
636
- We should {{suggested_resolution}}."
637
- </action>
638
- <ask>How would you like to resolve this?</ask>
639
- <action>Update decisions based on resolution</action>
640
- </check>
641
-
642
- <template-output>coherence_validation</template-output>
643
- </step>
644
-
645
- <step n="10" goal="Generate decision architecture document">
646
- <critical>The document must be complete, specific, and validation-ready</critical>
647
- <critical>This is the consistency contract for all AI agents</critical>
648
-
649
- <action>Load template: {architecture_template}</action>
650
-
651
- <action>Generate sections: 1. Executive Summary (2-3 sentences about the architecture approach) 2. Project Initialization (starter command if applicable) 3. Decision Summary Table (with verified versions and coverage mapping) 4. Complete Project Structure (full tree, no placeholders)
652
- <check if="{epics_content} is not empty"> 5. Epic to Architecture Mapping (every epic placed)
653
- </check>
654
- <check if="{epics_content} is empty"> 5. FR Category to Architecture Mapping (every FR category placed)
655
- </check> 6. Technology Stack Details (versions, configurations) 7. Integration Points (how components connect) 8. Novel Pattern Designs (if any were created) 9. Implementation Patterns (all consistency rules) 10. Consistency Rules (naming, organization, formats) 11. Data Architecture (models and relationships) 12. API Contracts (request/response formats) 13. Security Architecture (auth, authorization, data protection) 14. Performance Considerations (from NFRs) 15. Deployment Architecture (where and how) 16. Development Environment (setup and prerequisites) 17. Architecture Decision Records (key decisions with rationale)
656
- </action>
657
-
658
- <action>Fill template with all collected decisions and patterns</action>
659
-
660
- <action>Ensure starter command is first implementation story:
661
- <check if="using_starter_template">
662
- "## Project Initialization
663
-
664
- First implementation story should execute:
665
- ```bash
666
- {{starter_command_with_options}}
667
- ```
668
-
669
- This establishes the base architecture with these decisions:
670
- {{starter_provided_decisions}}"
671
- </check>
672
-
673
- </action>
674
-
675
- <template-output>architecture_document</template-output>
676
- </step>
677
-
678
- <step n="11" goal="Validate document completeness">
679
- <action>Load validation checklist: {installed_path}/checklist.md</action>
680
-
681
- <action>Run validation checklist from {installed_path}/checklist.md</action>
682
-
683
- <action>Verify MANDATORY items:
684
-
685
- - [] Decision table has Version column with specific versions
686
- <check if="{epics_content} is not empty">
687
- - [] Every epic is mapped to architecture components
688
- </check>
689
- <check if="{epics_content} is empty">
690
- - [] Every FR category is mapped to architecture components
691
- </check>
692
- - [] Source tree is complete, not generic
693
- - [] No placeholder text remains
694
- - [] All FRs from PRD have architectural support
695
- - [] All NFRs from PRD are addressed
696
- - [] Implementation patterns cover all potential conflicts
697
- - [] Novel patterns are fully documented (if applicable)
698
- </action>
699
-
700
- <check if="validation_failed">
701
- <action>Fix missing items automatically</action>
702
- <goto step="10">Regenerate document section</goto>
703
- </check>
704
-
705
- <template-output>validation_results</template-output>
706
- </step>
707
-
708
- <step n="12" goal="Final review and update workflow status">
709
- <action>Present completion summary:</action>
710
-
711
- <check if="{user_skill_level} == 'expert'">
712
- "Architecture complete. {{decision_count}} decisions documented.
713
- Ready for implementation phase."
714
- </check>
715
-
716
- <check if="{user_skill_level} == 'beginner'">
717
- "Excellent! Your architecture is complete. You made {{decision_count}} important
718
- decisions that will keep AI agents consistent as they build your app.
719
-
720
- What happens next:
721
- 1. AI agents will read this architecture before implementing each story
722
- 2. They'll follow your technical choices exactly
723
- 3. Your app will be built with consistent patterns throughout
724
-
725
- You're ready to move to the implementation phase!"
726
-
727
- </check>
728
-
729
- <action>Save document to {output_folder}/architecture.md</action>
730
-
731
- <check if="standalone_mode != true">
732
- <action>Load the FULL file: {output_folder}/bmm-workflow-status.yaml</action>
733
- <action>Find workflow_status key "create-architecture"</action>
734
- <critical>ONLY write the file path as the status value - no other text, notes, or metadata</critical>
735
- <action>Update workflow_status["create-architecture"] = "{output_folder}/bmm-architecture-{{date}}.md"</action>
736
- <action>Save file, preserving ALL comments and structure including STATUS DEFINITIONS</action>
737
-
738
- <action>Find first non-completed workflow in workflow_status (next workflow to do)</action>
739
- <action>Determine next agent from path file based on next workflow</action>
740
-
741
- </check>
742
-
743
- <output>✅ Decision Architecture workflow complete!</output>
744
-
745
- <output>**Deliverables Created:**
746
-
747
- - ✅ architecture.md - Complete architectural decisions document
748
- {{if_novel_patterns}}
749
- - ✅ Novel pattern designs for unique concepts
750
- {{/if_novel_patterns}}
751
- {{if_starter_template}}
752
- - ✅ Project initialization command documented
753
- {{/if_starter_template}}
754
-
755
- The architecture is ready to guide AI agents through consistent implementation.
756
-
757
- **Next Steps:**
758
-
759
- - **Next required:** {{next_workflow}} ({{next_agent}} agent)
760
- - Review the architecture.md document before proceeding
761
-
762
- Check status anytime with: `workflow-status`
763
- </output>
764
-
765
- <template-output>completion_summary</template-output>
766
- </step>
767
-
768
- </workflow>