bmad-method 4.37.0-beta.6 → 4.39.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 (276) hide show
  1. package/.github/ISSUE_TEMPLATE/bug_report.md +3 -3
  2. package/.github/ISSUE_TEMPLATE/feature_request.md +3 -3
  3. package/.github/workflows/discord.yaml +11 -2
  4. package/.github/workflows/format-check.yaml +42 -0
  5. package/.github/workflows/manual-release.yaml +173 -0
  6. package/.husky/pre-commit +3 -0
  7. package/.vscode/settings.json +26 -1
  8. package/CHANGELOG.md +3 -6
  9. package/README.md +2 -0
  10. package/bmad-core/agent-teams/team-all.yaml +1 -1
  11. package/bmad-core/agents/analyst.md +17 -16
  12. package/bmad-core/agents/architect.md +12 -13
  13. package/bmad-core/agents/bmad-master.md +23 -23
  14. package/bmad-core/agents/bmad-orchestrator.md +22 -27
  15. package/bmad-core/agents/dev.md +19 -17
  16. package/bmad-core/agents/pm.md +15 -14
  17. package/bmad-core/agents/po.md +10 -9
  18. package/bmad-core/agents/qa.md +43 -23
  19. package/bmad-core/agents/sm.md +8 -7
  20. package/bmad-core/agents/ux-expert.md +7 -6
  21. package/bmad-core/checklists/architect-checklist.md +0 -5
  22. package/bmad-core/checklists/pm-checklist.md +0 -5
  23. package/bmad-core/checklists/po-master-checklist.md +0 -9
  24. package/bmad-core/checklists/story-dod-checklist.md +0 -7
  25. package/bmad-core/checklists/story-draft-checklist.md +0 -3
  26. package/bmad-core/core-config.yaml +2 -0
  27. package/bmad-core/data/bmad-kb.md +6 -3
  28. package/bmad-core/data/elicitation-methods.md +20 -0
  29. package/bmad-core/data/test-levels-framework.md +146 -0
  30. package/bmad-core/data/test-priorities-matrix.md +172 -0
  31. package/bmad-core/tasks/apply-qa-fixes.md +148 -0
  32. package/bmad-core/tasks/create-brownfield-story.md +11 -3
  33. package/bmad-core/tasks/create-deep-research-prompt.md +0 -11
  34. package/bmad-core/tasks/document-project.md +15 -13
  35. package/bmad-core/tasks/facilitate-brainstorming-session.md +2 -2
  36. package/bmad-core/tasks/index-docs.md +0 -6
  37. package/bmad-core/tasks/kb-mode-interaction.md +3 -3
  38. package/bmad-core/tasks/nfr-assess.md +343 -0
  39. package/bmad-core/tasks/qa-gate.md +161 -0
  40. package/bmad-core/tasks/review-story.md +243 -74
  41. package/bmad-core/tasks/risk-profile.md +353 -0
  42. package/bmad-core/tasks/shard-doc.md +0 -2
  43. package/bmad-core/tasks/test-design.md +174 -0
  44. package/bmad-core/tasks/trace-requirements.md +264 -0
  45. package/bmad-core/templates/architecture-tmpl.yaml +49 -49
  46. package/bmad-core/templates/brainstorming-output-tmpl.yaml +5 -5
  47. package/bmad-core/templates/brownfield-architecture-tmpl.yaml +31 -31
  48. package/bmad-core/templates/brownfield-prd-tmpl.yaml +13 -13
  49. package/bmad-core/templates/competitor-analysis-tmpl.yaml +19 -6
  50. package/bmad-core/templates/front-end-architecture-tmpl.yaml +21 -9
  51. package/bmad-core/templates/front-end-spec-tmpl.yaml +24 -24
  52. package/bmad-core/templates/fullstack-architecture-tmpl.yaml +122 -104
  53. package/bmad-core/templates/market-research-tmpl.yaml +2 -2
  54. package/bmad-core/templates/prd-tmpl.yaml +9 -9
  55. package/bmad-core/templates/project-brief-tmpl.yaml +4 -4
  56. package/bmad-core/templates/qa-gate-tmpl.yaml +102 -0
  57. package/bmad-core/templates/story-tmpl.yaml +12 -12
  58. package/bmad-core/workflows/brownfield-fullstack.yaml +9 -9
  59. package/bmad-core/workflows/brownfield-service.yaml +1 -1
  60. package/bmad-core/workflows/brownfield-ui.yaml +1 -1
  61. package/bmad-core/workflows/greenfield-fullstack.yaml +1 -1
  62. package/bmad-core/workflows/greenfield-service.yaml +1 -1
  63. package/bmad-core/workflows/greenfield-ui.yaml +1 -1
  64. package/common/tasks/execute-checklist.md +0 -7
  65. package/common/utils/bmad-doc-template.md +5 -5
  66. package/dist/agents/analyst.txt +1086 -1079
  67. package/dist/agents/architect.txt +1534 -1526
  68. package/dist/agents/bmad-master.txt +646 -632
  69. package/dist/agents/bmad-orchestrator.txt +40 -18
  70. package/dist/agents/dev.txt +158 -19
  71. package/dist/agents/pm.txt +1082 -1107
  72. package/dist/agents/po.txt +314 -332
  73. package/dist/agents/qa.txt +1754 -151
  74. package/dist/agents/sm.txt +88 -98
  75. package/dist/agents/ux-expert.txt +80 -87
  76. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.txt +109 -146
  77. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.txt +75 -86
  78. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.txt +41 -48
  79. package/dist/expansion-packs/bmad-2d-phaser-game-dev/teams/phaser-2d-nodejs-game-team.txt +1903 -1941
  80. package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-architect.txt +15 -50
  81. package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-designer.txt +149 -195
  82. package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-developer.txt +0 -15
  83. package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-sm.txt +20 -37
  84. package/dist/expansion-packs/bmad-2d-unity-game-dev/teams/unity-2d-game-team.txt +2660 -2752
  85. package/dist/expansion-packs/bmad-creative-writing/agents/beta-reader.txt +871 -0
  86. package/dist/expansion-packs/bmad-creative-writing/agents/book-critic.txt +78 -0
  87. package/dist/expansion-packs/bmad-creative-writing/agents/character-psychologist.txt +839 -0
  88. package/dist/expansion-packs/bmad-creative-writing/agents/cover-designer.txt +85 -0
  89. package/dist/expansion-packs/bmad-creative-writing/agents/dialog-specialist.txt +861 -0
  90. package/dist/expansion-packs/bmad-creative-writing/agents/editor.txt +796 -0
  91. package/dist/expansion-packs/bmad-creative-writing/agents/genre-specialist.txt +927 -0
  92. package/dist/expansion-packs/bmad-creative-writing/agents/narrative-designer.txt +842 -0
  93. package/dist/expansion-packs/bmad-creative-writing/agents/plot-architect.txt +1126 -0
  94. package/dist/expansion-packs/bmad-creative-writing/agents/world-builder.txt +864 -0
  95. package/dist/expansion-packs/bmad-creative-writing/teams/agent-team.txt +5917 -0
  96. package/dist/expansion-packs/bmad-infrastructure-devops/agents/infra-devops-platform.txt +25 -27
  97. package/dist/teams/team-all.txt +5541 -3768
  98. package/dist/teams/team-fullstack.txt +3014 -2987
  99. package/dist/teams/team-ide-minimal.txt +2219 -469
  100. package/dist/teams/team-no-ui.txt +2993 -2966
  101. package/docs/enhanced-ide-development-workflow.md +220 -15
  102. package/docs/user-guide.md +271 -18
  103. package/docs/versioning-and-releases.md +122 -44
  104. package/docs/working-in-the-brownfield.md +265 -32
  105. package/eslint.config.mjs +119 -0
  106. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.md +4 -4
  107. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.md +1 -1
  108. package/expansion-packs/bmad-2d-phaser-game-dev/config.yaml +1 -1
  109. package/expansion-packs/bmad-2d-phaser-game-dev/data/bmad-kb.md +0 -4
  110. package/expansion-packs/bmad-2d-phaser-game-dev/data/development-guidelines.md +26 -30
  111. package/expansion-packs/bmad-2d-phaser-game-dev/tasks/advanced-elicitation.md +0 -1
  112. package/expansion-packs/bmad-2d-phaser-game-dev/tasks/game-design-brainstorming.md +0 -18
  113. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-architecture-tmpl.yaml +50 -50
  114. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-brief-tmpl.yaml +23 -23
  115. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-design-doc-tmpl.yaml +24 -24
  116. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-story-tmpl.yaml +42 -42
  117. package/expansion-packs/bmad-2d-phaser-game-dev/templates/level-design-doc-tmpl.yaml +65 -65
  118. package/expansion-packs/bmad-2d-phaser-game-dev/workflows/game-dev-greenfield.yaml +5 -5
  119. package/expansion-packs/bmad-2d-phaser-game-dev/workflows/game-prototype.yaml +1 -1
  120. package/expansion-packs/bmad-2d-unity-game-dev/agents/game-developer.md +3 -3
  121. package/expansion-packs/bmad-2d-unity-game-dev/checklists/game-architect-checklist.md +0 -5
  122. package/expansion-packs/bmad-2d-unity-game-dev/checklists/game-story-dod-checklist.md +0 -8
  123. package/expansion-packs/bmad-2d-unity-game-dev/config.yaml +1 -1
  124. package/expansion-packs/bmad-2d-unity-game-dev/data/bmad-kb.md +1 -8
  125. package/expansion-packs/bmad-2d-unity-game-dev/data/development-guidelines.md +0 -4
  126. package/expansion-packs/bmad-2d-unity-game-dev/tasks/advanced-elicitation.md +0 -1
  127. package/expansion-packs/bmad-2d-unity-game-dev/tasks/correct-course-game.md +0 -10
  128. package/expansion-packs/bmad-2d-unity-game-dev/tasks/game-design-brainstorming.md +0 -18
  129. package/expansion-packs/bmad-2d-unity-game-dev/templates/game-brief-tmpl.yaml +23 -23
  130. package/expansion-packs/bmad-2d-unity-game-dev/templates/game-design-doc-tmpl.yaml +63 -63
  131. package/expansion-packs/bmad-2d-unity-game-dev/templates/game-story-tmpl.yaml +20 -20
  132. package/expansion-packs/bmad-2d-unity-game-dev/templates/level-design-doc-tmpl.yaml +65 -65
  133. package/expansion-packs/bmad-2d-unity-game-dev/workflows/game-dev-greenfield.yaml +5 -5
  134. package/expansion-packs/bmad-2d-unity-game-dev/workflows/game-prototype.yaml +1 -1
  135. package/expansion-packs/bmad-creative-writing/README.md +132 -0
  136. package/expansion-packs/bmad-creative-writing/agent-teams/agent-team.yaml +19 -0
  137. package/expansion-packs/bmad-creative-writing/agents/beta-reader.md +91 -0
  138. package/expansion-packs/bmad-creative-writing/agents/book-critic.md +35 -0
  139. package/expansion-packs/bmad-creative-writing/agents/character-psychologist.md +90 -0
  140. package/expansion-packs/bmad-creative-writing/agents/cover-designer.md +41 -0
  141. package/expansion-packs/bmad-creative-writing/agents/dialog-specialist.md +89 -0
  142. package/expansion-packs/bmad-creative-writing/agents/editor.md +90 -0
  143. package/expansion-packs/bmad-creative-writing/agents/genre-specialist.md +92 -0
  144. package/expansion-packs/bmad-creative-writing/agents/narrative-designer.md +90 -0
  145. package/expansion-packs/bmad-creative-writing/agents/plot-architect.md +92 -0
  146. package/expansion-packs/bmad-creative-writing/agents/world-builder.md +91 -0
  147. package/expansion-packs/bmad-creative-writing/checklists/beta-feedback-closure-checklist.md +16 -0
  148. package/expansion-packs/bmad-creative-writing/checklists/character-consistency-checklist.md +16 -0
  149. package/expansion-packs/bmad-creative-writing/checklists/comedic-timing-checklist.md +16 -0
  150. package/expansion-packs/bmad-creative-writing/checklists/cyberpunk-aesthetic-checklist.md +16 -0
  151. package/expansion-packs/bmad-creative-writing/checklists/ebook-formatting-checklist.md +15 -0
  152. package/expansion-packs/bmad-creative-writing/checklists/epic-poetry-meter-checklist.md +16 -0
  153. package/expansion-packs/bmad-creative-writing/checklists/fantasy-magic-system-checklist.md +16 -0
  154. package/expansion-packs/bmad-creative-writing/checklists/foreshadowing-payoff-checklist.md +15 -0
  155. package/expansion-packs/bmad-creative-writing/checklists/genre-tropes-checklist.md +15 -0
  156. package/expansion-packs/bmad-creative-writing/checklists/historical-accuracy-checklist.md +16 -0
  157. package/expansion-packs/bmad-creative-writing/checklists/horror-suspense-checklist.md +16 -0
  158. package/expansion-packs/bmad-creative-writing/checklists/kdp-cover-ready-checklist.md +18 -0
  159. package/expansion-packs/bmad-creative-writing/checklists/line-edit-quality-checklist.md +16 -0
  160. package/expansion-packs/bmad-creative-writing/checklists/marketing-copy-checklist.md +16 -0
  161. package/expansion-packs/bmad-creative-writing/checklists/mystery-clue-trail-checklist.md +16 -0
  162. package/expansion-packs/bmad-creative-writing/checklists/orbital-mechanics-checklist.md +16 -0
  163. package/expansion-packs/bmad-creative-writing/checklists/plot-structure-checklist.md +49 -0
  164. package/expansion-packs/bmad-creative-writing/checklists/publication-readiness-checklist.md +16 -0
  165. package/expansion-packs/bmad-creative-writing/checklists/romance-emotional-beats-checklist.md +16 -0
  166. package/expansion-packs/bmad-creative-writing/checklists/scene-quality-checklist.md +16 -0
  167. package/expansion-packs/bmad-creative-writing/checklists/scifi-technology-plausibility-checklist.md +15 -0
  168. package/expansion-packs/bmad-creative-writing/checklists/sensitivity-representation-checklist.md +16 -0
  169. package/expansion-packs/bmad-creative-writing/checklists/steampunk-gadget-checklist.md +16 -0
  170. package/expansion-packs/bmad-creative-writing/checklists/thriller-pacing-stakes-checklist.md +16 -0
  171. package/expansion-packs/bmad-creative-writing/checklists/timeline-continuity-checklist.md +16 -0
  172. package/expansion-packs/bmad-creative-writing/checklists/world-building-continuity-checklist.md +16 -0
  173. package/expansion-packs/bmad-creative-writing/checklists/ya-appropriateness-checklist.md +16 -0
  174. package/expansion-packs/bmad-creative-writing/config.yaml +11 -0
  175. package/expansion-packs/bmad-creative-writing/data/bmad-kb.md +197 -0
  176. package/expansion-packs/bmad-creative-writing/data/story-structures.md +58 -0
  177. package/expansion-packs/bmad-creative-writing/docs/brief.md +183 -0
  178. package/expansion-packs/bmad-creative-writing/tasks/advanced-elicitation.md +117 -0
  179. package/expansion-packs/bmad-creative-writing/tasks/analyze-reader-feedback.md +16 -0
  180. package/expansion-packs/bmad-creative-writing/tasks/analyze-story-structure.md +55 -0
  181. package/expansion-packs/bmad-creative-writing/tasks/assemble-kdp-package.md +22 -0
  182. package/expansion-packs/bmad-creative-writing/tasks/brainstorm-premise.md +16 -0
  183. package/expansion-packs/bmad-creative-writing/tasks/build-world.md +17 -0
  184. package/expansion-packs/bmad-creative-writing/tasks/character-depth-pass.md +15 -0
  185. package/expansion-packs/bmad-creative-writing/tasks/create-doc.md +101 -0
  186. package/expansion-packs/bmad-creative-writing/tasks/create-draft-section.md +19 -0
  187. package/expansion-packs/bmad-creative-writing/tasks/critical-review.md +19 -0
  188. package/expansion-packs/bmad-creative-writing/tasks/develop-character.md +17 -0
  189. package/expansion-packs/bmad-creative-writing/tasks/execute-checklist.md +93 -0
  190. package/expansion-packs/bmad-creative-writing/tasks/expand-premise.md +16 -0
  191. package/expansion-packs/bmad-creative-writing/tasks/expand-synopsis.md +16 -0
  192. package/expansion-packs/bmad-creative-writing/tasks/final-polish.md +16 -0
  193. package/expansion-packs/bmad-creative-writing/tasks/generate-cover-brief.md +18 -0
  194. package/expansion-packs/bmad-creative-writing/tasks/generate-cover-prompts.md +19 -0
  195. package/expansion-packs/bmad-creative-writing/tasks/generate-scene-list.md +16 -0
  196. package/expansion-packs/bmad-creative-writing/tasks/incorporate-feedback.md +18 -0
  197. package/expansion-packs/bmad-creative-writing/tasks/outline-scenes.md +16 -0
  198. package/expansion-packs/bmad-creative-writing/tasks/provide-feedback.md +17 -0
  199. package/expansion-packs/bmad-creative-writing/tasks/publish-chapter.md +16 -0
  200. package/expansion-packs/bmad-creative-writing/tasks/quick-feedback.md +15 -0
  201. package/expansion-packs/bmad-creative-writing/tasks/select-next-arc.md +16 -0
  202. package/expansion-packs/bmad-creative-writing/tasks/workshop-dialog.md +51 -0
  203. package/expansion-packs/bmad-creative-writing/templates/beta-feedback-form.yaml +96 -0
  204. package/expansion-packs/bmad-creative-writing/templates/chapter-draft-tmpl.yaml +81 -0
  205. package/expansion-packs/bmad-creative-writing/templates/character-profile-tmpl.yaml +92 -0
  206. package/expansion-packs/bmad-creative-writing/templates/cover-design-brief-tmpl.yaml +97 -0
  207. package/expansion-packs/bmad-creative-writing/templates/premise-brief-tmpl.yaml +77 -0
  208. package/expansion-packs/bmad-creative-writing/templates/scene-list-tmpl.yaml +54 -0
  209. package/expansion-packs/bmad-creative-writing/templates/story-outline-tmpl.yaml +96 -0
  210. package/expansion-packs/bmad-creative-writing/templates/world-guide-tmpl.yaml +88 -0
  211. package/expansion-packs/bmad-creative-writing/workflows/book-cover-design-workflow.md +176 -0
  212. package/expansion-packs/bmad-creative-writing/workflows/novel-greenfield-workflow.yaml +58 -0
  213. package/expansion-packs/bmad-creative-writing/workflows/novel-serial-workflow.yaml +51 -0
  214. package/expansion-packs/bmad-creative-writing/workflows/novel-snowflake-workflow.yaml +69 -0
  215. package/expansion-packs/bmad-creative-writing/workflows/novel-writing.yaml +92 -0
  216. package/expansion-packs/bmad-creative-writing/workflows/screenplay-development.yaml +86 -0
  217. package/expansion-packs/bmad-creative-writing/workflows/series-planning.yaml +79 -0
  218. package/expansion-packs/bmad-creative-writing/workflows/short-story-creation.yaml +65 -0
  219. package/expansion-packs/bmad-infrastructure-devops/config.yaml +1 -1
  220. package/expansion-packs/bmad-infrastructure-devops/data/bmad-kb.md +0 -3
  221. package/expansion-packs/bmad-infrastructure-devops/tasks/review-infrastructure.md +0 -1
  222. package/expansion-packs/bmad-infrastructure-devops/tasks/validate-infrastructure.md +0 -1
  223. package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-architecture-tmpl.yaml +20 -20
  224. package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-platform-from-arch-tmpl.yaml +7 -7
  225. package/package.json +62 -39
  226. package/prettier.config.mjs +32 -0
  227. package/sync-version.sh +23 -0
  228. package/tools/bmad-npx-wrapper.js +10 -10
  229. package/tools/builders/web-builder.js +124 -130
  230. package/tools/bump-all-versions.js +42 -33
  231. package/tools/bump-expansion-version.js +23 -16
  232. package/tools/cli.js +10 -12
  233. package/tools/flattener/aggregate.js +10 -10
  234. package/tools/flattener/binary.js +44 -17
  235. package/tools/flattener/discovery.js +19 -18
  236. package/tools/flattener/files.js +6 -6
  237. package/tools/flattener/ignoreRules.js +125 -125
  238. package/tools/flattener/main.js +426 -70
  239. package/tools/flattener/projectRoot.js +186 -25
  240. package/tools/flattener/prompts.js +9 -9
  241. package/tools/flattener/stats.helpers.js +395 -0
  242. package/tools/flattener/stats.js +64 -14
  243. package/tools/flattener/test-matrix.js +413 -0
  244. package/tools/flattener/xml.js +33 -31
  245. package/tools/installer/bin/bmad.js +156 -113
  246. package/tools/installer/config/ide-agent-config.yaml +1 -1
  247. package/tools/installer/config/install.config.yaml +13 -3
  248. package/tools/installer/lib/config-loader.js +46 -42
  249. package/tools/installer/lib/file-manager.js +91 -113
  250. package/tools/installer/lib/ide-base-setup.js +57 -56
  251. package/tools/installer/lib/ide-setup.js +545 -399
  252. package/tools/installer/lib/installer.js +875 -714
  253. package/tools/installer/lib/memory-profiler.js +54 -53
  254. package/tools/installer/lib/module-manager.js +19 -15
  255. package/tools/installer/lib/resource-locator.js +26 -28
  256. package/tools/installer/package.json +19 -19
  257. package/tools/lib/dependency-resolver.js +26 -30
  258. package/tools/lib/yaml-utils.js +7 -7
  259. package/tools/preview-release-notes.js +66 -0
  260. package/tools/shared/bannerArt.js +3 -3
  261. package/tools/sync-installer-version.js +7 -9
  262. package/tools/update-expansion-version.js +14 -15
  263. package/tools/upgraders/v3-to-v4-upgrader.js +203 -294
  264. package/tools/version-bump.js +41 -26
  265. package/tools/yaml-format.js +56 -43
  266. package/.github/workflows/release.yaml +0 -60
  267. package/.releaserc.json +0 -21
  268. package/expansion-packs/Complete AI Agent System - Blank Templates & Google Cloud Setup/Complete AI Agent System - Flowchart.svg +0 -102
  269. package/expansion-packs/Complete AI Agent System - Blank Templates & Google Cloud Setup/PART 1 - Google Cloud Vertex AI Setup Documentation/1.1 Google Cloud Project Setup/1.1.1 - Initial Project Configuration - bash copy.txt +0 -13
  270. package/expansion-packs/Complete AI Agent System - Blank Templates & Google Cloud Setup/PART 1 - Google Cloud Vertex AI Setup Documentation/1.1 Google Cloud Project Setup/1.1.1 - Initial Project Configuration - bash.txt +0 -13
  271. package/expansion-packs/Complete AI Agent System - Blank Templates & Google Cloud Setup/PART 1 - Google Cloud Vertex AI Setup Documentation/1.2 Agent Development Kit Installation/1.2.2 - Basic Project Structure - txt.txt +0 -25
  272. package/expansion-packs/Complete AI Agent System - Blank Templates & Google Cloud Setup/PART 1 - Google Cloud Vertex AI Setup Documentation/1.3 Core Configuration Files/1.3.1 - settings.py +0 -34
  273. package/expansion-packs/Complete AI Agent System - Blank Templates & Google Cloud Setup/PART 1 - Google Cloud Vertex AI Setup Documentation/1.3 Core Configuration Files/1.3.2 - main.py - Base Application.py +0 -70
  274. package/expansion-packs/Complete AI Agent System - Blank Templates & Google Cloud Setup/PART 1 - Google Cloud Vertex AI Setup Documentation/1.4 Deployment Configuration/1.4.2 - cloudbuild.yaml +0 -26
  275. package/expansion-packs/Complete AI Agent System - Blank Templates & Google Cloud Setup/README.md +0 -109
  276. package/tools/semantic-release-sync-installer.js +0 -30
