bmad-method 4.37.0 → 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 (251) 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 +2 -23
  9. package/README.md +2 -0
  10. package/bmad-core/agent-teams/team-all.yaml +1 -1
  11. package/bmad-core/agents/analyst.md +16 -15
  12. package/bmad-core/agents/architect.md +11 -11
  13. package/bmad-core/agents/bmad-master.md +23 -22
  14. package/bmad-core/agents/bmad-orchestrator.md +13 -17
  15. package/bmad-core/agents/dev.md +14 -11
  16. package/bmad-core/agents/pm.md +15 -14
  17. package/bmad-core/agents/po.md +9 -8
  18. package/bmad-core/agents/qa.md +42 -22
  19. package/bmad-core/agents/sm.md +7 -6
  20. package/bmad-core/agents/ux-expert.md +6 -5
  21. package/bmad-core/core-config.yaml +2 -0
  22. package/bmad-core/data/bmad-kb.md +1 -1
  23. package/bmad-core/data/test-levels-framework.md +146 -0
  24. package/bmad-core/data/test-priorities-matrix.md +172 -0
  25. package/bmad-core/tasks/apply-qa-fixes.md +148 -0
  26. package/bmad-core/tasks/facilitate-brainstorming-session.md +1 -1
  27. package/bmad-core/tasks/nfr-assess.md +343 -0
  28. package/bmad-core/tasks/qa-gate.md +161 -0
  29. package/bmad-core/tasks/review-story.md +234 -74
  30. package/bmad-core/tasks/risk-profile.md +353 -0
  31. package/bmad-core/tasks/test-design.md +174 -0
  32. package/bmad-core/tasks/trace-requirements.md +264 -0
  33. package/bmad-core/templates/architecture-tmpl.yaml +49 -49
  34. package/bmad-core/templates/brainstorming-output-tmpl.yaml +5 -5
  35. package/bmad-core/templates/brownfield-architecture-tmpl.yaml +31 -31
  36. package/bmad-core/templates/brownfield-prd-tmpl.yaml +13 -13
  37. package/bmad-core/templates/competitor-analysis-tmpl.yaml +19 -6
  38. package/bmad-core/templates/front-end-architecture-tmpl.yaml +21 -9
  39. package/bmad-core/templates/front-end-spec-tmpl.yaml +24 -24
  40. package/bmad-core/templates/fullstack-architecture-tmpl.yaml +122 -104
  41. package/bmad-core/templates/market-research-tmpl.yaml +2 -2
  42. package/bmad-core/templates/prd-tmpl.yaml +9 -9
  43. package/bmad-core/templates/project-brief-tmpl.yaml +4 -4
  44. package/bmad-core/templates/qa-gate-tmpl.yaml +102 -0
  45. package/bmad-core/templates/story-tmpl.yaml +12 -12
  46. package/bmad-core/workflows/brownfield-fullstack.yaml +9 -9
  47. package/bmad-core/workflows/brownfield-service.yaml +1 -1
  48. package/bmad-core/workflows/brownfield-ui.yaml +1 -1
  49. package/bmad-core/workflows/greenfield-fullstack.yaml +1 -1
  50. package/bmad-core/workflows/greenfield-service.yaml +1 -1
  51. package/bmad-core/workflows/greenfield-ui.yaml +1 -1
  52. package/common/utils/bmad-doc-template.md +5 -5
  53. package/dist/agents/analyst.txt +1086 -1079
  54. package/dist/agents/architect.txt +1534 -1526
  55. package/dist/agents/bmad-master.txt +646 -632
  56. package/dist/agents/bmad-orchestrator.txt +40 -18
  57. package/dist/agents/dev.txt +158 -19
  58. package/dist/agents/pm.txt +1082 -1107
  59. package/dist/agents/po.txt +314 -332
  60. package/dist/agents/qa.txt +1754 -151
  61. package/dist/agents/sm.txt +88 -98
  62. package/dist/agents/ux-expert.txt +80 -87
  63. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.txt +109 -146
  64. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.txt +75 -86
  65. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.txt +41 -48
  66. package/dist/expansion-packs/bmad-2d-phaser-game-dev/teams/phaser-2d-nodejs-game-team.txt +1903 -1941
  67. package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-architect.txt +15 -50
  68. package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-designer.txt +149 -195
  69. package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-developer.txt +0 -15
  70. package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-sm.txt +20 -37
  71. package/dist/expansion-packs/bmad-2d-unity-game-dev/teams/unity-2d-game-team.txt +2660 -2752
  72. package/dist/expansion-packs/bmad-creative-writing/agents/beta-reader.txt +871 -0
  73. package/dist/expansion-packs/bmad-creative-writing/agents/book-critic.txt +78 -0
  74. package/dist/expansion-packs/bmad-creative-writing/agents/character-psychologist.txt +839 -0
  75. package/dist/expansion-packs/bmad-creative-writing/agents/cover-designer.txt +85 -0
  76. package/dist/expansion-packs/bmad-creative-writing/agents/dialog-specialist.txt +861 -0
  77. package/dist/expansion-packs/bmad-creative-writing/agents/editor.txt +796 -0
  78. package/dist/expansion-packs/bmad-creative-writing/agents/genre-specialist.txt +927 -0
  79. package/dist/expansion-packs/bmad-creative-writing/agents/narrative-designer.txt +842 -0
  80. package/dist/expansion-packs/bmad-creative-writing/agents/plot-architect.txt +1126 -0
  81. package/dist/expansion-packs/bmad-creative-writing/agents/world-builder.txt +864 -0
  82. package/dist/expansion-packs/bmad-creative-writing/teams/agent-team.txt +5917 -0
  83. package/dist/expansion-packs/bmad-infrastructure-devops/agents/infra-devops-platform.txt +25 -27
  84. package/dist/teams/team-all.txt +5541 -3768
  85. package/dist/teams/team-fullstack.txt +3014 -2987
  86. package/dist/teams/team-ide-minimal.txt +2219 -469
  87. package/dist/teams/team-no-ui.txt +2993 -2966
  88. package/docs/enhanced-ide-development-workflow.md +220 -15
  89. package/docs/user-guide.md +271 -18
  90. package/docs/versioning-and-releases.md +122 -44
  91. package/docs/working-in-the-brownfield.md +264 -31
  92. package/eslint.config.mjs +119 -0
  93. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.md +4 -4
  94. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.md +1 -1
  95. package/expansion-packs/bmad-2d-phaser-game-dev/config.yaml +1 -1
  96. package/expansion-packs/bmad-2d-phaser-game-dev/data/development-guidelines.md +26 -28
  97. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-architecture-tmpl.yaml +50 -50
  98. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-brief-tmpl.yaml +23 -23
  99. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-design-doc-tmpl.yaml +24 -24
  100. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-story-tmpl.yaml +42 -42
  101. package/expansion-packs/bmad-2d-phaser-game-dev/templates/level-design-doc-tmpl.yaml +65 -65
  102. package/expansion-packs/bmad-2d-phaser-game-dev/workflows/game-dev-greenfield.yaml +5 -5
  103. package/expansion-packs/bmad-2d-phaser-game-dev/workflows/game-prototype.yaml +1 -1
  104. package/expansion-packs/bmad-2d-unity-game-dev/agents/game-developer.md +3 -3
  105. package/expansion-packs/bmad-2d-unity-game-dev/config.yaml +1 -1
  106. package/expansion-packs/bmad-2d-unity-game-dev/data/bmad-kb.md +1 -1
  107. package/expansion-packs/bmad-2d-unity-game-dev/templates/game-brief-tmpl.yaml +23 -23
  108. package/expansion-packs/bmad-2d-unity-game-dev/templates/game-design-doc-tmpl.yaml +63 -63
  109. package/expansion-packs/bmad-2d-unity-game-dev/templates/game-story-tmpl.yaml +20 -20
  110. package/expansion-packs/bmad-2d-unity-game-dev/templates/level-design-doc-tmpl.yaml +65 -65
  111. package/expansion-packs/bmad-2d-unity-game-dev/workflows/game-dev-greenfield.yaml +5 -5
  112. package/expansion-packs/bmad-2d-unity-game-dev/workflows/game-prototype.yaml +1 -1
  113. package/expansion-packs/bmad-creative-writing/README.md +132 -0
  114. package/expansion-packs/bmad-creative-writing/agent-teams/agent-team.yaml +19 -0
  115. package/expansion-packs/bmad-creative-writing/agents/beta-reader.md +91 -0
  116. package/expansion-packs/bmad-creative-writing/agents/book-critic.md +35 -0
  117. package/expansion-packs/bmad-creative-writing/agents/character-psychologist.md +90 -0
  118. package/expansion-packs/bmad-creative-writing/agents/cover-designer.md +41 -0
  119. package/expansion-packs/bmad-creative-writing/agents/dialog-specialist.md +89 -0
  120. package/expansion-packs/bmad-creative-writing/agents/editor.md +90 -0
  121. package/expansion-packs/bmad-creative-writing/agents/genre-specialist.md +92 -0
  122. package/expansion-packs/bmad-creative-writing/agents/narrative-designer.md +90 -0
  123. package/expansion-packs/bmad-creative-writing/agents/plot-architect.md +92 -0
  124. package/expansion-packs/bmad-creative-writing/agents/world-builder.md +91 -0
  125. package/expansion-packs/bmad-creative-writing/checklists/beta-feedback-closure-checklist.md +16 -0
  126. package/expansion-packs/bmad-creative-writing/checklists/character-consistency-checklist.md +16 -0
  127. package/expansion-packs/bmad-creative-writing/checklists/comedic-timing-checklist.md +16 -0
  128. package/expansion-packs/bmad-creative-writing/checklists/cyberpunk-aesthetic-checklist.md +16 -0
  129. package/expansion-packs/bmad-creative-writing/checklists/ebook-formatting-checklist.md +15 -0
  130. package/expansion-packs/bmad-creative-writing/checklists/epic-poetry-meter-checklist.md +16 -0
  131. package/expansion-packs/bmad-creative-writing/checklists/fantasy-magic-system-checklist.md +16 -0
  132. package/expansion-packs/bmad-creative-writing/checklists/foreshadowing-payoff-checklist.md +15 -0
  133. package/expansion-packs/bmad-creative-writing/checklists/genre-tropes-checklist.md +15 -0
  134. package/expansion-packs/bmad-creative-writing/checklists/historical-accuracy-checklist.md +16 -0
  135. package/expansion-packs/bmad-creative-writing/checklists/horror-suspense-checklist.md +16 -0
  136. package/expansion-packs/bmad-creative-writing/checklists/kdp-cover-ready-checklist.md +18 -0
  137. package/expansion-packs/bmad-creative-writing/checklists/line-edit-quality-checklist.md +16 -0
  138. package/expansion-packs/bmad-creative-writing/checklists/marketing-copy-checklist.md +16 -0
  139. package/expansion-packs/bmad-creative-writing/checklists/mystery-clue-trail-checklist.md +16 -0
  140. package/expansion-packs/bmad-creative-writing/checklists/orbital-mechanics-checklist.md +16 -0
  141. package/expansion-packs/bmad-creative-writing/checklists/plot-structure-checklist.md +49 -0
  142. package/expansion-packs/bmad-creative-writing/checklists/publication-readiness-checklist.md +16 -0
  143. package/expansion-packs/bmad-creative-writing/checklists/romance-emotional-beats-checklist.md +16 -0
  144. package/expansion-packs/bmad-creative-writing/checklists/scene-quality-checklist.md +16 -0
  145. package/expansion-packs/bmad-creative-writing/checklists/scifi-technology-plausibility-checklist.md +15 -0
  146. package/expansion-packs/bmad-creative-writing/checklists/sensitivity-representation-checklist.md +16 -0
  147. package/expansion-packs/bmad-creative-writing/checklists/steampunk-gadget-checklist.md +16 -0
  148. package/expansion-packs/bmad-creative-writing/checklists/thriller-pacing-stakes-checklist.md +16 -0
  149. package/expansion-packs/bmad-creative-writing/checklists/timeline-continuity-checklist.md +16 -0
  150. package/expansion-packs/bmad-creative-writing/checklists/world-building-continuity-checklist.md +16 -0
  151. package/expansion-packs/bmad-creative-writing/checklists/ya-appropriateness-checklist.md +16 -0
  152. package/expansion-packs/bmad-creative-writing/config.yaml +11 -0
  153. package/expansion-packs/bmad-creative-writing/data/bmad-kb.md +197 -0
  154. package/expansion-packs/bmad-creative-writing/data/story-structures.md +58 -0
  155. package/expansion-packs/bmad-creative-writing/docs/brief.md +183 -0
  156. package/expansion-packs/bmad-creative-writing/tasks/advanced-elicitation.md +117 -0
  157. package/expansion-packs/bmad-creative-writing/tasks/analyze-reader-feedback.md +16 -0
  158. package/expansion-packs/bmad-creative-writing/tasks/analyze-story-structure.md +55 -0
  159. package/expansion-packs/bmad-creative-writing/tasks/assemble-kdp-package.md +22 -0
  160. package/expansion-packs/bmad-creative-writing/tasks/brainstorm-premise.md +16 -0
  161. package/expansion-packs/bmad-creative-writing/tasks/build-world.md +17 -0
  162. package/expansion-packs/bmad-creative-writing/tasks/character-depth-pass.md +15 -0
  163. package/expansion-packs/bmad-creative-writing/tasks/create-doc.md +101 -0
  164. package/expansion-packs/bmad-creative-writing/tasks/create-draft-section.md +19 -0
  165. package/expansion-packs/bmad-creative-writing/tasks/critical-review.md +19 -0
  166. package/expansion-packs/bmad-creative-writing/tasks/develop-character.md +17 -0
  167. package/expansion-packs/bmad-creative-writing/tasks/execute-checklist.md +93 -0
  168. package/expansion-packs/bmad-creative-writing/tasks/expand-premise.md +16 -0
  169. package/expansion-packs/bmad-creative-writing/tasks/expand-synopsis.md +16 -0
  170. package/expansion-packs/bmad-creative-writing/tasks/final-polish.md +16 -0
  171. package/expansion-packs/bmad-creative-writing/tasks/generate-cover-brief.md +18 -0
  172. package/expansion-packs/bmad-creative-writing/tasks/generate-cover-prompts.md +19 -0
  173. package/expansion-packs/bmad-creative-writing/tasks/generate-scene-list.md +16 -0
  174. package/expansion-packs/bmad-creative-writing/tasks/incorporate-feedback.md +18 -0
  175. package/expansion-packs/bmad-creative-writing/tasks/outline-scenes.md +16 -0
  176. package/expansion-packs/bmad-creative-writing/tasks/provide-feedback.md +17 -0
  177. package/expansion-packs/bmad-creative-writing/tasks/publish-chapter.md +16 -0
  178. package/expansion-packs/bmad-creative-writing/tasks/quick-feedback.md +15 -0
  179. package/expansion-packs/bmad-creative-writing/tasks/select-next-arc.md +16 -0
  180. package/expansion-packs/bmad-creative-writing/tasks/workshop-dialog.md +51 -0
  181. package/expansion-packs/bmad-creative-writing/templates/beta-feedback-form.yaml +96 -0
  182. package/expansion-packs/bmad-creative-writing/templates/chapter-draft-tmpl.yaml +81 -0
  183. package/expansion-packs/bmad-creative-writing/templates/character-profile-tmpl.yaml +92 -0
  184. package/expansion-packs/bmad-creative-writing/templates/cover-design-brief-tmpl.yaml +97 -0
  185. package/expansion-packs/bmad-creative-writing/templates/premise-brief-tmpl.yaml +77 -0
  186. package/expansion-packs/bmad-creative-writing/templates/scene-list-tmpl.yaml +54 -0
  187. package/expansion-packs/bmad-creative-writing/templates/story-outline-tmpl.yaml +96 -0
  188. package/expansion-packs/bmad-creative-writing/templates/world-guide-tmpl.yaml +88 -0
  189. package/expansion-packs/bmad-creative-writing/workflows/book-cover-design-workflow.md +176 -0
  190. package/expansion-packs/bmad-creative-writing/workflows/novel-greenfield-workflow.yaml +58 -0
  191. package/expansion-packs/bmad-creative-writing/workflows/novel-serial-workflow.yaml +51 -0
  192. package/expansion-packs/bmad-creative-writing/workflows/novel-snowflake-workflow.yaml +69 -0
  193. package/expansion-packs/bmad-creative-writing/workflows/novel-writing.yaml +92 -0
  194. package/expansion-packs/bmad-creative-writing/workflows/screenplay-development.yaml +86 -0
  195. package/expansion-packs/bmad-creative-writing/workflows/series-planning.yaml +79 -0
  196. package/expansion-packs/bmad-creative-writing/workflows/short-story-creation.yaml +65 -0
  197. package/expansion-packs/bmad-infrastructure-devops/config.yaml +1 -1
  198. package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-architecture-tmpl.yaml +20 -20
  199. package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-platform-from-arch-tmpl.yaml +7 -7
  200. package/package.json +62 -39
  201. package/prettier.config.mjs +32 -0
  202. package/sync-version.sh +23 -0
  203. package/tools/bmad-npx-wrapper.js +10 -10
  204. package/tools/builders/web-builder.js +124 -130
  205. package/tools/bump-all-versions.js +42 -33
  206. package/tools/bump-expansion-version.js +23 -16
  207. package/tools/cli.js +10 -12
  208. package/tools/flattener/aggregate.js +10 -10
  209. package/tools/flattener/binary.js +44 -17
  210. package/tools/flattener/discovery.js +19 -18
  211. package/tools/flattener/files.js +6 -6
  212. package/tools/flattener/ignoreRules.js +125 -125
  213. package/tools/flattener/main.js +426 -70
  214. package/tools/flattener/projectRoot.js +186 -25
  215. package/tools/flattener/prompts.js +9 -9
  216. package/tools/flattener/stats.helpers.js +395 -0
  217. package/tools/flattener/stats.js +64 -14
  218. package/tools/flattener/test-matrix.js +413 -0
  219. package/tools/flattener/xml.js +33 -31
  220. package/tools/installer/bin/bmad.js +156 -113
  221. package/tools/installer/config/ide-agent-config.yaml +1 -1
  222. package/tools/installer/config/install.config.yaml +13 -3
  223. package/tools/installer/lib/config-loader.js +46 -42
  224. package/tools/installer/lib/file-manager.js +91 -113
  225. package/tools/installer/lib/ide-base-setup.js +57 -56
  226. package/tools/installer/lib/ide-setup.js +545 -399
  227. package/tools/installer/lib/installer.js +875 -714
  228. package/tools/installer/lib/memory-profiler.js +54 -53
  229. package/tools/installer/lib/module-manager.js +19 -15
  230. package/tools/installer/lib/resource-locator.js +26 -28
  231. package/tools/installer/package.json +19 -19
  232. package/tools/lib/dependency-resolver.js +26 -30
  233. package/tools/lib/yaml-utils.js +7 -7
  234. package/tools/preview-release-notes.js +66 -0
  235. package/tools/shared/bannerArt.js +3 -3
  236. package/tools/sync-installer-version.js +7 -9
  237. package/tools/update-expansion-version.js +14 -15
  238. package/tools/upgraders/v3-to-v4-upgrader.js +203 -294
  239. package/tools/version-bump.js +41 -26
  240. package/tools/yaml-format.js +56 -43
  241. package/.github/workflows/release.yaml +0 -60
  242. package/.releaserc.json +0 -21
  243. package/expansion-packs/Complete AI Agent System - Blank Templates & Google Cloud Setup/Complete AI Agent System - Flowchart.svg +0 -102
  244. 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
  245. 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
  246. 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
  247. 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
  248. 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
  249. 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
  250. package/expansion-packs/Complete AI Agent System - Blank Templates & Google Cloud Setup/README.md +0 -109
  251. package/tools/semantic-release-sync-installer.js +0 -30
