bmad-method 6.0.0-alpha.20 → 6.0.0-alpha.21

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 (114) hide show
  1. package/CHANGELOG.md +94 -0
  2. package/package.json +2 -2
  3. package/samples/sample-custom-modules/sample-unitary-module/agents/commit-poet/commit-poet.agent.yaml +1 -1
  4. package/samples/sample-custom-modules/sample-unitary-module/agents/toolsmith/toolsmith.agent.yaml +1 -1
  5. package/src/core/agents/bmad-master.agent.yaml +4 -8
  6. package/src/core/workflows/brainstorming/steps/step-02b-ai-recommended.md +1 -1
  7. package/src/modules/bmb/agents/agent-builder.agent.yaml +36 -0
  8. package/src/modules/bmb/agents/module-builder.agent.yaml +48 -0
  9. package/src/modules/bmb/agents/workflow-builder.agent.yaml +40 -0
  10. package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/journal-keeper.agent.yaml +2 -1
  11. package/src/modules/bmb/workflows/create-agent/data/reference/agents/module-examples/security-engineer.agent.yaml +8 -13
  12. package/src/modules/bmb/workflows/create-agent/data/reference/agents/module-examples/trend-analyst.agent.yaml +10 -14
  13. package/src/modules/bmb/workflows/create-agent/data/reference/agents/simple-examples/commit-poet.agent.yaml +1 -1
  14. package/src/modules/bmb/workflows/create-module/steps/step-01b-continue.md +1 -1
  15. package/src/modules/bmgd/agents/game-architect.agent.yaml +8 -17
  16. package/src/modules/bmgd/agents/game-designer.agent.yaml +21 -33
  17. package/src/modules/bmgd/agents/game-dev.agent.yaml +12 -16
  18. package/src/modules/bmgd/agents/game-qa.agent.yaml +16 -20
  19. package/src/modules/bmgd/agents/game-scrum-master.agent.yaml +16 -20
  20. package/src/modules/bmgd/agents/game-solo-dev.agent.yaml +14 -18
  21. package/src/modules/bmgd/module.yaml +1 -1
  22. package/src/modules/bmgd/workflows/3-technical/game-architecture/instructions.md +1 -1
  23. package/src/modules/bmgd/workflows/3-technical/generate-project-context/steps/step-01-discover.md +1 -1
  24. package/src/modules/bmgd/workflows/4-production/create-story/workflow.yaml +1 -1
  25. package/src/modules/bmm/_module-installer/installer.js +0 -34
  26. package/src/modules/bmm/agents/analyst.agent.yaml +10 -22
  27. package/src/modules/bmm/agents/architect.agent.yaml +6 -23
  28. package/src/modules/bmm/agents/dev.agent.yaml +2 -6
  29. package/src/modules/bmm/agents/pm.agent.yaml +10 -19
  30. package/src/modules/bmm/agents/quick-flow-solo-dev.agent.yaml +6 -2
  31. package/src/modules/bmm/agents/sm.agent.yaml +12 -24
  32. package/src/modules/bmm/agents/tea.agent.yaml +20 -25
  33. package/src/modules/bmm/agents/tech-writer.agent.yaml +18 -31
  34. package/src/modules/bmm/agents/ux-designer.agent.yaml +8 -20
  35. package/src/modules/bmm/module.yaml +3 -3
  36. package/src/modules/bmm/workflows/1-analysis/create-product-brief/steps/step-01-init.md +21 -32
  37. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-01-init.md +19 -44
  38. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-02-discovery.md +1 -1
  39. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-03-core-experience.md +2 -2
  40. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-04-emotional-response.md +2 -2
  41. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-05-inspiration.md +2 -2
  42. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-06-design-system.md +2 -2
  43. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-07-defining-experience.md +2 -2
  44. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-08-visual-foundation.md +2 -2
  45. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-09-design-directions.md +3 -3
  46. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-10-user-journeys.md +2 -2
  47. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-11-component-strategy.md +2 -2
  48. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-12-ux-patterns.md +2 -2
  49. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-13-responsive-accessibility.md +2 -2
  50. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-14-complete.md +5 -4
  51. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/workflow.md +0 -15
  52. package/src/modules/bmm/workflows/2-plan-workflows/prd/prd-template.md +0 -5
  53. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-01-init.md +22 -69
  54. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-01b-continue.md +2 -2
  55. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-02-discovery.md +3 -3
  56. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-03-success.md +3 -3
  57. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-04-journeys.md +3 -3
  58. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-05-domain.md +3 -3
  59. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-06-innovation.md +3 -3
  60. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-07-project-type.md +3 -3
  61. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-08-scoping.md +3 -3
  62. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-09-functional.md +3 -3
  63. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-10-nonfunctional.md +3 -3
  64. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-11-complete.md +5 -43
  65. package/src/modules/bmm/workflows/2-plan-workflows/prd/workflow.md +1 -1
  66. package/src/modules/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-01-document-discovery.md +8 -8
  67. package/src/modules/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-02-prd-analysis.md +1 -1
  68. package/src/modules/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-04-ux-alignment.md +2 -2
  69. package/src/modules/bmm/workflows/3-solutioning/create-architecture/steps/step-01-init.md +24 -53
  70. package/src/modules/bmm/workflows/3-solutioning/create-architecture/steps/step-02-context.md +1 -1
  71. package/src/modules/bmm/workflows/3-solutioning/create-architecture/steps/step-03-starter.md +1 -1
  72. package/src/modules/bmm/workflows/3-solutioning/create-architecture/steps/step-04-decisions.md +1 -1
  73. package/src/modules/bmm/workflows/3-solutioning/create-architecture/steps/step-05-patterns.md +1 -1
  74. package/src/modules/bmm/workflows/3-solutioning/create-architecture/steps/step-06-structure.md +1 -1
  75. package/src/modules/bmm/workflows/3-solutioning/create-architecture/steps/step-07-validation.md +1 -1
  76. package/src/modules/bmm/workflows/3-solutioning/create-architecture/steps/step-08-complete.md +6 -6
  77. package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-01-validate-prerequisites.md +1 -1
  78. package/src/modules/bmm/workflows/4-implementation/create-story/workflow.yaml +1 -1
  79. package/src/modules/cis/agents/brainstorming-coach.agent.yaml +2 -11
  80. package/src/modules/cis/agents/creative-problem-solver.agent.yaml +2 -11
  81. package/src/modules/cis/agents/design-thinking-coach.agent.yaml +2 -11
  82. package/src/modules/cis/agents/innovation-strategist.agent.yaml +2 -11
  83. package/src/modules/cis/agents/presentation-master.agent.yaml +14 -23
  84. package/src/modules/cis/agents/storyteller/storyteller.agent.yaml +2 -11
  85. package/test/fixtures/agent-schema/invalid/menu-triggers/compound-mismatched-kebab.agent.yaml +6 -6
  86. package/test/fixtures/agent-schema/valid/menu-triggers/compound-triggers.agent.yaml +8 -8
  87. package/test/fixtures/agent-schema/{invalid → valid}/metadata/core-agent-with-module.agent.yaml +4 -7
  88. package/test/fixtures/agent-schema/valid/metadata/module-agent-missing-module.agent.yaml +22 -0
  89. package/test/fixtures/agent-schema/valid/metadata/wrong-module-value.agent.yaml +23 -0
  90. package/test/test-installation-components.js +1 -1
  91. package/tools/cli/installers/lib/core/config-collector.js +1 -1
  92. package/tools/cli/installers/lib/core/installer.js +4 -4
  93. package/tools/cli/installers/lib/ide/antigravity.js +3 -3
  94. package/tools/cli/installers/lib/ide/claude-code.js +3 -3
  95. package/tools/cli/installers/lib/ide/codex.js +1 -1
  96. package/tools/cli/installers/lib/ide/github-copilot.js +1 -1
  97. package/tools/cli/lib/agent/compiler.js +4 -3
  98. package/tools/cli/lib/ui.js +1 -1
  99. package/tools/platform-codes.yaml +13 -1
  100. package/tools/schema/agent.js +30 -52
  101. package/src/modules/bmb/agents/bmad-builder.agent.yaml +0 -94
  102. package/src/modules/bmb/reference/agents/expert-examples/journal-keeper/README.md +0 -242
  103. package/src/modules/bmb/reference/agents/expert-examples/journal-keeper/journal-keeper-sidecar/breakthroughs.md +0 -24
  104. package/src/modules/bmb/reference/agents/expert-examples/journal-keeper/journal-keeper-sidecar/instructions.md +0 -108
  105. package/src/modules/bmb/reference/agents/expert-examples/journal-keeper/journal-keeper-sidecar/memories.md +0 -46
  106. package/src/modules/bmb/reference/agents/expert-examples/journal-keeper/journal-keeper-sidecar/mood-patterns.md +0 -39
  107. package/src/modules/bmb/reference/agents/expert-examples/journal-keeper/journal-keeper.agent.yaml +0 -152
  108. package/src/modules/bmb/reference/agents/module-examples/README.md +0 -49
  109. package/src/modules/bmb/reference/agents/module-examples/security-engineer.agent.yaml +0 -53
  110. package/src/modules/bmb/reference/agents/module-examples/trend-analyst.agent.yaml +0 -57
  111. package/src/modules/bmb/reference/agents/simple-examples/commit-poet.agent.yaml +0 -126
  112. package/test/fixtures/agent-schema/invalid/menu-triggers/compound-wrong-shortcut.agent.yaml +0 -24
  113. package/test/fixtures/agent-schema/invalid/metadata/module-agent-missing-module.agent.yaml +0 -25
  114. package/test/fixtures/agent-schema/invalid/metadata/wrong-module-value.agent.yaml +0 -26
