bmad-method 6.0.0-alpha.1 → 6.0.0-alpha.3

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 (48) hide show
  1. package/.claude/settings.local.json +11 -1
  2. package/README.md +115 -165
  3. package/docs/BMad-Method-V6-Quick-Start.md +341 -0
  4. package/docs/index.md +229 -0
  5. package/docs/v4-to-v6-upgrade.md +9 -7
  6. package/package.json +1 -1
  7. package/src/modules/bmb/README.md +135 -73
  8. package/src/modules/bmb/workflows/create-agent/README.md +126 -243
  9. package/src/modules/bmb/workflows/create-agent/instructions.md +25 -12
  10. package/src/modules/bmb/workflows/create-module/README.md +163 -154
  11. package/src/modules/bmb/workflows/create-workflow/instructions.md +16 -8
  12. package/src/modules/bmm/README.md +86 -83
  13. package/src/modules/bmm/workflows/1-analysis/brainstorm-game/instructions.md +45 -26
  14. package/src/modules/bmm/workflows/1-analysis/brainstorm-project/README.md +100 -16
  15. package/src/modules/bmm/workflows/1-analysis/brainstorm-project/instructions.md +42 -23
  16. package/src/modules/bmm/workflows/1-analysis/game-brief/instructions.md +42 -28
  17. package/src/modules/bmm/workflows/1-analysis/product-brief/instructions.md +38 -27
  18. package/src/modules/bmm/workflows/1-analysis/research/instructions-deep-prompt.md +24 -34
  19. package/src/modules/bmm/workflows/1-analysis/research/instructions-market.md +23 -34
  20. package/src/modules/bmm/workflows/1-analysis/research/instructions-router.md +30 -14
  21. package/src/modules/bmm/workflows/1-analysis/research/instructions-technical.md +23 -34
  22. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md +42 -24
  23. package/src/modules/bmm/workflows/2-plan-workflows/gdd/instructions-gdd.md +35 -22
  24. package/src/modules/bmm/workflows/2-plan-workflows/narrative/instructions-narrative.md +73 -22
  25. package/src/modules/bmm/workflows/2-plan-workflows/prd/instructions.md +45 -63
  26. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions.md +46 -62
  27. package/src/modules/bmm/workflows/3-solutioning/architecture/instructions.md +46 -53
  28. package/src/modules/bmm/workflows/3-solutioning/solutioning-gate-check/instructions.md +78 -47
  29. package/src/modules/bmm/workflows/4-implementation/create-story/README.md +99 -82
  30. package/src/modules/bmm/workflows/4-implementation/create-story/instructions.md +2 -0
  31. package/src/modules/bmm/workflows/4-implementation/story-context/instructions.md +3 -0
  32. package/src/modules/bmm/workflows/README.md +149 -511
  33. package/src/modules/bmm/workflows/workflow-status/README.md +38 -19
  34. package/src/modules/bmm/workflows/workflow-status/init/instructions.md +117 -24
  35. package/src/modules/bmm/workflows/workflow-status/init/workflow.yaml +2 -2
  36. package/src/modules/bmm/workflows/workflow-status/instructions.md +173 -111
  37. package/src/modules/bmm/workflows/workflow-status/sample-level-3-workflow.yaml +49 -0
  38. package/src/modules/bmm/workflows/workflow-status/workflow-status-template.yaml +31 -0
  39. package/src/modules/bmm/workflows/workflow-status/workflow.yaml +3 -3
  40. package/src/modules/cis/README.md +153 -0
  41. package/src/modules/cis/workflows/README.md +102 -30
  42. package/src/modules/cis/workflows/storytelling/instructions.md +10 -2
  43. package/tools/bmad-npx-wrapper.js +10 -98
  44. package/tools/cli/installers/lib/core/manifest-generator.js +4 -1
  45. package/src/modules/bmm/workflows/workflow-status/workflow-status-template.md +0 -30
  46. package/src/modules/cis/readme.md +0 -86
  47. /package/src/modules/bmm/sub-modules/claude-code/{readme.md → README.md} +0 -0
  48. /package/src/modules/bmm/workflows/3-solutioning/architecture/{readme.md → README.md} +0 -0