@@ -25,14 +25,12 @@ The goal is quality delivery, not just checking boxes.]]
25
25
  1. **Requirements Met:**
26
26
 
27
27
  [[LLM: Be specific - list each requirement and whether it's complete]]
28
-
29
28
  - [ ] All functional requirements specified in the story are implemented.
30
29
  - [ ] All acceptance criteria defined in the story are met.
31
30
 
32
31
  2. **Coding Standards & Project Structure:**
33
32
 
34
33
  [[LLM: Code quality matters for maintainability. Check each item carefully]]
35
-
36
34
  - [ ] All new/modified code strictly adheres to `Operational Guidelines`.
37
35
  - [ ] All new/modified code aligns with `Project Structure` (file locations, naming, etc.).
38
36
  - [ ] Adherence to `Tech Stack` for technologies/versions used (if story introduces or modifies tech usage).
@@ -44,7 +42,6 @@ The goal is quality delivery, not just checking boxes.]]
44
42
  3. **Testing:**
45
43
 
46
44
  [[LLM: Testing proves your code works. Be honest about test coverage]]
47
-
48
45
  - [ ] All required unit tests as per the story and `Operational Guidelines` Testing Strategy are implemented.
49
46
  - [ ] All required integration tests (if applicable) as per the story and `Operational Guidelines` Testing Strategy are implemented.