@@ -75,29 +75,102 @@ persona:
75
75
  - Documentation Ecosystem Integrity - Maintain consistency across all documents
76
76
  commands:
77
77
  - help: Show numbered list of the following commands to allow selection
78
- - execute-checklist-po: Run task execute-checklist (checklist po-master-checklist)
79
- - shard-doc {document} {destination}: run the task shard-doc against the optionally provided document to the specified destination
80
78
  - correct-course: execute the correct-course task
81
79
  - create-epic: Create epic for brownfield projects (task brownfield-create-epic)
82
80
  - create-story: Create user story from requirements (task brownfield-create-story)
83
81
  - doc-out: Output full document to current destination file
82
+ - execute-checklist-po: Run task execute-checklist (checklist po-master-checklist)
83
+ - shard-doc {document} {destination}: run the task shard-doc against the optionally provided document to the specified destination
84
84
  - validate-story-draft {story}: run the task validate-next-story against the provided story file
85
85
  - yolo: Toggle Yolo Mode off on - on will skip doc section confirmations
86
86
  - exit: Exit (confirm)
87
87
  dependencies:
88
+ checklists:
89
+ - change-checklist.md
90
+ - po-master-checklist.md
88
91
  tasks:
92
+ - correct-course.md
89
93
  - execute-checklist.md