@@ -9,7 +9,7 @@ workflow_path: '{project-root}/_bmad/bmm/workflows/2-plan-workflows/prd'
9
9
  thisStepFile: '{workflow_path}/steps/step-02-discovery.md'
10
10
  nextStepFile: '{workflow_path}/steps/step-03-success.md'
11
11
  workflowFile: '{workflow_path}/workflow.md'
12
- outputFile: '{output_folder}/prd.md'
12
+ outputFile: '{planning_artifacts}/prd.md'
13
13
 
14
14
  # Data Files
15
15
  projectTypesCSV: '{workflow_path}/project-types.csv'
@@ -64,7 +64,7 @@ This step will generate content and present choices:
64
64
 
65
65
  - **A (Advanced Elicitation)**: Use discovery protocols to develop deeper insights about the generated content
66
66
  - **P (Party Mode)**: Bring multiple perspectives to discuss and improve the generated content
67
- - **C (Continue)**: Save the content to the document and proceed to next step
67
+ - **C (Continue)**: Append and save the content to the `{outputFile}` and proceed to next step
68
68
 
69
69
  ## PROTOCOL INTEGRATION:
70
70
 
@@ -373,7 +373,7 @@ Show the generated content to the user and present:
373
373
  #### IF C (Continue):
374
374
 
