bmad-method 4.22.1 → 4.24.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.
- package/CHANGELOG.md +19 -0
- package/README.md +3 -2
- package/bmad-core/agents/bmad-master.md +14 -1
- package/bmad-core/agents/bmad-orchestrator.md +14 -0
- package/bmad-core/core-config.yml +5 -0
- package/bmad-core/data/bmad-kb.md +3 -1
- package/bmad-core/tasks/create-brownfield-story.md +355 -0
- package/bmad-core/tasks/create-next-story.md +25 -0
- package/bmad-core/tasks/create-workflow-plan.md +289 -0
- package/bmad-core/tasks/update-workflow-plan.md +248 -0
- package/bmad-core/templates/brownfield-prd-tmpl.md +52 -28
- package/bmad-core/utils/plan-management.md +223 -0
- package/bmad-core/workflows/brownfield-fullstack.yml +240 -55
- package/bmad-core/workflows/brownfield-service.yml +110 -36
- package/bmad-core/workflows/brownfield-ui.yml +110 -36
- package/bmad-core/workflows/greenfield-fullstack.yml +110 -36
- package/bmad-core/workflows/greenfield-service.yml +110 -36
- package/bmad-core/workflows/greenfield-ui.yml +110 -36
- package/common/tasks/create-doc.md +21 -1
- package/dist/agents/analyst.txt +24 -2
- package/dist/agents/architect.txt +21 -1
- package/dist/agents/bmad-master.txt +884 -31
- package/dist/agents/bmad-orchestrator.txt +807 -2
- package/dist/agents/pm.txt +73 -29
- package/dist/agents/sm.txt +25 -0
- package/dist/agents/ux-expert.txt +21 -1
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.txt +21 -1
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/teams/phaser-2d-nodejs-game-team.txt +804 -1
- package/dist/expansion-packs/bmad-infrastructure-devops/agents/infra-devops-platform.txt +21 -1
- package/dist/teams/team-all.txt +1676 -267
- package/dist/teams/team-fullstack.txt +1651 -267
- package/dist/teams/team-ide-minimal.txt +832 -2
- package/dist/teams/team-no-ui.txt +1080 -103
- package/docs/bmad-workflow-guide.md +2 -1
- package/docs/core-architecture.md +2 -1
- package/package.json +1 -1
- package/tools/installer/bin/bmad.js +3 -2
- package/tools/installer/config/install.config.yml +13 -0
- package/tools/installer/lib/ide-setup.js +214 -1
- package/tools/installer/lib/installer.js +3 -13
- package/tools/installer/package.json +1 -1
- package/tools/lib/dependency-resolver.js +2 -2
package/dist/teams/team-all.txt
CHANGED
|
@@ -86,6 +86,9 @@ startup:
|
|
|
86
86
|
- Announce: Introduce yourself as the BMAD Orchestrator, explain you can coordinate agents and workflows
|
|
87
87
|
- IMPORTANT: Tell users that all commands start with * (e.g., *help, *agent, *workflow)
|
|
88
88
|
- Mention *help shows all available commands and options
|
|
89
|
+
- Check for active workflow plan using utils#plan-management
|
|
90
|
+
- 'If plan exists: Show 📋 Active plan: {workflow} ({progress}% complete). Use *plan-status for details.'
|
|
91
|
+
- 'If plan exists: Suggest next action based on plan progress'
|
|
89
92
|
- Assess user goal against available agents and workflows in this bundle
|
|
90
93
|
- If clear match to an agent's expertise, suggest transformation with *agent command
|
|
91
94
|
- If project-oriented, suggest *workflow-guidance to explore options
|
|
@@ -100,6 +103,9 @@ commands:
|
|
|
100
103
|
task: Run a specific task (list if name not specified)
|
|
101
104
|
workflow: Start a specific workflow (list if name not specified)
|
|
102
105
|
workflow-guidance: Get personalized help selecting the right workflow
|
|
106
|
+
plan: Create detailed workflow plan before starting
|
|
107
|
+
plan-status: Show current workflow plan progress
|
|
108
|
+
plan-update: Update workflow plan status
|
|
103
109
|
checklist: Execute a checklist (list if name not specified)
|
|
104
110
|
yolo: Toggle skip confirmations mode
|
|
105
111
|
party-mode: Group chat with all agents
|
|
@@ -123,6 +129,9 @@ help-display-template: |
|
|
|
123
129
|
Workflow Commands:
|
|
124
130
|
*workflow [name] .... Start specific workflow (list if no name)
|
|
125
131
|
*workflow-guidance .. Get personalized help selecting the right workflow
|
|
132
|
+
*plan ............... Create detailed workflow plan before starting
|
|
133
|
+
*plan-status ........ Show current workflow plan progress
|
|
134
|
+
*plan-update ........ Update workflow plan status
|
|
126
135
|
|
|
127
136
|
Other Commands:
|
|
128
137
|
*yolo ............... Toggle skip confirmations mode
|
|
@@ -163,6 +172,8 @@ workflow-guidance:
|
|
|
163
172
|
- Understand each workflow's purpose, options, and decision points
|
|
164
173
|
- Ask clarifying questions based on the workflow's structure
|
|
165
174
|
- Guide users through workflow selection when multiple options exist
|
|
175
|
+
- For complex projects, offer to create a workflow plan using create-workflow-plan task
|
|
176
|
+
- When appropriate, suggest: Would you like me to create a detailed workflow plan before starting?
|
|
166
177
|
- For workflows with divergent paths, help users choose the right path
|
|
167
178
|
- Adapt questions to the specific domain (e.g., game dev vs infrastructure vs web dev)
|
|
168
179
|
- Only recommend workflows that actually exist in the current bundle
|
|
@@ -171,10 +182,13 @@ dependencies:
|
|
|
171
182
|
tasks:
|
|
172
183
|
- advanced-elicitation
|
|
173
184
|
- create-doc
|
|
185
|
+
- create-workflow-plan
|
|
174
186
|
- kb-mode-interaction
|
|
187
|
+
- update-workflow-plan
|
|
175
188
|
data:
|
|
176
189
|
- bmad-kb
|
|
177
190
|
utils:
|
|
191
|
+
- plan-management
|
|
178
192
|
- workflow-management
|
|
179
193
|
- template-format
|
|
180
194
|
```
|
|
@@ -766,11 +780,22 @@ Generate documents from templates by EXECUTING (not just reading) embedded instr
|
|
|
766
780
|
|
|
767
781
|
## Execution Flow
|
|
768
782
|
|
|
783
|
+
### 0. Check Workflow Plan (if configured)
|
|
784
|
+
|
|
785
|
+
[[LLM: Check if plan tracking is enabled in core-config.yml]]
|
|
786
|
+
|
|
787
|
+
- If `workflow.trackProgress: true`, check for active plan using utils#plan-management
|
|
788
|
+
- If plan exists and this document creation is part of the plan:
|
|
789
|
+
- Verify this is the expected next step
|
|
790
|
+
- If out of sequence and `enforceSequence: true`, warn user and halt without user override
|
|
791
|
+
- If out of sequence and `enforceSequence: false`, ask for confirmation
|
|
792
|
+
- Continue with normal execution after plan check
|
|
793
|
+
|
|
769
794
|
### 1. Identify Template
|
|
770
795
|
|
|
771
796
|
- Load from `templates#*` or `{root}/templates directory`
|
|
772
797
|
- Agent-specific templates are listed in agent's dependencies
|
|
773
|
-
- If agent has `templates: [prd-tmpl, architecture-tmpl]
|
|
798
|
+
- If agent has `templates: [prd-tmpl, architecture-tmpl]` for example, then offer to create "PRD" and "Architecture" documents
|
|
774
799
|
|
|
775
800
|
### 2. Ask Interaction Mode
|
|
776
801
|
|
|
@@ -807,6 +832,15 @@ Generate documents from templates by EXECUTING (not just reading) embedded instr
|
|
|
807
832
|
- Begin directly with content (no preamble)
|
|
808
833
|
- Include any handoff prompts from template
|
|
809
834
|
|
|
835
|
+
### 6. Update Workflow Plan (if applicable)
|
|
836
|
+
|
|
837
|
+
[[LLM: After successful document creation]]
|
|
838
|
+
|
|
839
|
+
- If plan tracking is enabled and document was part of plan:
|
|
840
|
+
- Call update-workflow-plan task to mark step complete
|
|
841
|
+
- Parameters: task: create-doc, step_id: {from plan}, status: complete
|
|
842
|
+
- Show next recommended step from plan
|
|
843
|
+
|
|
810
844
|
## Common Mistakes to Avoid
|
|
811
845
|
|
|
812
846
|
❌ Skipping elicitation tasks
|
|
@@ -824,6 +858,298 @@ Generate documents from templates by EXECUTING (not just reading) embedded instr
|
|
|
824
858
|
Templates contain precise instructions for a reason. Follow them exactly to ensure document quality and completeness.
|
|
825
859
|
==================== END: tasks#create-doc ====================
|
|
826
860
|
|
|
861
|
+
==================== START: tasks#create-workflow-plan ====================
|
|
862
|
+
# Create Workflow Plan Task
|
|
863
|
+
|
|
864
|
+
## Purpose
|
|
865
|
+
|
|
866
|
+
Guide users through workflow selection and create a detailed plan document that outlines the selected workflow steps, decision points, and expected outputs. This task helps users understand what will happen before starting a complex workflow and provides a checklist to track progress.
|
|
867
|
+
|
|
868
|
+
## Task Instructions
|
|
869
|
+
|
|
870
|
+
### 1. Understand User's Goal
|
|
871
|
+
|
|
872
|
+
[[LLM: Start with discovery questions to understand what the user wants to accomplish]]
|
|
873
|
+
|
|
874
|
+
Ask the user:
|
|
875
|
+
|
|
876
|
+
1. **Project Type**:
|
|
877
|
+
- Are you starting a new project (greenfield) or enhancing an existing one (brownfield)?
|
|
878
|
+
- What type of application? (web app, service/API, UI only, full-stack)
|
|
879
|
+
|
|
880
|
+
2. **For Greenfield**:
|
|
881
|
+
- Do you need a quick prototype or production-ready application?
|
|
882
|
+
- Will this have a UI component?
|
|
883
|
+
- Single service or multiple services?
|
|
884
|
+
|
|
885
|
+
3. **For Brownfield**:
|
|
886
|
+
- What's the scope of the enhancement?
|
|
887
|
+
- Single bug fix or small feature (few hours)
|
|
888
|
+
- Small enhancement (1-3 stories)
|
|
889
|
+
- Major feature requiring coordination
|
|
890
|
+
- Architectural changes or modernization
|
|
891
|
+
- Do you have existing documentation?
|
|
892
|
+
- Are you following existing patterns or introducing new ones?
|
|
893
|
+
|
|
894
|
+
### 2. Recommend Appropriate Workflow
|
|
895
|
+
|
|
896
|
+
Based on the answers, recommend:
|
|
897
|
+
|
|
898
|
+
**Greenfield Options:**
|
|
899
|
+
|
|
900
|
+
- `greenfield-fullstack` - Complete web application
|
|
901
|
+
- `greenfield-service` - Backend API/service only
|
|
902
|
+
- `greenfield-ui` - Frontend only
|
|
903
|
+
|
|
904
|
+
**Brownfield Options:**
|
|
905
|
+
|
|
906
|
+
- `brownfield-create-story` - Single small change
|
|
907
|
+
- `brownfield-create-epic` - Small feature (1-3 stories)
|
|
908
|
+
- `brownfield-fullstack` - Major enhancement
|
|
909
|
+
|
|
910
|
+
**Simplified Option:**
|
|
911
|
+
|
|
912
|
+
- For users unsure or wanting flexibility, suggest starting with individual agent tasks
|
|
913
|
+
|
|
914
|
+
### 3. Explain Selected Workflow
|
|
915
|
+
|
|
916
|
+
[[LLM: Once workflow is selected, provide clear explanation]]
|
|
917
|
+
|
|
918
|
+
For the selected workflow, explain:
|
|
919
|
+
|
|
920
|
+
1. **Overview**: What this workflow accomplishes
|
|
921
|
+
2. **Duration**: Estimated time for planning phase
|
|
922
|
+
3. **Outputs**: What documents will be created
|
|
923
|
+
4. **Decision Points**: Where user input will be needed
|
|
924
|
+
5. **Requirements**: What information should be ready
|
|
925
|
+
|
|
926
|
+
### 4. Create Workflow Plan Document
|
|
927
|
+
|
|
928
|
+
[[LLM: Generate a comprehensive plan document with the following structure]]
|
|
929
|
+
|
|
930
|
+
```markdown
|
|
931
|
+
# Workflow Plan: {{Workflow Name}}
|
|
932
|
+
|
|
933
|
+
<!-- WORKFLOW-PLAN-META
|
|
934
|
+
workflow-id: {{workflow-id}}
|
|
935
|
+
status: active
|
|
936
|
+
created: {{ISO-8601 timestamp}}
|
|
937
|
+
updated: {{ISO-8601 timestamp}}
|
|
938
|
+
version: 1.0
|
|
939
|
+
-->
|
|
940
|
+
|
|
941
|
+
**Created Date**: {{current date}}
|
|
942
|
+
**Project**: {{project name}}
|
|
943
|
+
**Type**: {{greenfield/brownfield}}
|
|
944
|
+
**Status**: Active
|
|
945
|
+
**Estimated Planning Duration**: {{time estimate}}
|
|
946
|
+
|
|
947
|
+
## Objective
|
|
948
|
+
|
|
949
|
+
{{Clear description of what will be accomplished}}
|
|
950
|
+
|
|
951
|
+
## Selected Workflow
|
|
952
|
+
|
|
953
|
+
**Workflow**: `{{workflow-id}}`
|
|
954
|
+
**Reason**: {{Why this workflow fits the user's needs}}
|
|
955
|
+
|
|
956
|
+
## Workflow Steps
|
|
957
|
+
|
|
958
|
+
### Planning Phase
|
|
959
|
+
|
|
960
|
+
- [ ] Step 1: {{step name}} <!-- step-id: 1.1, agent: {{agent}}, task: {{task}} -->
|
|
961
|
+
- **Agent**: {{agent name}}
|
|
962
|
+
- **Action**: {{what happens}}
|
|
963
|
+
- **Output**: {{what's created}}
|
|
964
|
+
- **User Input**: {{if any}}
|
|
965
|
+
|
|
966
|
+
- [ ] Step 2: {{step name}} <!-- step-id: 1.2, agent: {{agent}}, task: {{task}} -->
|
|
967
|
+
- **Agent**: {{agent name}}
|
|
968
|
+
- **Action**: {{what happens}}
|
|
969
|
+
- **Output**: {{what's created}}
|
|
970
|
+
- **Decision Point**: {{if any}} <!-- decision-id: D1 -->
|
|
971
|
+
|
|
972
|
+
{{Continue for all planning steps}}
|
|
973
|
+
|
|
974
|
+
### Development Phase (IDE)
|
|
975
|
+
|
|
976
|
+
- [ ] Document Sharding <!-- step-id: 2.1, agent: po, task: shard-doc -->
|
|
977
|
+
- Prepare documents for story creation
|
|
978
|
+
|
|
979
|
+
- [ ] Story Development Cycle <!-- step-id: 2.2, repeats: true -->
|
|
980
|
+
- [ ] Create story (SM agent) <!-- step-id: 2.2.1, agent: sm, task: create-next-story -->
|
|
981
|
+
- [ ] Review story (optional) <!-- step-id: 2.2.2, agent: analyst, optional: true -->
|
|
982
|
+
- [ ] Implement story (Dev agent) <!-- step-id: 2.2.3, agent: dev -->
|
|
983
|
+
- [ ] QA review (optional) <!-- step-id: 2.2.4, agent: qa, optional: true -->
|
|
984
|
+
- [ ] Repeat for all stories
|
|
985
|
+
|
|
986
|
+
- [ ] Epic Retrospective (optional) <!-- step-id: 2.3, agent: po, optional: true -->
|
|
987
|
+
|
|
988
|
+
## Key Decision Points
|
|
989
|
+
|
|
990
|
+
1. **{{Decision Name}}** (Step {{n}}): <!-- decision-id: D1, status: pending -->
|
|
991
|
+
- Trigger: {{what causes this decision}}
|
|
992
|
+
- Options: {{available choices}}
|
|
993
|
+
- Impact: {{how it affects the workflow}}
|
|
994
|
+
- Decision Made: _Pending_
|
|
995
|
+
|
|
996
|
+
{{List all decision points}}
|
|
997
|
+
|
|
998
|
+
## Expected Outputs
|
|
999
|
+
|
|
1000
|
+
### Planning Documents
|
|
1001
|
+
- [ ] {{document 1}} - {{description}}
|
|
1002
|
+
- [ ] {{document 2}} - {{description}}
|
|
1003
|
+
{{etc...}}
|
|
1004
|
+
|
|
1005
|
+
### Development Artifacts
|
|
1006
|
+
- [ ] Stories in `docs/stories/`
|
|
1007
|
+
- [ ] Implementation code
|
|
1008
|
+
- [ ] Tests
|
|
1009
|
+
- [ ] Updated documentation
|
|
1010
|
+
|
|
1011
|
+
## Prerequisites Checklist
|
|
1012
|
+
|
|
1013
|
+
Before starting this workflow, ensure you have:
|
|
1014
|
+
|
|
1015
|
+
- [ ] {{prerequisite 1}}
|
|
1016
|
+
- [ ] {{prerequisite 2}}
|
|
1017
|
+
- [ ] {{prerequisite 3}}
|
|
1018
|
+
{{etc...}}
|
|
1019
|
+
|
|
1020
|
+
## Customization Options
|
|
1021
|
+
|
|
1022
|
+
Based on your project needs, you may:
|
|
1023
|
+
- Skip {{optional step}} if {{condition}}
|
|
1024
|
+
- Add {{additional step}} if {{condition}}
|
|
1025
|
+
- Choose {{alternative}} instead of {{default}}
|
|
1026
|
+
|
|
1027
|
+
## Risk Considerations
|
|
1028
|
+
|
|
1029
|
+
{{For brownfield only}}
|
|
1030
|
+
- Integration complexity: {{assessment}}
|
|
1031
|
+
- Rollback strategy: {{approach}}
|
|
1032
|
+
- Testing requirements: {{special needs}}
|
|
1033
|
+
|
|
1034
|
+
## Next Steps
|
|
1035
|
+
|
|
1036
|
+
1. Review this plan and confirm it matches your expectations
|
|
1037
|
+
2. Gather any missing prerequisites
|
|
1038
|
+
3. Start workflow with: `*task workflow {{workflow-id}}`
|
|
1039
|
+
4. Or begin with first agent: `@{{first-agent}}`
|
|
1040
|
+
|
|
1041
|
+
## Notes
|
|
1042
|
+
|
|
1043
|
+
{{Any additional context or warnings}}
|
|
1044
|
+
|
|
1045
|
+
---
|
|
1046
|
+
*This plan can be updated as you progress through the workflow. Check off completed items to track progress.*
|
|
1047
|
+
```
|
|
1048
|
+
|
|
1049
|
+
### 5. Save and Present Plan
|
|
1050
|
+
|
|
1051
|
+
1. Save the plan as `docs/workflow-plan.md`
|
|
1052
|
+
2. Inform user: "Workflow plan created at docs/workflow-plan.md"
|
|
1053
|
+
3. Offer options:
|
|
1054
|
+
- Review the plan together
|
|
1055
|
+
- Start the workflow now
|
|
1056
|
+
- Gather prerequisites first
|
|
1057
|
+
- Modify the plan
|
|
1058
|
+
|
|
1059
|
+
### 6. Plan Variations
|
|
1060
|
+
|
|
1061
|
+
[[LLM: Adjust plan detail based on workflow complexity]]
|
|
1062
|
+
|
|
1063
|
+
**For Simple Workflows** (create-story, create-epic):
|
|
1064
|
+
|
|
1065
|
+
- Simpler checklist format
|
|
1066
|
+
- Focus on immediate next steps
|
|
1067
|
+
- Less detailed explanations
|
|
1068
|
+
|
|
1069
|
+
**For Complex Workflows** (full greenfield/brownfield):
|
|
1070
|
+
|
|
1071
|
+
- Detailed step breakdowns
|
|
1072
|
+
- All decision points documented
|
|
1073
|
+
- Comprehensive output descriptions
|
|
1074
|
+
- Risk mitigation sections
|
|
1075
|
+
|
|
1076
|
+
**For Brownfield Workflows**:
|
|
1077
|
+
|
|
1078
|
+
- Include existing system impact analysis
|
|
1079
|
+
- Document integration checkpoints
|
|
1080
|
+
- Add rollback considerations
|
|
1081
|
+
- Note documentation dependencies
|
|
1082
|
+
|
|
1083
|
+
### 7. Interactive Planning Mode
|
|
1084
|
+
|
|
1085
|
+
[[LLM: If user wants to customize the workflow]]
|
|
1086
|
+
|
|
1087
|
+
If user wants to modify the standard workflow:
|
|
1088
|
+
|
|
1089
|
+
1. Present workflow steps as options
|
|
1090
|
+
2. Allow skipping optional steps
|
|
1091
|
+
3. Let user reorder certain steps
|
|
1092
|
+
4. Document customizations in plan
|
|
1093
|
+
5. Warn about dependencies if steps are skipped
|
|
1094
|
+
|
|
1095
|
+
### 8. Execution Guidance
|
|
1096
|
+
|
|
1097
|
+
After plan is created, provide clear guidance:
|
|
1098
|
+
|
|
1099
|
+
```text
|
|
1100
|
+
Your workflow plan is ready! Here's how to proceed:
|
|
1101
|
+
|
|
1102
|
+
1. **Review the plan**: Check that all steps align with your goals
|
|
1103
|
+
2. **Gather prerequisites**: Use the checklist to ensure you're ready
|
|
1104
|
+
3. **Start execution**:
|
|
1105
|
+
- Full workflow: `*task workflow {{workflow-id}}`
|
|
1106
|
+
- Step by step: Start with `@{{first-agent}}`
|
|
1107
|
+
4. **Track progress**: Check off steps in the plan as completed
|
|
1108
|
+
|
|
1109
|
+
Would you like to:
|
|
1110
|
+
a) Review the plan together
|
|
1111
|
+
b) Start the workflow now
|
|
1112
|
+
c) Gather prerequisites first
|
|
1113
|
+
d) Modify the plan
|
|
1114
|
+
```
|
|
1115
|
+
|
|
1116
|
+
## Success Criteria
|
|
1117
|
+
|
|
1118
|
+
The workflow plan is successful when:
|
|
1119
|
+
|
|
1120
|
+
1. User clearly understands what will happen
|
|
1121
|
+
2. All decision points are documented
|
|
1122
|
+
3. Prerequisites are identified
|
|
1123
|
+
4. Expected outputs are clear
|
|
1124
|
+
5. User feels confident to proceed
|
|
1125
|
+
6. Plan serves as useful progress tracker
|
|
1126
|
+
|
|
1127
|
+
## Integration with BMad Master and Orchestrator
|
|
1128
|
+
|
|
1129
|
+
When used by BMad Master or BMad Orchestrator, this task should:
|
|
1130
|
+
|
|
1131
|
+
1. Be offered when user asks about workflows
|
|
1132
|
+
2. Be suggested before starting complex workflows
|
|
1133
|
+
3. Create a plan that the agent can reference during execution
|
|
1134
|
+
4. Allow the agent to track progress against the plan
|
|
1135
|
+
|
|
1136
|
+
## Example Usage
|
|
1137
|
+
|
|
1138
|
+
```text
|
|
1139
|
+
User: "I need to add a payment system to my existing app"
|
|
1140
|
+
|
|
1141
|
+
BMad Orchestrator: "Let me help you create a workflow plan for that enhancement. I'll ask a few questions to recommend the best approach..."
|
|
1142
|
+
|
|
1143
|
+
[Runs through discovery questions]
|
|
1144
|
+
|
|
1145
|
+
BMad Orchestrator: "Based on your answers, I recommend the brownfield-fullstack workflow. Let me create a detailed plan for you..."
|
|
1146
|
+
|
|
1147
|
+
[Creates and saves plan]
|
|
1148
|
+
|
|
1149
|
+
BMad Orchestrator: "I've created a workflow plan at docs/workflow-plan.md. This shows all the steps we'll go through, what documents will be created, and where you'll need to make decisions. Would you like to review it together?"
|
|
1150
|
+
```
|
|
1151
|
+
==================== END: tasks#create-workflow-plan ====================
|
|
1152
|
+
|
|
827
1153
|
==================== START: tasks#kb-mode-interaction ====================
|
|
828
1154
|
# KB Mode Interaction Task
|
|
829
1155
|
|
|
@@ -897,6 +1223,257 @@ Or ask me about anything else related to BMAD-METHOD!
|
|
|
897
1223
|
**Assistant**: [Provides focused information about workflows from the KB, then offers to explore specific workflow types or related topics]
|
|
898
1224
|
==================== END: tasks#kb-mode-interaction ====================
|
|
899
1225
|
|
|
1226
|
+
==================== START: tasks#update-workflow-plan ====================
|
|
1227
|
+
# Update Workflow Plan Task
|
|
1228
|
+
|
|
1229
|
+
## Purpose
|
|
1230
|
+
|
|
1231
|
+
Update the status of steps in an active workflow plan, mark completions, add notes about deviations, and maintain an accurate record of workflow progress. This task can be called directly by users or automatically by other tasks upon completion.
|
|
1232
|
+
|
|
1233
|
+
## Task Instructions
|
|
1234
|
+
|
|
1235
|
+
### 0. Load Plan Configuration
|
|
1236
|
+
|
|
1237
|
+
[[LLM: First load core-config.yml to get plan settings]]
|
|
1238
|
+
|
|
1239
|
+
Check workflow configuration:
|
|
1240
|
+
|
|
1241
|
+
- `workflow.planFile` - Location of the plan (default: docs/workflow-plan.md)
|
|
1242
|
+
- `workflow.trackProgress` - Whether tracking is enabled
|
|
1243
|
+
- `workflow.updateOnCompletion` - Whether to auto-update on task completion
|
|
1244
|
+
|
|
1245
|
+
If tracking is disabled, inform user and exit.
|
|
1246
|
+
|
|
1247
|
+
### 1. Verify Plan Exists
|
|
1248
|
+
|
|
1249
|
+
[[LLM: Check if workflow plan exists at configured location]]
|
|
1250
|
+
|
|
1251
|
+
If no plan exists:
|
|
1252
|
+
|
|
1253
|
+
```
|
|
1254
|
+
No active workflow plan found at {location}.
|
|
1255
|
+
Would you like to create one? Use *plan command.
|
|
1256
|
+
```
|
|
1257
|
+
|
|
1258
|
+
### 2. Determine Update Type
|
|
1259
|
+
|
|
1260
|
+
[[LLM: Ask user what type of update they want to make]]
|
|
1261
|
+
|
|
1262
|
+
Present options:
|
|
1263
|
+
|
|
1264
|
+
```
|
|
1265
|
+
What would you like to update in the workflow plan?
|
|
1266
|
+
|
|
1267
|
+
1. Mark step as complete
|
|
1268
|
+
2. Update current step
|
|
1269
|
+
3. Add deviation note
|
|
1270
|
+
4. Mark decision point resolution
|
|
1271
|
+
5. Update overall status
|
|
1272
|
+
6. View current plan status only
|
|
1273
|
+
|
|
1274
|
+
Please select an option (1-6):
|
|
1275
|
+
```
|
|
1276
|
+
|
|
1277
|
+
### 3. Parse Current Plan
|
|
1278
|
+
|
|
1279
|
+
[[LLM: Read and parse the plan to understand current state]]
|
|
1280
|
+
|
|
1281
|
+
Extract:
|
|
1282
|
+
|
|
1283
|
+
- All steps with their checkbox status
|
|
1284
|
+
- Step IDs from comments (if present)
|
|
1285
|
+
- Current completion percentage
|
|
1286
|
+
- Any existing deviation notes
|
|
1287
|
+
- Decision points and their status
|
|
1288
|
+
|
|
1289
|
+
### 4. Execute Updates
|
|
1290
|
+
|
|
1291
|
+
#### 4.1 Mark Step Complete
|
|
1292
|
+
|
|
1293
|
+
If user selected option 1:
|
|
1294
|
+
|
|
1295
|
+
1. Show numbered list of incomplete steps
|
|
1296
|
+
2. Ask which step to mark complete
|
|
1297
|
+
3. Update the checkbox from `[ ]` to `[x]`
|
|
1298
|
+
4. Add completion timestamp: `<!-- completed: YYYY-MM-DD HH:MM -->`
|
|
1299
|
+
5. If this was the current step, identify next step
|
|
1300
|
+
|
|
1301
|
+
#### 4.2 Update Current Step
|
|
1302
|
+
|
|
1303
|
+
If user selected option 2:
|
|
1304
|
+
|
|
1305
|
+
1. Show all steps with current status
|
|
1306
|
+
2. Ask which step is now current
|
|
1307
|
+
3. Add/move `<!-- current-step -->` marker
|
|
1308
|
+
4. Optionally add note about why sequence changed
|
|
1309
|
+
|
|
1310
|
+
#### 4.3 Add Deviation Note
|
|
1311
|
+
|
|
1312
|
+
If user selected option 3:
|
|
1313
|
+
|
|
1314
|
+
1. Ask for deviation description
|
|
1315
|
+
2. Ask which step this relates to (or general)
|
|
1316
|
+
3. Insert note in appropriate location:
|
|
1317
|
+
|
|
1318
|
+
```markdown
|
|
1319
|
+
> **Deviation Note** (YYYY-MM-DD): {user_note}
|
|
1320
|
+
> Related to: Step X.Y or General workflow
|
|
1321
|
+
```
|
|
1322
|
+
|
|
1323
|
+
#### 4.4 Mark Decision Resolution
|
|
1324
|
+
|
|
1325
|
+
If user selected option 4:
|
|
1326
|
+
|
|
1327
|
+
1. Show pending decision points
|
|
1328
|
+
2. Ask which decision was made
|
|
1329
|
+
3. Record the decision and chosen path
|
|
1330
|
+
4. Update related steps based on decision
|
|
1331
|
+
|
|
1332
|
+
#### 4.5 Update Overall Status
|
|
1333
|
+
|
|
1334
|
+
If user selected option 5:
|
|
1335
|
+
|
|
1336
|
+
1. Show current overall status
|
|
1337
|
+
2. Provide options:
|
|
1338
|
+
- Active (continuing with plan)
|
|
1339
|
+
- Paused (temporarily stopped)
|
|
1340
|
+
- Abandoned (no longer following)
|
|
1341
|
+
- Complete (all steps done)
|
|
1342
|
+
3. Update plan header with new status
|
|
1343
|
+
|
|
1344
|
+
### 5. Automatic Updates (When Called by Tasks)
|
|
1345
|
+
|
|
1346
|
+
[[LLM: When called automatically by another task]]
|
|
1347
|
+
|
|
1348
|
+
If called with parameters:
|
|
1349
|
+
|
|
1350
|
+
```
|
|
1351
|
+
task: {task_name}
|
|
1352
|
+
step_id: {step_identifier}
|
|
1353
|
+
status: complete|skipped|failed
|
|
1354
|
+
note: {optional_note}
|
|
1355
|
+
```
|
|
1356
|
+
|
|
1357
|
+
Automatically:
|
|
1358
|
+
|
|
1359
|
+
1. Find the corresponding step
|
|
1360
|
+
2. Update its status
|
|
1361
|
+
3. Add completion metadata
|
|
1362
|
+
4. Add note if provided
|
|
1363
|
+
5. Calculate new progress percentage
|
|
1364
|
+
|
|
1365
|
+
### 6. Generate Update Summary
|
|
1366
|
+
|
|
1367
|
+
After updates, show summary:
|
|
1368
|
+
|
|
1369
|
+
```
|
|
1370
|
+
✅ Workflow Plan Updated
|
|
1371
|
+
|
|
1372
|
+
Changes made:
|
|
1373
|
+
- {change_1}
|
|
1374
|
+
- {change_2}
|
|
1375
|
+
|
|
1376
|
+
New Status:
|
|
1377
|
+
- Progress: {X}% complete ({completed}/{total} steps)
|
|
1378
|
+
- Current Step: {current_step}
|
|
1379
|
+
- Next Recommended: {next_step}
|
|
1380
|
+
|
|
1381
|
+
Plan location: {file_path}
|
|
1382
|
+
```
|
|
1383
|
+
|
|
1384
|
+
### 7. Integration with Other Tasks
|
|
1385
|
+
|
|
1386
|
+
[[LLM: How other tasks should call this]]
|
|
1387
|
+
|
|
1388
|
+
Other tasks can integrate by:
|
|
1389
|
+
|
|
1390
|
+
1. **After Task Completion**:
|
|
1391
|
+
|
|
1392
|
+
```
|
|
1393
|
+
At end of task execution:
|
|
1394
|
+
- Check if task corresponds to a plan step
|
|
1395
|
+
- If yes, call update-workflow-plan with:
|
|
1396
|
+
- task: {current_task_name}
|
|
1397
|
+
- step_id: {matching_step}
|
|
1398
|
+
- status: complete
|
|
1399
|
+
```
|
|
1400
|
+
|
|
1401
|
+
2. **On Task Failure**:
|
|
1402
|
+
|
|
1403
|
+
```
|
|
1404
|
+
If task fails:
|
|
1405
|
+
- Call update-workflow-plan with:
|
|
1406
|
+
- task: {current_task_name}
|
|
1407
|
+
- status: failed
|
|
1408
|
+
- note: {failure_reason}
|
|
1409
|
+
```
|
|
1410
|
+
|
|
1411
|
+
### 8. Plan Status Display
|
|
1412
|
+
|
|
1413
|
+
[[LLM: When user selects view status only]]
|
|
1414
|
+
|
|
1415
|
+
Display comprehensive status:
|
|
1416
|
+
|
|
1417
|
+
```markdown
|
|
1418
|
+
📋 Workflow Plan Status
|
|
1419
|
+
━━━━━━━━━━━━━━━━━━━━
|
|
1420
|
+
Workflow: {workflow_name}
|
|
1421
|
+
Status: {Active|Paused|Complete}
|
|
1422
|
+
Progress: {X}% complete ({completed}/{total} steps)
|
|
1423
|
+
Last Updated: {timestamp}
|
|
1424
|
+
|
|
1425
|
+
✅ Completed Steps:
|
|
1426
|
+
- [x] Step 1.1: {description} (completed: {date})
|
|
1427
|
+
- [x] Step 1.2: {description} (completed: {date})
|
|
1428
|
+
|
|
1429
|
+
🔄 Current Step:
|
|
1430
|
+
- [ ] Step 2.1: {description} <!-- current-step -->
|
|
1431
|
+
Agent: {agent_name}
|
|
1432
|
+
Task: {task_name}
|
|
1433
|
+
|
|
1434
|
+
📌 Upcoming Steps:
|
|
1435
|
+
- [ ] Step 2.2: {description}
|
|
1436
|
+
- [ ] Step 3.1: {description}
|
|
1437
|
+
|
|
1438
|
+
⚠️ Deviations/Notes:
|
|
1439
|
+
{any_deviation_notes}
|
|
1440
|
+
|
|
1441
|
+
📊 Decision Points:
|
|
1442
|
+
- Decision 1: {status} - {choice_made}
|
|
1443
|
+
- Decision 2: Pending
|
|
1444
|
+
|
|
1445
|
+
💡 Next Action:
|
|
1446
|
+
Based on the plan, you should {recommended_action}
|
|
1447
|
+
```
|
|
1448
|
+
|
|
1449
|
+
## Success Criteria
|
|
1450
|
+
|
|
1451
|
+
The update is successful when:
|
|
1452
|
+
|
|
1453
|
+
1. Plan accurately reflects current workflow state
|
|
1454
|
+
2. All updates are clearly timestamped
|
|
1455
|
+
3. Deviations are documented with reasons
|
|
1456
|
+
4. Progress calculation is correct
|
|
1457
|
+
5. Next steps are clear to user
|
|
1458
|
+
6. Plan remains readable and well-formatted
|
|
1459
|
+
|
|
1460
|
+
## Error Handling
|
|
1461
|
+
|
|
1462
|
+
- **Plan file not found**: Offer to create new plan
|
|
1463
|
+
- **Malformed plan**: Attempt basic updates, warn user
|
|
1464
|
+
- **Write permission error**: Show changes that would be made
|
|
1465
|
+
- **Step not found**: Show available steps, ask for clarification
|
|
1466
|
+
- **Concurrent updates**: Implement simple locking or warn about conflicts
|
|
1467
|
+
|
|
1468
|
+
## Notes
|
|
1469
|
+
|
|
1470
|
+
- Always preserve plan history (don't delete old information)
|
|
1471
|
+
- Keep updates atomic to prevent corruption
|
|
1472
|
+
- Consider creating backup before major updates
|
|
1473
|
+
- Updates should enhance, not complicate, the workflow experience
|
|
1474
|
+
- If plan becomes too cluttered, suggest creating fresh plan for next phase
|
|
1475
|
+
==================== END: tasks#update-workflow-plan ====================
|
|
1476
|
+
|
|
900
1477
|
==================== START: data#bmad-kb ====================
|
|
901
1478
|
# BMAD Knowledge Base
|
|
902
1479
|
|
|
@@ -978,7 +1555,7 @@ BMAD transforms you into a "Vibe CEO" - directing a team of specialized AI agent
|
|
|
978
1555
|
5. Type `/help` to see available commands
|
|
979
1556
|
|
|
980
1557
|
#### Option 2: IDE Integration
|
|
981
|
-
**Best for**: Cursor, Claude Code, Windsurf, Cline, Roo Code users
|
|
1558
|
+
**Best for**: Cursor, Claude Code, Windsurf, Cline, Roo Code, VS Code Copilot users
|
|
982
1559
|
|
|
983
1560
|
```bash
|
|
984
1561
|
# Interactive installation (recommended)
|
|
@@ -993,6 +1570,7 @@ npx bmad-method install
|
|
|
993
1570
|
- **Windsurf**: Built-in AI capabilities
|
|
994
1571
|
- **Cline**: VS Code extension with AI features
|
|
995
1572
|
- **Roo Code**: Web-based IDE with agent support
|
|
1573
|
+
- **VS Code Copilot**: AI-powered coding assistant
|
|
996
1574
|
|
|
997
1575
|
**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.
|
|
998
1576
|
|
|
@@ -1178,6 +1756,7 @@ You are the "Vibe CEO" - thinking like a CEO with unlimited resources and a sing
|
|
|
1178
1756
|
- **Cursor**: `@agent-name` (e.g., `@bmad-master`)
|
|
1179
1757
|
- **Windsurf**: `@agent-name` (e.g., `@bmad-master`)
|
|
1180
1758
|
- **Roo Code**: Select mode from mode selector (e.g., `bmad-bmad-master`)
|
|
1759
|
+
- **VS Code Copilot**: Open the Chat view (`⌃⌘I` on Mac, `Ctrl+Alt+I` on Windows/Linux) and select **Agent** from the chat mode selector.
|
|
1181
1760
|
|
|
1182
1761
|
**Chat Management Guidelines**:
|
|
1183
1762
|
- **Claude Code, Cursor, Windsurf**: Start new chats when switching agents
|
|
@@ -1647,6 +2226,232 @@ Use the **expansion-creator** pack to build your own:
|
|
|
1647
2226
|
- **Contributing**: See `CONTRIBUTING.md` for full guidelines
|
|
1648
2227
|
==================== END: data#bmad-kb ====================
|
|
1649
2228
|
|
|
2229
|
+
==================== START: utils#plan-management ====================
|
|
2230
|
+
# Plan Management Utility
|
|
2231
|
+
|
|
2232
|
+
## Purpose
|
|
2233
|
+
|
|
2234
|
+
Provides utilities for agents and tasks to interact with workflow plans, check progress, update status, and ensure workflow steps are executed in the appropriate sequence.
|
|
2235
|
+
|
|
2236
|
+
## Core Functions
|
|
2237
|
+
|
|
2238
|
+
### 1. Check Plan Existence
|
|
2239
|
+
|
|
2240
|
+
[[LLM: When any agent starts or task begins, check if a workflow plan exists]]
|
|
2241
|
+
|
|
2242
|
+
```
|
|
2243
|
+
Check for workflow plan:
|
|
2244
|
+
1. Look for docs/workflow-plan.md (default location)
|
|
2245
|
+
2. Check core-config.yml for custom plan location
|
|
2246
|
+
3. Return plan status (exists/not exists)
|
|
2247
|
+
```
|
|
2248
|
+
|
|
2249
|
+
### 2. Parse Plan Status
|
|
2250
|
+
|
|
2251
|
+
[[LLM: Extract current progress from the plan document]]
|
|
2252
|
+
|
|
2253
|
+
**Plan Parsing Logic:**
|
|
2254
|
+
|
|
2255
|
+
1. **Identify Step Structure**:
|
|
2256
|
+
- Look for checkbox lines: `- [ ]` or `- [x]`
|
|
2257
|
+
- Extract step IDs from comments: `<!-- step-id: X.Y -->`
|
|
2258
|
+
- Identify agent assignments: `<!-- agent: pm -->`
|
|
2259
|
+
|
|
2260
|
+
2. **Determine Current State**:
|
|
2261
|
+
- Last completed step (highest numbered `[x]`)
|
|
2262
|
+
- Next expected step (first `[ ]` after completed steps)
|
|
2263
|
+
- Overall progress percentage
|
|
2264
|
+
|
|
2265
|
+
3. **Extract Metadata**:
|
|
2266
|
+
- Workflow type from plan header
|
|
2267
|
+
- Decision points and their status
|
|
2268
|
+
- Any deviation notes
|
|
2269
|
+
|
|
2270
|
+
### 3. Sequence Validation
|
|
2271
|
+
|
|
2272
|
+
[[LLM: Check if requested action aligns with plan sequence]]
|
|
2273
|
+
|
|
2274
|
+
**Validation Rules:**
|
|
2275
|
+
|
|
2276
|
+
1. **Strict Mode** (enforceSequence: true):
|
|
2277
|
+
- Must complete steps in exact order
|
|
2278
|
+
- Warn and block if out of sequence
|
|
2279
|
+
- Require explicit override justification
|
|
2280
|
+
|
|
2281
|
+
2. **Flexible Mode** (enforceSequence: false):
|
|
2282
|
+
- Warn about sequence deviation
|
|
2283
|
+
- Allow with confirmation
|
|
2284
|
+
- Log deviation reason
|
|
2285
|
+
|
|
2286
|
+
**Warning Templates:**
|
|
2287
|
+
|
|
2288
|
+
```
|
|
2289
|
+
SEQUENCE WARNING:
|
|
2290
|
+
The workflow plan shows you should complete "{expected_step}" next.
|
|
2291
|
+
You're attempting to: "{requested_action}"
|
|
2292
|
+
|
|
2293
|
+
In strict mode: Block and require plan update
|
|
2294
|
+
In flexible mode: Allow with confirmation
|
|
2295
|
+
```
|
|
2296
|
+
|
|
2297
|
+
### 4. Plan Update Operations
|
|
2298
|
+
|
|
2299
|
+
[[LLM: Provide consistent way to update plan progress]]
|
|
2300
|
+
|
|
2301
|
+
**Update Actions:**
|
|
2302
|
+
|
|
2303
|
+
1. **Mark Step Complete**:
|
|
2304
|
+
- Change `- [ ]` to `- [x]`
|
|
2305
|
+
- Add completion timestamp comment
|
|
2306
|
+
- Update any status metadata
|
|
2307
|
+
|
|
2308
|
+
2. **Add Deviation Note**:
|
|
2309
|
+
- Insert note explaining why sequence changed
|
|
2310
|
+
- Reference the deviation in plan
|
|
2311
|
+
|
|
2312
|
+
3. **Update Current Step Pointer**:
|
|
2313
|
+
- Add/move `<!-- current-step -->` marker
|
|
2314
|
+
- Update last-modified timestamp
|
|
2315
|
+
|
|
2316
|
+
### 5. Integration Instructions
|
|
2317
|
+
|
|
2318
|
+
[[LLM: How agents and tasks should use this utility]]
|
|
2319
|
+
|
|
2320
|
+
**For Agents (startup sequence)**:
|
|
2321
|
+
|
|
2322
|
+
```
|
|
2323
|
+
1. Check if plan exists using this utility
|
|
2324
|
+
2. If exists:
|
|
2325
|
+
- Parse current status
|
|
2326
|
+
- Show user: "Active workflow plan detected. Current step: {X}"
|
|
2327
|
+
- Suggest: "Next recommended action: {next_step}"
|
|
2328
|
+
3. Continue with normal startup
|
|
2329
|
+
```
|
|
2330
|
+
|
|
2331
|
+
**For Tasks (pre-execution)**:
|
|
2332
|
+
|
|
2333
|
+
```
|
|
2334
|
+
1. Check if plan exists
|
|
2335
|
+
2. If exists:
|
|
2336
|
+
- Verify this task aligns with plan
|
|
2337
|
+
- If not aligned:
|
|
2338
|
+
- In strict mode: Show warning and stop
|
|
2339
|
+
- In flexible mode: Show warning and ask for confirmation
|
|
2340
|
+
3. After task completion:
|
|
2341
|
+
- Update plan if task was a planned step
|
|
2342
|
+
- Add note if task was unplanned
|
|
2343
|
+
```
|
|
2344
|
+
|
|
2345
|
+
### 6. Plan Status Report Format
|
|
2346
|
+
|
|
2347
|
+
[[LLM: Standard format for showing plan status]]
|
|
2348
|
+
|
|
2349
|
+
```
|
|
2350
|
+
📋 Workflow Plan Status
|
|
2351
|
+
━━━━━━━━━━━━━━━━━━━━
|
|
2352
|
+
Workflow: {workflow_name}
|
|
2353
|
+
Progress: {X}% complete ({completed}/{total} steps)
|
|
2354
|
+
|
|
2355
|
+
✅ Completed:
|
|
2356
|
+
- {completed_step_1}
|
|
2357
|
+
- {completed_step_2}
|
|
2358
|
+
|
|
2359
|
+
🔄 Current Step:
|
|
2360
|
+
- {current_step_description}
|
|
2361
|
+
|
|
2362
|
+
📌 Upcoming:
|
|
2363
|
+
- {next_step_1}
|
|
2364
|
+
- {next_step_2}
|
|
2365
|
+
|
|
2366
|
+
⚠️ Notes:
|
|
2367
|
+
- {any_deviations_or_notes}
|
|
2368
|
+
```
|
|
2369
|
+
|
|
2370
|
+
### 7. Decision Point Handling
|
|
2371
|
+
|
|
2372
|
+
[[LLM: Special handling for workflow decision points]]
|
|
2373
|
+
|
|
2374
|
+
When encountering a decision point in the plan:
|
|
2375
|
+
|
|
2376
|
+
1. **Identify Decision Marker**: `<!-- decision: {decision_id} -->`
|
|
2377
|
+
2. **Check Decision Status**: Made/Pending
|
|
2378
|
+
3. **If Pending**:
|
|
2379
|
+
- Block progress until decision made
|
|
2380
|
+
- Show options to user
|
|
2381
|
+
- Record decision when made
|
|
2382
|
+
4. **If Made**:
|
|
2383
|
+
- Verify current path aligns with decision
|
|
2384
|
+
- Warn if attempting alternate path
|
|
2385
|
+
|
|
2386
|
+
### 8. Plan Abandonment
|
|
2387
|
+
|
|
2388
|
+
[[LLM: Graceful handling when user wants to stop following plan]]
|
|
2389
|
+
|
|
2390
|
+
If user wants to abandon plan:
|
|
2391
|
+
|
|
2392
|
+
1. Confirm abandonment intent
|
|
2393
|
+
2. Add abandonment note to plan
|
|
2394
|
+
3. Mark plan as "Abandoned" in header
|
|
2395
|
+
4. Stop plan checking for remainder of session
|
|
2396
|
+
5. Suggest creating new plan if needed
|
|
2397
|
+
|
|
2398
|
+
## Usage Examples
|
|
2399
|
+
|
|
2400
|
+
### Example 1: Agent Startup Check
|
|
2401
|
+
|
|
2402
|
+
```
|
|
2403
|
+
BMad Master starting...
|
|
2404
|
+
|
|
2405
|
+
[Check for plan]
|
|
2406
|
+
Found active workflow plan: brownfield-fullstack
|
|
2407
|
+
Progress: 40% complete (4/10 steps)
|
|
2408
|
+
Current step: Create PRD (pm agent)
|
|
2409
|
+
|
|
2410
|
+
Suggestion: Based on your plan, you should work with the PM agent next.
|
|
2411
|
+
Use *agent pm to switch, or *plan-status to see full progress.
|
|
2412
|
+
```
|
|
2413
|
+
|
|
2414
|
+
### Example 2: Task Sequence Warning
|
|
2415
|
+
|
|
2416
|
+
```
|
|
2417
|
+
User: *task create-next-story
|
|
2418
|
+
|
|
2419
|
+
[Plan check triggered]
|
|
2420
|
+
⚠️ SEQUENCE WARNING:
|
|
2421
|
+
Your workflow plan indicates the PRD hasn't been created yet.
|
|
2422
|
+
Creating stories before the PRD may lead to incomplete requirements.
|
|
2423
|
+
|
|
2424
|
+
Would you like to:
|
|
2425
|
+
1. Continue anyway (will note deviation in plan)
|
|
2426
|
+
2. Switch to creating PRD first (*agent pm)
|
|
2427
|
+
3. View plan status (*plan-status)
|
|
2428
|
+
```
|
|
2429
|
+
|
|
2430
|
+
### Example 3: Automatic Plan Update
|
|
2431
|
+
|
|
2432
|
+
```
|
|
2433
|
+
[After completing create-doc task for PRD]
|
|
2434
|
+
|
|
2435
|
+
✅ Plan Updated: Marked "Create PRD" as complete
|
|
2436
|
+
📍 Next step: Create Architecture Document (architect agent)
|
|
2437
|
+
```
|
|
2438
|
+
|
|
2439
|
+
## Implementation Notes
|
|
2440
|
+
|
|
2441
|
+
- This utility should be lightweight and fast
|
|
2442
|
+
- Plan parsing should be resilient to format variations
|
|
2443
|
+
- Always preserve user agency - warnings not blocks (unless strict mode)
|
|
2444
|
+
- Plan updates should be atomic to prevent corruption
|
|
2445
|
+
- Consider plan versioning for rollback capability
|
|
2446
|
+
|
|
2447
|
+
## Error Handling
|
|
2448
|
+
|
|
2449
|
+
- Missing plan: Return null, don't error
|
|
2450
|
+
- Malformed plan: Warn but continue, treat as no plan
|
|
2451
|
+
- Update failures: Log but don't block task completion
|
|
2452
|
+
- Parse errors: Fallback to basic text search
|
|
2453
|
+
==================== END: utils#plan-management ====================
|
|
2454
|
+
|
|
1650
2455
|
==================== START: utils#workflow-management ====================
|
|
1651
2456
|
# Workflow Management
|
|
1652
2457
|
|
|
@@ -7396,34 +8201,45 @@ Do not proceed with any recommendations until the user has validated your unders
|
|
|
7396
8201
|
|
|
7397
8202
|
### Existing Project Overview
|
|
7398
8203
|
|
|
7399
|
-
[[LLM:
|
|
8204
|
+
[[LLM: Check if document-project analysis was already performed. If yes, reference that output instead of re-analyzing.]]
|
|
7400
8205
|
|
|
7401
|
-
**
|
|
8206
|
+
**Analysis Source**: [[LLM: Indicate one of the following:
|
|
8207
|
+
- Document-project output available at: {{path}}
|
|
8208
|
+
- IDE-based fresh analysis
|
|
8209
|
+
- User-provided information
|
|
8210
|
+
]]
|
|
7402
8211
|
|
|
7403
|
-
**Current Project State**: [[LLM:
|
|
8212
|
+
**Current Project State**: [[LLM:
|
|
8213
|
+
- If document-project output exists: Extract summary from "High Level Architecture" and "Technical Summary" sections
|
|
8214
|
+
- Otherwise: Brief description of what the project currently does and its primary purpose
|
|
8215
|
+
]]
|
|
7404
8216
|
|
|
7405
8217
|
### Available Documentation Analysis
|
|
7406
8218
|
|
|
7407
|
-
[[LLM:
|
|
8219
|
+
[[LLM:
|
|
8220
|
+
If document-project was run:
|
|
8221
|
+
- Note: "Document-project analysis available - using existing technical documentation"
|
|
8222
|
+
- List key documents created by document-project
|
|
8223
|
+
- Skip the missing documentation check below
|
|
7408
8224
|
|
|
7409
|
-
|
|
7410
|
-
|
|
7411
|
-
- Coding standards
|
|
7412
|
-
- API documentation or OpenAPI specs
|
|
7413
|
-
- External API integrations
|
|
7414
|
-
- UX/UI guidelines or existing patterns]]
|
|
8225
|
+
Otherwise, check for existing documentation:
|
|
8226
|
+
]]
|
|
7415
8227
|
|
|
7416
8228
|
**Available Documentation**:
|
|
7417
8229
|
|
|
7418
|
-
- [ ] Tech Stack Documentation
|
|
7419
|
-
- [ ] Source Tree/Architecture
|
|
7420
|
-
- [ ] Coding Standards
|
|
7421
|
-
- [ ] API Documentation
|
|
7422
|
-
- [ ] External API Documentation
|
|
7423
|
-
- [ ] UX/UI Guidelines
|
|
8230
|
+
- [ ] Tech Stack Documentation [[LLM: If from document-project, check ✓]]
|
|
8231
|
+
- [ ] Source Tree/Architecture [[LLM: If from document-project, check ✓]]
|
|
8232
|
+
- [ ] Coding Standards [[LLM: If from document-project, may be partial]]
|
|
8233
|
+
- [ ] API Documentation [[LLM: If from document-project, check ✓]]
|
|
8234
|
+
- [ ] External API Documentation [[LLM: If from document-project, check ✓]]
|
|
8235
|
+
- [ ] UX/UI Guidelines [[LLM: May not be in document-project]]
|
|
8236
|
+
- [ ] Technical Debt Documentation [[LLM: If from document-project, check ✓]]
|
|
7424
8237
|
- [ ] Other: \***\*\_\_\_\*\***
|
|
7425
8238
|
|
|
7426
|
-
[[LLM:
|
|
8239
|
+
[[LLM:
|
|
8240
|
+
- If document-project was already run: "Using existing project analysis from document-project output."
|
|
8241
|
+
- If critical documentation is missing and no document-project: "I recommend running the document-project task first..."
|
|
8242
|
+
]]
|
|
7427
8243
|
|
|
7428
8244
|
### Enhancement Scope Definition
|
|
7429
8245
|
|
|
@@ -7513,13 +8329,19 @@ Do not proceed with any recommendations until the user has validated your unders
|
|
|
7513
8329
|
|
|
7514
8330
|
### Existing Technology Stack
|
|
7515
8331
|
|
|
7516
|
-
[[LLM:
|
|
8332
|
+
[[LLM:
|
|
8333
|
+
If document-project output available:
|
|
8334
|
+
- Extract from "Actual Tech Stack" table in High Level Architecture section
|
|
8335
|
+
- Include version numbers and any noted constraints
|
|
8336
|
+
|
|
8337
|
+
Otherwise, document the current technology stack:
|
|
8338
|
+
]]
|
|
7517
8339
|
|
|
7518
|
-
**Languages**: [[LLM:
|
|
7519
|
-
**Frameworks**: [[LLM:
|
|
7520
|
-
**Database**: [[LLM:
|
|
7521
|
-
**Infrastructure**: [[LLM:
|
|
7522
|
-
**External Dependencies**: [[LLM:
|
|
8340
|
+
**Languages**: [[LLM: From document-project or fresh analysis]]
|
|
8341
|
+
**Frameworks**: [[LLM: From document-project or fresh analysis]]
|
|
8342
|
+
**Database**: [[LLM: From document-project or fresh analysis]]
|
|
8343
|
+
**Infrastructure**: [[LLM: From document-project or fresh analysis]]
|
|
8344
|
+
**External Dependencies**: [[LLM: From document-project "External Services" section or fresh analysis]]
|
|
7523
8345
|
|
|
7524
8346
|
### Integration Approach
|
|
7525
8347
|
|
|
@@ -7550,12 +8372,19 @@ Do not proceed with any recommendations until the user has validated your unders
|
|
|
7550
8372
|
|
|
7551
8373
|
### Risk Assessment and Mitigation
|
|
7552
8374
|
|
|
7553
|
-
[[LLM:
|
|
8375
|
+
[[LLM:
|
|
8376
|
+
If document-project output available:
|
|
8377
|
+
- Reference "Technical Debt and Known Issues" section
|
|
8378
|
+
- Include "Workarounds and Gotchas" that might impact enhancement
|
|
8379
|
+
- Note any identified constraints from "Critical Technical Debt"
|
|
7554
8380
|
|
|
7555
|
-
|
|
7556
|
-
|
|
7557
|
-
|
|
7558
|
-
**
|
|
8381
|
+
Build risk assessment incorporating existing known issues:
|
|
8382
|
+
]]
|
|
8383
|
+
|
|
8384
|
+
**Technical Risks**: [[LLM: Include risks from document-project + new enhancement risks]]
|
|
8385
|
+
**Integration Risks**: [[LLM: Reference integration constraints from document-project]]
|
|
8386
|
+
**Deployment Risks**: [[LLM: Include deployment gotchas from document-project]]
|
|
8387
|
+
**Mitigation Strategies**: [[LLM: Address both existing and new risks]]
|
|
7559
8388
|
|
|
7560
8389
|
## Epic and Story Structure
|
|
7561
8390
|
|
|
@@ -8862,6 +9691,22 @@ To identify the next logical story based on project progress and epic definition
|
|
|
8862
9691
|
- `architecture.architectureSharded`: Whether architecture is sharded
|
|
8863
9692
|
- `architecture.architectureFile`: Location of monolithic architecture
|
|
8864
9693
|
- `architecture.architectureShardedLocation`: Location of sharded architecture files
|
|
9694
|
+
- `workflow.trackProgress`: Whether workflow plan tracking is enabled
|
|
9695
|
+
- `workflow.planFile`: Location of workflow plan (if tracking enabled)
|
|
9696
|
+
|
|
9697
|
+
### 0.5 Check Workflow Plan (if configured)
|
|
9698
|
+
|
|
9699
|
+
[[LLM: Check if workflow plan tracking is enabled]]
|
|
9700
|
+
|
|
9701
|
+
- If `workflow.trackProgress: true`, check for active plan at `workflow.planFile`
|
|
9702
|
+
- If plan exists:
|
|
9703
|
+
- Parse plan to check if story creation is the expected next step
|
|
9704
|
+
- If out of sequence and `workflow.enforceSequence: true`:
|
|
9705
|
+
- Show warning: "The workflow plan indicates you should complete {expected_step} before creating stories."
|
|
9706
|
+
- Block execution unless user explicitly overrides
|
|
9707
|
+
- If out of sequence and `workflow.enforceSequence: false`:
|
|
9708
|
+
- Show warning but allow continuation with confirmation
|
|
9709
|
+
- Continue with story identification after plan check
|
|
8865
9710
|
|
|
8866
9711
|
### 1. Identify Next Story for Preparation
|
|
8867
9712
|
|
|
@@ -9085,6 +9930,15 @@ Provide a summary to the user including:
|
|
|
9085
9930
|
- Recommendations for story review before approval
|
|
9086
9931
|
- Next steps: Story should be reviewed by PO for approval before dev work begins
|
|
9087
9932
|
|
|
9933
|
+
### 10. Update Workflow Plan (if applicable)
|
|
9934
|
+
|
|
9935
|
+
[[LLM: After successful story creation]]
|
|
9936
|
+
|
|
9937
|
+
- If `workflow.trackProgress: true` and `workflow.updateOnCompletion: true`:
|
|
9938
|
+
- Call update-workflow-plan task to mark story creation step complete
|
|
9939
|
+
- Parameters: task: create-next-story, step_id: {from plan}, status: complete
|
|
9940
|
+
- If plan shows next step, mention it in completion message
|
|
9941
|
+
|
|
9088
9942
|
[[LLM: Remember - The success of this task depends on extracting real, specific technical details from the architecture shards. The dev agent should have everything they need in the story file without having to search through multiple documents.]]
|
|
9089
9943
|
==================== END: tasks#create-next-story ====================
|
|
9090
9944
|
|
|
@@ -9732,23 +10586,76 @@ workflow:
|
|
|
9732
10586
|
- integration-enhancement
|
|
9733
10587
|
|
|
9734
10588
|
sequence:
|
|
10589
|
+
- step: enhancement_classification
|
|
10590
|
+
agent: analyst
|
|
10591
|
+
action: classify enhancement scope
|
|
10592
|
+
notes: |
|
|
10593
|
+
Determine enhancement complexity to route to appropriate path:
|
|
10594
|
+
- Single story (< 4 hours) → Use brownfield-create-story task
|
|
10595
|
+
- Small feature (1-3 stories) → Use brownfield-create-epic task
|
|
10596
|
+
- Major enhancement (multiple epics) → Continue with full workflow
|
|
10597
|
+
|
|
10598
|
+
Ask user: "Can you describe the enhancement scope? Is this a small fix, a feature addition, or a major enhancement requiring architectural changes?"
|
|
10599
|
+
|
|
10600
|
+
- step: routing_decision
|
|
10601
|
+
condition: based_on_classification
|
|
10602
|
+
routes:
|
|
10603
|
+
single_story:
|
|
10604
|
+
agent: pm
|
|
10605
|
+
uses: brownfield-create-story
|
|
10606
|
+
notes: "Create single story for immediate implementation. Exit workflow after story creation."
|
|
10607
|
+
small_feature:
|
|
10608
|
+
agent: pm
|
|
10609
|
+
uses: brownfield-create-epic
|
|
10610
|
+
notes: "Create focused epic with 1-3 stories. Exit workflow after epic creation."
|
|
10611
|
+
major_enhancement:
|
|
10612
|
+
continue: to_next_step
|
|
10613
|
+
notes: "Continue with comprehensive planning workflow below."
|
|
10614
|
+
|
|
10615
|
+
- step: documentation_check
|
|
10616
|
+
agent: analyst
|
|
10617
|
+
action: check existing documentation
|
|
10618
|
+
condition: major_enhancement_path
|
|
10619
|
+
notes: |
|
|
10620
|
+
Check if adequate project documentation exists:
|
|
10621
|
+
- Look for existing architecture docs, API specs, coding standards
|
|
10622
|
+
- Assess if documentation is current and comprehensive
|
|
10623
|
+
- If adequate: Skip document-project, proceed to PRD
|
|
10624
|
+
- If inadequate: Run document-project first
|
|
10625
|
+
|
|
9735
10626
|
- step: project_analysis
|
|
9736
10627
|
agent: architect
|
|
9737
10628
|
action: analyze existing project and use task document-project
|
|
9738
|
-
creates: multiple documents
|
|
9739
|
-
|
|
10629
|
+
creates: brownfield-architecture.md (or multiple documents)
|
|
10630
|
+
condition: documentation_inadequate
|
|
10631
|
+
notes: "Run document-project to capture current system state, technical debt, and constraints. Pass findings to PRD creation."
|
|
9740
10632
|
|
|
9741
10633
|
- agent: pm
|
|
9742
10634
|
creates: prd.md
|
|
9743
10635
|
uses: brownfield-prd-tmpl
|
|
9744
|
-
requires:
|
|
9745
|
-
notes:
|
|
10636
|
+
requires: existing_documentation_or_analysis
|
|
10637
|
+
notes: |
|
|
10638
|
+
Creates PRD for major enhancement. If document-project was run, reference its output to avoid re-analysis.
|
|
10639
|
+
If skipped, use existing project documentation.
|
|
10640
|
+
SAVE OUTPUT: Copy final prd.md to your project's docs/ folder.
|
|
10641
|
+
|
|
10642
|
+
- step: architecture_decision
|
|
10643
|
+
agent: pm/architect
|
|
10644
|
+
action: determine if architecture document needed
|
|
10645
|
+
condition: after_prd_creation
|
|
10646
|
+
notes: |
|
|
10647
|
+
Review PRD to determine if architectural planning is needed:
|
|
10648
|
+
- New architectural patterns → Create architecture doc
|
|
10649
|
+
- New libraries/frameworks → Create architecture doc
|
|
10650
|
+
- Platform/infrastructure changes → Create architecture doc
|
|
10651
|
+
- Following existing patterns → Skip to story creation
|
|
9746
10652
|
|
|
9747
10653
|
- agent: architect
|
|
9748
10654
|
creates: architecture.md
|
|
9749
10655
|
uses: brownfield-architecture-tmpl
|
|
9750
10656
|
requires: prd.md
|
|
9751
|
-
|
|
10657
|
+
condition: architecture_changes_needed
|
|
10658
|
+
notes: "Creates architecture ONLY for significant architectural changes. SAVE OUTPUT: Copy final architecture.md to your project's docs/ folder."
|
|
9752
10659
|
|
|
9753
10660
|
- agent: po
|
|
9754
10661
|
validates: all_artifacts
|
|
@@ -9760,60 +10667,162 @@ workflow:
|
|
|
9760
10667
|
condition: po_checklist_issues
|
|
9761
10668
|
notes: "If PO finds issues, return to relevant agent to fix and re-export updated documents to docs/ folder."
|
|
9762
10669
|
|
|
10670
|
+
- agent: po
|
|
10671
|
+
action: shard_documents
|
|
10672
|
+
creates: sharded_docs
|
|
10673
|
+
requires: all_artifacts_in_project
|
|
10674
|
+
notes: |
|
|
10675
|
+
Shard documents for IDE development:
|
|
10676
|
+
- Option A: Use PO agent to shard: @po then ask to shard docs/prd.md
|
|
10677
|
+
- Option B: Manual: Drag shard-doc task + docs/prd.md into chat
|
|
10678
|
+
- Creates docs/prd/ and docs/architecture/ folders with sharded content
|
|
10679
|
+
|
|
10680
|
+
- agent: sm
|
|
10681
|
+
action: create_story
|
|
10682
|
+
creates: story.md
|
|
10683
|
+
requires: sharded_docs_or_brownfield_docs
|
|
10684
|
+
repeats: for_each_epic_or_enhancement
|
|
10685
|
+
notes: |
|
|
10686
|
+
Story creation cycle:
|
|
10687
|
+
- For sharded PRD: @sm → *create (uses create-next-story)
|
|
10688
|
+
- For brownfield docs: @sm → use create-brownfield-story task
|
|
10689
|
+
- Creates story from available documentation
|
|
10690
|
+
- Story starts in "Draft" status
|
|
10691
|
+
- May require additional context gathering for brownfield
|
|
10692
|
+
|
|
10693
|
+
- agent: analyst/pm
|
|
10694
|
+
action: review_draft_story
|
|
10695
|
+
updates: story.md
|
|
10696
|
+
requires: story.md
|
|
10697
|
+
optional: true
|
|
10698
|
+
condition: user_wants_story_review
|
|
10699
|
+
notes: |
|
|
10700
|
+
OPTIONAL: Review and approve draft story
|
|
10701
|
+
- NOTE: story-review task coming soon
|
|
10702
|
+
- Review story completeness and alignment
|
|
10703
|
+
- Update story status: Draft → Approved
|
|
10704
|
+
|
|
10705
|
+
- agent: dev
|
|
10706
|
+
action: implement_story
|
|
10707
|
+
creates: implementation_files
|
|
10708
|
+
requires: story.md
|
|
10709
|
+
notes: |
|
|
10710
|
+
Dev Agent (New Chat): @dev
|
|
10711
|
+
- Implements approved story
|
|
10712
|
+
- Updates File List with all changes
|
|
10713
|
+
- Marks story as "Review" when complete
|
|
10714
|
+
|
|
10715
|
+
- agent: qa
|
|
10716
|
+
action: review_implementation
|
|
10717
|
+
updates: implementation_files
|
|
10718
|
+
requires: implementation_files
|
|
10719
|
+
optional: true
|
|
10720
|
+
notes: |
|
|
10721
|
+
OPTIONAL: QA Agent (New Chat): @qa → review-story
|
|
10722
|
+
- Senior dev review with refactoring ability
|
|
10723
|
+
- Fixes small issues directly
|
|
10724
|
+
- Leaves checklist for remaining items
|
|
10725
|
+
- Updates story status (Review → Done or stays Review)
|
|
10726
|
+
|
|
10727
|
+
- agent: dev
|
|
10728
|
+
action: address_qa_feedback
|
|
10729
|
+
updates: implementation_files
|
|
10730
|
+
condition: qa_left_unchecked_items
|
|
10731
|
+
notes: |
|
|
10732
|
+
If QA left unchecked items:
|
|
10733
|
+
- Dev Agent (New Chat): Address remaining items
|
|
10734
|
+
- Return to QA for final approval
|
|
10735
|
+
|
|
10736
|
+
- repeat_development_cycle:
|
|
10737
|
+
action: continue_for_all_stories
|
|
10738
|
+
notes: |
|
|
10739
|
+
Repeat story cycle (SM → Dev → QA) for all epic stories
|
|
10740
|
+
Continue until all stories in PRD are complete
|
|
10741
|
+
|
|
10742
|
+
- agent: po
|
|
10743
|
+
action: epic_retrospective
|
|
10744
|
+
creates: epic-retrospective.md
|
|
10745
|
+
condition: epic_complete
|
|
10746
|
+
optional: true
|
|
10747
|
+
notes: |
|
|
10748
|
+
OPTIONAL: After epic completion
|
|
10749
|
+
- NOTE: epic-retrospective task coming soon
|
|
10750
|
+
- Validate epic was completed correctly
|
|
10751
|
+
- Document learnings and improvements
|
|
10752
|
+
|
|
9763
10753
|
- workflow_end:
|
|
9764
|
-
action:
|
|
10754
|
+
action: project_complete
|
|
9765
10755
|
notes: |
|
|
9766
|
-
|
|
9767
|
-
|
|
9768
|
-
1. ENSURE DOCUMENTS ARE IN PROJECT:
|
|
9769
|
-
- Copy final prd.md to project's docs/prd.md
|
|
9770
|
-
- Copy final architecture.md to project's docs/architecture.md
|
|
9771
|
-
- All documents must be in the project before proceeding
|
|
9772
|
-
|
|
9773
|
-
2. SHARD DOCUMENTS (in IDE):
|
|
9774
|
-
- Option A: Use PO agent to shard: @po then ask to shard docs/prd.md
|
|
9775
|
-
- Option B: Manual: Drag shard-doc task + docs/prd.md into chat
|
|
9776
|
-
- This creates docs/prd/ and docs/architecture/ folders with sharded content
|
|
9777
|
-
|
|
9778
|
-
3. START DEVELOPMENT CYCLE:
|
|
9779
|
-
a. SM Agent (New Chat): @sm → *create
|
|
9780
|
-
- Creates next story from sharded docs
|
|
9781
|
-
- Review and approve story (Draft → Approved)
|
|
9782
|
-
|
|
9783
|
-
b. Dev Agent (New Chat): @dev
|
|
9784
|
-
- Implements approved story
|
|
9785
|
-
- Updates File List with all changes
|
|
9786
|
-
- Marks story as "Review" when complete
|
|
9787
|
-
|
|
9788
|
-
c. QA Agent (New Chat): @qa → review-story
|
|
9789
|
-
- Senior dev review with refactoring ability
|
|
9790
|
-
- Fixes small issues directly
|
|
9791
|
-
- Leaves checklist for remaining items
|
|
9792
|
-
- Updates story status (Review → Done or stays Review)
|
|
9793
|
-
|
|
9794
|
-
d. If QA left unchecked items:
|
|
9795
|
-
- Dev Agent (New Chat): Address remaining items
|
|
9796
|
-
- Return to QA for final approval
|
|
9797
|
-
|
|
9798
|
-
4. REPEAT: Continue cycle for all epic stories
|
|
10756
|
+
All stories implemented and reviewed!
|
|
10757
|
+
Project development phase complete.
|
|
9799
10758
|
|
|
9800
10759
|
Reference: data#bmad-kb:IDE Development Workflow
|
|
9801
10760
|
|
|
9802
10761
|
flow_diagram: |
|
|
9803
10762
|
```mermaid
|
|
9804
10763
|
graph TD
|
|
9805
|
-
A[Start: Brownfield Enhancement] --> B[analyst:
|
|
9806
|
-
B --> C
|
|
9807
|
-
|
|
9808
|
-
|
|
9809
|
-
|
|
9810
|
-
|
|
9811
|
-
|
|
9812
|
-
|
|
9813
|
-
|
|
9814
|
-
|
|
9815
|
-
|
|
9816
|
-
|
|
10764
|
+
A[Start: Brownfield Enhancement] --> B[analyst: classify enhancement scope]
|
|
10765
|
+
B --> C{Enhancement Size?}
|
|
10766
|
+
|
|
10767
|
+
C -->|Single Story| D[pm: brownfield-create-story]
|
|
10768
|
+
C -->|1-3 Stories| E[pm: brownfield-create-epic]
|
|
10769
|
+
C -->|Major Enhancement| F[analyst: check documentation]
|
|
10770
|
+
|
|
10771
|
+
D --> END1[To Dev Implementation]
|
|
10772
|
+
E --> END2[To Story Creation]
|
|
10773
|
+
|
|
10774
|
+
F --> G{Docs Adequate?}
|
|
10775
|
+
G -->|No| H[architect: document-project]
|
|
10776
|
+
G -->|Yes| I[pm: brownfield PRD]
|
|
10777
|
+
H --> I
|
|
10778
|
+
|
|
10779
|
+
I --> J{Architecture Needed?}
|
|
10780
|
+
J -->|Yes| K[architect: architecture.md]
|
|
10781
|
+
J -->|No| L[po: validate artifacts]
|
|
10782
|
+
K --> L
|
|
10783
|
+
|
|
10784
|
+
L --> M{PO finds issues?}
|
|
10785
|
+
M -->|Yes| N[Fix issues]
|
|
10786
|
+
M -->|No| O[po: shard documents]
|
|
10787
|
+
N --> L
|
|
10788
|
+
|
|
10789
|
+
O --> P[sm: create story]
|
|
10790
|
+
P --> Q{Story Type?}
|
|
10791
|
+
Q -->|Sharded PRD| R[create-next-story]
|
|
10792
|
+
Q -->|Brownfield Docs| S[create-brownfield-story]
|
|
10793
|
+
|
|
10794
|
+
R --> T{Review draft?}
|
|
10795
|
+
S --> T
|
|
10796
|
+
T -->|Yes| U[review & approve]
|
|
10797
|
+
T -->|No| V[dev: implement]
|
|
10798
|
+
U --> V
|
|
10799
|
+
|
|
10800
|
+
V --> W{QA review?}
|
|
10801
|
+
W -->|Yes| X[qa: review]
|
|
10802
|
+
W -->|No| Y{More stories?}
|
|
10803
|
+
X --> Z{Issues?}
|
|
10804
|
+
Z -->|Yes| AA[dev: fix]
|
|
10805
|
+
Z -->|No| Y
|
|
10806
|
+
AA --> X
|
|
10807
|
+
Y -->|Yes| P
|
|
10808
|
+
Y -->|No| AB{Retrospective?}
|
|
10809
|
+
AB -->|Yes| AC[po: retrospective]
|
|
10810
|
+
AB -->|No| AD[Complete]
|
|
10811
|
+
AC --> AD
|
|
10812
|
+
|
|
10813
|
+
style AD fill:#90EE90
|
|
10814
|
+
style END1 fill:#90EE90
|
|
10815
|
+
style END2 fill:#90EE90
|
|
10816
|
+
style D fill:#87CEEB
|
|
10817
|
+
style E fill:#87CEEB
|
|
10818
|
+
style I fill:#FFE4B5
|
|
10819
|
+
style K fill:#FFE4B5
|
|
10820
|
+
style O fill:#ADD8E6
|
|
10821
|
+
style P fill:#ADD8E6
|
|
10822
|
+
style V fill:#ADD8E6
|
|
10823
|
+
style U fill:#F0E68C
|
|
10824
|
+
style X fill:#F0E68C
|
|
10825
|
+
style AC fill:#F0E68C
|
|
9817
10826
|
```
|
|
9818
10827
|
|
|
9819
10828
|
decision_guidance:
|
|
@@ -9825,11 +10834,41 @@ workflow:
|
|
|
9825
10834
|
- Multiple team members will work on related changes
|
|
9826
10835
|
|
|
9827
10836
|
handoff_prompts:
|
|
9828
|
-
|
|
9829
|
-
|
|
10837
|
+
classification_complete: |
|
|
10838
|
+
Enhancement classified as: {{enhancement_type}}
|
|
10839
|
+
{{if single_story}}: Proceeding with brownfield-create-story task for immediate implementation.
|
|
10840
|
+
{{if small_feature}}: Creating focused epic with brownfield-create-epic task.
|
|
10841
|
+
{{if major_enhancement}}: Continuing with comprehensive planning workflow.
|
|
10842
|
+
|
|
10843
|
+
documentation_assessment: |
|
|
10844
|
+
Documentation assessment complete:
|
|
10845
|
+
{{if adequate}}: Existing documentation is sufficient. Proceeding directly to PRD creation.
|
|
10846
|
+
{{if inadequate}}: Running document-project to capture current system state before PRD.
|
|
10847
|
+
|
|
10848
|
+
document_project_to_pm: |
|
|
10849
|
+
Project analysis complete. Key findings documented in:
|
|
10850
|
+
- {{document_list}}
|
|
10851
|
+
Use these findings to inform PRD creation and avoid re-analyzing the same aspects.
|
|
10852
|
+
|
|
10853
|
+
pm_to_architect_decision: |
|
|
10854
|
+
PRD complete and saved as docs/prd.md.
|
|
10855
|
+
Architectural changes identified: {{yes/no}}
|
|
10856
|
+
{{if yes}}: Proceeding to create architecture document for: {{specific_changes}}
|
|
10857
|
+
{{if no}}: No architectural changes needed. Proceeding to validation.
|
|
10858
|
+
|
|
9830
10859
|
architect_to_po: "Architecture complete. Save it as docs/architecture.md. Please validate all artifacts for integration safety."
|
|
9831
|
-
|
|
9832
|
-
|
|
10860
|
+
|
|
10861
|
+
po_to_sm: |
|
|
10862
|
+
All artifacts validated.
|
|
10863
|
+
Documentation type available: {{sharded_prd / brownfield_docs}}
|
|
10864
|
+
{{if sharded}}: Use standard create-next-story task.
|
|
10865
|
+
{{if brownfield}}: Use create-brownfield-story task to handle varied documentation formats.
|
|
10866
|
+
|
|
10867
|
+
sm_story_creation: |
|
|
10868
|
+
Creating story from {{documentation_type}}.
|
|
10869
|
+
{{if missing_context}}: May need to gather additional context from user during story creation.
|
|
10870
|
+
|
|
10871
|
+
complete: "All planning artifacts validated and development can begin. Stories will be created based on available documentation format."
|
|
9833
10872
|
==================== END: workflows#brownfield-fullstack ====================
|
|
9834
10873
|
|
|
9835
10874
|
==================== START: workflows#brownfield-service ====================
|
|
@@ -9876,42 +10915,92 @@ workflow:
|
|
|
9876
10915
|
condition: po_checklist_issues
|
|
9877
10916
|
notes: "If PO finds issues, return to relevant agent to fix and re-export updated documents to docs/ folder."
|
|
9878
10917
|
|
|
10918
|
+
- agent: po
|
|
10919
|
+
action: shard_documents
|
|
10920
|
+
creates: sharded_docs
|
|
10921
|
+
requires: all_artifacts_in_project
|
|
10922
|
+
notes: |
|
|
10923
|
+
Shard documents for IDE development:
|
|
10924
|
+
- Option A: Use PO agent to shard: @po then ask to shard docs/prd.md
|
|
10925
|
+
- Option B: Manual: Drag shard-doc task + docs/prd.md into chat
|
|
10926
|
+
- Creates docs/prd/ and docs/architecture/ folders with sharded content
|
|
10927
|
+
|
|
10928
|
+
- agent: sm
|
|
10929
|
+
action: create_story
|
|
10930
|
+
creates: story.md
|
|
10931
|
+
requires: sharded_docs
|
|
10932
|
+
repeats: for_each_epic
|
|
10933
|
+
notes: |
|
|
10934
|
+
Story creation cycle:
|
|
10935
|
+
- SM Agent (New Chat): @sm → *create
|
|
10936
|
+
- Creates next story from sharded docs
|
|
10937
|
+
- Story starts in "Draft" status
|
|
10938
|
+
|
|
10939
|
+
- agent: analyst/pm
|
|
10940
|
+
action: review_draft_story
|
|
10941
|
+
updates: story.md
|
|
10942
|
+
requires: story.md
|
|
10943
|
+
optional: true
|
|
10944
|
+
condition: user_wants_story_review
|
|
10945
|
+
notes: |
|
|
10946
|
+
OPTIONAL: Review and approve draft story
|
|
10947
|
+
- NOTE: story-review task coming soon
|
|
10948
|
+
- Review story completeness and alignment
|
|
10949
|
+
- Update story status: Draft → Approved
|
|
10950
|
+
|
|
10951
|
+
- agent: dev
|
|
10952
|
+
action: implement_story
|
|
10953
|
+
creates: implementation_files
|
|
10954
|
+
requires: story.md
|
|
10955
|
+
notes: |
|
|
10956
|
+
Dev Agent (New Chat): @dev
|
|
10957
|
+
- Implements approved story
|
|
10958
|
+
- Updates File List with all changes
|
|
10959
|
+
- Marks story as "Review" when complete
|
|
10960
|
+
|
|
10961
|
+
- agent: qa
|
|
10962
|
+
action: review_implementation
|
|
10963
|
+
updates: implementation_files
|
|
10964
|
+
requires: implementation_files
|
|
10965
|
+
optional: true
|
|
10966
|
+
notes: |
|
|
10967
|
+
OPTIONAL: QA Agent (New Chat): @qa → review-story
|
|
10968
|
+
- Senior dev review with refactoring ability
|
|
10969
|
+
- Fixes small issues directly
|
|
10970
|
+
- Leaves checklist for remaining items
|
|
10971
|
+
- Updates story status (Review → Done or stays Review)
|
|
10972
|
+
|
|
10973
|
+
- agent: dev
|
|
10974
|
+
action: address_qa_feedback
|
|
10975
|
+
updates: implementation_files
|
|
10976
|
+
condition: qa_left_unchecked_items
|
|
10977
|
+
notes: |
|
|
10978
|
+
If QA left unchecked items:
|
|
10979
|
+
- Dev Agent (New Chat): Address remaining items
|
|
10980
|
+
- Return to QA for final approval
|
|
10981
|
+
|
|
10982
|
+
- repeat_development_cycle:
|
|
10983
|
+
action: continue_for_all_stories
|
|
10984
|
+
notes: |
|
|
10985
|
+
Repeat story cycle (SM → Dev → QA) for all epic stories
|
|
10986
|
+
Continue until all stories in PRD are complete
|
|
10987
|
+
|
|
10988
|
+
- agent: po
|
|
10989
|
+
action: epic_retrospective
|
|
10990
|
+
creates: epic-retrospective.md
|
|
10991
|
+
condition: epic_complete
|
|
10992
|
+
optional: true
|
|
10993
|
+
notes: |
|
|
10994
|
+
OPTIONAL: After epic completion
|
|
10995
|
+
- NOTE: epic-retrospective task coming soon
|
|
10996
|
+
- Validate epic was completed correctly
|
|
10997
|
+
- Document learnings and improvements
|
|
10998
|
+
|
|
9879
10999
|
- workflow_end:
|
|
9880
|
-
action:
|
|
11000
|
+
action: project_complete
|
|
9881
11001
|
notes: |
|
|
9882
|
-
|
|
9883
|
-
|
|
9884
|
-
1. ENSURE DOCUMENTS ARE IN PROJECT:
|
|
9885
|
-
- Copy final prd.md to project's docs/prd.md
|
|
9886
|
-
- Copy final architecture.md to project's docs/architecture.md
|
|
9887
|
-
- All documents must be in the project before proceeding
|
|
9888
|
-
|
|
9889
|
-
2. SHARD DOCUMENTS (in IDE):
|
|
9890
|
-
- Option A: Use PO agent to shard: @po then ask to shard docs/prd.md
|
|
9891
|
-
- Option B: Manual: Drag shard-doc task + docs/prd.md into chat
|
|
9892
|
-
- This creates docs/prd/ and docs/architecture/ folders with sharded content
|
|
9893
|
-
|
|
9894
|
-
3. START DEVELOPMENT CYCLE:
|
|
9895
|
-
a. SM Agent (New Chat): @sm → *create
|
|
9896
|
-
- Creates next story from sharded docs
|
|
9897
|
-
- Review and approve story (Draft → Approved)
|
|
9898
|
-
|
|
9899
|
-
b. Dev Agent (New Chat): @dev
|
|
9900
|
-
- Implements approved story
|
|
9901
|
-
- Updates File List with all changes
|
|
9902
|
-
- Marks story as "Review" when complete
|
|
9903
|
-
|
|
9904
|
-
c. QA Agent (New Chat): @qa → review-story
|
|
9905
|
-
- Senior dev review with refactoring ability
|
|
9906
|
-
- Fixes small issues directly
|
|
9907
|
-
- Leaves checklist for remaining items
|
|
9908
|
-
- Updates story status (Review → Done or stays Review)
|
|
9909
|
-
|
|
9910
|
-
d. If QA left unchecked items:
|
|
9911
|
-
- Dev Agent (New Chat): Address remaining items
|
|
9912
|
-
- Return to QA for final approval
|
|
9913
|
-
|
|
9914
|
-
4. REPEAT: Continue cycle for all epic stories
|
|
11002
|
+
All stories implemented and reviewed!
|
|
11003
|
+
Project development phase complete.
|
|
9915
11004
|
|
|
9916
11005
|
Reference: data#bmad-kb:IDE Development Workflow
|
|
9917
11006
|
|
|
@@ -9924,12 +11013,36 @@ workflow:
|
|
|
9924
11013
|
D --> E[po: validate with po-master-checklist]
|
|
9925
11014
|
E --> F{PO finds issues?}
|
|
9926
11015
|
F -->|Yes| G[Return to relevant agent for fixes]
|
|
9927
|
-
F -->|No| H[
|
|
11016
|
+
F -->|No| H[po: shard documents]
|
|
9928
11017
|
G --> E
|
|
9929
|
-
|
|
9930
|
-
|
|
11018
|
+
|
|
11019
|
+
H --> I[sm: create story]
|
|
11020
|
+
I --> J{Review draft story?}
|
|
11021
|
+
J -->|Yes| K[analyst/pm: review & approve story]
|
|
11022
|
+
J -->|No| L[dev: implement story]
|
|
11023
|
+
K --> L
|
|
11024
|
+
L --> M{QA review?}
|
|
11025
|
+
M -->|Yes| N[qa: review implementation]
|
|
11026
|
+
M -->|No| O{More stories?}
|
|
11027
|
+
N --> P{QA found issues?}
|
|
11028
|
+
P -->|Yes| Q[dev: address QA feedback]
|
|
11029
|
+
P -->|No| O
|
|
11030
|
+
Q --> N
|
|
11031
|
+
O -->|Yes| I
|
|
11032
|
+
O -->|No| R{Epic retrospective?}
|
|
11033
|
+
R -->|Yes| S[po: epic retrospective]
|
|
11034
|
+
R -->|No| T[Project Complete]
|
|
11035
|
+
S --> T
|
|
11036
|
+
|
|
11037
|
+
style T fill:#90EE90
|
|
11038
|
+
style H fill:#ADD8E6
|
|
11039
|
+
style I fill:#ADD8E6
|
|
11040
|
+
style L fill:#ADD8E6
|
|
9931
11041
|
style C fill:#FFE4B5
|
|
9932
11042
|
style D fill:#FFE4B5
|
|
11043
|
+
style K fill:#F0E68C
|
|
11044
|
+
style N fill:#F0E68C
|
|
11045
|
+
style S fill:#F0E68C
|
|
9933
11046
|
```
|
|
9934
11047
|
|
|
9935
11048
|
decision_guidance:
|
|
@@ -9999,42 +11112,92 @@ workflow:
|
|
|
9999
11112
|
condition: po_checklist_issues
|
|
10000
11113
|
notes: "If PO finds issues, return to relevant agent to fix and re-export updated documents to docs/ folder."
|
|
10001
11114
|
|
|
11115
|
+
- agent: po
|
|
11116
|
+
action: shard_documents
|
|
11117
|
+
creates: sharded_docs
|
|
11118
|
+
requires: all_artifacts_in_project
|
|
11119
|
+
notes: |
|
|
11120
|
+
Shard documents for IDE development:
|
|
11121
|
+
- Option A: Use PO agent to shard: @po then ask to shard docs/prd.md
|
|
11122
|
+
- Option B: Manual: Drag shard-doc task + docs/prd.md into chat
|
|
11123
|
+
- Creates docs/prd/ and docs/architecture/ folders with sharded content
|
|
11124
|
+
|
|
11125
|
+
- agent: sm
|
|
11126
|
+
action: create_story
|
|
11127
|
+
creates: story.md
|
|
11128
|
+
requires: sharded_docs
|
|
11129
|
+
repeats: for_each_epic
|
|
11130
|
+
notes: |
|
|
11131
|
+
Story creation cycle:
|
|
11132
|
+
- SM Agent (New Chat): @sm → *create
|
|
11133
|
+
- Creates next story from sharded docs
|
|
11134
|
+
- Story starts in "Draft" status
|
|
11135
|
+
|
|
11136
|
+
- agent: analyst/pm
|
|
11137
|
+
action: review_draft_story
|
|
11138
|
+
updates: story.md
|
|
11139
|
+
requires: story.md
|
|
11140
|
+
optional: true
|
|
11141
|
+
condition: user_wants_story_review
|
|
11142
|
+
notes: |
|
|
11143
|
+
OPTIONAL: Review and approve draft story
|
|
11144
|
+
- NOTE: story-review task coming soon
|
|
11145
|
+
- Review story completeness and alignment
|
|
11146
|
+
- Update story status: Draft → Approved
|
|
11147
|
+
|
|
11148
|
+
- agent: dev
|
|
11149
|
+
action: implement_story
|
|
11150
|
+
creates: implementation_files
|
|
11151
|
+
requires: story.md
|
|
11152
|
+
notes: |
|
|
11153
|
+
Dev Agent (New Chat): @dev
|
|
11154
|
+
- Implements approved story
|
|
11155
|
+
- Updates File List with all changes
|
|
11156
|
+
- Marks story as "Review" when complete
|
|
11157
|
+
|
|
11158
|
+
- agent: qa
|
|
11159
|
+
action: review_implementation
|
|
11160
|
+
updates: implementation_files
|
|
11161
|
+
requires: implementation_files
|
|
11162
|
+
optional: true
|
|
11163
|
+
notes: |
|
|
11164
|
+
OPTIONAL: QA Agent (New Chat): @qa → review-story
|
|
11165
|
+
- Senior dev review with refactoring ability
|
|
11166
|
+
- Fixes small issues directly
|
|
11167
|
+
- Leaves checklist for remaining items
|
|
11168
|
+
- Updates story status (Review → Done or stays Review)
|
|
11169
|
+
|
|
11170
|
+
- agent: dev
|
|
11171
|
+
action: address_qa_feedback
|
|
11172
|
+
updates: implementation_files
|
|
11173
|
+
condition: qa_left_unchecked_items
|
|
11174
|
+
notes: |
|
|
11175
|
+
If QA left unchecked items:
|
|
11176
|
+
- Dev Agent (New Chat): Address remaining items
|
|
11177
|
+
- Return to QA for final approval
|
|
11178
|
+
|
|
11179
|
+
- repeat_development_cycle:
|
|
11180
|
+
action: continue_for_all_stories
|
|
11181
|
+
notes: |
|
|
11182
|
+
Repeat story cycle (SM → Dev → QA) for all epic stories
|
|
11183
|
+
Continue until all stories in PRD are complete
|
|
11184
|
+
|
|
11185
|
+
- agent: po
|
|
11186
|
+
action: epic_retrospective
|
|
11187
|
+
creates: epic-retrospective.md
|
|
11188
|
+
condition: epic_complete
|
|
11189
|
+
optional: true
|
|
11190
|
+
notes: |
|
|
11191
|
+
OPTIONAL: After epic completion
|
|
11192
|
+
- NOTE: epic-retrospective task coming soon
|
|
11193
|
+
- Validate epic was completed correctly
|
|
11194
|
+
- Document learnings and improvements
|
|
11195
|
+
|
|
10002
11196
|
- workflow_end:
|
|
10003
|
-
action:
|
|
11197
|
+
action: project_complete
|
|
10004
11198
|
notes: |
|
|
10005
|
-
|
|
10006
|
-
|
|
10007
|
-
1. ENSURE DOCUMENTS ARE IN PROJECT:
|
|
10008
|
-
- Copy final prd.md to project's docs/prd.md
|
|
10009
|
-
- Copy final architecture.md to project's docs/architecture.md
|
|
10010
|
-
- All documents must be in the project before proceeding
|
|
10011
|
-
|
|
10012
|
-
2. SHARD DOCUMENTS (in IDE):
|
|
10013
|
-
- Option A: Use PO agent to shard: @po then ask to shard docs/prd.md
|
|
10014
|
-
- Option B: Manual: Drag shard-doc task + docs/prd.md into chat
|
|
10015
|
-
- This creates docs/prd/ and docs/architecture/ folders with sharded content
|
|
10016
|
-
|
|
10017
|
-
3. START DEVELOPMENT CYCLE:
|
|
10018
|
-
a. SM Agent (New Chat): @sm → *create
|
|
10019
|
-
- Creates next story from sharded docs
|
|
10020
|
-
- Review and approve story (Draft → Approved)
|
|
10021
|
-
|
|
10022
|
-
b. Dev Agent (New Chat): @dev
|
|
10023
|
-
- Implements approved story
|
|
10024
|
-
- Updates File List with all changes
|
|
10025
|
-
- Marks story as "Review" when complete
|
|
10026
|
-
|
|
10027
|
-
c. QA Agent (New Chat): @qa → review-story
|
|
10028
|
-
- Senior dev review with refactoring ability
|
|
10029
|
-
- Fixes small issues directly
|
|
10030
|
-
- Leaves checklist for remaining items
|
|
10031
|
-
- Updates story status (Review → Done or stays Review)
|
|
10032
|
-
|
|
10033
|
-
d. If QA left unchecked items:
|
|
10034
|
-
- Dev Agent (New Chat): Address remaining items
|
|
10035
|
-
- Return to QA for final approval
|
|
10036
|
-
|
|
10037
|
-
4. REPEAT: Continue cycle for all epic stories
|
|
11199
|
+
All stories implemented and reviewed!
|
|
11200
|
+
Project development phase complete.
|
|
10038
11201
|
|
|
10039
11202
|
Reference: data#bmad-kb:IDE Development Workflow
|
|
10040
11203
|
|
|
@@ -10048,13 +11211,37 @@ workflow:
|
|
|
10048
11211
|
E --> F[po: validate with po-master-checklist]
|
|
10049
11212
|
F --> G{PO finds issues?}
|
|
10050
11213
|
G -->|Yes| H[Return to relevant agent for fixes]
|
|
10051
|
-
G -->|No| I[
|
|
11214
|
+
G -->|No| I[po: shard documents]
|
|
10052
11215
|
H --> F
|
|
10053
|
-
|
|
10054
|
-
|
|
11216
|
+
|
|
11217
|
+
I --> J[sm: create story]
|
|
11218
|
+
J --> K{Review draft story?}
|
|
11219
|
+
K -->|Yes| L[analyst/pm: review & approve story]
|
|
11220
|
+
K -->|No| M[dev: implement story]
|
|
11221
|
+
L --> M
|
|
11222
|
+
M --> N{QA review?}
|
|
11223
|
+
N -->|Yes| O[qa: review implementation]
|
|
11224
|
+
N -->|No| P{More stories?}
|
|
11225
|
+
O --> Q{QA found issues?}
|
|
11226
|
+
Q -->|Yes| R[dev: address QA feedback]
|
|
11227
|
+
Q -->|No| P
|
|
11228
|
+
R --> O
|
|
11229
|
+
P -->|Yes| J
|
|
11230
|
+
P -->|No| S{Epic retrospective?}
|
|
11231
|
+
S -->|Yes| T[po: epic retrospective]
|
|
11232
|
+
S -->|No| U[Project Complete]
|
|
11233
|
+
T --> U
|
|
11234
|
+
|
|
11235
|
+
style U fill:#90EE90
|
|
11236
|
+
style I fill:#ADD8E6
|
|
11237
|
+
style J fill:#ADD8E6
|
|
11238
|
+
style M fill:#ADD8E6
|
|
10055
11239
|
style C fill:#FFE4B5
|
|
10056
11240
|
style D fill:#FFE4B5
|
|
10057
11241
|
style E fill:#FFE4B5
|
|
11242
|
+
style L fill:#F0E68C
|
|
11243
|
+
style O fill:#F0E68C
|
|
11244
|
+
style T fill:#F0E68C
|
|
10058
11245
|
```
|
|
10059
11246
|
|
|
10060
11247
|
decision_guidance:
|
|
@@ -10150,42 +11337,92 @@ workflow:
|
|
|
10150
11337
|
action: guide_development_sequence
|
|
10151
11338
|
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."
|
|
10152
11339
|
|
|
11340
|
+
- agent: po
|
|
11341
|
+
action: shard_documents
|
|
11342
|
+
creates: sharded_docs
|
|
11343
|
+
requires: all_artifacts_in_project
|
|
11344
|
+
notes: |
|
|
11345
|
+
Shard documents for IDE development:
|
|
11346
|
+
- Option A: Use PO agent to shard: @po then ask to shard docs/prd.md
|
|
11347
|
+
- Option B: Manual: Drag shard-doc task + docs/prd.md into chat
|
|
11348
|
+
- Creates docs/prd/ and docs/architecture/ folders with sharded content
|
|
11349
|
+
|
|
11350
|
+
- agent: sm
|
|
11351
|
+
action: create_story
|
|
11352
|
+
creates: story.md
|
|
11353
|
+
requires: sharded_docs
|
|
11354
|
+
repeats: for_each_epic
|
|
11355
|
+
notes: |
|
|
11356
|
+
Story creation cycle:
|
|
11357
|
+
- SM Agent (New Chat): @sm → *create
|
|
11358
|
+
- Creates next story from sharded docs
|
|
11359
|
+
- Story starts in "Draft" status
|
|
11360
|
+
|
|
11361
|
+
- agent: analyst/pm
|
|
11362
|
+
action: review_draft_story
|
|
11363
|
+
updates: story.md
|
|
11364
|
+
requires: story.md
|
|
11365
|
+
optional: true
|
|
11366
|
+
condition: user_wants_story_review
|
|
11367
|
+
notes: |
|
|
11368
|
+
OPTIONAL: Review and approve draft story
|
|
11369
|
+
- NOTE: story-review task coming soon
|
|
11370
|
+
- Review story completeness and alignment
|
|
11371
|
+
- Update story status: Draft → Approved
|
|
11372
|
+
|
|
11373
|
+
- agent: dev
|
|
11374
|
+
action: implement_story
|
|
11375
|
+
creates: implementation_files
|
|
11376
|
+
requires: story.md
|
|
11377
|
+
notes: |
|
|
11378
|
+
Dev Agent (New Chat): @dev
|
|
11379
|
+
- Implements approved story
|
|
11380
|
+
- Updates File List with all changes
|
|
11381
|
+
- Marks story as "Review" when complete
|
|
11382
|
+
|
|
11383
|
+
- agent: qa
|
|
11384
|
+
action: review_implementation
|
|
11385
|
+
updates: implementation_files
|
|
11386
|
+
requires: implementation_files
|
|
11387
|
+
optional: true
|
|
11388
|
+
notes: |
|
|
11389
|
+
OPTIONAL: QA Agent (New Chat): @qa → review-story
|
|
11390
|
+
- Senior dev review with refactoring ability
|
|
11391
|
+
- Fixes small issues directly
|
|
11392
|
+
- Leaves checklist for remaining items
|
|
11393
|
+
- Updates story status (Review → Done or stays Review)
|
|
11394
|
+
|
|
11395
|
+
- agent: dev
|
|
11396
|
+
action: address_qa_feedback
|
|
11397
|
+
updates: implementation_files
|
|
11398
|
+
condition: qa_left_unchecked_items
|
|
11399
|
+
notes: |
|
|
11400
|
+
If QA left unchecked items:
|
|
11401
|
+
- Dev Agent (New Chat): Address remaining items
|
|
11402
|
+
- Return to QA for final approval
|
|
11403
|
+
|
|
11404
|
+
- repeat_development_cycle:
|
|
11405
|
+
action: continue_for_all_stories
|
|
11406
|
+
notes: |
|
|
11407
|
+
Repeat story cycle (SM → Dev → QA) for all epic stories
|
|
11408
|
+
Continue until all stories in PRD are complete
|
|
11409
|
+
|
|
11410
|
+
- agent: po
|
|
11411
|
+
action: epic_retrospective
|
|
11412
|
+
creates: epic-retrospective.md
|
|
11413
|
+
condition: epic_complete
|
|
11414
|
+
optional: true
|
|
11415
|
+
notes: |
|
|
11416
|
+
OPTIONAL: After epic completion
|
|
11417
|
+
- NOTE: epic-retrospective task coming soon
|
|
11418
|
+
- Validate epic was completed correctly
|
|
11419
|
+
- Document learnings and improvements
|
|
11420
|
+
|
|
10153
11421
|
- workflow_end:
|
|
10154
|
-
action:
|
|
11422
|
+
action: project_complete
|
|
10155
11423
|
notes: |
|
|
10156
|
-
|
|
10157
|
-
|
|
10158
|
-
1. ENSURE DOCUMENTS ARE IN PROJECT:
|
|
10159
|
-
- Copy final prd.md to project's docs/prd.md
|
|
10160
|
-
- Copy final architecture.md to project's docs/architecture.md
|
|
10161
|
-
- All documents must be in the project before proceeding
|
|
10162
|
-
|
|
10163
|
-
2. SHARD DOCUMENTS (in IDE):
|
|
10164
|
-
- Option A: Use PO agent to shard: @po then ask to shard docs/prd.md
|
|
10165
|
-
- Option B: Manual: Drag shard-doc task + docs/prd.md into chat
|
|
10166
|
-
- This creates docs/prd/ and docs/architecture/ folders with sharded content
|
|
10167
|
-
|
|
10168
|
-
3. START DEVELOPMENT CYCLE:
|
|
10169
|
-
a. SM Agent (New Chat): @sm → *create
|
|
10170
|
-
- Creates next story from sharded docs
|
|
10171
|
-
- Review and approve story (Draft → Approved)
|
|
10172
|
-
|
|
10173
|
-
b. Dev Agent (New Chat): @dev
|
|
10174
|
-
- Implements approved story
|
|
10175
|
-
- Updates File List with all changes
|
|
10176
|
-
- Marks story as "Review" when complete
|
|
10177
|
-
|
|
10178
|
-
c. QA Agent (New Chat): @qa → review-story
|
|
10179
|
-
- Senior dev review with refactoring ability
|
|
10180
|
-
- Fixes small issues directly
|
|
10181
|
-
- Leaves checklist for remaining items
|
|
10182
|
-
- Updates story status (Review → Done or stays Review)
|
|
10183
|
-
|
|
10184
|
-
d. If QA left unchecked items:
|
|
10185
|
-
- Dev Agent (New Chat): Address remaining items
|
|
10186
|
-
- Return to QA for final approval
|
|
10187
|
-
|
|
10188
|
-
4. REPEAT: Continue cycle for all epic stories
|
|
11424
|
+
All stories implemented and reviewed!
|
|
11425
|
+
Project development phase complete.
|
|
10189
11426
|
|
|
10190
11427
|
Reference: data#bmad-kb:IDE Development Workflow
|
|
10191
11428
|
|
|
@@ -10206,21 +11443,45 @@ workflow:
|
|
|
10206
11443
|
G --> H
|
|
10207
11444
|
H --> I{PO finds issues?}
|
|
10208
11445
|
I -->|Yes| J[Return to relevant agent for fixes]
|
|
10209
|
-
I -->|No| K[
|
|
11446
|
+
I -->|No| K[po: shard documents]
|
|
10210
11447
|
J --> H
|
|
11448
|
+
|
|
11449
|
+
K --> L[sm: create story]
|
|
11450
|
+
L --> M{Review draft story?}
|
|
11451
|
+
M -->|Yes| N[analyst/pm: review & approve story]
|
|
11452
|
+
M -->|No| O[dev: implement story]
|
|
11453
|
+
N --> O
|
|
11454
|
+
O --> P{QA review?}
|
|
11455
|
+
P -->|Yes| Q[qa: review implementation]
|
|
11456
|
+
P -->|No| R{More stories?}
|
|
11457
|
+
Q --> S{QA found issues?}
|
|
11458
|
+
S -->|Yes| T[dev: address QA feedback]
|
|
11459
|
+
S -->|No| R
|
|
11460
|
+
T --> Q
|
|
11461
|
+
R -->|Yes| L
|
|
11462
|
+
R -->|No| U{Epic retrospective?}
|
|
11463
|
+
U -->|Yes| V[po: epic retrospective]
|
|
11464
|
+
U -->|No| W[Project Complete]
|
|
11465
|
+
V --> W
|
|
10211
11466
|
|
|
10212
11467
|
B -.-> B1[Optional: brainstorming]
|
|
10213
11468
|
B -.-> B2[Optional: market research]
|
|
10214
11469
|
D -.-> D1[Optional: user research]
|
|
10215
11470
|
E -.-> E1[Optional: technical research]
|
|
10216
11471
|
|
|
10217
|
-
style
|
|
11472
|
+
style W fill:#90EE90
|
|
11473
|
+
style K fill:#ADD8E6
|
|
11474
|
+
style L fill:#ADD8E6
|
|
11475
|
+
style O fill:#ADD8E6
|
|
10218
11476
|
style D3 fill:#E6E6FA
|
|
10219
11477
|
style D4 fill:#E6E6FA
|
|
10220
11478
|
style B fill:#FFE4B5
|
|
10221
11479
|
style C fill:#FFE4B5
|
|
10222
11480
|
style D fill:#FFE4B5
|
|
10223
11481
|
style E fill:#FFE4B5
|
|
11482
|
+
style N fill:#F0E68C
|
|
11483
|
+
style Q fill:#F0E68C
|
|
11484
|
+
style V fill:#F0E68C
|
|
10224
11485
|
```
|
|
10225
11486
|
|
|
10226
11487
|
decision_guidance:
|
|
@@ -10295,42 +11556,92 @@ workflow:
|
|
|
10295
11556
|
condition: po_checklist_issues
|
|
10296
11557
|
notes: "If PO finds issues, return to relevant agent to fix and re-export updated documents to docs/ folder."
|
|
10297
11558
|
|
|
11559
|
+
- agent: po
|
|
11560
|
+
action: shard_documents
|
|
11561
|
+
creates: sharded_docs
|
|
11562
|
+
requires: all_artifacts_in_project
|
|
11563
|
+
notes: |
|
|
11564
|
+
Shard documents for IDE development:
|
|
11565
|
+
- Option A: Use PO agent to shard: @po then ask to shard docs/prd.md
|
|
11566
|
+
- Option B: Manual: Drag shard-doc task + docs/prd.md into chat
|
|
11567
|
+
- Creates docs/prd/ and docs/architecture/ folders with sharded content
|
|
11568
|
+
|
|
11569
|
+
- agent: sm
|
|
11570
|
+
action: create_story
|
|
11571
|
+
creates: story.md
|
|
11572
|
+
requires: sharded_docs
|
|
11573
|
+
repeats: for_each_epic
|
|
11574
|
+
notes: |
|
|
11575
|
+
Story creation cycle:
|
|
11576
|
+
- SM Agent (New Chat): @sm → *create
|
|
11577
|
+
- Creates next story from sharded docs
|
|
11578
|
+
- Story starts in "Draft" status
|
|
11579
|
+
|
|
11580
|
+
- agent: analyst/pm
|
|
11581
|
+
action: review_draft_story
|
|
11582
|
+
updates: story.md
|
|
11583
|
+
requires: story.md
|
|
11584
|
+
optional: true
|
|
11585
|
+
condition: user_wants_story_review
|
|
11586
|
+
notes: |
|
|
11587
|
+
OPTIONAL: Review and approve draft story
|
|
11588
|
+
- NOTE: story-review task coming soon
|
|
11589
|
+
- Review story completeness and alignment
|
|
11590
|
+
- Update story status: Draft → Approved
|
|
11591
|
+
|
|
11592
|
+
- agent: dev
|
|
11593
|
+
action: implement_story
|
|
11594
|
+
creates: implementation_files
|
|
11595
|
+
requires: story.md
|
|
11596
|
+
notes: |
|
|
11597
|
+
Dev Agent (New Chat): @dev
|
|
11598
|
+
- Implements approved story
|
|
11599
|
+
- Updates File List with all changes
|
|
11600
|
+
- Marks story as "Review" when complete
|
|
11601
|
+
|
|
11602
|
+
- agent: qa
|
|
11603
|
+
action: review_implementation
|
|
11604
|
+
updates: implementation_files
|
|
11605
|
+
requires: implementation_files
|
|
11606
|
+
optional: true
|
|
11607
|
+
notes: |
|
|
11608
|
+
OPTIONAL: QA Agent (New Chat): @qa → review-story
|
|
11609
|
+
- Senior dev review with refactoring ability
|
|
11610
|
+
- Fixes small issues directly
|
|
11611
|
+
- Leaves checklist for remaining items
|
|
11612
|
+
- Updates story status (Review → Done or stays Review)
|
|
11613
|
+
|
|
11614
|
+
- agent: dev
|
|
11615
|
+
action: address_qa_feedback
|
|
11616
|
+
updates: implementation_files
|
|
11617
|
+
condition: qa_left_unchecked_items
|
|
11618
|
+
notes: |
|
|
11619
|
+
If QA left unchecked items:
|
|
11620
|
+
- Dev Agent (New Chat): Address remaining items
|
|
11621
|
+
- Return to QA for final approval
|
|
11622
|
+
|
|
11623
|
+
- repeat_development_cycle:
|
|
11624
|
+
action: continue_for_all_stories
|
|
11625
|
+
notes: |
|
|
11626
|
+
Repeat story cycle (SM → Dev → QA) for all epic stories
|
|
11627
|
+
Continue until all stories in PRD are complete
|
|
11628
|
+
|
|
11629
|
+
- agent: po
|
|
11630
|
+
action: epic_retrospective
|
|
11631
|
+
creates: epic-retrospective.md
|
|
11632
|
+
condition: epic_complete
|
|
11633
|
+
optional: true
|
|
11634
|
+
notes: |
|
|
11635
|
+
OPTIONAL: After epic completion
|
|
11636
|
+
- NOTE: epic-retrospective task coming soon
|
|
11637
|
+
- Validate epic was completed correctly
|
|
11638
|
+
- Document learnings and improvements
|
|
11639
|
+
|
|
10298
11640
|
- workflow_end:
|
|
10299
|
-
action:
|
|
11641
|
+
action: project_complete
|
|
10300
11642
|
notes: |
|
|
10301
|
-
|
|
10302
|
-
|
|
10303
|
-
1. ENSURE DOCUMENTS ARE IN PROJECT:
|
|
10304
|
-
- Copy final prd.md to project's docs/prd.md
|
|
10305
|
-
- Copy final architecture.md to project's docs/architecture.md
|
|
10306
|
-
- All documents must be in the project before proceeding
|
|
10307
|
-
|
|
10308
|
-
2. SHARD DOCUMENTS (in IDE):
|
|
10309
|
-
- Option A: Use PO agent to shard: @po then ask to shard docs/prd.md
|
|
10310
|
-
- Option B: Manual: Drag shard-doc task + docs/prd.md into chat
|
|
10311
|
-
- This creates docs/prd/ and docs/architecture/ folders with sharded content
|
|
10312
|
-
|
|
10313
|
-
3. START DEVELOPMENT CYCLE:
|
|
10314
|
-
a. SM Agent (New Chat): @sm → *create
|
|
10315
|
-
- Creates next story from sharded docs
|
|
10316
|
-
- Review and approve story (Draft → Approved)
|
|
10317
|
-
|
|
10318
|
-
b. Dev Agent (New Chat): @dev
|
|
10319
|
-
- Implements approved story
|
|
10320
|
-
- Updates File List with all changes
|
|
10321
|
-
- Marks story as "Review" when complete
|
|
10322
|
-
|
|
10323
|
-
c. QA Agent (New Chat): @qa → review-story
|
|
10324
|
-
- Senior dev review with refactoring ability
|
|
10325
|
-
- Fixes small issues directly
|
|
10326
|
-
- Leaves checklist for remaining items
|
|
10327
|
-
- Updates story status (Review → Done or stays Review)
|
|
10328
|
-
|
|
10329
|
-
d. If QA left unchecked items:
|
|
10330
|
-
- Dev Agent (New Chat): Address remaining items
|
|
10331
|
-
- Return to QA for final approval
|
|
10332
|
-
|
|
10333
|
-
4. REPEAT: Continue cycle for all epic stories
|
|
11643
|
+
All stories implemented and reviewed!
|
|
11644
|
+
Service development phase complete.
|
|
10334
11645
|
|
|
10335
11646
|
Reference: data#bmad-kb:IDE Development Workflow
|
|
10336
11647
|
|
|
@@ -10346,17 +11657,41 @@ workflow:
|
|
|
10346
11657
|
F --> G
|
|
10347
11658
|
G --> H{PO finds issues?}
|
|
10348
11659
|
H -->|Yes| I[Return to relevant agent for fixes]
|
|
10349
|
-
H -->|No| J[
|
|
11660
|
+
H -->|No| J[po: shard documents]
|
|
10350
11661
|
I --> G
|
|
11662
|
+
|
|
11663
|
+
J --> K[sm: create story]
|
|
11664
|
+
K --> L{Review draft story?}
|
|
11665
|
+
L -->|Yes| M[analyst/pm: review & approve story]
|
|
11666
|
+
L -->|No| N[dev: implement story]
|
|
11667
|
+
M --> N
|
|
11668
|
+
N --> O{QA review?}
|
|
11669
|
+
O -->|Yes| P[qa: review implementation]
|
|
11670
|
+
O -->|No| Q{More stories?}
|
|
11671
|
+
P --> R{QA found issues?}
|
|
11672
|
+
R -->|Yes| S[dev: address QA feedback]
|
|
11673
|
+
R -->|No| Q
|
|
11674
|
+
S --> P
|
|
11675
|
+
Q -->|Yes| K
|
|
11676
|
+
Q -->|No| T{Epic retrospective?}
|
|
11677
|
+
T -->|Yes| U[po: epic retrospective]
|
|
11678
|
+
T -->|No| V[Project Complete]
|
|
11679
|
+
U --> V
|
|
10351
11680
|
|
|
10352
11681
|
B -.-> B1[Optional: brainstorming]
|
|
10353
11682
|
B -.-> B2[Optional: market research]
|
|
10354
11683
|
D -.-> D1[Optional: technical research]
|
|
10355
11684
|
|
|
10356
|
-
style
|
|
11685
|
+
style V fill:#90EE90
|
|
11686
|
+
style J fill:#ADD8E6
|
|
11687
|
+
style K fill:#ADD8E6
|
|
11688
|
+
style N fill:#ADD8E6
|
|
10357
11689
|
style B fill:#FFE4B5
|
|
10358
11690
|
style C fill:#FFE4B5
|
|
10359
11691
|
style D fill:#FFE4B5
|
|
11692
|
+
style M fill:#F0E68C
|
|
11693
|
+
style P fill:#F0E68C
|
|
11694
|
+
style U fill:#F0E68C
|
|
10360
11695
|
```
|
|
10361
11696
|
|
|
10362
11697
|
decision_guidance:
|
|
@@ -10449,42 +11784,92 @@ workflow:
|
|
|
10449
11784
|
condition: user_has_generated_ui
|
|
10450
11785
|
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."
|
|
10451
11786
|
|
|
11787
|
+
- agent: po
|
|
11788
|
+
action: shard_documents
|
|
11789
|
+
creates: sharded_docs
|
|
11790
|
+
requires: all_artifacts_in_project
|
|
11791
|
+
notes: |
|
|
11792
|
+
Shard documents for IDE development:
|
|
11793
|
+
- Option A: Use PO agent to shard: @po then ask to shard docs/prd.md
|
|
11794
|
+
- Option B: Manual: Drag shard-doc task + docs/prd.md into chat
|
|
11795
|
+
- Creates docs/prd/ and docs/architecture/ folders with sharded content
|
|
11796
|
+
|
|
11797
|
+
- agent: sm
|
|
11798
|
+
action: create_story
|
|
11799
|
+
creates: story.md
|
|
11800
|
+
requires: sharded_docs
|
|
11801
|
+
repeats: for_each_epic
|
|
11802
|
+
notes: |
|
|
11803
|
+
Story creation cycle:
|
|
11804
|
+
- SM Agent (New Chat): @sm → *create
|
|
11805
|
+
- Creates next story from sharded docs
|
|
11806
|
+
- Story starts in "Draft" status
|
|
11807
|
+
|
|
11808
|
+
- agent: analyst/pm
|
|
11809
|
+
action: review_draft_story
|
|
11810
|
+
updates: story.md
|
|
11811
|
+
requires: story.md
|
|
11812
|
+
optional: true
|
|
11813
|
+
condition: user_wants_story_review
|
|
11814
|
+
notes: |
|
|
11815
|
+
OPTIONAL: Review and approve draft story
|
|
11816
|
+
- NOTE: story-review task coming soon
|
|
11817
|
+
- Review story completeness and alignment
|
|
11818
|
+
- Update story status: Draft → Approved
|
|
11819
|
+
|
|
11820
|
+
- agent: dev
|
|
11821
|
+
action: implement_story
|
|
11822
|
+
creates: implementation_files
|
|
11823
|
+
requires: story.md
|
|
11824
|
+
notes: |
|
|
11825
|
+
Dev Agent (New Chat): @dev
|
|
11826
|
+
- Implements approved story
|
|
11827
|
+
- Updates File List with all changes
|
|
11828
|
+
- Marks story as "Review" when complete
|
|
11829
|
+
|
|
11830
|
+
- agent: qa
|
|
11831
|
+
action: review_implementation
|
|
11832
|
+
updates: implementation_files
|
|
11833
|
+
requires: implementation_files
|
|
11834
|
+
optional: true
|
|
11835
|
+
notes: |
|
|
11836
|
+
OPTIONAL: QA Agent (New Chat): @qa → review-story
|
|
11837
|
+
- Senior dev review with refactoring ability
|
|
11838
|
+
- Fixes small issues directly
|
|
11839
|
+
- Leaves checklist for remaining items
|
|
11840
|
+
- Updates story status (Review → Done or stays Review)
|
|
11841
|
+
|
|
11842
|
+
- agent: dev
|
|
11843
|
+
action: address_qa_feedback
|
|
11844
|
+
updates: implementation_files
|
|
11845
|
+
condition: qa_left_unchecked_items
|
|
11846
|
+
notes: |
|
|
11847
|
+
If QA left unchecked items:
|
|
11848
|
+
- Dev Agent (New Chat): Address remaining items
|
|
11849
|
+
- Return to QA for final approval
|
|
11850
|
+
|
|
11851
|
+
- repeat_development_cycle:
|
|
11852
|
+
action: continue_for_all_stories
|
|
11853
|
+
notes: |
|
|
11854
|
+
Repeat story cycle (SM → Dev → QA) for all epic stories
|
|
11855
|
+
Continue until all stories in PRD are complete
|
|
11856
|
+
|
|
11857
|
+
- agent: po
|
|
11858
|
+
action: epic_retrospective
|
|
11859
|
+
creates: epic-retrospective.md
|
|
11860
|
+
condition: epic_complete
|
|
11861
|
+
optional: true
|
|
11862
|
+
notes: |
|
|
11863
|
+
OPTIONAL: After epic completion
|
|
11864
|
+
- NOTE: epic-retrospective task coming soon
|
|
11865
|
+
- Validate epic was completed correctly
|
|
11866
|
+
- Document learnings and improvements
|
|
11867
|
+
|
|
10452
11868
|
- workflow_end:
|
|
10453
|
-
action:
|
|
11869
|
+
action: project_complete
|
|
10454
11870
|
notes: |
|
|
10455
|
-
|
|
10456
|
-
|
|
10457
|
-
1. ENSURE DOCUMENTS ARE IN PROJECT:
|
|
10458
|
-
- Copy final prd.md to project's docs/prd.md
|
|
10459
|
-
- Copy final architecture.md to project's docs/architecture.md
|
|
10460
|
-
- All documents must be in the project before proceeding
|
|
10461
|
-
|
|
10462
|
-
2. SHARD DOCUMENTS (in IDE):
|
|
10463
|
-
- Option A: Use PO agent to shard: @po then ask to shard docs/prd.md
|
|
10464
|
-
- Option B: Manual: Drag shard-doc task + docs/prd.md into chat
|
|
10465
|
-
- This creates docs/prd/ and docs/architecture/ folders with sharded content
|
|
10466
|
-
|
|
10467
|
-
3. START DEVELOPMENT CYCLE:
|
|
10468
|
-
a. SM Agent (New Chat): @sm → *create
|
|
10469
|
-
- Creates next story from sharded docs
|
|
10470
|
-
- Review and approve story (Draft → Approved)
|
|
10471
|
-
|
|
10472
|
-
b. Dev Agent (New Chat): @dev
|
|
10473
|
-
- Implements approved story
|
|
10474
|
-
- Updates File List with all changes
|
|
10475
|
-
- Marks story as "Review" when complete
|
|
10476
|
-
|
|
10477
|
-
c. QA Agent (New Chat): @qa → review-story
|
|
10478
|
-
- Senior dev review with refactoring ability
|
|
10479
|
-
- Fixes small issues directly
|
|
10480
|
-
- Leaves checklist for remaining items
|
|
10481
|
-
- Updates story status (Review → Done or stays Review)
|
|
10482
|
-
|
|
10483
|
-
d. If QA left unchecked items:
|
|
10484
|
-
- Dev Agent (New Chat): Address remaining items
|
|
10485
|
-
- Return to QA for final approval
|
|
10486
|
-
|
|
10487
|
-
4. REPEAT: Continue cycle for all epic stories
|
|
11871
|
+
All stories implemented and reviewed!
|
|
11872
|
+
Project development phase complete.
|
|
10488
11873
|
|
|
10489
11874
|
Reference: data#bmad-kb:IDE Development Workflow
|
|
10490
11875
|
|
|
@@ -10505,21 +11890,45 @@ workflow:
|
|
|
10505
11890
|
G --> H
|
|
10506
11891
|
H --> I{PO finds issues?}
|
|
10507
11892
|
I -->|Yes| J[Return to relevant agent for fixes]
|
|
10508
|
-
I -->|No| K[
|
|
11893
|
+
I -->|No| K[po: shard documents]
|
|
10509
11894
|
J --> H
|
|
11895
|
+
|
|
11896
|
+
K --> L[sm: create story]
|
|
11897
|
+
L --> M{Review draft story?}
|
|
11898
|
+
M -->|Yes| N[analyst/pm: review & approve story]
|
|
11899
|
+
M -->|No| O[dev: implement story]
|
|
11900
|
+
N --> O
|
|
11901
|
+
O --> P{QA review?}
|
|
11902
|
+
P -->|Yes| Q[qa: review implementation]
|
|
11903
|
+
P -->|No| R{More stories?}
|
|
11904
|
+
Q --> S{QA found issues?}
|
|
11905
|
+
S -->|Yes| T[dev: address QA feedback]
|
|
11906
|
+
S -->|No| R
|
|
11907
|
+
T --> Q
|
|
11908
|
+
R -->|Yes| L
|
|
11909
|
+
R -->|No| U{Epic retrospective?}
|
|
11910
|
+
U -->|Yes| V[po: epic retrospective]
|
|
11911
|
+
U -->|No| W[Project Complete]
|
|
11912
|
+
V --> W
|
|
10510
11913
|
|
|
10511
11914
|
B -.-> B1[Optional: brainstorming]
|
|
10512
11915
|
B -.-> B2[Optional: market research]
|
|
10513
11916
|
D -.-> D1[Optional: user research]
|
|
10514
11917
|
E -.-> E1[Optional: technical research]
|
|
10515
11918
|
|
|
10516
|
-
style
|
|
11919
|
+
style W fill:#90EE90
|
|
11920
|
+
style K fill:#ADD8E6
|
|
11921
|
+
style L fill:#ADD8E6
|
|
11922
|
+
style O fill:#ADD8E6
|
|
10517
11923
|
style D3 fill:#E6E6FA
|
|
10518
11924
|
style D4 fill:#E6E6FA
|
|
10519
11925
|
style B fill:#FFE4B5
|
|
10520
11926
|
style C fill:#FFE4B5
|
|
10521
11927
|
style D fill:#FFE4B5
|
|
10522
11928
|
style E fill:#FFE4B5
|
|
11929
|
+
style N fill:#F0E68C
|
|
11930
|
+
style Q fill:#F0E68C
|
|
11931
|
+
style V fill:#F0E68C
|
|
10523
11932
|
```
|
|
10524
11933
|
|
|
10525
11934
|
decision_guidance:
|