bmad-method 4.41.0 → 4.43.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 (36) hide show
  1. package/.github/FORK_GUIDE.md +106 -0
  2. package/.github/workflows/discord.yaml +1 -0
  3. package/.github/workflows/format-check.yaml +2 -0
  4. package/.github/workflows/manual-release.yaml +1 -0
  5. package/.github/workflows/pr-validation.yaml +55 -0
  6. package/CONTRIBUTING.md +41 -0
  7. package/README.md +21 -1
  8. package/bmad-core/agents/bmad-master.md +4 -4
  9. package/bmad-core/agents/dev.md +1 -0
  10. package/bmad-core/data/bmad-kb.md +1 -0
  11. package/bmad-core/workflows/brownfield-fullstack.yaml +2 -2
  12. package/bmad-core/workflows/brownfield-service.yaml +2 -2
  13. package/bmad-core/workflows/brownfield-ui.yaml +2 -2
  14. package/bmad-core/workflows/greenfield-fullstack.yaml +4 -4
  15. package/bmad-core/workflows/greenfield-service.yaml +2 -2
  16. package/bmad-core/workflows/greenfield-ui.yaml +3 -3
  17. package/dist/agents/analyst.txt +1 -0
  18. package/dist/agents/bmad-master.txt +1 -0
  19. package/dist/agents/bmad-orchestrator.txt +1 -0
  20. package/dist/agents/dev.txt +1 -0
  21. package/dist/teams/team-all.txt +17 -15
  22. package/dist/teams/team-fullstack.txt +16 -15
  23. package/dist/teams/team-ide-minimal.txt +2 -0
  24. package/dist/teams/team-no-ui.txt +5 -4
  25. package/docs/expansion-packs.md +3 -83
  26. package/docs/user-guide.md +26 -0
  27. package/implement-fork-friendly-ci.sh +229 -0
  28. package/package.json +4 -1
  29. package/release_notes.md +17 -2
  30. package/test.md +1 -0
  31. package/tools/installer/bin/bmad.js +36 -1
  32. package/tools/installer/config/install.config.yaml +41 -0
  33. package/tools/installer/lib/ide-setup.js +268 -0
  34. package/tools/installer/lib/installer.js +6 -1
  35. package/tools/installer/package.json +1 -1
  36. package/tools/setup-hooks.sh +37 -0