375
375
  - Append the final content to `{outputFile}`
376
- - Update frontmatter: `stepsCompleted: [1, 2]`
376
+ - Update frontmatter: add this step name to the end of the steps completed array
377
377
  - Load `{nextStepFile}`
378
378
 
379
379
  ## CRITICAL STEP COMPLETION NOTE
@@ -9,7 +9,7 @@ workflow_path: '{project-root}/_bmad/bmm/workflows/2-plan-workflows/prd'
9
9
  thisStepFile: '{workflow_path}/steps/step-03-success.md'
10
10
  nextStepFile: '{workflow_path}/steps/step-04-journeys.md'
11
11
  workflowFile: '{workflow_path}/workflow.md'
12
- outputFile: '{output_folder}/prd.md'
12
+ outputFile: '{planning_artifacts}/prd.md'
13
13
 
14
14
  # Task References
15
15
  advancedElicitationTask: '{project-root}/_bmad/core/tasks/advanced-elicitation.xml'
@@ -244,8 +244,8 @@ Show the generated content and present choices:
244
244
 
245
245
  #### If 'C' (Continue):
246
246
 
247
- - Append the final content to `{output_folder}/prd.md`
248
- - Update frontmatter: `stepsCompleted: [1, 2, 3]`
247
+ - Append the final content to `{outputFile}`
248
+ - Update frontmatter: add this step to the end of the steps completed array
249
249
  - Load `./step-04-journeys.md`
250
250
 
251
251
  ## APPEND TO DOCUMENT:
@@ -9,7 +9,7 @@ workflow_path: '{project-root}/_bmad/bmm/workflows/2-plan-workflows/prd'
9
9
  thisStepFile: '{workflow_path}/steps/step-04-journeys.md'
10
10
  nextStepFile: '{workflow_path}/steps/step-05-domain.md'
11
11
  workflowFile: '{workflow_path}/workflow.md'
12
- outputFile: '{output_folder}/prd.md'
12
+ outputFile: '{planning_artifacts}/prd.md'
13
13
 
14
14
  # Task References
15
15
  advancedElicitationTask: '{project-root}/_bmad/core/tasks/advanced-elicitation.xml'
@@ -238,8 +238,8 @@ Show the generated journey content and present choices:
238
238
 
239
239
  #### If 'C' (Continue):
240
240
 
241
- - Append the final content to `{output_folder}/prd.md`
242
- - Update frontmatter: `stepsCompleted: [1, 2, 3, 4]`
241
+ - Append the final content to `{outputFile}`
242
+ - Update frontmatter: add this step name to the end of the steps completed array
243
243
  - Load `{project-root}/_bmad/bmm/workflows/2-plan-workflows/prd/steps/step-05-domain.md` (or determine if step is optional based on domain complexity)
244
244
 
245
245
  ## APPEND TO DOCUMENT:
@@ -9,7 +9,7 @@ workflow_path: '{project-root}/_bmad/bmm/workflows/2-plan-workflows/prd'
9
9
  thisStepFile: '{workflow_path}/steps/step-05-domain.md'
10
10
  nextStepFile: '{workflow_path}/steps/step-06-innovation.md'
11
11
  workflowFile: '{workflow_path}/workflow.md'
12
- outputFile: '{output_folder}/prd.md'
12
+ outputFile: '{planning_artifacts}/prd.md'
13
13
 
14
14
  # Data Files
15
15
  domainComplexityCSV: '{workflow_path}/domain-complexity.csv'
@@ -223,8 +223,8 @@ Show the generated domain content and present choices:
223
223
 
224
224
  #### If 'C' (Continue):
225
225
 
226
- - Append the content to `{output_folder}/prd.md`
227
- - Update frontmatter: `stepsCompleted: [1, 2, 3, 4, 5]`
226
+ - Append the content to `{outputFile}`
227
+ - Update frontmatter: add this step name to the end of the steps completed array
228
228
  - Load `{project-root}/_bmad/bmm/workflows/2-plan-workflows/prd/steps/step-06-innovation.md`
229
229
 
230
230
  ## APPEND TO DOCUMENT:
@@ -9,7 +9,7 @@ workflow_path: '{project-root}/_bmad/bmm/workflows/2-plan-workflows/prd'
9
9
  thisStepFile: '{workflow_path}/steps/step-06-innovation.md'
10
10
  nextStepFile: '{workflow_path}/steps/step-07-project-type.md'
11
11
  workflowFile: '{workflow_path}/workflow.md'
12
- outputFile: '{output_folder}/prd.md'
12
+ outputFile: '{planning_artifacts}/prd.md'
13
13
 
14
14
  # Data Files
15
15
  projectTypesCSV: '{workflow_path}/project-types.csv'
@@ -202,8 +202,8 @@ Show the generated innovation content and present choices:
202
202
 
203
203
  #### If 'C' (Continue):
204
204
 
205
- - Append the final content to `{output_folder}/prd.md`
206
- - Update frontmatter: `stepsCompleted: [1, 2, 3, 4, 5, 6]`
205
+ - Append the final content to `{outputFile}`
206
+ - Update frontmatter: add this step name to the end of the steps completed array
207
207
  - Load `{project-root}/_bmad/bmm/workflows/2-plan-workflows/prd/steps/step-07-project-type.md`
208
208
 
209
209
  ## NO INNOVATION DETECTED:
@@ -9,7 +9,7 @@ workflow_path: '{project-root}/_bmad/bmm/workflows/2-plan-workflows/prd'
9
9
  thisStepFile: '{workflow_path}/steps/step-07-project-type.md'