50
47
  - [ ] All tests (unit, integration, E2E if applicable) pass successfully.
@@ -53,14 +50,12 @@ The goal is quality delivery, not just checking boxes.]]
53
50
  4. **Functionality & Verification:**
54
51
 
55
52
  [[LLM: Did you actually run and test your code? Be specific about what you tested]]
56
-
57
53
  - [ ] Functionality has been manually verified by the developer (e.g., running the app locally, checking UI, testing API endpoints).
58
54
  - [ ] Edge cases and potential error conditions considered and handled gracefully.
59
55
 
60
56
  5. **Story Administration:**
61
57
 
62
58
  [[LLM: Documentation helps the next developer. What should they know?]]
63
-
64
59
  - [ ] All tasks within the story file are marked as complete.
65
60
  - [ ] Any clarifications or decisions made during development are documented in the story file or linked appropriately.
66
61
  - [ ] The story wrap up section has been completed with notes of changes or information relevant to the next story or overall project, the agent model that was primarily used during development, and the changelog of any changes is properly updated.
@@ -68,7 +63,6 @@ The goal is quality delivery, not just checking boxes.]]
68
63
  6. **Dependencies, Build & Configuration:**
69
64
 
70
65
  [[LLM: Build issues block everyone. Ensure everything compiles and runs cleanly]]