90
94
  - shard-doc.md
91
- - correct-course.md
92
95
  - validate-next-story.md
93
96
  templates:
94
97
  - story-tmpl.yaml
95
- checklists:
96
- - po-master-checklist.md
97
- - change-checklist.md
98
98
  ```
99
99
  ==================== END: .bmad-core/agents/po.md ====================
100
100
 
101
+ ==================== START: .bmad-core/tasks/correct-course.md ====================
102
+ # Correct Course Task
103
+
104
+ ## Purpose
105
+
106
+ - Guide a structured response to a change trigger using the `.bmad-core/checklists/change-checklist`.
107
+ - Analyze the impacts of the change on epics, project artifacts, and the MVP, guided by the checklist's structure.
108
+ - Explore potential solutions (e.g., adjust scope, rollback elements, re-scope features) as prompted by the checklist.
109
+ - Draft specific, actionable proposed updates to any affected project artifacts (e.g., epics, user stories, PRD sections, architecture document sections) based on the analysis.
110
+ - Produce a consolidated "Sprint Change Proposal" document that contains the impact analysis and the clearly drafted proposed edits for user review and approval.
111
+ - Ensure a clear handoff path if the nature of the changes necessitates fundamental replanning by other core agents (like PM or Architect).
112
+
113
+ ## Instructions
114
+
115
+ ### 1. Initial Setup & Mode Selection
116
+
117
+ - **Acknowledge Task & Inputs:**
118
+ - Confirm with the user that the "Correct Course Task" (Change Navigation & Integration) is being initiated.
119
+ - Verify the change trigger and ensure you have the user's initial explanation of the issue and its perceived impact.
120
+ - Confirm access to all relevant project artifacts (e.g., PRD, Epics/Stories, Architecture Documents, UI/UX Specifications) and, critically, the `.bmad-core/checklists/change-checklist`.
121
+ - **Establish Interaction Mode:**
122
+ - Ask the user their preferred interaction mode for this task:
123
+ - **"Incrementally (Default & Recommended):** Shall we work through the change-checklist section by section, discussing findings and collaboratively drafting proposed changes for each relevant part before moving to the next? This allows for detailed, step-by-step refinement."
124
+ - **"YOLO Mode (Batch Processing):** Or, would you prefer I conduct a more batched analysis based on the checklist and then present a consolidated set of findings and proposed changes for a broader review? This can be quicker for initial assessment but might require more extensive review of the combined proposals."
125
+ - Once the user chooses, confirm the selected mode and then inform the user: "We will now use the change-checklist to analyze the change and draft proposed updates. I will guide you through the checklist items based on our chosen interaction mode."
126
+
127
+ ### 2. Execute Checklist Analysis (Iteratively or Batched, per Interaction Mode)
128
+
129
+ - Systematically work through Sections 1-4 of the change-checklist (typically covering Change Context, Epic/Story Impact Analysis, Artifact Conflict Resolution, and Path Evaluation/Recommendation).
130
+ - For each checklist item or logical group of items (depending on interaction mode):
131
+ - Present the relevant prompt(s) or considerations from the checklist to the user.
132
+ - Request necessary information and actively analyze the relevant project artifacts (PRD, epics, architecture documents, story history, etc.) to assess the impact.
133
+ - Discuss your findings for each item with the user.
134
+ - Record the status of each checklist item (e.g., `[x] Addressed`, `[N/A]`, `[!] Further Action Needed`) and any pertinent notes or decisions.
135
+ - Collaboratively agree on the "Recommended Path Forward" as prompted by Section 4 of the checklist.
136
+
137
+ ### 3. Draft Proposed Changes (Iteratively or Batched)
138
+
139
+ - Based on the completed checklist analysis (Sections 1-4) and the agreed "Recommended Path Forward" (excluding scenarios requiring fundamental replans that would necessitate immediate handoff to PM/Architect):
140
+ - Identify the specific project artifacts that require updates (e.g., specific epics, user stories, PRD sections, architecture document components, diagrams).
141
+ - **Draft the proposed changes directly and explicitly for each identified artifact.** Examples include:
142
+ - Revising user story text, acceptance criteria, or priority.
143
+ - Adding, removing, reordering, or splitting user stories within epics.
144
+ - Proposing modified architecture diagram snippets (e.g., providing an updated Mermaid diagram block or a clear textual description of the change to an existing diagram).
145
+ - Updating technology lists, configuration details, or specific sections within the PRD or architecture documents.
146
+ - Drafting new, small supporting artifacts if necessary (e.g., a brief addendum for a specific decision).
147
+ - If in "Incremental Mode," discuss and refine these proposed edits for each artifact or small group of related artifacts with the user as they are drafted.
148
+ - If in "YOLO Mode," compile all drafted edits for presentation in the next step.
149
+
150
+ ### 4. Generate "Sprint Change Proposal" with Edits
151
+
152
+ - Synthesize the complete change-checklist analysis (covering findings from Sections 1-4) and all the agreed-upon proposed edits (from Instruction 3) into a single document titled "Sprint Change Proposal." This proposal should align with the structure suggested by Section 5 of the change-checklist.
153
+ - The proposal must clearly present:
154
+ - **Analysis Summary:** A concise overview of the original issue, its analyzed impact (on epics, artifacts, MVP scope), and the rationale for the chosen path forward.
155
+ - **Specific Proposed Edits:** For each affected artifact, clearly show or describe the exact changes (e.g., "Change Story X.Y from: [old text] To: [new text]", "Add new Acceptance Criterion to Story A.B: [new AC]", "Update Section 3.2 of Architecture Document as follows: [new/modified text or diagram description]").
156
+ - Present the complete draft of the "Sprint Change Proposal" to the user for final review and feedback. Incorporate any final adjustments requested by the user.
157
+
158
+ ### 5. Finalize & Determine Next Steps
159
+
160
+ - Obtain explicit user approval for the "Sprint Change Proposal," including all the specific edits documented within it.
161
+ - Provide the finalized "Sprint Change Proposal" document to the user.
162
+ - **Based on the nature of the approved changes:**
163
+ - **If the approved edits sufficiently address the change and can be implemented directly or organized by a PO/SM:** State that the "Correct Course Task" is complete regarding analysis and change proposal, and the user can now proceed with implementing or logging these changes (e.g., updating actual project documents, backlog items). Suggest handoff to a PO/SM agent for backlog organization if appropriate.
164
+ - **If the analysis and proposed path (as per checklist Section 4 and potentially Section 6) indicate that the change requires a more fundamental replan (e.g., significant scope change, major architectural rework):** Clearly state this conclusion. Advise the user that the next step involves engaging the primary PM or Architect agents, using the "Sprint Change Proposal" as critical input and context for that deeper replanning effort.
165
+
166
+ ## Output Deliverables
167
+
168
+ - **Primary:** A "Sprint Change Proposal" document (in markdown format). This document will contain:
169
+ - A summary of the change-checklist analysis (issue, impact, rationale for the chosen path).
170
+ - Specific, clearly drafted proposed edits for all affected project artifacts.
171
+ - **Implicit:** An annotated change-checklist (or the record of its completion) reflecting the discussions, findings, and decisions made during the process.
172
+ ==================== END: .bmad-core/tasks/correct-course.md ====================
173
+
101
174
  ==================== START: .bmad-core/tasks/execute-checklist.md ====================
102
175
  # Checklist Validation Task
103
176
 
@@ -110,7 +183,6 @@ If the user asks or does not specify a specific checklist, list the checklists a
110
183
  ## Instructions
111
184
 
112
185
  1. **Initial Assessment**
113
-
114
186
  - If user or the task being run provides a checklist name:
115
187
  - Try fuzzy matching (e.g. "architecture checklist" -> "architect-checklist")
116
188
  - If multiple matches found, ask user to clarify
@@ -123,14 +195,12 @@ If the user asks or does not specify a specific checklist, list the checklists a
123
195
  - All at once (YOLO mode - recommended for checklists, there will be a summary of sections at the end to discuss)
124
196
 
125
197
  2. **Document and Artifact Gathering**
126
-
127
198
  - Each checklist will specify its required documents/artifacts at the beginning
128
199
  - Follow the checklist's specific instructions for what to gather, generally a file can be resolved in the docs folder, if not or unsure, halt and ask or confirm with the user.
129
200
 
130
201
  3. **Checklist Processing**
131
202
 
132
203
  If in interactive mode:
133
-
134
204
  - Work through each section of the checklist one at a time
135
205
  - For each section:
136
206
  - Review all items in the section following instructions for that section embedded in the checklist
@@ -139,7 +209,6 @@ If the user asks or does not specify a specific checklist, list the checklists a
139
209
  - Get user confirmation before proceeding to next section or if any thing major do we need to halt and take corrective action
140
210
 
141
211
  If in YOLO mode:
142
-
143
212
  - Process all sections at once
144
213
  - Create a comprehensive report of all findings
145
214
  - Present the complete analysis to the user
@@ -147,7 +216,6 @@ If the user asks or does not specify a specific checklist, list the checklists a
147
216
  4. **Validation Approach**
148
217
 
149
218
  For each checklist item:
150
-
151
219
  - Read and understand the requirement
152
220
  - Look for evidence in the documentation that satisfies the requirement
153
221
  - Consider both explicit mentions and implicit coverage
@@ -161,7 +229,6 @@ If the user asks or does not specify a specific checklist, list the checklists a
161
229
  5. **Section Analysis**
162
230
 
163
231
  For each section:
164
-
165
232
  - think step by step to calculate pass rate
166
233
  - Identify common themes in failed items
167
234
  - Provide specific recommendations for improvement
@@ -171,7 +238,6 @@ If the user asks or does not specify a specific checklist, list the checklists a
171
238
  6. **Final Report**
172
239
 
173
240
  Prepare a summary that includes:
174
-
175
241
  - Overall checklist completion status
176
242
  - Pass rates by section
177
243
  - List of failed items with context
@@ -288,13 +354,11 @@ CRITICAL: Use proper parsing that understands markdown context. A ## inside a co
288
354
  For each extracted section:
289
355
 
290
356
  1. **Generate filename**: Convert the section heading to lowercase-dash-case
291
-
292
357
  - Remove special characters
293
358
  - Replace spaces with dashes
294
359
  - Example: "## Tech Stack" → `tech-stack.md`
295
360
 
296
361
  2. **Adjust heading levels**:
297
-
298
362
  - The level 2 heading becomes level 1 (# instead of ##) in the sharded new document
299
363
  - All subsection levels decrease by 1:
300
364
 
@@ -384,79 +448,6 @@ Document sharded successfully:
384
448
  - Ensure the sharding is reversible (could reconstruct the original from shards)
385
449
  ==================== END: .bmad-core/tasks/shard-doc.md ====================
386
450
 
387
- ==================== START: .bmad-core/tasks/correct-course.md ====================
388
- # Correct Course Task
389
-
390
- ## Purpose
391
-
392
- - Guide a structured response to a change trigger using the `.bmad-core/checklists/change-checklist`.
393
- - Analyze the impacts of the change on epics, project artifacts, and the MVP, guided by the checklist's structure.
394
- - Explore potential solutions (e.g., adjust scope, rollback elements, re-scope features) as prompted by the checklist.
395
- - Draft specific, actionable proposed updates to any affected project artifacts (e.g., epics, user stories, PRD sections, architecture document sections) based on the analysis.
396
- - Produce a consolidated "Sprint Change Proposal" document that contains the impact analysis and the clearly drafted proposed edits for user review and approval.
397
- - Ensure a clear handoff path if the nature of the changes necessitates fundamental replanning by other core agents (like PM or Architect).
398
-
399
- ## Instructions
400
-
401
- ### 1. Initial Setup & Mode Selection
402
-
403
- - **Acknowledge Task & Inputs:**
404
- - Confirm with the user that the "Correct Course Task" (Change Navigation & Integration) is being initiated.
405
- - Verify the change trigger and ensure you have the user's initial explanation of the issue and its perceived impact.
406
- - Confirm access to all relevant project artifacts (e.g., PRD, Epics/Stories, Architecture Documents, UI/UX Specifications) and, critically, the `.bmad-core/checklists/change-checklist`.
407
- - **Establish Interaction Mode:**
408
- - Ask the user their preferred interaction mode for this task:
409
- - **"Incrementally (Default & Recommended):** Shall we work through the change-checklist section by section, discussing findings and collaboratively drafting proposed changes for each relevant part before moving to the next? This allows for detailed, step-by-step refinement."
410
- - **"YOLO Mode (Batch Processing):** Or, would you prefer I conduct a more batched analysis based on the checklist and then present a consolidated set of findings and proposed changes for a broader review? This can be quicker for initial assessment but might require more extensive review of the combined proposals."
411
- - Once the user chooses, confirm the selected mode and then inform the user: "We will now use the change-checklist to analyze the change and draft proposed updates. I will guide you through the checklist items based on our chosen interaction mode."
412
-
413
- ### 2. Execute Checklist Analysis (Iteratively or Batched, per Interaction Mode)
414
-
415
- - Systematically work through Sections 1-4 of the change-checklist (typically covering Change Context, Epic/Story Impact Analysis, Artifact Conflict Resolution, and Path Evaluation/Recommendation).
416
- - For each checklist item or logical group of items (depending on interaction mode):
417
- - Present the relevant prompt(s) or considerations from the checklist to the user.
418
- - Request necessary information and actively analyze the relevant project artifacts (PRD, epics, architecture documents, story history, etc.) to assess the impact.
419
- - Discuss your findings for each item with the user.
420
- - Record the status of each checklist item (e.g., `[x] Addressed`, `[N/A]`, `[!] Further Action Needed`) and any pertinent notes or decisions.
421
- - Collaboratively agree on the "Recommended Path Forward" as prompted by Section 4 of the checklist.
422
-
423
- ### 3. Draft Proposed Changes (Iteratively or Batched)
424
-
425
- - Based on the completed checklist analysis (Sections 1-4) and the agreed "Recommended Path Forward" (excluding scenarios requiring fundamental replans that would necessitate immediate handoff to PM/Architect):
426
- - Identify the specific project artifacts that require updates (e.g., specific epics, user stories, PRD sections, architecture document components, diagrams).
427
- - **Draft the proposed changes directly and explicitly for each identified artifact.** Examples include:
428
- - Revising user story text, acceptance criteria, or priority.
429
- - Adding, removing, reordering, or splitting user stories within epics.
430
- - Proposing modified architecture diagram snippets (e.g., providing an updated Mermaid diagram block or a clear textual description of the change to an existing diagram).
431
- - Updating technology lists, configuration details, or specific sections within the PRD or architecture documents.
432
- - Drafting new, small supporting artifacts if necessary (e.g., a brief addendum for a specific decision).
433
- - If in "Incremental Mode," discuss and refine these proposed edits for each artifact or small group of related artifacts with the user as they are drafted.
434
- - If in "YOLO Mode," compile all drafted edits for presentation in the next step.
435
-
436
- ### 4. Generate "Sprint Change Proposal" with Edits
437
-
438
- - Synthesize the complete change-checklist analysis (covering findings from Sections 1-4) and all the agreed-upon proposed edits (from Instruction 3) into a single document titled "Sprint Change Proposal." This proposal should align with the structure suggested by Section 5 of the change-checklist.
439
- - The proposal must clearly present:
440
- - **Analysis Summary:** A concise overview of the original issue, its analyzed impact (on epics, artifacts, MVP scope), and the rationale for the chosen path forward.
441
- - **Specific Proposed Edits:** For each affected artifact, clearly show or describe the exact changes (e.g., "Change Story X.Y from: [old text] To: [new text]", "Add new Acceptance Criterion to Story A.B: [new AC]", "Update Section 3.2 of Architecture Document as follows: [new/modified text or diagram description]").
442
- - Present the complete draft of the "Sprint Change Proposal" to the user for final review and feedback. Incorporate any final adjustments requested by the user.
443
-
444
- ### 5. Finalize & Determine Next Steps
445
-
446
- - Obtain explicit user approval for the "Sprint Change Proposal," including all the specific edits documented within it.
447
- - Provide the finalized "Sprint Change Proposal" document to the user.
448
- - **Based on the nature of the approved changes:**
449
- - **If the approved edits sufficiently address the change and can be implemented directly or organized by a PO/SM:** State that the "Correct Course Task" is complete regarding analysis and change proposal, and the user can now proceed with implementing or logging these changes (e.g., updating actual project documents, backlog items). Suggest handoff to a PO/SM agent for backlog organization if appropriate.
450
- - **If the analysis and proposed path (as per checklist Section 4 and potentially Section 6) indicate that the change requires a more fundamental replan (e.g., significant scope change, major architectural rework):** Clearly state this conclusion. Advise the user that the next step involves engaging the primary PM or Architect agents, using the "Sprint Change Proposal" as critical input and context for that deeper replanning effort.
451
-
452
- ## Output Deliverables
453
-
454
- - **Primary:** A "Sprint Change Proposal" document (in markdown format). This document will contain:
455
- - A summary of the change-checklist analysis (issue, impact, rationale for the chosen path).
456
- - Specific, clearly drafted proposed edits for all affected project artifacts.
457
- - **Implicit:** An annotated change-checklist (or the record of its completion) reflecting the discussions, findings, and decisions made during the process.
458
- ==================== END: .bmad-core/tasks/correct-course.md ====================
459
-
460
451
  ==================== START: .bmad-core/tasks/validate-next-story.md ====================
461
452
  # Validate Next Story Task
462
453
 
@@ -609,7 +600,7 @@ workflow:
609
600
  elicitation: advanced-elicitation
610
601
 
611
602
  agent_config:
612
- editable_sections:
603
+ editable_sections:
613
604
  - Status
614
605
  - Story
615
606
  - Acceptance Criteria
@@ -626,7 +617,7 @@ sections:
626
617
  instruction: Select the current status of the story
627
618
  owner: scrum-master
628
619
  editors: [scrum-master, dev-agent]
629
-
620
+
630
621
  - id: story
631
622
  title: Story
632
623
  type: template-text
@@ -638,7 +629,7 @@ sections:
638
629
  elicit: true
639
630
  owner: scrum-master
640
631
  editors: [scrum-master]
641
-
632
+
642
633
  - id: acceptance-criteria
643
634
  title: Acceptance Criteria
644
635
  type: numbered-list
@@ -646,7 +637,7 @@ sections:
646
637
  elicit: true
647
638
  owner: scrum-master
648
639
  editors: [scrum-master]
649
-
640
+
650
641
  - id: tasks-subtasks
651
642
  title: Tasks / Subtasks
652
643
  type: bullet-list
@@ -663,7 +654,7 @@ sections:
663
654
  elicit: true
664
655
  owner: scrum-master
665
656
  editors: [scrum-master, dev-agent]
666
-
657
+
667
658
  - id: dev-notes
668
659
  title: Dev Notes
669
660
  instruction: |
@@ -687,7 +678,7 @@ sections:
687
678
  elicit: true
688
679
  owner: scrum-master
689
680
  editors: [scrum-master]
690
-
681
+
691
682
  - id: change-log
692
683
  title: Change Log
693
684
  type: table
@@ -695,7 +686,7 @@ sections:
695
686
  instruction: Track changes made to this story document
696
687
  owner: scrum-master
697
688
  editors: [scrum-master, dev-agent, qa-agent]
698
-
689
+
699
690
  - id: dev-agent-record
700
691
  title: Dev Agent Record
701
692
  instruction: This section is populated by the development agent during implementation
@@ -708,25 +699,25 @@ sections:
708
699
  instruction: Record the specific AI agent model and version used for development
709
700
  owner: dev-agent
710
701
  editors: [dev-agent]
711
-
702
+
712
703
  - id: debug-log-references
713
704
  title: Debug Log References
714
705
  instruction: Reference any debug logs or traces generated during development
715
706
  owner: dev-agent
716
707
  editors: [dev-agent]
717
-
708
+
718
709
  - id: completion-notes
719
710
  title: Completion Notes List
720
711
  instruction: Notes about the completion of tasks and any issues encountered
721
712
  owner: dev-agent
722
713
  editors: [dev-agent]
723
-
714
+
724
715
  - id: file-list
725
716
  title: File List
726
717
  instruction: List all files created, modified, or affected during story implementation
727
718
  owner: dev-agent
728
719
  editors: [dev-agent]
729
-
720
+
730
721
  - id: qa-results
731
722
  title: QA Results
732
723
  instruction: Results from QA Agent QA review of the completed story implementation
@@ -734,66 +725,249 @@ sections:
734
725
  editors: [qa-agent]
735
726
  ==================== END: .bmad-core/templates/story-tmpl.yaml ====================
736
727
 
737
- ==================== START: .bmad-core/checklists/po-master-checklist.md ====================
738
- # Product Owner (PO) Master Validation Checklist
728
+ ==================== START: .bmad-core/checklists/change-checklist.md ====================
729
+ # Change Navigation Checklist
739
730
 
740
- This checklist serves as a comprehensive framework for the Product Owner to validate project plans before development execution. It adapts intelligently based on project type (greenfield vs brownfield) and includes UI/UX considerations when applicable.
731
+ **Purpose:** To systematically guide the selected Agent and user through the analysis and planning required when a significant change (pivot, tech issue, missing requirement, failed story) is identified during the BMad workflow.
741
732
 
742
- [[LLM: INITIALIZATION INSTRUCTIONS - PO MASTER CHECKLIST
733
+ **Instructions:** Review each item with the user. Mark `[x]` for completed/confirmed, `[N/A]` if not applicable, or add notes for discussion points.
743
734
 
744
- PROJECT TYPE DETECTION:
745
- First, determine the project type by checking:
735
+ [[LLM: INITIALIZATION INSTRUCTIONS - CHANGE NAVIGATION
746
736
 
747
- 1. Is this a GREENFIELD project (new from scratch)?
737
+ Changes during development are inevitable, but how we handle them determines project success or failure.
748
738
 
749
- - Look for: New project initialization, no existing codebase references
750
- - Check for: prd.md, architecture.md, new project setup stories
739
+ Before proceeding, understand:
751
740
 
752
- 2. Is this a BROWNFIELD project (enhancing existing system)?
741
+ 1. This checklist is for SIGNIFICANT changes that affect the project direction
742
+ 2. Minor adjustments within a story don't require this process
743
+ 3. The goal is to minimize wasted work while adapting to new realities
744
+ 4. User buy-in is critical - they must understand and approve changes
753
745
 
754
- - Look for: References to existing codebase, enhancement/modification language
755
- - Check for: brownfield-prd.md, brownfield-architecture.md, existing system analysis
746
+ Required context:
756
747
 
757
- 3. Does the project include UI/UX components?
758
- - Check for: frontend-architecture.md, UI/UX specifications, design files
759
- - Look for: Frontend stories, component specifications, user interface mentions
748
+ - The triggering story or issue
749
+ - Current project state (completed stories, current epic)
750
+ - Access to PRD, architecture, and other key documents
751
+ - Understanding of remaining work planned
760
752
 
761
- DOCUMENT REQUIREMENTS:
762
- Based on project type, ensure you have access to:
753
+ APPROACH:
754
+ This is an interactive process with the user. Work through each section together, discussing implications and options. The user makes final decisions, but provide expert guidance on technical feasibility and impact.
763
755
 
764
- For GREENFIELD projects:
756
+ REMEMBER: Changes are opportunities to improve, not failures. Handle them professionally and constructively.]]
765
757
 
766
- - prd.md - The Product Requirements Document
767
- - architecture.md - The system architecture
768
- - frontend-architecture.md - If UI/UX is involved
769
- - All epic and story definitions
758
+ ---
770
759
 
771
- For BROWNFIELD projects:
760
+ ## 1. Understand the Trigger & Context
772
761
 
773
- - brownfield-prd.md - The brownfield enhancement requirements
774
- - brownfield-architecture.md - The enhancement architecture
775
- - Existing project codebase access (CRITICAL - cannot proceed without this)
776
- - Current deployment configuration and infrastructure details
777
- - Database schemas, API documentation, monitoring setup
762
+ [[LLM: Start by fully understanding what went wrong and why. Don't jump to solutions yet. Ask probing questions:
778
763
 
779
- SKIP INSTRUCTIONS:
764
+ - What exactly happened that triggered this review?
765
+ - Is this a one-time issue or symptomatic of a larger problem?
766
+ - Could this have been anticipated earlier?
767
+ - What assumptions were incorrect?
780
768
 
781
- - Skip sections marked [[BROWNFIELD ONLY]] for greenfield projects
782
- - Skip sections marked [[GREENFIELD ONLY]] for brownfield projects
783
- - Skip sections marked [[UI/UX ONLY]] for backend-only projects
784
- - Note all skipped sections in your final report
769
+ Be specific and factual, not blame-oriented.]]
785
770
 
786
- VALIDATION APPROACH:
771
+ - [ ] **Identify Triggering Story:** Clearly identify the story (or stories) that revealed the issue.
772
+ - [ ] **Define the Issue:** Articulate the core problem precisely.
773
+ - [ ] Is it a technical limitation/dead-end?
774
+ - [ ] Is it a newly discovered requirement?
775
+ - [ ] Is it a fundamental misunderstanding of existing requirements?
776
+ - [ ] Is it a necessary pivot based on feedback or new information?
777
+ - [ ] Is it a failed/abandoned story needing a new approach?
778
+ - [ ] **Assess Initial Impact:** Describe the immediate observed consequences (e.g., blocked progress, incorrect functionality, non-viable tech).
779
+ - [ ] **Gather Evidence:** Note any specific logs, error messages, user feedback, or analysis that supports the issue definition.
787
780
 
788
- 1. Deep Analysis - Thoroughly analyze each item against documentation
789
- 2. Evidence-Based - Cite specific sections or code when validating
790
- 3. Critical Thinking - Question assumptions and identify gaps
791
- 4. Risk Assessment - Consider what could go wrong with each decision
781
+ ## 2. Epic Impact Assessment
792
782
 
793
- EXECUTION MODE:
794
- Ask the user if they want to work through the checklist:
783
+ [[LLM: Changes ripple through the project structure. Systematically evaluate:
795
784
 
796
- - Section by section (interactive mode) - Review each section, get confirmation before proceeding
785
+ 1. Can we salvage the current epic with modifications?
786
+ 2. Do future epics still make sense given this change?
787
+ 3. Are we creating or eliminating dependencies?
788
+ 4. Does the epic sequence need reordering?
789
+
790
+ Think about both immediate and downstream effects.]]
791
+
792
+ - [ ] **Analyze Current Epic:**
793
+ - [ ] Can the current epic containing the trigger story still be completed?
794
+ - [ ] Does the current epic need modification (story changes, additions, removals)?
795
+ - [ ] Should the current epic be abandoned or fundamentally redefined?
796
+ - [ ] **Analyze Future Epics:**
797
+ - [ ] Review all remaining planned epics.
798
+ - [ ] Does the issue require changes to planned stories in future epics?
799
+ - [ ] Does the issue invalidate any future epics?
800
+ - [ ] Does the issue necessitate the creation of entirely new epics?
801
+ - [ ] Should the order/priority of future epics be changed?
802
+ - [ ] **Summarize Epic Impact:** Briefly document the overall effect on the project's epic structure and flow.
803
+
804
+ ## 3. Artifact Conflict & Impact Analysis
805
+
806
+ [[LLM: Documentation drives development in BMad. Check each artifact:
807
+
808
+ 1. Does this change invalidate documented decisions?
809
+ 2. Are architectural assumptions still valid?
810
+ 3. Do user flows need rethinking?
811
+ 4. Are technical constraints different than documented?
812
+
813
+ Be thorough - missed conflicts cause future problems.]]
814
+
815
+ - [ ] **Review PRD:**
816
+ - [ ] Does the issue conflict with the core goals or requirements stated in the PRD?
817
+ - [ ] Does the PRD need clarification or updates based on the new understanding?
818
+ - [ ] **Review Architecture Document:**
819
+ - [ ] Does the issue conflict with the documented architecture (components, patterns, tech choices)?
820
+ - [ ] Are specific components/diagrams/sections impacted?
821
+ - [ ] Does the technology list need updating?
822
+ - [ ] Do data models or schemas need revision?
823
+ - [ ] Are external API integrations affected?
824
+ - [ ] **Review Frontend Spec (if applicable):**
825
+ - [ ] Does the issue conflict with the FE architecture, component library choice, or UI/UX design?
826
+ - [ ] Are specific FE components or user flows impacted?
827
+ - [ ] **Review Other Artifacts (if applicable):**
828
+ - [ ] Consider impact on deployment scripts, IaC, monitoring setup, etc.
829
+ - [ ] **Summarize Artifact Impact:** List all artifacts requiring updates and the nature of the changes needed.
830
+
831
+ ## 4. Path Forward Evaluation
832
+
833
+ [[LLM: Present options clearly with pros/cons. For each path:
834
+
835
+ 1. What's the effort required?
836
+ 2. What work gets thrown away?
837
+ 3. What risks are we taking?
838
+ 4. How does this affect timeline?
839
+ 5. Is this sustainable long-term?
840
+
841
+ Be honest about trade-offs. There's rarely a perfect solution.]]
842
+
843
+ - [ ] **Option 1: Direct Adjustment / Integration:**
844
+ - [ ] Can the issue be addressed by modifying/adding future stories within the existing plan?
845
+ - [ ] Define the scope and nature of these adjustments.
846
+ - [ ] Assess feasibility, effort, and risks of this path.
847
+ - [ ] **Option 2: Potential Rollback:**
848
+ - [ ] Would reverting completed stories significantly simplify addressing the issue?
849
+ - [ ] Identify specific stories/commits to consider for rollback.
850
+ - [ ] Assess the effort required for rollback.
851
+ - [ ] Assess the impact of rollback (lost work, data implications).
852
+ - [ ] Compare the net benefit/cost vs. Direct Adjustment.
853
+ - [ ] **Option 3: PRD MVP Review & Potential Re-scoping:**
854
+ - [ ] Is the original PRD MVP still achievable given the issue and constraints?
855
+ - [ ] Does the MVP scope need reduction (removing features/epics)?
856
+ - [ ] Do the core MVP goals need modification?
857
+ - [ ] Are alternative approaches needed to meet the original MVP intent?
858
+ - [ ] **Extreme Case:** Does the issue necessitate a fundamental replan or potentially a new PRD V2 (to be handled by PM)?
859
+ - [ ] **Select Recommended Path:** Based on the evaluation, agree on the most viable path forward.
860
+
861
+ ## 5. Sprint Change Proposal Components
862
+
863
+ [[LLM: The proposal must be actionable and clear. Ensure:
864
+
865
+ 1. The issue is explained in plain language
866
+ 2. Impacts are quantified where possible
867
+ 3. The recommended path has clear rationale
868
+ 4. Next steps are specific and assigned
869
+ 5. Success criteria for the change are defined
870
+
871
+ This proposal guides all subsequent work.]]
872
+
873
+ (Ensure all agreed-upon points from previous sections are captured in the proposal)
874
+
875
+ - [ ] **Identified Issue Summary:** Clear, concise problem statement.
876
+ - [ ] **Epic Impact Summary:** How epics are affected.
877
+ - [ ] **Artifact Adjustment Needs:** List of documents to change.
878
+ - [ ] **Recommended Path Forward:** Chosen solution with rationale.
879
+ - [ ] **PRD MVP Impact:** Changes to scope/goals (if any).
880
+ - [ ] **High-Level Action Plan:** Next steps for stories/updates.
881
+ - [ ] **Agent Handoff Plan:** Identify roles needed (PM, Arch, Design Arch, PO).
882
+
883
+ ## 6. Final Review & Handoff
884
+
885
+ [[LLM: Changes require coordination. Before concluding:
886
+
887
+ 1. Is the user fully aligned with the plan?
888
+ 2. Do all stakeholders understand the impacts?
889
+ 3. Are handoffs to other agents clear?
890
+ 4. Is there a rollback plan if the change fails?
891
+ 5. How will we validate the change worked?
892
+
893
+ Get explicit approval - implicit agreement causes problems.
894
+
895
+ FINAL REPORT:
896
+ After completing the checklist, provide a concise summary:
897
+
898
+ - What changed and why
899
+ - What we're doing about it
900
+ - Who needs to do what
901
+ - When we'll know if it worked
902
+
903
+ Keep it action-oriented and forward-looking.]]
904
+
905
+ - [ ] **Review Checklist:** Confirm all relevant items were discussed.
906
+ - [ ] **Review Sprint Change Proposal:** Ensure it accurately reflects the discussion and decisions.
907
+ - [ ] **User Approval:** Obtain explicit user approval for the proposal.
908
+ - [ ] **Confirm Next Steps:** Reiterate the handoff plan and the next actions to be taken by specific agents.
909
+
910
+ ---
911
+ ==================== END: .bmad-core/checklists/change-checklist.md ====================
912
+
913
+ ==================== START: .bmad-core/checklists/po-master-checklist.md ====================
914
+ # Product Owner (PO) Master Validation Checklist
915
+
916
+ This checklist serves as a comprehensive framework for the Product Owner to validate project plans before development execution. It adapts intelligently based on project type (greenfield vs brownfield) and includes UI/UX considerations when applicable.
917
+
918
+ [[LLM: INITIALIZATION INSTRUCTIONS - PO MASTER CHECKLIST
919
+
920
+ PROJECT TYPE DETECTION:
921
+ First, determine the project type by checking:
922
+
923
+ 1. Is this a GREENFIELD project (new from scratch)?
924
+ - Look for: New project initialization, no existing codebase references
925
+ - Check for: prd.md, architecture.md, new project setup stories
926
+
927
+ 2. Is this a BROWNFIELD project (enhancing existing system)?
928
+ - Look for: References to existing codebase, enhancement/modification language
929
+ - Check for: brownfield-prd.md, brownfield-architecture.md, existing system analysis
930
+
931
+ 3. Does the project include UI/UX components?
932
+ - Check for: frontend-architecture.md, UI/UX specifications, design files
933
+ - Look for: Frontend stories, component specifications, user interface mentions
934
+
935
+ DOCUMENT REQUIREMENTS:
936
+ Based on project type, ensure you have access to:
937
+
938
+ For GREENFIELD projects:
939
+
940
+ - prd.md - The Product Requirements Document
941
+ - architecture.md - The system architecture
942
+ - frontend-architecture.md - If UI/UX is involved
943
+ - All epic and story definitions
944
+
945
+ For BROWNFIELD projects:
946
+
947
+ - brownfield-prd.md - The brownfield enhancement requirements
948
+ - brownfield-architecture.md - The enhancement architecture
949
+ - Existing project codebase access (CRITICAL - cannot proceed without this)
950
+ - Current deployment configuration and infrastructure details
951
+ - Database schemas, API documentation, monitoring setup
952
+
953
+ SKIP INSTRUCTIONS:
954
+
955
+ - Skip sections marked [[BROWNFIELD ONLY]] for greenfield projects
956
+ - Skip sections marked [[GREENFIELD ONLY]] for brownfield projects
957
+ - Skip sections marked [[UI/UX ONLY]] for backend-only projects
958
+ - Note all skipped sections in your final report
959
+
960
+ VALIDATION APPROACH:
961
+
962
+ 1. Deep Analysis - Thoroughly analyze each item against documentation
963
+ 2. Evidence-Based - Cite specific sections or code when validating
964
+ 3. Critical Thinking - Question assumptions and identify gaps
965
+ 4. Risk Assessment - Consider what could go wrong with each decision
966
+
967
+ EXECUTION MODE:
968
+ Ask the user if they want to work through the checklist:
969
+
970
+ - Section by section (interactive mode) - Review each section, get confirmation before proceeding
797
971
  - All at once (comprehensive mode) - Complete full analysis and present report at end]]
798
972
 
799
973
  ## 1. PROJECT SETUP & INITIALIZATION
@@ -1084,7 +1258,6 @@ Ask the user if they want to work through the checklist:
1084
1258
  Generate a comprehensive validation report that adapts to project type:
1085
1259
 
1086
1260
  1. Executive Summary
1087
-
1088
1261
  - Project type: [Greenfield/Brownfield] with [UI/No UI]
1089
1262
  - Overall readiness (percentage)
1090
1263
  - Go/No-Go recommendation
@@ -1094,42 +1267,36 @@ Generate a comprehensive validation report that adapts to project type:
1094
1267
  2. Project-Specific Analysis
1095
1268
 
1096
1269
  FOR GREENFIELD:
1097
-
1098
1270
  - Setup completeness
1099
1271
  - Dependency sequencing
1100
1272
  - MVP scope appropriateness
1101
1273
  - Development timeline feasibility
1102
1274
 
1103
1275
  FOR BROWNFIELD:
1104
-
1105
1276
  - Integration risk level (High/Medium/Low)
1106
1277
  - Existing system impact assessment
1107
1278
  - Rollback readiness
1108
1279
  - User disruption potential
1109
1280
 
1110
1281
  3. Risk Assessment
1111
-
1112
1282
  - Top 5 risks by severity
1113
1283
  - Mitigation recommendations
1114
1284
  - Timeline impact of addressing issues
1115
1285
  - [BROWNFIELD] Specific integration risks
1116
1286
 
1117
1287
  4. MVP Completeness
1118
-
1119
1288
  - Core features coverage
1120
1289
  - Missing essential functionality
1121
1290
  - Scope creep identified
1122
1291
  - True MVP vs over-engineering
1123
1292
 
1124
1293
  5. Implementation Readiness
1125
-
1126
1294
  - Developer clarity score (1-10)
1127
1295
  - Ambiguous requirements count
1128
1296
  - Missing technical details
1129
1297
  - [BROWNFIELD] Integration point clarity
1130
1298
 
1131
1299
  6. Recommendations
1132
-
1133
1300
  - Must-fix before development
1134
1301
  - Should-fix for quality
1135
1302
  - Consider for improvement
@@ -1177,188 +1344,3 @@ After presenting the report, ask if the user wants:
1177
1344
  - **CONDITIONAL**: The plan requires specific adjustments before proceeding.
1178
1345
  - **REJECTED**: The plan requires significant revision to address critical deficiencies.
1179
1346
  ==================== END: .bmad-core/checklists/po-master-checklist.md ====================
1180
-
1181
- ==================== START: .bmad-core/checklists/change-checklist.md ====================
1182
- # Change Navigation Checklist
1183
-
1184
- **Purpose:** To systematically guide the selected Agent and user through the analysis and planning required when a significant change (pivot, tech issue, missing requirement, failed story) is identified during the BMad workflow.
1185
-
1186
- **Instructions:** Review each item with the user. Mark `[x]` for completed/confirmed, `[N/A]` if not applicable, or add notes for discussion points.
1187
-
1188
- [[LLM: INITIALIZATION INSTRUCTIONS - CHANGE NAVIGATION
1189
-
1190
- Changes during development are inevitable, but how we handle them determines project success or failure.
1191
-
1192
- Before proceeding, understand:
1193
-
1194
- 1. This checklist is for SIGNIFICANT changes that affect the project direction
1195
- 2. Minor adjustments within a story don't require this process
1196
- 3. The goal is to minimize wasted work while adapting to new realities
1197
- 4. User buy-in is critical - they must understand and approve changes
1198
-
1199
- Required context:
1200
-
1201
- - The triggering story or issue
1202
- - Current project state (completed stories, current epic)
1203
- - Access to PRD, architecture, and other key documents
1204
- - Understanding of remaining work planned
1205
-
1206
- APPROACH:
1207
- This is an interactive process with the user. Work through each section together, discussing implications and options. The user makes final decisions, but provide expert guidance on technical feasibility and impact.
1208
-
1209
- REMEMBER: Changes are opportunities to improve, not failures. Handle them professionally and constructively.]]
1210
-
1211
- ---
1212
-
1213
- ## 1. Understand the Trigger & Context
1214
-
1215
- [[LLM: Start by fully understanding what went wrong and why. Don't jump to solutions yet. Ask probing questions:
1216
-
1217
- - What exactly happened that triggered this review?
1218
- - Is this a one-time issue or symptomatic of a larger problem?
1219
- - Could this have been anticipated earlier?
1220
- - What assumptions were incorrect?
1221
-
1222
- Be specific and factual, not blame-oriented.]]
1223
-
1224
- - [ ] **Identify Triggering Story:** Clearly identify the story (or stories) that revealed the issue.
1225
- - [ ] **Define the Issue:** Articulate the core problem precisely.
1226
- - [ ] Is it a technical limitation/dead-end?
1227
- - [ ] Is it a newly discovered requirement?
1228
- - [ ] Is it a fundamental misunderstanding of existing requirements?
1229
- - [ ] Is it a necessary pivot based on feedback or new information?
1230
- - [ ] Is it a failed/abandoned story needing a new approach?
1231
- - [ ] **Assess Initial Impact:** Describe the immediate observed consequences (e.g., blocked progress, incorrect functionality, non-viable tech).
1232
- - [ ] **Gather Evidence:** Note any specific logs, error messages, user feedback, or analysis that supports the issue definition.
1233
-
1234
- ## 2. Epic Impact Assessment
1235
-
1236
- [[LLM: Changes ripple through the project structure. Systematically evaluate:
1237
-
1238
- 1. Can we salvage the current epic with modifications?
1239
- 2. Do future epics still make sense given this change?
1240
- 3. Are we creating or eliminating dependencies?
1241
- 4. Does the epic sequence need reordering?
1242
-
1243
- Think about both immediate and downstream effects.]]
1244
-
1245
- - [ ] **Analyze Current Epic:**
1246
- - [ ] Can the current epic containing the trigger story still be completed?
1247
- - [ ] Does the current epic need modification (story changes, additions, removals)?
1248
- - [ ] Should the current epic be abandoned or fundamentally redefined?
1249
- - [ ] **Analyze Future Epics:**
1250
- - [ ] Review all remaining planned epics.
1251
- - [ ] Does the issue require changes to planned stories in future epics?
1252
- - [ ] Does the issue invalidate any future epics?
1253
- - [ ] Does the issue necessitate the creation of entirely new epics?
1254
- - [ ] Should the order/priority of future epics be changed?
1255
- - [ ] **Summarize Epic Impact:** Briefly document the overall effect on the project's epic structure and flow.
1256
-
1257
- ## 3. Artifact Conflict & Impact Analysis
1258
-
1259
- [[LLM: Documentation drives development in BMad. Check each artifact:
1260
-
1261
- 1. Does this change invalidate documented decisions?
1262
- 2. Are architectural assumptions still valid?
1263
- 3. Do user flows need rethinking?
1264
- 4. Are technical constraints different than documented?
1265
-
1266
- Be thorough - missed conflicts cause future problems.]]
1267
-
1268
- - [ ] **Review PRD:**
1269
- - [ ] Does the issue conflict with the core goals or requirements stated in the PRD?
1270
- - [ ] Does the PRD need clarification or updates based on the new understanding?
1271
- - [ ] **Review Architecture Document:**
1272
- - [ ] Does the issue conflict with the documented architecture (components, patterns, tech choices)?
1273
- - [ ] Are specific components/diagrams/sections impacted?
1274
- - [ ] Does the technology list need updating?
1275
- - [ ] Do data models or schemas need revision?
1276
- - [ ] Are external API integrations affected?
1277
- - [ ] **Review Frontend Spec (if applicable):**
1278
- - [ ] Does the issue conflict with the FE architecture, component library choice, or UI/UX design?
1279
- - [ ] Are specific FE components or user flows impacted?
1280
- - [ ] **Review Other Artifacts (if applicable):**
1281
- - [ ] Consider impact on deployment scripts, IaC, monitoring setup, etc.
1282
- - [ ] **Summarize Artifact Impact:** List all artifacts requiring updates and the nature of the changes needed.
1283
-
1284
- ## 4. Path Forward Evaluation
1285
-
1286
- [[LLM: Present options clearly with pros/cons. For each path:
1287
-
1288
- 1. What's the effort required?
1289
- 2. What work gets thrown away?
1290
- 3. What risks are we taking?
1291
- 4. How does this affect timeline?
1292
- 5. Is this sustainable long-term?
1293
-
1294
- Be honest about trade-offs. There's rarely a perfect solution.]]
1295
-
1296
- - [ ] **Option 1: Direct Adjustment / Integration:**
1297
- - [ ] Can the issue be addressed by modifying/adding future stories within the existing plan?
1298
- - [ ] Define the scope and nature of these adjustments.
1299
- - [ ] Assess feasibility, effort, and risks of this path.
1300
- - [ ] **Option 2: Potential Rollback:**
1301
- - [ ] Would reverting completed stories significantly simplify addressing the issue?
1302
- - [ ] Identify specific stories/commits to consider for rollback.
1303
- - [ ] Assess the effort required for rollback.
1304
- - [ ] Assess the impact of rollback (lost work, data implications).
1305
- - [ ] Compare the net benefit/cost vs. Direct Adjustment.
1306
- - [ ] **Option 3: PRD MVP Review & Potential Re-scoping:**
1307
- - [ ] Is the original PRD MVP still achievable given the issue and constraints?
1308
- - [ ] Does the MVP scope need reduction (removing features/epics)?
1309
- - [ ] Do the core MVP goals need modification?
1310
- - [ ] Are alternative approaches needed to meet the original MVP intent?
1311
- - [ ] **Extreme Case:** Does the issue necessitate a fundamental replan or potentially a new PRD V2 (to be handled by PM)?
1312
- - [ ] **Select Recommended Path:** Based on the evaluation, agree on the most viable path forward.
1313
-
1314
- ## 5. Sprint Change Proposal Components
1315
-
1316
- [[LLM: The proposal must be actionable and clear. Ensure:
1317
-
1318
- 1. The issue is explained in plain language
1319
- 2. Impacts are quantified where possible
1320
- 3. The recommended path has clear rationale
1321
- 4. Next steps are specific and assigned
1322
- 5. Success criteria for the change are defined
1323
-
1324
- This proposal guides all subsequent work.]]
1325
-
1326
- (Ensure all agreed-upon points from previous sections are captured in the proposal)
1327
-
1328
- - [ ] **Identified Issue Summary:** Clear, concise problem statement.
1329
- - [ ] **Epic Impact Summary:** How epics are affected.
1330
- - [ ] **Artifact Adjustment Needs:** List of documents to change.
1331
- - [ ] **Recommended Path Forward:** Chosen solution with rationale.
1332
- - [ ] **PRD MVP Impact:** Changes to scope/goals (if any).
1333
- - [ ] **High-Level Action Plan:** Next steps for stories/updates.
1334
- - [ ] **Agent Handoff Plan:** Identify roles needed (PM, Arch, Design Arch, PO).
1335
-
1336
- ## 6. Final Review & Handoff
1337
-
1338
- [[LLM: Changes require coordination. Before concluding:
1339
-
1340
- 1. Is the user fully aligned with the plan?
1341
- 2. Do all stakeholders understand the impacts?
1342
- 3. Are handoffs to other agents clear?
1343
- 4. Is there a rollback plan if the change fails?
1344
- 5. How will we validate the change worked?
1345
-
1346
- Get explicit approval - implicit agreement causes problems.
1347
-
1348
- FINAL REPORT:
1349
- After completing the checklist, provide a concise summary:
1350
-
1351
- - What changed and why
1352
- - What we're doing about it
1353
- - Who needs to do what
1354
- - When we'll know if it worked
1355
-
1356
- Keep it action-oriented and forward-looking.]]
1357
-
1358
- - [ ] **Review Checklist:** Confirm all relevant items were discussed.
1359
- - [ ] **Review Sprint Change Proposal:** Ensure it accurately reflects the discussion and decisions.
1360
- - [ ] **User Approval:** Obtain explicit user approval for the proposal.
1361
- - [ ] **Confirm Next Steps:** Reiterate the handoff plan and the next actions to be taken by specific agents.
1362
-
1363
- ---
1364
- ==================== END: .bmad-core/checklists/change-checklist.md ====================