10
10
  nextStepFile: '{workflow_path}/steps/step-08-scoping.md'
11
11
  workflowFile: '{workflow_path}/workflow.md'
12
- outputFile: '{output_folder}/prd.md'
12
+ outputFile: '{planning_artifacts}/prd.md'
13
13
 
14
14
  # Data Files
15
15
  projectTypesCSV: '{workflow_path}/project-types.csv'
@@ -198,8 +198,8 @@ Show the generated project-type content and present choices:
198
198
 
199
199
  #### If 'C' (Continue):
200
200
 
201
- - Append the final content to `{output_folder}/prd.md`
202
- - Update frontmatter: `stepsCompleted: [1, 2, 3, 4, 5, 6, 7]`
201
+ - Append the final content to `{outputFile}`
202
+ - Update frontmatter: add this step name to the end of the steps completed array
203
203
  - Load `{project-root}/_bmad/bmm/workflows/2-plan-workflows/prd/steps/step-08-scoping.md`
204
204
 
205
205
  ## APPEND TO DOCUMENT:
@@ -9,7 +9,7 @@ workflow_path: '{project-root}/_bmad/bmm/workflows/2-plan-workflows/prd'
9
9
  thisStepFile: '{workflow_path}/steps/step-08-scoping.md'
10
10
  nextStepFile: '{workflow_path}/steps/step-09-functional.md'
11
11
  workflowFile: '{workflow_path}/workflow.md'
12
- outputFile: '{output_folder}/prd.md'
12
+ outputFile: '{planning_artifacts}/prd.md'
13
13
 
14
14
  # Task References
15
15
  advancedElicitationTask: '{project-root}/_bmad/core/tasks/advanced-elicitation.xml'
@@ -259,8 +259,8 @@ Show the scoping decisions and present choices:
259
259
 
260
260
  #### If 'C' (Continue):
261
261
 
262
- - Append the final content to `{output_folder}/prd.md`
263
- - Update frontmatter: `stepsCompleted: [1, 2, 3, 4, 5, 6, 7, 8]`
262
+ - Append the final content to `{outputFile}`
263
+ - Update frontmatter: add this step name to the end of the steps completed array
264
264
  - Load `./step-09-functional.md`
265
265
 
266
266
  ## APPEND TO DOCUMENT:
@@ -9,7 +9,7 @@ workflow_path: '{project-root}/_bmad/bmm/workflows/2-plan-workflows/prd'
9
9
  thisStepFile: '{workflow_path}/steps/step-09-functional.md'
10
10
  nextStepFile: '{workflow_path}/steps/step-10-nonfunctional.md'
11
11
  workflowFile: '{workflow_path}/workflow.md'
12
- outputFile: '{output_folder}/prd.md'
12
+ outputFile: '{planning_artifacts}/prd.md'
13
13
 
14
14
  # Task References
15
15
  advancedElicitationTask: '{project-root}/_bmad/core/tasks/advanced-elicitation.xml'
@@ -225,8 +225,8 @@ Show the generated functional requirements and present choices:
225
225
 
226
226
  #### If 'C' (Continue):
227
227
 
228
- - Append the final content to `{output_folder}/prd.md`
229
- - Update frontmatter: `stepsCompleted: [1, 2, 3, 4, 5, 6, 7, 8, 9]`
228
+ - Append the final content to `{outputFile}`
229
+ - Update frontmatter: add this step name to the end of the steps completed array
230
230
  - Load `{project-root}/_bmad/bmm/workflows/2-plan-workflows/prd/steps/step-10-nonfunctional.md`
231
231
 
232
232
  ## APPEND TO DOCUMENT:
@@ -9,7 +9,7 @@ workflow_path: '{project-root}/_bmad/bmm/workflows/2-plan-workflows/prd'
9
9
  thisStepFile: '{workflow_path}/steps/step-10-nonfunctional.md'
10
10
  nextStepFile: '{workflow_path}/steps/step-11-complete.md'
11
11
  workflowFile: '{workflow_path}/workflow.md'
12
- outputFile: '{output_folder}/prd.md'
12
+ outputFile: '{planning_artifacts}/prd.md'
13
13
 
14
14
  # Task References
15
15
  advancedElicitationTask: '{project-root}/_bmad/core/tasks/advanced-elicitation.xml'
@@ -225,8 +225,8 @@ Show the generated NFR content and present choices:
225
225
 
226
226
  #### If 'C' (Continue):
227
227
 
228
- - Append the final content to `{output_folder}/prd.md`
229
- - Update frontmatter: `stepsCompleted: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]`
228
+ - Append the final content to `{outputFile}`
229
+ - Update frontmatter: add this step name to the end of the steps completed array
230
230
  - Load `{project-root}/_bmad/bmm/workflows/2-plan-workflows/prd/steps/step-11-complete.md`
231
231
 
232
232
  ## APPEND TO DOCUMENT:
@@ -8,7 +8,7 @@ workflow_path: '{project-root}/_bmad/bmm/workflows/2-plan-workflows/prd'
8
8
  # File References
9
9
  thisStepFile: '{workflow_path}/steps/step-11-complete.md'
10
10
  workflowFile: '{workflow_path}/workflow.md'
11
- outputFile: '{output_folder}/prd.md'
11
+ outputFile: '{planning_artifacts}/prd.md'
12
12
  ---
13
13
 
14
14
  # Step 11: Workflow Completion