71
-
72
66
  - [ ] Project builds successfully without errors.
73
67
  - [ ] Project linting passes
74
68
  - [ ] Any new dependencies added were either pre-approved in the story requirements OR explicitly approved by the user during development (approval documented in story file).
@@ -79,7 +73,6 @@ The goal is quality delivery, not just checking boxes.]]
79
73
  7. **Documentation (If Applicable):**
80
74
 
81
75
  [[LLM: Good documentation prevents future confusion. What needs explaining?]]
82
-
83
76
  - [ ] Relevant inline code documentation (e.g., JSDoc, TSDoc, Python docstrings) for new public APIs or complex logic is complete.
84
77
  - [ ] User-facing documentation updated, if changes impact users.
85
78
  - [ ] Technical documentation (e.g., READMEs, system diagrams) updated if significant architectural changes were made.
@@ -117,19 +117,16 @@ Note: We don't need every file listed - just the important ones.]]
117
117
  Generate a concise validation report:
118
118
 
119
119
  1. Quick Summary
120
-
121
120
  - Story readiness: READY / NEEDS REVISION / BLOCKED
122
121
  - Clarity score (1-10)
123
122
  - Major gaps identified
124
123
 
125
124
  2. Fill in the validation table with:
126
-
127
125
  - PASS: Requirements clearly met
