bmad-method 4.40.0 → 4.42.1

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.
@@ -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.
@@ -223,3 +243,19 @@ BMAD™ and BMAD-METHOD™ are trademarks of BMad Code, LLC. All rights reserved
223
243
  [![Contributors](https://contrib.rocks/image?repo=bmadcode/bmad-method)](https://github.com/bmadcode/bmad-method/graphs/contributors)
224
244
 
225
245
  <sub>Built with ❤️ for the AI-assisted development community</sub>
246
+
247
+ #### Codex (CLI & Web)
248
+
249
+ - Two modes are supported:
250
+ - Codex (local only): `npx bmad-method install -f -i codex -d .` — keeps `.bmad-core/` ignored via `.gitignore` for local development.
251
+ - Codex Web Enabled: `npx bmad-method install -f -i codex-web -d .` — ensures `.bmad-core/` is tracked (not ignored) so it can be committed for Codex Web.
252
+ - For Codex Web, commit both `.bmad-core/` and `AGENTS.md` to the repository.
253
+ - Codex CLI: run `codex` at your project root; reference agents naturally, e.g., “As dev, implement …”.
254
+ - Codex Web: open your repo in Codex and prompt the same way — it reads `AGENTS.md` automatically.
255
+ - Refresh after changes: rerun the appropriate install command (`codex` or `codex-web`) to regenerate the BMAD section inside `AGENTS.md`.
256
+
257
+ If a `package.json` exists in your project, the installer will add helpful scripts:
258
+
259
+ - `bmad:refresh` → `bmad-method install -f -i codex`
260
+ - `bmad:list` → `bmad-method list:agents`
261
+ - `bmad:validate` → `bmad-method validate`
@@ -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
@@ -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!
@@ -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
@@ -11689,7 +11690,7 @@ workflow:
11689
11690
  - Dev Agent (New Chat): Address remaining items
11690
11691
  - Return to QA for final approval
11691
11692
 
11692
- - repeat_development_cycle:
11693
+ - step: repeat_development_cycle
11693
11694
  action: continue_for_all_stories
11694
11695
  notes: |
11695
11696
  Repeat story cycle (SM → Dev → QA) for all epic stories
@@ -11706,7 +11707,7 @@ workflow:
11706
11707
  - Validate epic was completed correctly
11707
11708
  - Document learnings and improvements
11708
11709
 
11709
- - workflow_end:
11710
+ - step: workflow_end
11710
11711
  action: project_complete
11711
11712
  notes: |
11712
11713
  All stories implemented and reviewed!
@@ -11936,7 +11937,7 @@ workflow:
11936
11937
  - Dev Agent (New Chat): Address remaining items
11937
11938
  - Return to QA for final approval
11938
11939
 
11939
- - repeat_development_cycle:
11940
+ - step: repeat_development_cycle
11940
11941
  action: continue_for_all_stories
11941
11942
  notes: |
11942
11943
  Repeat story cycle (SM → Dev → QA) for all epic stories
@@ -11953,7 +11954,7 @@ workflow:
11953
11954
  - Validate epic was completed correctly
11954
11955
  - Document learnings and improvements
11955
11956
 
11956
- - workflow_end:
11957
+ - step: workflow_end
11957
11958
  action: project_complete
11958
11959
  notes: |
11959
11960
  All stories implemented and reviewed!
@@ -12134,7 +12135,7 @@ workflow:
12134
12135
  - Dev Agent (New Chat): Address remaining items
12135
12136
  - Return to QA for final approval
12136
12137
 
12137
- - repeat_development_cycle:
12138
+ - step: repeat_development_cycle
12138
12139
  action: continue_for_all_stories
12139
12140
  notes: |
12140
12141
  Repeat story cycle (SM → Dev → QA) for all epic stories
@@ -12151,7 +12152,7 @@ workflow:
12151
12152
  - Validate epic was completed correctly
12152
12153
  - Document learnings and improvements
12153
12154
 
12154
- - workflow_end:
12155
+ - step: workflow_end
12155
12156
  action: project_complete
12156
12157
  notes: |
12157
12158
  All stories implemented and reviewed!
@@ -12287,12 +12288,12 @@ workflow:
12287
12288
  condition: po_checklist_issues
12288
12289
  notes: "If PO finds issues, return to relevant agent to fix and re-export updated documents to docs/ folder."
12289
12290
 
12290
- - project_setup_guidance:
12291
+ - step: project_setup_guidance
12291
12292
  action: guide_project_structure
12292
12293
  condition: user_has_generated_ui
12293
12294
  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
12295
 
12295
- - development_order_guidance:
12296
+ - step: development_order_guidance
12296
12297
  action: guide_development_sequence
12297
12298
  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
12299
 
@@ -12360,7 +12361,7 @@ workflow:
12360
12361
  - Dev Agent (New Chat): Address remaining items
12361
12362
  - Return to QA for final approval
12362
12363
 
12363
- - repeat_development_cycle:
12364
+ - step: repeat_development_cycle
12364
12365
  action: continue_for_all_stories
12365
12366
  notes: |
12366
12367
  Repeat story cycle (SM → Dev → QA) for all epic stories
@@ -12377,7 +12378,7 @@ workflow:
12377
12378
  - Validate epic was completed correctly
12378
12379
  - Document learnings and improvements
12379
12380
 
12380
- - workflow_end:
12381
+ - step: workflow_end
12381
12382
  action: project_complete
12382
12383
  notes: |
12383
12384
  All stories implemented and reviewed!
@@ -12580,7 +12581,7 @@ workflow:
12580
12581
  - Dev Agent (New Chat): Address remaining items
12581
12582
  - Return to QA for final approval
12582
12583
 
12583
- - repeat_development_cycle:
12584
+ - step: repeat_development_cycle
12584
12585
  action: continue_for_all_stories
12585
12586
  notes: |
12586
12587
  Repeat story cycle (SM → Dev → QA) for all epic stories
@@ -12597,7 +12598,7 @@ workflow:
12597
12598
  - Validate epic was completed correctly
12598
12599
  - Document learnings and improvements
12599
12600
 
12600
- - workflow_end:
12601
+ - step: workflow_end
12601
12602
  action: project_complete
12602
12603
  notes: |
12603
12604
  All stories implemented and reviewed!
@@ -12740,7 +12741,7 @@ workflow:
12740
12741
  condition: po_checklist_issues
12741
12742
  notes: "If PO finds issues, return to relevant agent to fix and re-export updated documents to docs/ folder."
12742
12743
 
12743
- - project_setup_guidance:
12744
+ - step: project_setup_guidance
12744
12745
  action: guide_project_structure
12745
12746
  condition: user_has_generated_ui
12746
12747
  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 +12810,7 @@ workflow:
12809
12810
  - Dev Agent (New Chat): Address remaining items
12810
12811
  - Return to QA for final approval
12811
12812
 
12812
- - repeat_development_cycle:
12813
+ - step: repeat_development_cycle
12813
12814
  action: continue_for_all_stories
12814
12815
  notes: |
12815
12816
  Repeat story cycle (SM → Dev → QA) for all epic stories
@@ -12826,7 +12827,7 @@ workflow:
12826
12827
  - Validate epic was completed correctly
12827
12828
  - Document learnings and improvements
12828
12829
 
12829
- - workflow_end:
12830
+ - step: workflow_end
12830
12831
  action: project_complete
12831
12832
  notes: |
12832
12833
  All stories implemented and reviewed!