@@ -72,13 +72,13 @@ I've successfully collaborated with you to create a comprehensive Product Requir
72
72
  - ✅ Comprehensive Functional Requirements (capability contract)
73
73
  - ✅ Non-Functional Requirements for quality attributes
74
74
 
75
- **The complete PRD is now available at:** `{output_folder}/prd.md`
75
+ **The complete PRD is now available at:** `{outputFile}`
76
76
 
77
77
  This document is now ready to guide UX design, technical architecture, and development planning."
78
78
 
79
79
  ### 2. Workflow Status Update
80
80
 
81
- Update the main workflow status file:
81
+ Update the main workflow status file if there is one:
82
82
 
83
83
  - Load `{status_file}` from workflow configuration (if exists)
84
84
  - Update workflow_status["prd"] = "{default_output_file}"
@@ -109,7 +109,6 @@ Provide guidance on logical next workflows:
109
109
 
110
110
  - UX design and architecture can happen in parallel
111
111
  - Epics/stories are richer when created after UX/architecture
112
- - Consider your team's capacity and priorities
113
112
 
114
113
  **What would be most valuable to tackle next?**
115
114
 
@@ -133,24 +132,8 @@ Perform final validation of the PRD:
133
132
 
134
133
  ### 5. Final Completion Confirmation
135
134
 
136
- Confirm completion with user:
137
- "**Your PRD for {{project_name}} is now complete and ready for the next phase!**
138
-
139
- The document contains everything needed to guide:
140
-
141
- - UX/UI design decisions
142
- - Technical architecture planning
143
- - Development prioritization and sprint planning
144
-
145
- **Ready to continue with:**
146
-
147
- - UX design workflow?
148
- - Architecture workflow?
149
- - Epic and story creation?
150
-
151
- **Or would you like to review the complete PRD first?**
152
-
153
- [Workflow Complete]"
135
+ - Confirm completion with user and summarize what you have done.
136
+ - Update frontmatter: add this final step name to the end of the steps completed array.
154
137
 
155
138
  ## SUCCESS METRICS:
156
139
 
@@ -195,27 +178,6 @@ The document contains everything needed to guide:
195
178
  - [ ] Workflow status file updated
196
179
  - [ ] Next steps clearly communicated
197
180
 
198
- ## NEXT STEPS GUIDANCE:
199
-
200
- **Immediate Options:**
201
-
202
- 1. **UX Design** - If product has UI components
203
- 2. **Technical Architecture** - System design and technology choices
204
- 3. **Epic Creation** - Break down FRs into implementable stories
205
- 4. **Review** - Validate PRD with stakeholders before proceeding
206
-
207
- **Recommended Sequence:**
208
- For products with UI: UX → Architecture → Epics
209
- For API/backend products: Architecture → Epics
210
- Consider team capacity and timeline constraints
211
-
212
- ## WORKFLOW FINALIZATION:
213
-
214
- - Set `lastStep = 11` in document frontmatter
215
- - Update workflow status file with completion timestamp
216
- - Provide completion summary to user
217
- - Do NOT load any additional steps
218
-
219
181
  ## FINAL REMINDER:
220
182
 
221
183
  This workflow is now complete. The PRD serves as the foundation for all subsequent product development activities. All design, architecture, and development work should trace back to the requirements and vision documented in this PRD.
@@ -52,7 +52,7 @@ This uses **step-file architecture** for disciplined execution:
52
52
 
53
53
  Load and read full config from {main_config} and resolve:
54
54
 
55
- - `project_name`, `output_folder`, `user_name`
55
+ - `project_name`, `output_folder`, `planning_artifacts`, `user_name`
56
56
  - `communication_language`, `document_output_language`, `user_skill_level`
57
57
  - `date` as system-generated current datetime
58
58
 
@@ -68,23 +68,23 @@ Search for each document type using these patterns:
68
68
 
69
69
  #### A. PRD Documents
70
70
 
71
- - Whole: `{output_folder}/*prd*.md`
72
- - Sharded: `{output_folder}/*prd*/index.md` and related files
71
+ - Whole: `{planning_artifacts}/*prd*.md`
72
+ - Sharded: `{planning_artifacts}/*prd*/index.md` and related files
73
73
 
74
74
  #### B. Architecture Documents
75
75
 
76
- - Whole: `{output_folder}/*architecture*.md`
77
- - Sharded: `{output_folder}/*architecture*/index.md` and related files
76
+ - Whole: `{planning_artifacts}/*architecture*.md`
77
+ - Sharded: `{planning_artifacts}/*architecture*/index.md` and related files
78
78
 
79
79
  #### C. Epics & Stories Documents
80
80
 
81
- - Whole: `{output_folder}/*epic*.md`
82
- - Sharded: `{output_folder}/*epic*/index.md` and related files
81
+ - Whole: `{planning_artifacts}/*epic*.md`
82
+ - Sharded: `{planning_artifacts}/*epic*/index.md` and related files
83
83
 
84
84
  #### D. UX Design Documents
85
85
 
86
- - Whole: `{output_folder}/*ux*.md`
87
- - Sharded: `{output_folder}/*ux*/index.md` and related files
86
+ - Whole: `{planning_artifacts}/*ux*.md`
87
+ - Sharded: `{planning_artifacts}/*ux*/index.md` and related files
88
88
 
89
89
  ### 3. Organize Findings
90
90
 
@@ -10,7 +10,7 @@ thisStepFile: '{workflow_path}/steps/step-02-prd-analysis.md'
10
10
  nextStepFile: '{workflow_path}/steps/step-03-epic-coverage-validation.md'