128
126
  - PARTIAL: Some gaps but workable
129
127
  - FAIL: Critical information missing
130
128
 
131
129
  3. Specific Issues (if any)
132
-
133
130
  - List concrete problems to fix
134
131
  - Suggest specific improvements
135
132
  - Identify any blocking dependencies
@@ -1,4 +1,6 @@
1
1
  markdownExploder: true
2
+ qa:
3
+ qaLocation: docs/qa
2
4
  prd:
3
5
  prdFile: docs/prd.md
4
6
  prdVersion: v4
@@ -298,7 +298,7 @@ You are the "Vibe CEO" - thinking like a CEO with unlimited resources and a sing
298
298
 
299
299
  - **Claude Code**: `/agent-name` (e.g., `/bmad-master`)
300
300
  - **Cursor**: `@agent-name` (e.g., `@bmad-master`)
301
- - **Windsurf**: `@agent-name` (e.g., `@bmad-master`)
301
+ - **Windsurf**: `/agent-name` (e.g., `/bmad-master`)
302
302
  - **Trae**: `@agent-name` (e.g., `@bmad-master`)
303
303
  - **Roo Code**: Select mode from mode selector (e.g., `bmad-master`)
304
304
  - **GitHub Copilot**: Open the Chat view (`⌃⌘I` on Mac, `Ctrl+Alt+I` on Windows/Linux) and select **Agent** from the chat mode selector.