@@ -0,0 +1,106 @@
1
+ # Fork Guide - CI/CD Configuration
2
+
3
+ ## CI/CD in Forks
4
+
5
+ By default, CI/CD workflows are **disabled in forks** to conserve GitHub Actions resources and provide a cleaner fork experience.
6
+
7
+ ### Why This Approach?
8
+
9
+ - **Resource efficiency**: Prevents unnecessary GitHub Actions usage across 1,600+ forks
10
+ - **Clean fork experience**: No failed workflow notifications in your fork
11
+ - **Full control**: Enable CI/CD only when you actually need it
12
+ - **PR validation**: Your changes are still fully tested when submitting PRs to the main repository
13
+
14
+ ## Enabling CI/CD in Your Fork
15
+
16
+ If you need to run CI/CD workflows in your fork, follow these steps:
17
+
18
+ 1. Navigate to your fork's **Settings** tab
19
+ 2. Go to **Secrets and variables** → **Actions** → **Variables**
20
+ 3. Click **New repository variable**
21
+ 4. Create a new variable:
22
+ - **Name**: `ENABLE_CI_IN_FORK`
23
+ - **Value**: `true`
24
+ 5. Click **Add variable**
25
+
26
+ That's it! CI/CD workflows will now run in your fork.
27
+
28
+ ## Disabling CI/CD Again
29
+
30
+ To disable CI/CD workflows in your fork, you can either:
31
+
32
+ - **Delete the variable**: Remove the `ENABLE_CI_IN_FORK` variable entirely, or
33
+ - **Set to false**: Change the `ENABLE_CI_IN_FORK` value to `false`
34
+
35
+ ## Alternative Testing Options
36
+
37
+ You don't always need to enable CI/CD in your fork. Here are alternatives:
38
+
39
+ ### Local Testing
40
+
41
+ Run tests locally before pushing:
42
+
43
+ ```bash
44
+ # Install dependencies
45
+ npm ci
46
+
47
+ # Run linting
48
+ npm run lint
49
+
50
+ # Run format check
51
+ npm run format:check
52
+
53
+ # Run validation
54
+ npm run validate
55
+
56
+ # Build the project
57
+ npm run build
58
+ ```
59
+
60
+ ### Pull Request CI
61
+
62
+ When you open a Pull Request to the main repository:
63
+
64
+ - All CI/CD workflows automatically run
65
+ - You get full validation of your changes
66
+ - No configuration needed
67
+
68
+ ### GitHub Codespaces
69
+
70
+ Use GitHub Codespaces for a full development environment:
71
+
72
+ - All tools pre-configured
73
+ - Same environment as CI/CD
74
+ - No local setup required
75
+
76
+ ## Frequently Asked Questions
77
+
78
+ ### Q: Will my PR be tested even if CI is disabled in my fork?
79
+
80
+ **A:** Yes! When you open a PR to the main repository, all CI/CD workflows run automatically, regardless of your fork's settings.
81
+
82
+ ### Q: Can I selectively enable specific workflows?
83
+
84
+ **A:** The `ENABLE_CI_IN_FORK` variable enables all workflows. For selective control, you'd need to modify individual workflow files.
85
+
86
+ ### Q: Do I need to enable CI in my fork to contribute?
87
+
88
+ **A:** No! Most contributors never need to enable CI in their forks. Local testing and PR validation are sufficient for most contributions.
89
+
90
+ ### Q: Will disabling CI affect my ability to merge PRs?
91
+
92
+ **A:** No! PR merge requirements are based on CI runs in the main repository, not your fork.
93
+
94
+ ### Q: Why was this implemented?
95
+
96
+ **A:** With over 1,600 forks of BMAD-METHOD, this saves thousands of GitHub Actions minutes monthly while maintaining code quality standards.
97
+
98
+ ## Need Help?
99
+
100
+ - Join our [Discord Community](https://discord.gg/gk8jAdXWmj) for support
101
+ - Check the [Contributing Guide](../README.md#contributing) for more information
102
+ - Open an issue if you encounter any problems
103
+
104
+ ---
105
+
106
+ > 💡 **Pro Tip**: This fork-friendly approach is particularly valuable for projects using AI/LLM tools that create many experimental commits, as it prevents unnecessary CI runs while maintaining code quality standards.
@@ -14,6 +14,7 @@ name: Discord Notification
14
14
  jobs:
15
15
  notify:
16
16
  runs-on: ubuntu-latest
17
+ if: github.event.repository.fork != true || vars.ENABLE_CI_IN_FORK == 'true'
17
18
  steps:
18
19
  - name: Notify Discord
19
20
  uses: sarisia/actions-status-discord@v1
@@ -7,6 +7,7 @@ name: format-check
7
7
  jobs:
8
8
  prettier:
9
9
  runs-on: ubuntu-latest
10
+ if: github.event.repository.fork != true || vars.ENABLE_CI_IN_FORK == 'true'
10
11
  steps:
11
12
  - name: Checkout
12
13
  uses: actions/checkout@v4
@@ -25,6 +26,7 @@ jobs:
25
26
 
26
27
  eslint:
27
28
  runs-on: ubuntu-latest
29
+ if: github.event.repository.fork != true || vars.ENABLE_CI_IN_FORK == 'true'
28
30
  steps:
29
31
  - name: Checkout
30
32
  uses: actions/checkout@v4
@@ -20,6 +20,7 @@ permissions:
20
20
  jobs:
21
21
  release:
22
22
  runs-on: ubuntu-latest
23
+ if: github.event.repository.fork != true || vars.ENABLE_CI_IN_FORK == 'true'
23
24
  steps:
24
25
  - name: Checkout
25
26
  uses: actions/checkout@v4
@@ -0,0 +1,55 @@
1
+ name: PR Validation
2
+
3
+ on:
4
+ pull_request:
5
+ branches: [main]
6
+ types: [opened, synchronize, reopened]
7
+
8
+ jobs:
9
+ validate:
10
+ runs-on: ubuntu-latest
11
+ if: github.event.repository.fork != true || vars.ENABLE_CI_IN_FORK == 'true'
12
+
13
+ steps:
14
+ - name: Checkout
15
+ uses: actions/checkout@v4
16
+
17
+ - name: Setup Node.js
18
+ uses: actions/setup-node@v4
19
+ with:
20
+ node-version: "20"
21
+ cache: npm
22
+
23
+ - name: Install dependencies
24
+ run: npm ci
25
+
26
+ - name: Run validation
27
+ run: npm run validate
28
+
29
+ - name: Check formatting
30
+ run: npm run format:check
31
+
32
+ - name: Run linter
33
+ run: npm run lint
34
+
35
+ - name: Run tests (if available)
36
+ run: npm test --if-present
37
+
38
+ - name: Comment on PR if checks fail
39
+ if: failure()
40
+ uses: actions/github-script@v7
41
+ with:
42
+ script: |
43
+ github.rest.issues.createComment({
44
+ issue_number: context.issue.number,
45
+ owner: context.repo.owner,
46
+ repo: context.repo.repo,
47
+ body: `❌ **PR Validation Failed**
48
+
49
+ This PR has validation errors that must be fixed before merging:
50
+ - Run \`npm run validate\` to check agent/team configs
51
+ - Run \`npm run format:check\` to check formatting (fix with \`npm run format\`)
52
+ - Run \`npm run lint\` to check linting issues (fix with \`npm run lint:fix\`)
53
+
54
+ Please fix these issues and push the changes.`
55
+ })
package/CONTRIBUTING.md CHANGED
@@ -17,6 +17,47 @@ Also note, we use the discussions feature in GitHub to have a community to discu
17
17
 
18
18
  By participating in this project, you agree to abide by our Code of Conduct. Please read it before participating.
19
19
 
20
+ ## Before Submitting a PR
21
+
22
+ **IMPORTANT**: All PRs must pass validation checks before they can be merged.
23
+
24
+ ### Required Checks
25
+
26
+ Before submitting your PR, run these commands locally:
27
+
28
+ ```bash
29
+ # Run all validation checks
30
+ npm run pre-release
31
+
32
+ # Or run them individually:
33
+ npm run validate # Validate agent/team configs
34
+ npm run format:check # Check code formatting
35
+ npm run lint # Check for linting issues
36
+ ```
37
+
38
+ ### Fixing Issues
39
+
40
+ If any checks fail, use these commands to fix them:
41
+
42
+ ```bash
43
+ # Fix all issues automatically
44
+ npm run fix
45
+
46
+ # Or fix individually:
47
+ npm run format # Fix formatting issues
48
+ npm run lint:fix # Fix linting issues
49
+ ```
50
+
51
+ ### Setup Git Hooks (Optional but Recommended)
52
+
53
+ To catch issues before committing:
54
+
55
+ ```bash
56
+ # Run this once after cloning
57
+ chmod +x tools/setup-hooks.sh
58
+ ./tools/setup-hooks.sh
59
+ ```
60
+
20
61
  ## How to Contribute
21
62
 
22
63
  ### Reporting Bugs
package/README.md CHANGED
@@ -40,7 +40,7 @@ This two-phase approach eliminates both **planning inconsistency** and **context
40
40
 
41
41
  - **[Install and Build software with Full Stack Agile AI Team](#quick-start)** → Quick Start Instruction
42
42
  - **[Learn how to use BMad](docs/user-guide.md)** → Complete user guide and walkthrough
43
- - **[See available AI agents](/bmad-core/agents))** → Specialized roles for your team
43
+ - **[See available AI agents](/bmad-core/agents)** → Specialized roles for your team
44
44
  - **[Explore non-technical uses](#-beyond-software-development---expansion-packs)** → Creative writing, business, wellness, education
45
45
  - **[Create my own AI agents](docs/expansion-packs.md)** → Build agents for your domain
46
46
  - **[Browse ready-made expansion packs](expansion-packs/)** → Game dev, DevOps, infrastructure and get inspired with ideas and examples
@@ -212,6 +212,26 @@ The generated XML file contains your project's text-based source files in a stru
212
212
 
213
213
  📋 **[Read CONTRIBUTING.md](CONTRIBUTING.md)** - Complete guide to contributing, including guidelines, process, and requirements
214
214
 
215
+ ### Working with Forks
216
+
217
+ When you fork this repository, CI/CD workflows are **disabled by default** to save resources. This is intentional and helps keep your fork clean.
218
+
219
+ #### Need CI/CD in Your Fork?
220
+
221
+ See our [Fork CI/CD Guide](.github/FORK_GUIDE.md) for instructions on enabling workflows in your fork.
222
+
223
+ #### Contributing Workflow
224
+
225
+ 1. **Fork the repository** - Click the Fork button on GitHub
226
+ 2. **Clone your fork** - `git clone https://github.com/YOUR-USERNAME/BMAD-METHOD.git`
227
+ 3. **Create a feature branch** - `git checkout -b feature/amazing-feature`
228
+ 4. **Make your changes** - Test locally with `npm test`
229
+ 5. **Commit your changes** - `git commit -m 'feat: add amazing feature'`
230
+ 6. **Push to your fork** - `git push origin feature/amazing-feature`
231
+ 7. **Open a Pull Request** - CI/CD will run automatically on the PR
232
+
233
+ Your contributions are tested when you submit a PR - no need to enable CI in your fork!
234
+
215
235
  ## License
216
236
 
217
237
  MIT License - see [LICENSE](LICENSE) for details.
@@ -11,16 +11,16 @@ CRITICAL: Read the full YAML BLOCK that FOLLOWS IN THIS FILE to understand your
11
11
  ```yaml
12
12
  IDE-FILE-RESOLUTION:
13
13
  - FOR LATER USE ONLY - NOT FOR ACTIVATION, when executing commands that reference dependencies
14
- - Dependencies map to root/type/name
14
+ - Dependencies map to {root}/{type}/{name}
15
15
  - type=folder (tasks|templates|checklists|data|utils|etc...), name=file-name
16
- - Example: create-doc.md → root/tasks/create-doc.md
16
+ - Example: create-doc.md → {root}/tasks/create-doc.md
17
17
  - IMPORTANT: Only load these files when user requests specific command execution
18
18
  REQUEST-RESOLUTION: Match user requests to your commands/dependencies flexibly (e.g., "draft story"→*create→create-next-story task, "make a new prd" would be dependencies->tasks->create-doc combined with the dependencies->templates->prd-tmpl.md), ALWAYS ask for clarification if no clear match.
19
19
  activation-instructions:
20
20
  - STEP 1: Read THIS ENTIRE FILE - it contains your complete persona definition
21
21
  - STEP 2: Adopt the persona defined in the 'agent' and 'persona' sections below
22
- - STEP 3: Load and read bmad-core/core-config.yaml (project configuration) before any greeting
23
- - STEP 4: Greet user with your name/role and immediately run *help to display available commands
22
+ - STEP 3: Load and read `bmad-core/core-config.yaml` (project configuration) before any greeting
23
+ - STEP 4: Greet user with your name/role and immediately run `*help` to display available commands
24
24
  - DO NOT: Load any other agent files during activation
25
25
  - ONLY load dependency files when user selects them for execution via command or request of a task
26
26
  - The agent.customization field ALWAYS takes precedence over any conflicting instructions
@@ -49,6 +49,7 @@ persona:
49
49
 
50
50
  core_principles:
51
51
  - CRITICAL: Story has ALL info you will need aside from what you loaded during the startup commands. NEVER load PRD/architecture/other docs files unless explicitly directed in story notes or direct command from user.
52
+ - CRITICAL: ALWAYS check current folder structure before starting your story tasks, don't create new working directory if it already exists. Create new one when you're sure it's a brand new project.
52
53
  - CRITICAL: ONLY update story file Dev Agent Record sections (checkboxes/Debug Log/Completion Notes/Change Log)
53
54
  - CRITICAL: FOLLOW THE develop-story command when the user tells you to implement the story
54
55
  - Numbered Options - Always use numbered lists when presenting choices to the user
@@ -102,6 +102,7 @@ npx bmad-method install
102
102
  - **Cline**: VS Code extension with AI features
103
103
  - **Roo Code**: Web-based IDE with agent support
104
104
  - **GitHub Copilot**: VS Code extension with AI peer programming assistant
105
+ - **Auggie CLI (Augment Code)**: AI-powered development environment
105
106
 
106
107
  **Note for VS Code Users**: BMAD-METHOD™ assumes when you mention "VS Code" that you're using it with an AI-powered extension like GitHub Copilot, Cline, or Roo. Standard VS Code without AI capabilities cannot run BMad agents. The installer includes built-in support for Cline and Roo.
107
108
 
@@ -160,7 +160,7 @@ workflow:
160
160
  - Dev Agent (New Chat): Address remaining items
161
161
  - Return to QA for final approval
162
162
 
163
- - repeat_development_cycle:
163
+ - step: repeat_development_cycle
164
164
  action: continue_for_all_stories
165
165
  notes: |
166
166
  Repeat story cycle (SM → Dev → QA) for all epic stories
@@ -177,7 +177,7 @@ workflow:
177
177
  - Validate epic was completed correctly
178
178
  - Document learnings and improvements
179
179
 
180
- - workflow_end:
180
+ - step: workflow_end
181
181
  action: project_complete
182
182
  notes: |
183
183
  All stories implemented and reviewed!
@@ -106,7 +106,7 @@ workflow:
106
106
  - Dev Agent (New Chat): Address remaining items
107
107
  - Return to QA for final approval
108
108
 
109
- - repeat_development_cycle:
109
+ - step: repeat_development_cycle
110
110
  action: continue_for_all_stories
111
111
  notes: |
112
112
  Repeat story cycle (SM → Dev → QA) for all epic stories
@@ -123,7 +123,7 @@ workflow:
123
123
  - Validate epic was completed correctly
124
124
  - Document learnings and improvements
125
125
 
126
- - workflow_end:
126
+ - step: workflow_end
127
127
  action: project_complete
128
128
  notes: |
129
129
  All stories implemented and reviewed!
@@ -113,7 +113,7 @@ workflow:
113
113
  - Dev Agent (New Chat): Address remaining items
114
114
  - Return to QA for final approval
115
115
 
116
- - repeat_development_cycle:
116
+ - step: repeat_development_cycle
117
117
  action: continue_for_all_stories
118
118
  notes: |
119
119
  Repeat story cycle (SM → Dev → QA) for all epic stories
@@ -130,7 +130,7 @@ workflow:
130
130
  - Validate epic was completed correctly
131
131
  - Document learnings and improvements
132
132
 
133
- - workflow_end:
133
+ - step: workflow_end
134
134
  action: project_complete
135
135
  notes: |
136
136
  All stories implemented and reviewed!
@@ -65,12 +65,12 @@ workflow:
65
65
  condition: po_checklist_issues
66
66
  notes: "If PO finds issues, return to relevant agent to fix and re-export updated documents to docs/ folder."
67
67
 
68
- - project_setup_guidance:
68
+ - step: project_setup_guidance
69
69
  action: guide_project_structure
70
70
  condition: user_has_generated_ui
71
71
  notes: "If user generated UI with v0/Lovable: For polyrepo setup, place downloaded project in separate frontend repo alongside backend repo. For monorepo, place in apps/web or packages/frontend directory. Review architecture document for specific guidance."
72
72
 
73
- - development_order_guidance:
73
+ - step: development_order_guidance
74
74
  action: guide_development_sequence
75
75
  notes: "Based on PRD stories: If stories are frontend-heavy, start with frontend project/directory first. If backend-heavy or API-first, start with backend. For tightly coupled features, follow story sequence in monorepo setup. Reference sharded PRD epics for development order."
76
76
 
@@ -138,7 +138,7 @@ workflow:
138
138
  - Dev Agent (New Chat): Address remaining items
139
139
  - Return to QA for final approval
140
140
 
141
- - repeat_development_cycle:
141
+ - step: repeat_development_cycle
142
142
  action: continue_for_all_stories
143
143
  notes: |
144
144
  Repeat story cycle (SM → Dev → QA) for all epic stories
@@ -155,7 +155,7 @@ workflow:
155
155
  - Validate epic was completed correctly
156
156
  - Document learnings and improvements
157
157
 
158
- - workflow_end:
158
+ - step: workflow_end
159
159
  action: project_complete
160
160
  notes: |
161
161
  All stories implemented and reviewed!
@@ -114,7 +114,7 @@ workflow:
114
114
  - Dev Agent (New Chat): Address remaining items
115
115
  - Return to QA for final approval
116
116
 
117
- - repeat_development_cycle:
117
+ - step: repeat_development_cycle
118
118
  action: continue_for_all_stories
119
119
  notes: |
120
120
  Repeat story cycle (SM → Dev → QA) for all epic stories
@@ -131,7 +131,7 @@ workflow:
131
131
  - Validate epic was completed correctly
132
132
  - Document learnings and improvements
133
133
 
134
- - workflow_end:
134
+ - step: workflow_end
135
135
  action: project_complete
136
136
  notes: |
137
137
  All stories implemented and reviewed!
@@ -64,7 +64,7 @@ workflow:
64
64
  condition: po_checklist_issues
65
65
  notes: "If PO finds issues, return to relevant agent to fix and re-export updated documents to docs/ folder."
66
66
 
67
- - project_setup_guidance:
67
+ - step: project_setup_guidance
68
68
  action: guide_project_structure
69
69
  condition: user_has_generated_ui
70
70
  notes: "If user generated UI with v0/Lovable: For polyrepo setup, place downloaded project in separate frontend repo. For monorepo, place in apps/web or frontend/ directory. Review architecture document for specific guidance."
@@ -133,7 +133,7 @@ workflow:
133
133
  - Dev Agent (New Chat): Address remaining items
134
134
  - Return to QA for final approval
135
135
 
136
- - repeat_development_cycle:
136
+ - step: repeat_development_cycle
137
137
  action: continue_for_all_stories
138
138
  notes: |
139
139
  Repeat story cycle (SM → Dev → QA) for all epic stories
@@ -150,7 +150,7 @@ workflow:
150
150
  - Validate epic was completed correctly
151
151
  - Document learnings and improvements
152
152
 
153
- - workflow_end:
153
+ - step: workflow_end
154
154
  action: project_complete
155
155
  notes: |
156
156
  All stories implemented and reviewed!
@@ -2158,6 +2158,7 @@ npx bmad-method install
2158
2158
  - **Cline**: VS Code extension with AI features
2159
2159
  - **Roo Code**: Web-based IDE with agent support
2160
2160
  - **GitHub Copilot**: VS Code extension with AI peer programming assistant
2161
+ - **Auggie CLI (Augment Code)**: AI-powered development environment
2161
2162
 
2162
2163
  **Note for VS Code Users**: BMAD-METHOD™ assumes when you mention "VS Code" that you're using it with an AI-powered extension like GitHub Copilot, Cline, or Roo. Standard VS Code without AI capabilities cannot run BMad agents. The installer includes built-in support for Cline and Roo.
2163
2164
 
@@ -7912,6 +7912,7 @@ npx bmad-method install
7912
7912
  - **Cline**: VS Code extension with AI features
7913
7913
  - **Roo Code**: Web-based IDE with agent support
7914
7914
  - **GitHub Copilot**: VS Code extension with AI peer programming assistant
7915
+ - **Auggie CLI (Augment Code)**: AI-powered development environment
7915
7916
 
7916
7917
  **Note for VS Code Users**: BMAD-METHOD™ assumes when you mention "VS Code" that you're using it with an AI-powered extension like GitHub Copilot, Cline, or Roo. Standard VS Code without AI capabilities cannot run BMad agents. The installer includes built-in support for Cline and Roo.
7917
7918
 
@@ -579,6 +579,7 @@ npx bmad-method install
579
579
  - **Cline**: VS Code extension with AI features
580
580
  - **Roo Code**: Web-based IDE with agent support
581
581
  - **GitHub Copilot**: VS Code extension with AI peer programming assistant
582
+ - **Auggie CLI (Augment Code)**: AI-powered development environment
582
583
 
583
584
  **Note for VS Code Users**: BMAD-METHOD™ assumes when you mention "VS Code" that you're using it with an AI-powered extension like GitHub Copilot, Cline, or Roo. Standard VS Code without AI capabilities cannot run BMad agents. The installer includes built-in support for Cline and Roo.
584
585
 
@@ -64,6 +64,7 @@ persona:
64
64
  focus: Executing story tasks with precision, updating Dev Agent Record sections only, maintaining minimal context overhead
65
65
  core_principles:
66
66
  - CRITICAL: Story has ALL info you will need aside from what you loaded during the startup commands. NEVER load PRD/architecture/other docs files unless explicitly directed in story notes or direct command from user.
67
+ - CRITICAL: ALWAYS check current folder structure before starting your story tasks, don't create new working directory if it already exists. Create new one when you're sure it's a brand new project.
67
68
  - CRITICAL: ONLY update story file Dev Agent Record sections (checkboxes/Debug Log/Completion Notes/Change Log)
68
69
  - CRITICAL: FOLLOW THE develop-story command when the user tells you to implement the story
69
70
  - Numbered Options - Always use numbered lists when presenting choices to the user
@@ -338,6 +338,7 @@ persona:
338
338
  focus: Executing story tasks with precision, updating Dev Agent Record sections only, maintaining minimal context overhead
339
339
  core_principles:
340
340
  - CRITICAL: Story has ALL info you will need aside from what you loaded during the startup commands. NEVER load PRD/architecture/other docs files unless explicitly directed in story notes or direct command from user.
341
+ - CRITICAL: ALWAYS check current folder structure before starting your story tasks, don't create new working directory if it already exists. Create new one when you're sure it's a brand new project.
341
342
  - CRITICAL: ONLY update story file Dev Agent Record sections (checkboxes/Debug Log/Completion Notes/Change Log)
342
343
  - CRITICAL: FOLLOW THE develop-story command when the user tells you to implement the story
343
344
  - Numbered Options - Always use numbered lists when presenting choices to the user
@@ -1067,6 +1068,7 @@ npx bmad-method install
1067
1068
  - **Cline**: VS Code extension with AI features
1068
1069
  - **Roo Code**: Web-based IDE with agent support
1069
1070
  - **GitHub Copilot**: VS Code extension with AI peer programming assistant
1071
+ - **Auggie CLI (Augment Code)**: AI-powered development environment
1070
1072
 
1071
1073
  **Note for VS Code Users**: BMAD-METHOD™ assumes when you mention "VS Code" that you're using it with an AI-powered extension like GitHub Copilot, Cline, or Roo. Standard VS Code without AI capabilities cannot run BMad agents. The installer includes built-in support for Cline and Roo.
1072
1074
 
@@ -11689,7 +11691,7 @@ workflow:
11689
11691
  - Dev Agent (New Chat): Address remaining items
11690
11692
  - Return to QA for final approval
11691
11693
 
11692
- - repeat_development_cycle:
11694
+ - step: repeat_development_cycle
11693
11695
  action: continue_for_all_stories
11694
11696
  notes: |
11695
11697
  Repeat story cycle (SM → Dev → QA) for all epic stories
@@ -11706,7 +11708,7 @@ workflow:
11706
11708
  - Validate epic was completed correctly
11707
11709
  - Document learnings and improvements
11708
11710
 
11709
- - workflow_end:
11711
+ - step: workflow_end
11710
11712
  action: project_complete
11711
11713
  notes: |
11712
11714
  All stories implemented and reviewed!
@@ -11936,7 +11938,7 @@ workflow:
11936
11938
  - Dev Agent (New Chat): Address remaining items
11937
11939
  - Return to QA for final approval
11938
11940
 
11939
- - repeat_development_cycle:
11941
+ - step: repeat_development_cycle
11940
11942
  action: continue_for_all_stories
11941
11943
  notes: |
11942
11944
  Repeat story cycle (SM → Dev → QA) for all epic stories
@@ -11953,7 +11955,7 @@ workflow:
11953
11955
  - Validate epic was completed correctly
11954
11956
  - Document learnings and improvements
11955
11957
 
11956
- - workflow_end:
11958
+ - step: workflow_end
11957
11959
  action: project_complete
11958
11960
  notes: |
11959
11961
  All stories implemented and reviewed!
@@ -12134,7 +12136,7 @@ workflow:
12134
12136
  - Dev Agent (New Chat): Address remaining items
12135
12137
  - Return to QA for final approval
12136
12138
 
12137
- - repeat_development_cycle:
12139
+ - step: repeat_development_cycle
12138
12140
  action: continue_for_all_stories
12139
12141
  notes: |
12140
12142
  Repeat story cycle (SM → Dev → QA) for all epic stories
@@ -12151,7 +12153,7 @@ workflow:
12151
12153
  - Validate epic was completed correctly
12152
12154
  - Document learnings and improvements
12153
12155
 
12154
- - workflow_end:
12156
+ - step: workflow_end
12155
12157
  action: project_complete
12156
12158
  notes: |
12157
12159
  All stories implemented and reviewed!
@@ -12287,12 +12289,12 @@ workflow:
12287
12289
  condition: po_checklist_issues
12288
12290
  notes: "If PO finds issues, return to relevant agent to fix and re-export updated documents to docs/ folder."
12289
12291
 
12290
- - project_setup_guidance:
12292
+ - step: project_setup_guidance
12291
12293
  action: guide_project_structure
12292
12294
  condition: user_has_generated_ui
12293
12295
  notes: "If user generated UI with v0/Lovable: For polyrepo setup, place downloaded project in separate frontend repo alongside backend repo. For monorepo, place in apps/web or packages/frontend directory. Review architecture document for specific guidance."
12294
12296
 
12295
- - development_order_guidance:
12297
+ - step: development_order_guidance
12296
12298
  action: guide_development_sequence
12297
12299
  notes: "Based on PRD stories: If stories are frontend-heavy, start with frontend project/directory first. If backend-heavy or API-first, start with backend. For tightly coupled features, follow story sequence in monorepo setup. Reference sharded PRD epics for development order."
12298
12300
 
@@ -12360,7 +12362,7 @@ workflow:
12360
12362
  - Dev Agent (New Chat): Address remaining items
12361
12363
  - Return to QA for final approval
12362
12364
 
12363
- - repeat_development_cycle:
12365
+ - step: repeat_development_cycle
12364
12366
  action: continue_for_all_stories
12365
12367
  notes: |
12366
12368
  Repeat story cycle (SM → Dev → QA) for all epic stories
@@ -12377,7 +12379,7 @@ workflow:
12377
12379
  - Validate epic was completed correctly
12378
12380
  - Document learnings and improvements
12379
12381
 
12380
- - workflow_end:
12382
+ - step: workflow_end
12381
12383
  action: project_complete
12382
12384
  notes: |
12383
12385
  All stories implemented and reviewed!
@@ -12580,7 +12582,7 @@ workflow:
12580
12582
  - Dev Agent (New Chat): Address remaining items
12581
12583
  - Return to QA for final approval
12582
12584
 
12583
- - repeat_development_cycle:
12585
+ - step: repeat_development_cycle
12584
12586
  action: continue_for_all_stories
12585
12587
  notes: |
12586
12588
  Repeat story cycle (SM → Dev → QA) for all epic stories
@@ -12597,7 +12599,7 @@ workflow:
12597
12599
  - Validate epic was completed correctly
12598
12600
  - Document learnings and improvements
12599
12601
 
12600
- - workflow_end:
12602
+ - step: workflow_end
12601
12603
  action: project_complete
12602
12604
  notes: |
12603
12605
  All stories implemented and reviewed!
@@ -12740,7 +12742,7 @@ workflow:
12740
12742
  condition: po_checklist_issues
12741
12743
  notes: "If PO finds issues, return to relevant agent to fix and re-export updated documents to docs/ folder."
12742
12744
 
12743
- - project_setup_guidance:
12745
+ - step: project_setup_guidance
12744
12746
  action: guide_project_structure
12745
12747
  condition: user_has_generated_ui
12746
12748
  notes: "If user generated UI with v0/Lovable: For polyrepo setup, place downloaded project in separate frontend repo. For monorepo, place in apps/web or frontend/ directory. Review architecture document for specific guidance."
@@ -12809,7 +12811,7 @@ workflow:
12809
12811
  - Dev Agent (New Chat): Address remaining items
12810
12812
  - Return to QA for final approval
12811
12813
 
12812
- - repeat_development_cycle:
12814
+ - step: repeat_development_cycle
12813
12815
  action: continue_for_all_stories
12814
12816
  notes: |
12815
12817
  Repeat story cycle (SM → Dev → QA) for all epic stories
@@ -12826,7 +12828,7 @@ workflow:
12826
12828
  - Validate epic was completed correctly
12827
12829
  - Document learnings and improvements
12828
12830
 
12829
- - workflow_end:
12831
+ - step: workflow_end
12830
12832
  action: project_complete
12831
12833
  notes: |
12832
12834
  All stories implemented and reviewed!