11
11
  workflowFile: '{workflow_path}/workflow.md'
12
12
  outputFile: '{planning_artifacts}/implementation-readiness-report-{{date}}.md'
13
- epicsFile: '{output_folder}/*epic*.md' # Will be resolved to actual file
13
+ epicsFile: '{planning_artifacts}/*epic*.md' # Will be resolved to actual file
14
14
  ---
15
15
 
16
16
  # Step 2: PRD Analysis
@@ -64,8 +64,8 @@ I will:
64
64
 
65
65
  Search patterns:
66
66
 
67
- - `{output_folder}/*ux*.md` (whole document)
68
- - `{output_folder}/*ux*/index.md` (sharded)
67
+ - `{planning_artifacts}/*ux*.md` (whole document)
68
+ - `{planning_artifacts}/*ux*/index.md` (sharded)
69
69
  - Look for UI-related terms in other documents
70
70
 
71
71
  ### 3. If UX Document Exists
@@ -36,7 +36,7 @@ Initialize the Architecture workflow by detecting continuation state, discoverin
36
36
 
37
37
  First, check if the output document already exists:
38
38
 
39
- - Look for existing {output_folder}||{planning_artifacts} architecture.md or \*\*/architecture/
39
+ - Look for existing {planning_artifacts}/`*architecture*.md`
40
40
  - If exists, read the complete file(s) including frontmatter
41
41
  - If not exists, this is a fresh workflow
42
42
 
@@ -54,58 +54,30 @@ If no document exists or no `stepsCompleted` in frontmatter:
54
54
 
55
55
  #### A. Input Document Discovery
56
56
 
57
- Discover and load context documents using smart discovery:
57
+ Discover and load context documents using smart discovery. Documents can be in the following locations:
58
+ - {planning_artifacts}/**
59
+ - {output_folder}/**
60
+ - {product_knowledge}/**
61
+ - docs/**
58
62
 
59
- **PRD Document (Priority: Analysis Main Sharded Whole):**
63
+ Also - when searching - documents can be a single markdown file, or a folder with an index and multiple files. For Example, if searching for `*foo*.md` and not found, also search for a folder called *foo*/index.md (which indicates sharded content)
60
64
 
61
- 1. Check analysis folders: {output_folder} and {planning_artifacts} for a `*prd*.md`
62
- 2. If no main files: Check for sharded PRD folder: `**/*prd*/**/*.md`
63
- 3. If sharded folder exists: Load EVERY file in that folder completely
64
- 4. Add discovered files to `inputDocuments` frontmatter
65
+ Try to discover the following:
66
+ - Product Brief (`*brief*.md`)
67
+ - Product Requirements Document (`*prd*.md`)
68
+ - UX Design (`*ux-design*.md`) and other
69
+ - Research Documents (`*research*.md`)
70
+ - Project Documentation (generally multiple documents might be found for this in the `{product_knowledge}` or `docs` folder.)
71
+ - Project Context (`**/project-context.md`)
65
72
 
66
- **Epics/Stories Document (Priority: Analysis Main Sharded Whole):**
67
-
68
- 1. Check folders: {output_folder} and {planning_artifacts} for a `*epic*.md`
69
- 2. If no analysis files: Try main folder: `{output_folder}/*epic*.md`
70
- 3. If no main files: Check for sharded epics folder: `{output_folder}/*epic*/**/*.md`
71
- 4. If sharded folder exists: Load EVERY file in that folder completely
72
- 5. Add discovered files to `inputDocuments` frontmatter
73
-
74
- **UX Design Specification (Priority: Analysis → Main → Sharded → Whole):**
75
-
76
- 1. Check folders: {output_folder} and {planning_artifacts} for a `*ux*.md`
77
- 2. If no main files: Check for sharded UX folder: `{output_folder}/*ux*/**/*.md`
78
- 3. If sharded folder exists: Load EVERY file in that folder completely
79
- 4. Add discovered files to `inputDocuments` frontmatter
80
-
81
- **Research Documents (Priority: Analysis → Main):**
82
-
83
- 1. Check folders {output_folder} and {planning_artifacts} for `/research/*research*.md`
84
- 2. If no files: Try folder: `{output_folder}/*research*.md`
85
- 3. Add discovered files to `inputDocuments` frontmatter
86
-
87
- **Project Documentation (Existing Projects):**
88
-
89
- 1. Look for index file: `{project_knowledge}/index.md`
90
- 2. CRITICAL: Load index.md to understand what project files are available
91
- 3. Read available files from index to understand existing project context
92
- 4. This provides essential context for extending existing project with new architecture
93
- 5. Add discovered files to `inputDocuments` frontmatter
94
- 6. IF no index.md, ask user which files from the folder to include
95
-
96
- **Project Context Rules (Critical for AI Agents):**
97
-
98
- 1. Check for project context file: `**/project-context.md`
99
- 2. If exists: Load COMPLETE file contents - this contains critical rules for AI agents
100
- 3. Add to frontmatter `hasProjectContext: true` and track file path
101
- 4. Report to user: "Found existing project context with {number_of_rules} agent rules"
102
- 5. This file contains language-specific patterns, testing rules, and implementation guidelines that must be followed
73
+ <critical>Confirm what you have found with the user, along with asking if the user wants to provide anything else. Only after this confirmation will you proceed to follow the loading rules</critical>
103
74
 
104
75
  **Loading Rules:**
105
76
 