@@ -542,7 +542,7 @@ Each status change requires user verification and approval before proceeding.
542
542
  #### Greenfield Development
543
543
 
544
544
  - Business analysis and market research
545
- - Product requirements and feature definition
545
+ - Product requirements and feature definition
546
546
  - System architecture and design
547
547
  - Development execution
548
548
  - Testing and deployment
@@ -651,8 +651,11 @@ Templates with Level 2 headings (`##`) can be automatically sharded:
651
651
 
652
652
  ```markdown
653
653
  ## Goals and Background Context
654
- ## Requirements
654
+
655
+ ## Requirements
656
+
655
657
  ## User Interface Design Goals
658
+
656
659
  ## Success Metrics
657
660
  ```
658
661
 
@@ -3,16 +3,19 @@
3
3
  ## Core Reflective Methods
4
4
 
5
5
  **Expand or Contract for Audience**
6
+
6
7
  - Ask whether to 'expand' (add detail, elaborate) or 'contract' (simplify, clarify)
7
8
  - Identify specific target audience if relevant
8
9
  - Tailor content complexity and depth accordingly
9
10
 
10
11
  **Explain Reasoning (CoT Step-by-Step)**
12
+
11
13
  - Walk through the step-by-step thinking process
12
14
  - Reveal underlying assumptions and decision points
13
15
  - Show how conclusions were reached from current role's perspective
14
16
 
15
17
  **Critique and Refine**
18
+
16
19
  - Review output for flaws, inconsistencies, or improvement areas
17
20
  - Identify specific weaknesses from role's expertise
18
21
  - Suggest refined version reflecting domain knowledge
@@ -20,12 +23,14 @@
20
23
  ## Structural Analysis Methods
21
24
 
22
25
  **Analyze Logical Flow and Dependencies**
26
+
23
27
  - Examine content structure for logical progression
24
28
  - Check internal consistency and coherence
25
29
  - Identify and validate dependencies between elements
26
30
  - Confirm effective ordering and sequencing
27
31
 
28
32
  **Assess Alignment with Overall Goals**
33
+
29
34
  - Evaluate content contribution to stated objectives
30
35
  - Identify any misalignments or gaps
31
36
  - Interpret alignment from specific role's perspective
@@ -34,12 +39,14 @@
34
39
  ## Risk and Challenge Methods
35
40
 
36
41
  **Identify Potential Risks and Unforeseen Issues**
42
+
37
43
  - Brainstorm potential risks from role's expertise
38
44
  - Identify overlooked edge cases or scenarios
39
45
  - Anticipate unintended consequences
40
46
  - Highlight implementation challenges
41
47
 
42
48
  **Challenge from Critical Perspective**
49
+
43
50
  - Adopt critical stance on current content
44
51
  - Play devil's advocate from specified viewpoint
45
52
  - Argue against proposal highlighting weaknesses
@@ -48,12 +55,14 @@
48
55
  ## Creative Exploration Methods
49
56
 
50
57
  **Tree of Thoughts Deep Dive**
58
+
51
59
  - Break problem into discrete "thoughts" or intermediate steps
52
60
  - Explore multiple reasoning paths simultaneously
53
61
  - Use self-evaluation to classify each path as "sure", "likely", or "impossible"
54
62
  - Apply search algorithms (BFS/DFS) to find optimal solution paths
55
63
 
56
64
  **Hindsight is 20/20: The 'If Only...' Reflection**
65
+
57
66
  - Imagine retrospective scenario based on current content
58
67
  - Identify the one "if only we had known/done X..." insight
59
68
  - Describe imagined consequences humorously or dramatically
@@ -62,6 +71,7 @@
62
71
  ## Multi-Persona Collaboration Methods
63
72
 
64
73
  **Agile Team Perspective Shift**
74
+
65
75
  - Rotate through different Scrum team member viewpoints
66
76
  - Product Owner: Focus on user value and business impact
67
77
  - Scrum Master: Examine process flow and team dynamics
@@ -69,12 +79,14 @@
69
79
  - QA: Identify testing scenarios and quality concerns
70
80
 
71
81
  **Stakeholder Round Table**
82
+
72
83
  - Convene virtual meeting with multiple personas
73
84
  - Each persona contributes unique perspective on content
74
85
  - Identify conflicts and synergies between viewpoints
75
86
  - Synthesize insights into actionable recommendations
76
87
 
77
88
  **Meta-Prompting Analysis**
89
+
78
90
  - Step back to analyze the structure and logic of current approach
79
91
  - Question the format and methodology being used
80
92
  - Suggest alternative frameworks or mental models
@@ -83,24 +95,28 @@
83
95
  ## Advanced 2025 Techniques
84
96
 
85
97
  **Self-Consistency Validation**
98
+
86
99
  - Generate multiple reasoning paths for same problem
87
100
  - Compare consistency across different approaches
88
101
  - Identify most reliable and robust solution
89
102
  - Highlight areas where approaches diverge and why
90
103
 
91
104
  **ReWOO (Reasoning Without Observation)**
105
+
92
106
  - Separate parametric reasoning from tool-based actions
93
107
  - Create reasoning plan without external dependencies
94
108
  - Identify what can be solved through pure reasoning
95
109
  - Optimize for efficiency and reduced token usage
96
110
 
97
111
  **Persona-Pattern Hybrid**