@@ -1,141 +1,144 @@
1
1
  # BMM - BMad Method Module
2
2
 
3
- The BMM (BMad Method Module) is the core orchestration system for the BMad Method, providing comprehensive software development lifecycle management through specialized agents, workflows, teams, and tasks.
3
+ Core orchestration system for AI-driven agile development, providing comprehensive lifecycle management through specialized agents and workflows.
4
4
 
5
- ## 📚 Essential Reading
5
+ ## Table of Contents
6
6
 
7
- **Before using BMM, you MUST read the [BMM v6 Workflows Guide](./workflows/README.md).** This document explains the revolutionary v6a workflow system and how all components work together.
7
+ - [Essential Reading](#essential-reading)
8
+ - [Module Structure](#module-structure)
9
+ - [Quick Start](#quick-start)
10
+ - [Key Concepts](#key-concepts)
11
+ - [Scale Levels](#scale-levels)
12
+ - [Story Lifecycle](#story-lifecycle)
13
+ - [Best Practices](#best-practices)
14
+
15
+ ## Essential Reading
16
+
17
+ **[📖 BMM v6 Workflows Guide](./workflows/README.md)** - Required reading before using BMM. Explains the revolutionary workflow system and component integration.
8
18
 
9
19
  ## Module Structure
10
20
 
11
- ### 🤖 `/agents`
21
+ ### 🤖 Agents
12
22
 
13
- Specialized AI agents for different development roles:
23
+ **Core Development Roles:**
14
24
 
15
- - **PM** (Product Manager) - Product planning and requirements
25
+ - **PM** - Product Manager for planning and requirements
16
26
  - **Analyst** - Business analysis and research
17
27
  - **Architect** - Technical architecture and design
18
- - **SM** (Scrum Master) - Sprint and story management
19
- - **DEV** (Developer) - Code implementation
20
- - **TEA** (Test Architect) - Test Architect
28
+ - **SM** - Scrum Master for sprint and story management
29
+ - **DEV** - Developer for implementation
30
+ - **TEA** - Test Architect for quality assurance
21
31
  - **UX** - User experience design
22
- - And more specialized roles
23
32
 
24
- **Game Development Agents** (Optional):
25
- During installation, you can optionally include game development specialists:
33
+ **Game Development** (Optional):
26
34
 
27
- - **Game Designer** - Creative vision and game design documents (GDD)
35
+ - **Game Designer** - Creative vision and GDD creation
28
36
  - **Game Developer** - Game-specific implementation
29
- - **Game Architect** - Game systems and technical infrastructure
37
+ - **Game Architect** - Game systems and infrastructure
30
38
 
31
- These agents come with specialized workflows (`brainstorm-game`, `game-brief`, `gdd`) and are only installed if you select "Include Game Planning Agents and Workflows" during BMM installation.
39
+ ### 📋 Workflows
32
40
 
33
- ### 📋 `/workflows`
41
+ Four-phase methodology adapting to project complexity:
34
42
 
35
- The heart of BMM - structured workflows for the four development phases:
43
+ **1. Analysis** (Optional)
36
44
 
37
- 1. **Analysis Phase** (Optional)
38
- - `brainstorm-project` - Project ideation
39
- - `research` - Market/technical research
40
- - `product-brief` - Product strategy
45
+ - `brainstorm-project` - Project ideation
46
+ - `research` - Market/technical research
47
+ - `product-brief` - Product strategy
41
48
 
42
- 2. **Planning Phase** (Required)
43
- - `prd` - Scale-adaptive project planning
44
- - Routes to appropriate documentation based on project complexity
49
+ **2. Planning** (Required)
45
50
 
46
- 3. **Solutioning Phase** (Level 3-4 projects)
47
- - `3-solutioning` - Architecture design
48
- - `tech-spec` - Epic-specific technical specifications
51
+ - `prd` - Scale-adaptive planning
52
+ - Routes to appropriate documentation level
49
53
 
50
- 4. **Implementation Phase** (Iterative)
51
- - `create-story` - Story drafting (SM agent)
52
- - `story-ready` - Approve story for development (SM agent)
53
- - `story-context` - Expertise injection (SM agent)
54
- - `dev-story` - Implementation (DEV agent)
55
- - `story-done` - Mark story done (DEV agent)
56
- - `code-review` - Quality validation (DEV/SR agent)
57
- - `correct-course` - Issue resolution
58
- - `retrospective` - Continuous improvement
54
+ **3. Solutioning** (Level 3-4)
59
55
 
60
- ### 👥 `/teams`
56
+ - `architecture` - System design
57
+ - `tech-spec` - Epic technical specifications
61
58
 
62
- Pre-configured agent teams for different project types and phases. Teams coordinate multiple agents working together on complex tasks.
59
+ **4. Implementation** (Iterative)
63
60
 
64
- ### 📝 `/tasks`
61
+ - `create-story` - Draft stories
62
+ - `story-context` - Inject expertise
63
+ - `dev-story` - Implement
64
+ - `code-review` - Validate quality
65
65
 
66
- Reusable task definitions that agents execute within workflows. These are the atomic units of work that compose into larger workflows.
66
+ ### 👥 Teams
67
67
 
68
- ### 🔧 `/sub-modules`
68
+ Pre-configured agent groups for coordinated complex tasks.
69
69
 
70
- Extension modules that add specialized capabilities to BMM.
70
+ ### 📝 Tasks
71
71
 
72
- ### 🏗️ `/testarch`
72
+ Atomic work units composing into larger workflows.
73
73
 
74
- Test architecture and quality assurance components. The **[Test Architect (TEA) Guide](./testarch/README.md)** provides comprehensive testing strategy across 9 workflows: framework setup, CI/CD, test design, ATDD, automation, traceability, NFR assessment, quality gates, and test review.
74
+ ### 🏗️ Test Architecture
75
+
76
+ **[TEA Guide](./testarch/README.md)** - Comprehensive testing strategy across 9 specialized workflows.
75
77
 
76
78
  ## Quick Start
77
79
 
78
- ```bash
79
- # Load the PM agent - either via slash command or drag and drop or @ the agent file.
80
- # Once loaded, the agent should greet you and offer a menu of options. You can enter:
81
- `*prd`
82
- ```
80
+ 1. **Load PM agent** in your IDE
81
+ 2. **Wait for menu** to appear
82
+ 3. **Run workflow:**
83
+ ```
84
+ *prd
85
+ ```
83
86
 
84
- ## Key Concepts
87
+ **IDE Instructions:**
85
88
 
86
- ### Scale Levels
89
+ - [Claude Code](../../docs/ide-info/claude-code.md)
90
+ - [Cursor](../../docs/ide-info/cursor.md)
91
+ - [VS Code](../../docs/ide-info/windsurf.md)
92
+ - [Others](../../docs/ide-info/)
87
93
 
88
- BMM automatically adapts to project complexity:
94
+ ## Key Concepts
89
95
 
90
- - **Level 0**: Single atomic change
91
- - **Level 1**: 1-10 stories, minimal documentation
92
- - **Level 2**: 5-15 stories, focused PRD
93
- - **Level 3**: 12-40 stories, full architecture
94
- - **Level 4**: 40+ stories, enterprise scale
96
+ ### Scale Levels
95
97
 
96
- ### Just-In-Time Design
98
+ BMM automatically adapts complexity:
97
99
 
98
- Technical specifications are created one epic at a time during implementation, not all upfront, allowing for learning and adaptation.
100
+ | Level | Stories | Documentation |
101
+ | ----- | ------------- | ----------------- |
102
+ | 0 | Single change | Minimal |
103
+ | 1 | 1-10 | Light PRD |
104
+ | 2 | 5-15 | Focused PRD |
105
+ | 3 | 12-40 | Full architecture |
106
+ | 4 | 40+ | Enterprise scale |
99
107
 
100
- ### Story State Machine
108
+ ### Story Lifecycle
101
109
 
102
- Stories flow through a 4-state lifecycle tracked in the status file:
110
+ Four-state machine tracked in status file:
103
111
 
104
112
  ```
105
113
  BACKLOG → TODO → IN PROGRESS → DONE
106
114
  ```
107
115
 
108
- - **BACKLOG**: Ordered list of stories to be drafted (populated at phase transition)
109
- - **TODO**: Single story ready for SM to draft (or drafted, awaiting approval)
110
- - **IN PROGRESS**: Single story approved for DEV to implement
111
- - **DONE**: Completed stories with dates and points
116
+ - **BACKLOG** - Ordered stories to draft
117
+ - **TODO** - Ready for SM drafting
118
+ - **IN PROGRESS** - Approved for DEV
119
+ - **DONE** - Completed with metrics
120
+
121
+ ### Just-In-Time Design
112
122
 
113
- Agents never search for "next story" - they always read the exact story from the status file. Simple workflows (`story-ready`, `story-done`) advance the queue automatically.
123
+ Technical specifications created per epic during implementation, enabling learning and adaptation.
114
124
 
115
125
  ### Context Injection
116
126
 
117
- Story-specific technical guidance is generated dynamically, providing developers with exactly the expertise needed for each task.
118
-
119
- ## Integration with BMad Core
127
+ Dynamic technical guidance generated for each story, providing exact expertise when needed.
120
128
 
121
- BMM integrates seamlessly with the BMad Core framework, leveraging:
129
+ ## Best Practices
122
130
 
123
- - The agent execution engine
124
- - Workflow orchestration
125
- - Task management
126
- - Team coordination
131
+ 1. **Start with workflows** - Let process guide you
132
+ 2. **Respect scale** - Don't over-document small projects
133
+ 3. **Trust the process** - Methodology carefully designed
134
+ 4. **Use status file** - Single source of truth for stories
127
135
 
128
136
  ## Related Documentation
129
137
 
130
- - [BMM Workflows Guide](./workflows/README.md) - **Start here!**
131
- - [Test Architect (TEA) Guide](./testarch/README.md) - Quality assurance and testing strategy
132
-
133
- ## Best Practices
134
-
135
- 1. **Always start with the workflows** - Let workflows guide your process
136
- 2. **Respect the scale** - Don't over-document small projects
137
- 3. **Trust the process** - The methodology has been carefully designed
138
+ - **[Workflows Guide](./workflows/README.md)** - Complete workflow reference
139
+ - **[Test Architect Guide](./testarch/README.md)** - Testing strategy
140
+ - **[IDE Setup](../../docs/ide-info/)** - Environment configuration
138
141
 
139
142
  ---
140
143
 
141
- For detailed information about the complete BMad Method workflow system, see the [BMM Workflows README](./workflows/README.md).
144
+ For complete BMad Method workflow system details, see the [BMM Workflows README](./workflows/README.md).
@@ -5,20 +5,20 @@
5
5
 
6
6
  <workflow>
7
7
 
8
- <step n="1" goal="Validate workflow readiness">
9
- <invoke-workflow path="{project-root}/bmad/bmm/workflows/workflow-status">
10
- <param>mode: validate</param>
11
- <param>calling_workflow: brainstorm-game</param>
12
- </invoke-workflow>
8
+ <step n="1" goal="Validate workflow readiness" tag="workflow-status">
9
+ <action>Check if {output_folder}/bmm-workflow-status.yaml exists</action>
13
10
 
14
- <check if="status_exists == false">
15
- <output>{{suggestion}}</output>
16
- <output>Note: Game brainstorming is optional. Continuing without progress tracking.</output>
11
+ <check if="status file not found">
12
+ <output>No workflow status file found. Game brainstorming is optional - you can continue without status tracking.</output>
17
13
  <action>Set standalone_mode = true</action>
18
14
  </check>
19
15
 
20
- <check if="status_exists == true">
21
- <action>Store {{status_file_path}} for later updates</action>
16
+ <check if="status file found">
17
+ <action>Load the FULL file: {output_folder}/bmm-workflow-status.yaml</action>
18
+ <action>Parse workflow_status section</action>
19
+ <action>Check status of "brainstorm-game" workflow</action>
20
+ <action>Get project_level from YAML metadata</action>
21
+ <action>Find first non-completed workflow (next expected workflow)</action>
22
22
 
23
23
  <check if="project_type != 'game'">
24
24
  <output>Note: This is a {{project_type}} project. Game brainstorming is designed for game projects.</output>
@@ -28,10 +28,25 @@
28
28
  </check>
29
29
  </check>
30
30
 
31
- <check if="warning != ''">
32
- <output>{{warning}}</output>
33
- <output>Note: Game brainstorming can be valuable at any project stage.</output>
31
+ <check if="brainstorm-game status is file path (already completed)">
32
+ <output>⚠️ Game brainstorming session already completed: {{brainstorm-game status}}</output>
33
+ <ask>Re-running will create a new session. Continue? (y/n)</ask>
34
+ <check if="n">
35
+ <output>Exiting. Use workflow-status to see your next step.</output>
36
+ <action>Exit workflow</action>
37
+ </check>
38
+ </check>
39
+
40
+ <check if="brainstorm-game is not the next expected workflow (latter items are completed already in the list)">
41
+ <output>⚠️ Next expected workflow: {{next_workflow}}. Game brainstorming is out of sequence.</output>
42
+ <ask>Continue with game brainstorming anyway? (y/n)</ask>
43
+ <check if="n">
44
+ <output>Exiting. Run {{next_workflow}} instead.</output>
45
+ <action>Exit workflow</action>
46
+ </check>
34
47
  </check>
48
+
49
+ <action>Set standalone_mode = false</action>
35
50
  </check>
36
51
 
37
52
  </step>
@@ -66,17 +81,16 @@
66
81
  </invoke-workflow>
67
82
  </step>
68
83
 
69
- <step n="4" goal="Update status and complete">
84
+ <step n="4" goal="Update status and complete" tag="workflow-status">
70
85
  <check if="standalone_mode != true">
71
- <invoke-workflow path="{project-root}/bmad/bmm/workflows/workflow-status">
72
- <param>mode: update</param>
73
- <param>action: complete_workflow</param>
74
- <param>workflow_name: brainstorm-game</param>
75
- </invoke-workflow>
76
-
77
- <check if="success == true">
78
- <output>Status updated! Next: {{next_workflow}}</output>
79
- </check>
86
+ <action>Load the FULL file: {output_folder}/bmm-workflow-status.yaml</action>
87
+ <action>Find workflow_status key "brainstorm-game"</action>
88
+ <critical>ONLY write the file path as the status value - no other text, notes, or metadata</critical>
89
+ <action>Update workflow_status["brainstorm-game"] = "{output_folder}/bmm-brainstorming-session-{{date}}.md"</action>
90
+ <action>Save file, preserving ALL comments and structure including STATUS DEFINITIONS</action>
91
+
92
+ <action>Find first non-completed workflow in workflow_status (next workflow to do)</action>
93
+ <action>Determine next agent from path file based on next workflow</action>
80
94
  </check>
81
95
 
82
96
  <output>**✅ Game Brainstorming Session Complete, {user_name}!**
@@ -88,16 +102,21 @@
88
102
  {{#if standalone_mode != true}}
89
103
  **Status Updated:**
90
104
 
91
- - Progress tracking updated
105
+ - Progress tracking updated: brainstorm-game marked complete
106
+ - Next workflow: {{next_workflow}}
107
+ {{else}}
108
+ **Note:** Running in standalone mode (no progress tracking)
109
+ {{/if}}
92
110
 
93
111
  **Next Steps:**
94
112
 
95
- - **Next required:** {{next_workflow}} ({{next_agent}} agent)
113
+ {{#if standalone_mode != true}}
114
+
115
+ - **Next workflow:** {{next_workflow}} ({{next_agent}} agent)
96
116
  - **Optional:** You can run other analysis workflows (research, game-brief) before proceeding
97
117
 
98
118
  Check status anytime with: `workflow-status`
99
119
  {{else}}
100
- **Next Steps:**
101
120
  Since no workflow is in progress:
102
121
 
103
122
  - Refer to the BMM workflow guide if unsure what to do next
@@ -1,29 +1,113 @@
1
- ---
2
- last-redoc-date: 2025-10-01
3
- ---
4
-
5
1
  # Project Brainstorming Workflow
6
2
 
7
- This workflow facilitates structured ideation for non-game software projects through systematic exploration of problem spaces, architectures, and implementation strategies. Unlike traditional requirement gathering, it employs creative techniques to uncover non-obvious approaches and identify innovative solutions that address core business needs while considering technical constraints and organizational capabilities.
3
+ Structured ideation for software projects exploring problem spaces, architectures, and innovative solutions beyond traditional requirements gathering.
4
+
5
+ ## Table of Contents
8
6
 
9
- The workflow operates through a project-specific context framework that captures business objectives, technical environment, stakeholder needs, and organizational constraints. It generates multiple solution vectors through parallel ideation tracks: architectural approaches, user experience paradigms, integration patterns, and value delivery mechanisms. Each track produces concrete proposals that are evaluated against feasibility, impact, and alignment with strategic objectives.
7
+ - [Purpose](#purpose)
8
+ - [Usage](#usage)
9
+ - [Process](#process)
10
+ - [Inputs & Outputs](#inputs--outputs)
11
+ - [Integration](#integration)
10
12
 
11
- Critical differentiators include its focus on solution innovation rather than requirement enumeration, emphasis on technical-business alignment from inception, and structured approach to surfacing hidden assumptions. The workflow produces actionable outputs that directly feed into Product Brief development, ensuring that creative exploration translates into concrete planning artifacts.
13
+ ## Purpose
14
+
15
+ Generate multiple solution approaches for software projects through:
16
+
17
+ - Parallel ideation tracks (architecture, UX, integration, value delivery)
18
+ - Technical-business alignment from inception
19
+ - Hidden assumption discovery
20
+ - Innovation beyond obvious solutions
12
21
 
13
22
  ## Usage
14
23
 
15
24
  ```bash
16
- bmad bmm 1-analysis brainstorm-project
25
+ # Run brainstorming session
26
+ bmad bmm *brainstorm-project
27
+
28
+ # Or via Analyst agent
29
+ *brainstorm-project
30
+ ```
31
+
32
+ ## Process
33
+
34
+ ### 1. Context Capture
35
+
36
+ - Business objectives and constraints
37
+ - Technical environment
38
+ - Stakeholder needs
39
+ - Success criteria
40
+
41
+ ### 2. Parallel Ideation
42
+
43
+ - **Architecture Track**: Technical approaches with trade-offs
44
+ - **UX Track**: Interface paradigms and user journeys
45
+ - **Integration Track**: System connection patterns
46
+ - **Value Track**: Feature prioritization and delivery
47
+
48
+ ### 3. Solution Synthesis
49
+
50
+ - Evaluate feasibility and impact
51
+ - Align with strategic objectives
52
+ - Surface hidden assumptions
53
+ - Generate recommendations
54
+
55
+ ## Inputs & Outputs
56
+
57
+ ### Inputs
58
+
59
+ | Input | Type | Purpose |
60
+ | ----------------- | -------- | --------------------------------------------- |
61
+ | Project Context | Document | Business objectives, environment, constraints |
62
+ | Problem Statement | Optional | Core challenge or opportunity |
63
+
64
+ ### Outputs
65
+
66
+ | Output | Content |
67
+ | ------------------------ | ------------------------------------------- |
68
+ | Architecture Proposals | Multiple approaches with trade-off analysis |
69
+ | Value Framework | Prioritized features aligned to objectives |
70
+ | Risk Analysis | Dependencies, challenges, opportunities |
71
+ | Strategic Recommendation | Synthesized direction with rationale |
72
+
73
+ ## Integration
74
+
75
+ ### Workflow Chain
76
+
77
+ 1. **brainstorm-project** ← Current step
78
+ 2. research (optional deep dive)
79
+ 3. product-brief (strategic document)
80
+ 4. Phase 2 planning (PRD/tech-spec)
81
+
82
+ ### Feed Into
83
+
84
+ - Product Brief development
85
+ - Architecture decisions
86
+ - PRD requirements
87
+ - Epic prioritization
88
+
89
+ ## Best Practices
90
+
91
+ 1. **Prepare context** - Gather business and technical background
92
+ 2. **Think broadly** - Explore non-obvious approaches
93
+ 3. **Document assumptions** - Capture implicit beliefs
94
+ 4. **Consider constraints** - Technical, organizational, resource
95
+ 5. **Focus on value** - Align to business objectives
96
+
97
+ ## Configuration
98
+
99
+ ```yaml
100
+ # bmad/bmm/config.yaml
101
+ output_folder: ./output
102
+ project_name: Your Project
17
103
  ```
18
104
 
19
- ## Inputs
105
+ ## Related Workflows
20
106
 
21
- - **Project Context Document**: Business objectives, technical environment, stakeholder landscape, organizational constraints, success criteria, and known pain points
22
- - **Problem Statement** (optional): Core business challenge or opportunity driving the project
107
+ - [Research](../research/README.md) - Deep investigation
108
+ - [Product Brief](../product-brief/README.md) - Strategic planning
109
+ - [PRD](../../2-plan-workflows/prd/README.md) - Requirements document
23
110
 
24
- ## Outputs
111
+ ---
25
112
 
26
- - **Architecture Proposals**: Multiple technical approaches with trade-off analysis and feasibility assessments
27
- - **Value Delivery Framework**: Prioritized feature concepts aligned with business objectives and user needs
28
- - **Risk and Opportunity Analysis**: Identified technical dependencies, integration challenges, and innovation opportunities
29
- - **Strategic Recommendation**: Synthesized direction with rationale and implementation considerations
113
+ Part of BMad Method v6 - Phase 1 Analysis workflows
@@ -8,25 +8,40 @@
8
8
 
9
9
  <workflow>
10
10
 
11
- <step n="1" goal="Validate workflow readiness">
12
- <invoke-workflow path="{project-root}/bmad/bmm/workflows/workflow-status">
13
- <param>mode: validate</param>
14
- <param>calling_workflow: brainstorm-project</param>
15
- </invoke-workflow>
11
+ <step n="1" goal="Validate workflow readiness" tag="workflow-status">
12
+ <action>Check if {output_folder}/bmm-workflow-status.yaml exists</action>
16
13
 
17
- <check if="status_exists == false">
18
- <output>{{suggestion}}</output>
19
- <output>Note: Brainstorming is optional. Continuing without progress tracking.</output>
14
+ <check if="status file not found">
15
+ <output>No workflow status file found. Brainstorming is optional - you can continue without status tracking.</output>
20
16
  <action>Set standalone_mode = true</action>
21
17
  </check>
22
18
 
23
- <check if="status_exists == true">
24
- <action>Store {{status_file_path}} for later updates</action>
19
+ <check if="status file found">
20
+ <action>Load the FULL file: {output_folder}/bmm-workflow-status.yaml</action>
21
+ <action>Parse workflow_status section</action>
22
+ <action>Check status of "brainstorm-project" workflow</action>
23
+ <action>Get project_level from YAML metadata</action>
24
+ <action>Find first non-completed workflow (next expected workflow)</action>
25
+
26
+ <check if="brainstorm-project status is file path (already completed)">
27
+ <output>⚠️ Brainstorming session already completed: {{brainstorm-project status}}</output>
28
+ <ask>Re-running will create a new session. Continue? (y/n)</ask>
29
+ <check if="n">
30
+ <output>Exiting. Use workflow-status to see your next step.</output>
31
+ <action>Exit workflow</action>
32
+ </check>
33
+ </check>
25
34
 
26
- <check if="warning != ''">
27
- <output>{{warning}}</output>
28
- <output>Note: Brainstorming can be valuable at any project stage.</output>
35
+ <check if="brainstorm-project is not the next expected workflow (anything after brainstorm-project is completed already)">
36
+ <output>⚠️ Next expected workflow: {{next_workflow}}. Brainstorming is out of sequence.</output>
37
+ <ask>Continue with brainstorming anyway? (y/n)</ask>
38
+ <check if="n">
39
+ <output>Exiting. Run {{next_workflow}} instead.</output>
40
+ <action>Exit workflow</action>
41
+ </check>
29
42
  </check>
43
+
44
+ <action>Set standalone_mode = false</action>
30
45
  </check>
31
46
  </step>
32
47
 
@@ -51,36 +66,40 @@
51
66
  </invoke-workflow>
52
67
  </step>
53
68
 
54
- <step n="4" goal="Update status and complete">
69
+ <step n="4" goal="Update status and complete" tag="workflow-status">
55
70
  <check if="standalone_mode != true">
56
- <invoke-workflow path="{project-root}/bmad/bmm/workflows/workflow-status">
57
- <param>mode: update</param>
58
- <param>action: complete_workflow</param>
59
- <param>workflow_name: brainstorm-project</param>
60
- </invoke-workflow>
61
-
62
- <check if="success == true">
63
- <output>Status updated! Next: {{next_workflow}}</output>
64
- </check>
71
+ <action>Load the FULL file: {output_folder}/bmm-workflow-status.yaml</action>
72
+ <action>Find workflow_status key "brainstorm-project"</action>
73
+ <critical>ONLY write the file path as the status value - no other text, notes, or metadata</critical>
74
+ <action>Update workflow_status["brainstorm-project"] = "{output_folder}/bmm-brainstorming-session-{{date}}.md"</action>
75
+ <action>Save file, preserving ALL comments and structure including STATUS DEFINITIONS</action>
76
+
77
+ <action>Find first non-completed workflow in workflow_status (next workflow to do)</action>
78
+ <action>Determine next agent from path file based on next workflow</action>
65
79
  </check>
66
80
 
67
81
  <output>**✅ Brainstorming Session Complete, {user_name}!**
68
82
 
69
83
  **Session Results:**
84
+
70
85
  - Brainstorming results saved to: {output_folder}/bmm-brainstorming-session-{{date}}.md
71
86
 
72
87
  {{#if standalone_mode != true}}
73
88
  **Status Updated:**
89
+
74
90
  - Progress tracking updated
75
91
 
76
92
  **Next Steps:**
93
+
77
94
  - **Next required:** {{next_workflow}} ({{next_agent}} agent)
78
95
  - **Optional:** You can run other analysis workflows (research, product-brief) before proceeding
79
96
 
80
97
  Check status anytime with: `workflow-status`
81
98
  {{else}}
82
99
  **Next Steps:**
100
+
83
101
  Since no workflow is in progress:
102
+
84
103
  - Refer to the BMM workflow guide if unsure what to do next
85
104
  - Or run `workflow-init` to create a workflow path and get guided next steps
86
105
  {{/if}}