106
- - Load ALL discovered files completely (no offset/limit)
107
- - For sharded folders, load ALL files to get complete picture
108
- - For existing projects, use index.md as guide to what's relevant
77
+ - Load ALL discovered files completely that the user confirmed or provided (no offset/limit)
78
+ - If there is a project context, whatever is relevant should try to be biased in the remainder of this whole workflow process
79
+ - For sharded folders, load ALL files to get complete picture, using the index first to potentially know the potential of each document
80
+ - index.md is a guide to what's relevant whenever available
109
81
  - Track all successfully loaded files in frontmatter `inputDocuments` array
110
82
 
111
83
  #### B. Validate Required Inputs
@@ -117,13 +89,13 @@ Before proceeding, verify we have the essential inputs:
117
89
  - If no PRD found: "Architecture requires a PRD to work from. Please run the PRD workflow first or provide the PRD file path."
118
90
  - Do NOT proceed without PRD
119
91
 
120
- **Other Inputs:**
92
+ **Other Input that might exist:**
121
93
 
122
- - UX Spec: "Provides UI/UX architectural requirements" (Optional)
94
+ - UX Spec: "Provides UI/UX architectural requirements"
123
95
 
124
96
  #### C. Create Initial Document
125
97
 
126
- Copy the template from `{installed_path}/architecture-decision-template.md` to `{output_folder}/architecture.md`
98
+ Copy the template from `{installed_path}/architecture-decision-template.md` to `{planning_artifacts}/architecture.md`
127
99
 
128
100
  #### D. Complete Initialization and Report
129
101
 
@@ -131,7 +103,7 @@ Complete setup and report to user:
131
103
 
132
104
  **Document Setup:**
133
105
 
134
- - Created: `{output_folder}/architecture.md` from template
106
+ - Created: `{planning_artifacts}/architecture.md` from template
135
107
  - Initialized frontmatter with workflow state
136
108
 
137
109
  **Input Documents Discovered:**
@@ -141,7 +113,6 @@ Report what was found:
141
113
  **Documents Found:**
142
114
 
143
115
  - PRD: {number of PRD files loaded or "None found - REQUIRED"}
144
- - Epics/Stories: {number of epic files loaded or "None found"}
145
116
  - UX Design: {number of UX files loaded or "None found"}
146
117
  - Research: {number of research files loaded or "None found"}
147
118
  - Project docs: {number of project files loaded or "None found"}
@@ -177,6 +148,6 @@ Ready to begin architectural decision making. Do you have any other documents yo
177
148
 
178
149
  ## NEXT STEP:
179
150
 
180
- After user selects [C] to continue, load `./step-02-context.md` to analyze the project context and begin architectural decision making.
151
+ After user selects [C] to continue, only after ensuring all the template output has been created, then load `./step-02-context.md` to analyze the project context and begin architectural decision making.
181
152
 
182
153
  Remember: Do NOT proceed to step-02 until user explicitly selects [C] from the menu and setup is confirmed!
@@ -185,7 +185,7 @@ Show the generated content and present choices:
185
185
 
186
186
  #### If 'C' (Continue):
187
187
 
188
- - Append the final content to `{output_folder}/architecture.md`
188
+ - Append the final content to `{planning_artifacts}/architecture.md`
189
189
  - Update frontmatter: `stepsCompleted: [1, 2]`
190
190
  - Load `./step-03-starter.md`
191
191
 
@@ -292,7 +292,7 @@ Show the generated content and present choices:
292
292
 
293
293
  #### If 'C' (Continue):
294
294
 
295
- - Append the final content to `{output_folder}/architecture.md`
295
+ - Append the final content to `{planning_artifacts}/architecture.md`
296
296
  - Update frontmatter: `stepsCompleted: [1, 2, 3]`
297
297
  - Load `./step-04-decisions.md`
298
298
 
@@ -279,7 +279,7 @@ Show the generated decisions content and present choices:
279
279
 
280
280
  #### If 'C' (Continue):
281
281
 
282
- - Append the final content to `{output_folder}/architecture.md`
282
+ - Append the final content to `{planning_artifacts}/architecture.md`
283
283
  - Update frontmatter: `stepsCompleted: [1, 2, 3, 4]`
284
284
  - Load `./step-05-patterns.md`
285
285
 
@@ -320,7 +320,7 @@ Show the generated patterns content and present choices:
320
320
 
321
321
  #### If 'C' (Continue):
322
322
 
323
- - Append the final content to `{output_folder}/architecture.md`
323
+ - Append the final content to `{planning_artifacts}/architecture.md`
324
324
  - Update frontmatter: `stepsCompleted: [1, 2, 3, 4, 5]`
325
325
  - Load `./step-06-structure.md`
326
326
 
@@ -340,7 +340,7 @@ Show the generated project structure content and present choices:
340
340
 
341
341
  #### If 'C' (Continue):
342
342
 
343
- - Append the final content to `{output_folder}/architecture.md`
343
+ - Append the final content to `{planning_artifacts}/architecture.md`
344
344
  - Update frontmatter: `stepsCompleted: [1, 2, 3, 4, 5, 6]`
345
345
  - Load `./step-07-validation.md`
346
346
 
@@ -320,7 +320,7 @@ Show the validation results and present choices:
320
320
 
321
321
  #### If 'C' (Continue):
322
322
 
323
- - Append the final content to `{output_folder}/architecture.md`
323
+ - Append the final content to `{planning_artifacts}/architecture.md`
324
324
  - Update frontmatter: `stepsCompleted: [1, 2, 3, 4, 5, 6, 7]`
325
325
  - Load `./step-08-complete.md`