112
+
98
113
  - Combine specific role expertise with elicitation pattern
99
114
  - Architect + Risk Analysis: Deep technical risk assessment
100
115
  - UX Expert + User Journey: End-to-end experience critique
101
116
  - PM + Stakeholder Analysis: Multi-perspective impact review
102
117
 
103
118
  **Emergent Collaboration Discovery**
119
+
104
120
  - Allow multiple perspectives to naturally emerge
105
121
  - Identify unexpected insights from persona interactions
106
122
  - Explore novel combinations of viewpoints
@@ -109,18 +125,21 @@
109
125
  ## Game-Based Elicitation Methods
110
126
 
111
127
  **Red Team vs Blue Team**
128
+
112
129
  - Red Team: Attack the proposal, find vulnerabilities
113
130
  - Blue Team: Defend and strengthen the approach
114
131
  - Competitive analysis reveals blind spots
115
132
  - Results in more robust, battle-tested solutions
116
133
 
117
134
  **Innovation Tournament**
135
+
118
136
  - Pit multiple alternative approaches against each other
119
137
  - Score each approach across different criteria
120
138
  - Crowd-source evaluation from different personas
121
139
  - Identify winning combination of features
122
140
 
123
141
  **Escape Room Challenge**
142
+
124
143
  - Present content as constraints to work within
125
144
  - Find creative solutions within tight limitations
126
145
  - Identify minimum viable approach
@@ -129,6 +148,7 @@
129
148
  ## Process Control
130
149
 
131
150
  **Proceed / No Further Actions**
151
+
132
152
  - Acknowledge choice to finalize current work
133
153
  - Accept output as-is or move to next step
134
154
  - Prepare to continue without additional elicitation
@@ -0,0 +1,146 @@
1
+ # Test Levels Framework
2
+
3
+ Comprehensive guide for determining appropriate test levels (unit, integration, E2E) for different scenarios.
4
+
5
+ ## Test Level Decision Matrix
6
+
7
+ ### Unit Tests
8
+
9
+ **When to use:**
10
+
11
+ - Testing pure functions and business logic
12
+ - Algorithm correctness
13
+ - Input validation and data transformation
14
+ - Error handling in isolated components
15
+ - Complex calculations or state machines
16
+
17
+ **Characteristics:**
18
+
19
+ - Fast execution (immediate feedback)
20
+ - No external dependencies (DB, API, file system)
21
+ - Highly maintainable and stable
22
+ - Easy to debug failures
23
+
24
+ **Example scenarios:**
25
+
26
+ ```yaml
27
+ unit_test:
28
+ component: 'PriceCalculator'
29
+ scenario: 'Calculate discount with multiple rules'
30
+ justification: 'Complex business logic with multiple branches'
31
+ mock_requirements: 'None - pure function'
32
+ ```
33
+
34
+ ### Integration Tests
35
+
36
+ **When to use:**
37
+
38
+ - Component interaction verification
39
+ - Database operations and transactions
40
+ - API endpoint contracts
41
+ - Service-to-service communication
42
+ - Middleware and interceptor behavior
43
+
44
+ **Characteristics:**
45
+
46
+ - Moderate execution time
47
+ - Tests component boundaries
48
+ - May use test databases or containers
49
+ - Validates system integration points
50
+
51
+ **Example scenarios:**
52
+
53
+ ```yaml
54
+ integration_test:
55
+ components: ['UserService', 'AuthRepository']
56
+ scenario: 'Create user with role assignment'
57
+ justification: 'Critical data flow between service and persistence'
58
+ test_environment: 'In-memory database'
59
+ ```
60
+
61
+ ### End-to-End Tests
62
+
63
+ **When to use:**
64
+
65
+ - Critical user journeys
66
+ - Cross-system workflows
67
+ - Visual regression testing
68
+ - Compliance and regulatory requirements
69
+ - Final validation before release
70
+
71
+ **Characteristics:**
72
+
73
+ - Slower execution
74
+ - Tests complete workflows
75
+ - Requires full environment setup
76
+ - Most realistic but most brittle
77
+
78
+ **Example scenarios:**
79
+
80
+ ```yaml
81
+ e2e_test:
82
+ journey: 'Complete checkout process'
83
+ scenario: 'User purchases with saved payment method'
84
+ justification: 'Revenue-critical path requiring full validation'
85
+ environment: 'Staging with test payment gateway'
86
+ ```
87
+
88
+ ## Test Level Selection Rules
89
+
90
+ ### Favor Unit Tests When:
91
+
92
+ - Logic can be isolated
93
+ - No side effects involved
94
+ - Fast feedback needed
95
+ - High cyclomatic complexity
96
+
97
+ ### Favor Integration Tests When:
98
+
99
+ - Testing persistence layer
100
+ - Validating service contracts
101
+ - Testing middleware/interceptors
102
+ - Component boundaries critical
103
+
104
+ ### Favor E2E Tests When:
105
+
106
+ - User-facing critical paths
107
+ - Multi-system interactions
108
+ - Regulatory compliance scenarios
109
+ - Visual regression important
110
+
111
+ ## Anti-patterns to Avoid
112
+
113
+ - E2E testing for business logic validation
114
+ - Unit testing framework behavior
115
+ - Integration testing third-party libraries
116
+ - Duplicate coverage across levels
117
+
118
+ ## Duplicate Coverage Guard
119
+
120
+ **Before adding any test, check:**
121
+
122
+ 1. Is this already tested at a lower level?
123
+ 2. Can a unit test cover this instead of integration?
124
+ 3. Can an integration test cover this instead of E2E?
125
+
126
+ **Coverage overlap is only acceptable when:**
127
+
128
+ - Testing different aspects (unit: logic, integration: interaction, e2e: user experience)
129
+ - Critical paths requiring defense in depth
130
+ - Regression prevention for previously broken functionality
131
+
132
+ ## Test Naming Conventions
133
+
134
+ - Unit: `test_{component}_{scenario}`
135
+ - Integration: `test_{flow}_{interaction}`
136
+ - E2E: `test_{journey}_{outcome}`
137
+
138
+ ## Test ID Format
139
+
140
+ `{EPIC}.{STORY}-{LEVEL}-{SEQ}`
141
+
142
+ Examples:
143
+
144
+ - `1.3-UNIT-001`
145
+ - `1.3-INT-002`
146
+ - `1.3-E2E-001`
@@ -0,0 +1,172 @@
1
+ # Test Priorities Matrix
2
+
3
+ Guide for prioritizing test scenarios based on risk, criticality, and business impact.
4
+
5
+ ## Priority Levels
6
+
7
+ ### P0 - Critical (Must Test)
8
+
9
+ **Criteria:**
10
+
11
+ - Revenue-impacting functionality
12
+ - Security-critical paths
13
+ - Data integrity operations
14
+ - Regulatory compliance requirements
15
+ - Previously broken functionality (regression prevention)
16
+
17
+ **Examples:**
18
+
19
+ - Payment processing
20
+ - Authentication/authorization
21
+ - User data creation/deletion
22
+ - Financial calculations
23
+ - GDPR/privacy compliance
24
+
25
+ **Testing Requirements:**
26
+
27
+ - Comprehensive coverage at all levels
28
+ - Both happy and unhappy paths
29
+ - Edge cases and error scenarios
30
+ - Performance under load
31
+
32
+ ### P1 - High (Should Test)
33
+
34
+ **Criteria:**
35
+
36
+ - Core user journeys
37
+ - Frequently used features
38
+ - Features with complex logic
39
+ - Integration points between systems
40
+ - Features affecting user experience
41
+
42
+ **Examples:**
43
+
44
+ - User registration flow
45
+ - Search functionality
46
+ - Data import/export
47
+ - Notification systems
48
+ - Dashboard displays
49
+
50
+ **Testing Requirements:**
51
+
52
+ - Primary happy paths required
53
+ - Key error scenarios
54
+ - Critical edge cases
55
+ - Basic performance validation
56
+
57
+ ### P2 - Medium (Nice to Test)
58
+
59
+ **Criteria:**
60
+
61
+ - Secondary features
62
+ - Admin functionality
63
+ - Reporting features
64
+ - Configuration options
65
+ - UI polish and aesthetics
66
+
67
+ **Examples:**
68
+
69
+ - Admin settings panels
70
+ - Report generation
71
+ - Theme customization
72
+ - Help documentation
73
+ - Analytics tracking
74
+
75
+ **Testing Requirements:**
76
+
77
+ - Happy path coverage
78
+ - Basic error handling
79
+ - Can defer edge cases
80
+
81
+ ### P3 - Low (Test if Time Permits)
82
+
83
+ **Criteria:**
84
+
85
+ - Rarely used features
86
+ - Nice-to-have functionality
87
+ - Cosmetic issues
88
+ - Non-critical optimizations
89
+
90
+ **Examples:**
91
+
92
+ - Advanced preferences
93
+ - Legacy feature support
94
+ - Experimental features
95
+ - Debug utilities
96
+
97
+ **Testing Requirements:**
98
+
99
+ - Smoke tests only
100
+ - Can rely on manual testing
101
+ - Document known limitations
102
+
103
+ ## Risk-Based Priority Adjustments
104
+
105
+ ### Increase Priority When:
106
+
107
+ - High user impact (affects >50% of users)
108
+ - High financial impact (>$10K potential loss)
109
+ - Security vulnerability potential
110
+ - Compliance/legal requirements
111
+ - Customer-reported issues
112
+ - Complex implementation (>500 LOC)
113
+ - Multiple system dependencies
114
+
115
+ ### Decrease Priority When:
116
+
117
+ - Feature flag protected
118
+ - Gradual rollout planned
119
+ - Strong monitoring in place
120
+ - Easy rollback capability
121
+ - Low usage metrics
122
+ - Simple implementation
123
+ - Well-isolated component
124
+
125
+ ## Test Coverage by Priority
126
+
127
+ | Priority | Unit Coverage | Integration Coverage | E2E Coverage |
128
+ | -------- | ------------- | -------------------- | ------------------ |
129
+ | P0 | >90% | >80% | All critical paths |
130
+ | P1 | >80% | >60% | Main happy paths |
131
+ | P2 | >60% | >40% | Smoke tests |
132
+ | P3 | Best effort | Best effort | Manual only |
133
+
134
+ ## Priority Assignment Rules
135
+
136
+ 1. **Start with business impact** - What happens if this fails?
137
+ 2. **Consider probability** - How likely is failure?
138
+ 3. **Factor in detectability** - Would we know if it failed?
139
+ 4. **Account for recoverability** - Can we fix it quickly?
140
+
141
+ ## Priority Decision Tree
142
+
143
+ ```
144
+ Is it revenue-critical?
145
+ ├─ YES → P0
146
+ └─ NO → Does it affect core user journey?
147
+ ├─ YES → Is it high-risk?
148
+ │ ├─ YES → P0
149
+ │ └─ NO → P1
150
+ └─ NO → Is it frequently used?
151
+ ├─ YES → P1
152
+ └─ NO → Is it customer-facing?
153
+ ├─ YES → P2
154
+ └─ NO → P3
155
+ ```
156
+
157
+ ## Test Execution Order
158
+
159
+ 1. Execute P0 tests first (fail fast on critical issues)
160
+ 2. Execute P1 tests second (core functionality)
161
+ 3. Execute P2 tests if time permits
162
+ 4. P3 tests only in full regression cycles
163
+
164
+ ## Continuous Adjustment
165
+
166
+ Review and adjust priorities based on:
167
+
168
+ - Production incident patterns
169
+ - User feedback and complaints
170
+ - Usage analytics
171
+ - Test failure history
172
+ - Business priority changes