326
326
 
@@ -116,7 +116,7 @@ Provide specific next steps for implementation:
116
116
 
117
117
  **Immediate Next Steps:**
118
118
 
119
- 1. **Review the complete architecture document** at `{output_folder}/architecture.md`
119
+ 1. **Review the complete architecture document** at `{planning_artifacts}/architecture.md`
120
120
  2. **Begin with project initialization** using the starter template command documented
121
121
  3. **Create first implementation story** for project setup
122
122
  4. **Start implementing user stories** following the architectural decisions
@@ -151,7 +151,7 @@ Prepare the final content to append to the document:
151
151
  **Architecture Decision Workflow:** COMPLETED ✅
152
152
  **Total Steps Completed:** 8
153
153
  **Date Completed:** {{current_date}}
154
- **Document Location:** {output_folder}/architecture.md
154
+ **Document Location:** {planning_artifacts}/architecture.md
155
155
 
156
156
  ### Final Architecture Deliverables
157
157
 
@@ -243,15 +243,15 @@ The chosen starter template and architectural patterns provide a production-read
243
243
 
244
244
  **Save Final Document:**
245
245
 
246
- - Ensure all content is properly appended to `{output_folder}/architecture.md`
246
+ - Ensure all content is properly appended to `{planning_artifacts}/architecture.md`
247
247
  - Update frontmatter with completion status
248
248
  - Verify document is complete and coherent
249
249
 
250
250
  **Workflow Status Update:**
251
251
  If not in standalone mode, update workflow status:
252
252
 
253
- - Load `{output_folder}/bmm-workflow-status.yaml`
254
- - Update workflow_status["create-architecture"] = "{output_folder}/architecture.md"
253
+ - Load `{planning_artifacts}/bmm-workflow-status.yaml`
254
+ - Update workflow_status["create-architecture"] = "{planning_artifacts}/architecture.md"
255
255
  - Save file with all structure and comments preserved
256
256
 
257
257
  ### 6. Present Completion to User
@@ -268,7 +268,7 @@ Your architecture for {{project_name}} is comprehensive, validated, and ready fo
268
268
  - Implementation guidance for the development phase
269
269
 
270
270
  **📍 Where to find it:**
271
- `{output_folder}/architecture.md`
271
+ `{planning_artifacts}/architecture.md`
272
272
 
273
273
  **🚀 What's next:**
274
274
 
@@ -94,7 +94,7 @@ Before proceeding, Ask the user if there are any other documents, or if what you
94
94
 
95
95
  ### 3. Extract Functional Requirements (FRs)
96
96
 
97
- From the PRD document (full or sharded), extract ALL functional requirements:
97
+ From the PRD document (full or sharded), read then entire document and extract ALL functional requirements:
98
98
 
99
99
  **Extraction Method:**
100
100
 
@@ -22,7 +22,7 @@ variables:
22
22
  sprint_status: "{implementation_artifacts}/sprint-status.yaml || {output_folder}/sprint-status.yaml" # Primary source for story tracking
23
23
  epics_file: "{output_folder}/epics.md" # Enhanced epics+stories with BDD and source hints
24
24
  prd_file: "{output_folder}/PRD.md" # Fallback for requirements (if not in epics file)
25
- architecture_file: "{output_folder}/architecture.md" # Fallback for constraints (if not in epics file)
25
+ architecture_file: "{planning_artifacts}/architecture.md" # Fallback for constraints (if not in epics file)
26
26
  ux_file: "{output_folder}/ux.md" # Fallback for UX requirements (if not in epics file)
27
27
  story_title: "" # Will be elicited if not derivable
28
28
 
@@ -15,15 +15,6 @@ agent:
15
15
  principles: Psychological safety unlocks breakthroughs. Wild ideas today become innovations tomorrow. Humor and play are serious innovation tools.
16
16
 
17
17
  menu:
18
- - trigger: brainstorm
18
+ - trigger: BS or fuzzy match on brainstorm
19
19
  workflow: "{project-root}/_bmad/core/workflows/brainstorming/workflow.yaml"
20
- description: Guide me through Brainstorming any topic
21
-
22
- - trigger: party-mode
23
- exec: "{project-root}/_bmad/core/workflows/party-mode/workflow.md"
24
- description: Consult with other expert agents from the party
25
-
26
- - trigger: advanced-elicitation
27
- exec: "{project-root}/_bmad/core/tasks/advanced-elicitation.xml"
28
- description: Advanced elicitation techniques to challenge the LLM to get better results
29
- web-only: true
20
+ description: "[BS] Guide me through Brainstorming any topic"
@@ -15,15 +15,6 @@ agent:
15
15
  principles: Every problem is a system revealing weaknesses. Hunt for root causes relentlessly. The right question beats a fast answer.
16
16
 
17
17
  menu:
18
- - trigger: solve
18
+ - trigger: PS or fuzzy match on problem-solving
19
19
  workflow: "{project-root}/_bmad/cis/workflows/problem-solving/workflow.yaml"
20
- description: Apply systematic problem-solving methodologies
21
-
22
- - trigger: party-mode
23
- exec: "{project-root}/_bmad/core/workflows/party-mode/workflow.md"
24
- description: Consult with other expert agents from the party
25
-
26
- - trigger: advanced-elicitation
27
- exec: "{project-root}/_bmad/core/tasks/advanced-elicitation.xml"
28
- description: Advanced elicitation techniques to challenge the LLM to get better results
29
- web-only: true
20
+ description: "[PS] Apply systematic problem-solving methodologies"