bmad-method 4.23.0 → 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 +12 -0
- package/README.md +1 -1
- 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/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 +23 -1
- package/dist/agents/architect.txt +21 -1
- package/dist/agents/bmad-master.txt +883 -30
- package/dist/agents/bmad-orchestrator.txt +806 -1
- 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 +1675 -266
- package/dist/teams/team-fullstack.txt +1650 -266
- package/dist/teams/team-ide-minimal.txt +831 -1
- package/dist/teams/team-no-ui.txt +1079 -102
- package/package.json +1 -1
- package/tools/installer/lib/installer.js +2 -12
- package/tools/installer/package.json +1 -1
- package/tools/lib/dependency-resolver.js +2 -2
|
@@ -85,6 +85,9 @@ startup:
|
|
|
85
85
|
- Announce: Introduce yourself as the BMAD Orchestrator, explain you can coordinate agents and workflows
|
|
86
86
|
- IMPORTANT: Tell users that all commands start with * (e.g., *help, *agent, *workflow)
|
|
87
87
|
- Mention *help shows all available commands and options
|
|
88
|
+
- Check for active workflow plan using utils#plan-management
|
|
89
|
+
- 'If plan exists: Show 📋 Active plan: {workflow} ({progress}% complete). Use *plan-status for details.'
|
|
90
|
+
- 'If plan exists: Suggest next action based on plan progress'
|
|
88
91
|
- Assess user goal against available agents and workflows in this bundle
|
|
89
92
|
- If clear match to an agent's expertise, suggest transformation with *agent command
|
|
90
93
|
- If project-oriented, suggest *workflow-guidance to explore options
|
|
@@ -99,6 +102,9 @@ commands:
|
|
|
99
102
|
task: Run a specific task (list if name not specified)
|
|
100
103
|
workflow: Start a specific workflow (list if name not specified)
|
|
101
104
|
workflow-guidance: Get personalized help selecting the right workflow
|
|
105
|
+
plan: Create detailed workflow plan before starting
|
|
106
|
+
plan-status: Show current workflow plan progress
|
|
107
|
+
plan-update: Update workflow plan status
|
|
102
108
|
checklist: Execute a checklist (list if name not specified)
|
|
103
109
|
yolo: Toggle skip confirmations mode
|
|
104
110
|
party-mode: Group chat with all agents
|
|
@@ -122,6 +128,9 @@ help-display-template: |
|
|
|
122
128
|
Workflow Commands:
|
|
123
129
|
*workflow [name] .... Start specific workflow (list if no name)
|
|
124
130
|
*workflow-guidance .. Get personalized help selecting the right workflow
|
|
131
|
+
*plan ............... Create detailed workflow plan before starting
|
|
132
|
+
*plan-status ........ Show current workflow plan progress
|
|
133
|
+
*plan-update ........ Update workflow plan status
|
|
125
134
|
|
|
126
135
|
Other Commands:
|
|
127
136
|
*yolo ............... Toggle skip confirmations mode
|
|
@@ -162,6 +171,8 @@ workflow-guidance:
|
|
|
162
171
|
- Understand each workflow's purpose, options, and decision points
|
|
163
172
|
- Ask clarifying questions based on the workflow's structure
|
|
164
173
|
- Guide users through workflow selection when multiple options exist
|
|
174
|
+
- For complex projects, offer to create a workflow plan using create-workflow-plan task
|
|
175
|
+
- When appropriate, suggest: Would you like me to create a detailed workflow plan before starting?
|
|
165
176
|
- For workflows with divergent paths, help users choose the right path
|
|
166
177
|
- Adapt questions to the specific domain (e.g., game dev vs infrastructure vs web dev)
|
|
167
178
|
- Only recommend workflows that actually exist in the current bundle
|
|
@@ -170,10 +181,13 @@ dependencies:
|
|
|
170
181
|
tasks:
|
|
171
182
|
- advanced-elicitation
|
|
172
183
|
- create-doc
|
|
184
|
+
- create-workflow-plan
|
|
173
185
|
- kb-mode-interaction
|
|
186
|
+
- update-workflow-plan
|
|
174
187
|
data:
|
|
175
188
|
- bmad-kb
|
|
176
189
|
utils:
|
|
190
|
+
- plan-management
|
|
177
191
|
- workflow-management
|
|
178
192
|
- template-format
|
|
179
193
|
```
|
|
@@ -542,11 +556,22 @@ Generate documents from templates by EXECUTING (not just reading) embedded instr
|
|
|
542
556
|
|
|
543
557
|
## Execution Flow
|
|
544
558
|
|
|
559
|
+
### 0. Check Workflow Plan (if configured)
|
|
560
|
+
|
|
561
|
+
[[LLM: Check if plan tracking is enabled in core-config.yml]]
|
|
562
|
+
|
|
563
|
+
- If `workflow.trackProgress: true`, check for active plan using utils#plan-management
|
|
564
|
+
- If plan exists and this document creation is part of the plan:
|
|
565
|
+
- Verify this is the expected next step
|
|
566
|
+
- If out of sequence and `enforceSequence: true`, warn user and halt without user override
|
|
567
|
+
- If out of sequence and `enforceSequence: false`, ask for confirmation
|
|
568
|
+
- Continue with normal execution after plan check
|
|
569
|
+
|
|
545
570
|
### 1. Identify Template
|
|
546
571
|
|
|
547
572
|
- Load from `templates#*` or `{root}/templates directory`
|
|
548
573
|
- Agent-specific templates are listed in agent's dependencies
|
|
549
|
-
- If agent has `templates: [prd-tmpl, architecture-tmpl]
|
|
574
|
+
- If agent has `templates: [prd-tmpl, architecture-tmpl]` for example, then offer to create "PRD" and "Architecture" documents
|
|
550
575
|
|
|
551
576
|
### 2. Ask Interaction Mode
|
|
552
577
|
|
|
@@ -583,6 +608,15 @@ Generate documents from templates by EXECUTING (not just reading) embedded instr
|
|
|
583
608
|
- Begin directly with content (no preamble)
|
|
584
609
|
- Include any handoff prompts from template
|
|
585
610
|
|
|
611
|
+
### 6. Update Workflow Plan (if applicable)
|
|
612
|
+
|
|
613
|
+
[[LLM: After successful document creation]]
|
|
614
|
+
|
|
615
|
+
- If plan tracking is enabled and document was part of plan:
|
|
616
|
+
- Call update-workflow-plan task to mark step complete
|
|
617
|
+
- Parameters: task: create-doc, step_id: {from plan}, status: complete
|
|
618
|
+
- Show next recommended step from plan
|
|
619
|
+
|
|
586
620
|
## Common Mistakes to Avoid
|
|
587
621
|
|
|
588
622
|
❌ Skipping elicitation tasks
|
|
@@ -600,6 +634,298 @@ Generate documents from templates by EXECUTING (not just reading) embedded instr
|
|
|
600
634
|
Templates contain precise instructions for a reason. Follow them exactly to ensure document quality and completeness.
|
|
601
635
|
==================== END: tasks#create-doc ====================
|
|
602
636
|
|
|
637
|
+
==================== START: tasks#create-workflow-plan ====================
|
|
638
|
+
# Create Workflow Plan Task
|
|
639
|
+
|
|
640
|
+
## Purpose
|
|
641
|
+
|
|
642
|
+
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.
|
|
643
|
+
|
|
644
|
+
## Task Instructions
|
|
645
|
+
|
|
646
|
+
### 1. Understand User's Goal
|
|
647
|
+
|
|
648
|
+
[[LLM: Start with discovery questions to understand what the user wants to accomplish]]
|
|
649
|
+
|
|
650
|
+
Ask the user:
|
|
651
|
+
|
|
652
|
+
1. **Project Type**:
|
|
653
|
+
- Are you starting a new project (greenfield) or enhancing an existing one (brownfield)?
|
|
654
|
+
- What type of application? (web app, service/API, UI only, full-stack)
|
|
655
|
+
|
|
656
|
+
2. **For Greenfield**:
|
|
657
|
+
- Do you need a quick prototype or production-ready application?
|
|
658
|
+
- Will this have a UI component?
|
|
659
|
+
- Single service or multiple services?
|
|
660
|
+
|
|
661
|
+
3. **For Brownfield**:
|
|
662
|
+
- What's the scope of the enhancement?
|
|
663
|
+
- Single bug fix or small feature (few hours)
|
|
664
|
+
- Small enhancement (1-3 stories)
|
|
665
|
+
- Major feature requiring coordination
|
|
666
|
+
- Architectural changes or modernization
|
|
667
|
+
- Do you have existing documentation?
|
|
668
|
+
- Are you following existing patterns or introducing new ones?
|
|
669
|
+
|
|
670
|
+
### 2. Recommend Appropriate Workflow
|
|
671
|
+
|
|
672
|
+
Based on the answers, recommend:
|
|
673
|
+
|
|
674
|
+
**Greenfield Options:**
|
|
675
|
+
|
|
676
|
+
- `greenfield-fullstack` - Complete web application
|
|
677
|
+
- `greenfield-service` - Backend API/service only
|
|
678
|
+
- `greenfield-ui` - Frontend only
|
|
679
|
+
|
|
680
|
+
**Brownfield Options:**
|
|
681
|
+
|
|
682
|
+
- `brownfield-create-story` - Single small change
|
|
683
|
+
- `brownfield-create-epic` - Small feature (1-3 stories)
|
|
684
|
+
- `brownfield-fullstack` - Major enhancement
|
|
685
|
+
|
|
686
|
+
**Simplified Option:**
|
|
687
|
+
|
|
688
|
+
- For users unsure or wanting flexibility, suggest starting with individual agent tasks
|
|
689
|
+
|
|
690
|
+
### 3. Explain Selected Workflow
|
|
691
|
+
|
|
692
|
+
[[LLM: Once workflow is selected, provide clear explanation]]
|
|
693
|
+
|
|
694
|
+
For the selected workflow, explain:
|
|
695
|
+
|
|
696
|
+
1. **Overview**: What this workflow accomplishes
|
|
697
|
+
2. **Duration**: Estimated time for planning phase
|
|
698
|
+
3. **Outputs**: What documents will be created
|
|
699
|
+
4. **Decision Points**: Where user input will be needed
|
|
700
|
+
5. **Requirements**: What information should be ready
|
|
701
|
+
|
|
702
|
+
### 4. Create Workflow Plan Document
|
|
703
|
+
|
|
704
|
+
[[LLM: Generate a comprehensive plan document with the following structure]]
|
|
705
|
+
|
|
706
|
+
```markdown
|
|
707
|
+
# Workflow Plan: {{Workflow Name}}
|
|
708
|
+
|
|
709
|
+
<!-- WORKFLOW-PLAN-META
|
|
710
|
+
workflow-id: {{workflow-id}}
|
|
711
|
+
status: active
|
|
712
|
+
created: {{ISO-8601 timestamp}}
|
|
713
|
+
updated: {{ISO-8601 timestamp}}
|
|
714
|
+
version: 1.0
|
|
715
|
+
-->
|
|
716
|
+
|
|
717
|
+
**Created Date**: {{current date}}
|
|
718
|
+
**Project**: {{project name}}
|
|
719
|
+
**Type**: {{greenfield/brownfield}}
|
|
720
|
+
**Status**: Active
|
|
721
|
+
**Estimated Planning Duration**: {{time estimate}}
|
|
722
|
+
|
|
723
|
+
## Objective
|
|
724
|
+
|
|
725
|
+
{{Clear description of what will be accomplished}}
|
|
726
|
+
|
|
727
|
+
## Selected Workflow
|
|
728
|
+
|
|
729
|
+
**Workflow**: `{{workflow-id}}`
|
|
730
|
+
**Reason**: {{Why this workflow fits the user's needs}}
|
|
731
|
+
|
|
732
|
+
## Workflow Steps
|
|
733
|
+
|
|
734
|
+
### Planning Phase
|
|
735
|
+
|
|
736
|
+
- [ ] Step 1: {{step name}} <!-- step-id: 1.1, agent: {{agent}}, task: {{task}} -->
|
|
737
|
+
- **Agent**: {{agent name}}
|
|
738
|
+
- **Action**: {{what happens}}
|
|
739
|
+
- **Output**: {{what's created}}
|
|
740
|
+
- **User Input**: {{if any}}
|
|
741
|
+
|
|
742
|
+
- [ ] Step 2: {{step name}} <!-- step-id: 1.2, agent: {{agent}}, task: {{task}} -->
|
|
743
|
+
- **Agent**: {{agent name}}
|
|
744
|
+
- **Action**: {{what happens}}
|
|
745
|
+
- **Output**: {{what's created}}
|
|
746
|
+
- **Decision Point**: {{if any}} <!-- decision-id: D1 -->
|
|
747
|
+
|
|
748
|
+
{{Continue for all planning steps}}
|
|
749
|
+
|
|
750
|
+
### Development Phase (IDE)
|
|
751
|
+
|
|
752
|
+
- [ ] Document Sharding <!-- step-id: 2.1, agent: po, task: shard-doc -->
|
|
753
|
+
- Prepare documents for story creation
|
|
754
|
+
|
|
755
|
+
- [ ] Story Development Cycle <!-- step-id: 2.2, repeats: true -->
|
|
756
|
+
- [ ] Create story (SM agent) <!-- step-id: 2.2.1, agent: sm, task: create-next-story -->
|
|
757
|
+
- [ ] Review story (optional) <!-- step-id: 2.2.2, agent: analyst, optional: true -->
|
|
758
|
+
- [ ] Implement story (Dev agent) <!-- step-id: 2.2.3, agent: dev -->
|
|
759
|
+
- [ ] QA review (optional) <!-- step-id: 2.2.4, agent: qa, optional: true -->
|
|
760
|
+
- [ ] Repeat for all stories
|
|
761
|
+
|
|
762
|
+
- [ ] Epic Retrospective (optional) <!-- step-id: 2.3, agent: po, optional: true -->
|
|
763
|
+
|
|
764
|
+
## Key Decision Points
|
|
765
|
+
|
|
766
|
+
1. **{{Decision Name}}** (Step {{n}}): <!-- decision-id: D1, status: pending -->
|
|
767
|
+
- Trigger: {{what causes this decision}}
|
|
768
|
+
- Options: {{available choices}}
|
|
769
|
+
- Impact: {{how it affects the workflow}}
|
|
770
|
+
- Decision Made: _Pending_
|
|
771
|
+
|
|
772
|
+
{{List all decision points}}
|
|
773
|
+
|
|
774
|
+
## Expected Outputs
|
|
775
|
+
|
|
776
|
+
### Planning Documents
|
|
777
|
+
- [ ] {{document 1}} - {{description}}
|
|
778
|
+
- [ ] {{document 2}} - {{description}}
|
|
779
|
+
{{etc...}}
|
|
780
|
+
|
|
781
|
+
### Development Artifacts
|
|
782
|
+
- [ ] Stories in `docs/stories/`
|
|
783
|
+
- [ ] Implementation code
|
|
784
|
+
- [ ] Tests
|
|
785
|
+
- [ ] Updated documentation
|
|
786
|
+
|
|
787
|
+
## Prerequisites Checklist
|
|
788
|
+
|
|
789
|
+
Before starting this workflow, ensure you have:
|
|
790
|
+
|
|
791
|
+
- [ ] {{prerequisite 1}}
|
|
792
|
+
- [ ] {{prerequisite 2}}
|
|
793
|
+
- [ ] {{prerequisite 3}}
|
|
794
|
+
{{etc...}}
|
|
795
|
+
|
|
796
|
+
## Customization Options
|
|
797
|
+
|
|
798
|
+
Based on your project needs, you may:
|
|
799
|
+
- Skip {{optional step}} if {{condition}}
|
|
800
|
+
- Add {{additional step}} if {{condition}}
|
|
801
|
+
- Choose {{alternative}} instead of {{default}}
|
|
802
|
+
|
|
803
|
+
## Risk Considerations
|
|
804
|
+
|
|
805
|
+
{{For brownfield only}}
|
|
806
|
+
- Integration complexity: {{assessment}}
|
|
807
|
+
- Rollback strategy: {{approach}}
|
|
808
|
+
- Testing requirements: {{special needs}}
|
|
809
|
+
|
|
810
|
+
## Next Steps
|
|
811
|
+
|
|
812
|
+
1. Review this plan and confirm it matches your expectations
|
|
813
|
+
2. Gather any missing prerequisites
|
|
814
|
+
3. Start workflow with: `*task workflow {{workflow-id}}`
|
|
815
|
+
4. Or begin with first agent: `@{{first-agent}}`
|
|
816
|
+
|
|
817
|
+
## Notes
|
|
818
|
+
|
|
819
|
+
{{Any additional context or warnings}}
|
|
820
|
+
|
|
821
|
+
---
|
|
822
|
+
*This plan can be updated as you progress through the workflow. Check off completed items to track progress.*
|
|
823
|
+
```
|
|
824
|
+
|
|
825
|
+
### 5. Save and Present Plan
|
|
826
|
+
|
|
827
|
+
1. Save the plan as `docs/workflow-plan.md`
|
|
828
|
+
2. Inform user: "Workflow plan created at docs/workflow-plan.md"
|
|
829
|
+
3. Offer options:
|
|
830
|
+
- Review the plan together
|
|
831
|
+
- Start the workflow now
|
|
832
|
+
- Gather prerequisites first
|
|
833
|
+
- Modify the plan
|
|
834
|
+
|
|
835
|
+
### 6. Plan Variations
|
|
836
|
+
|
|
837
|
+
[[LLM: Adjust plan detail based on workflow complexity]]
|
|
838
|
+
|
|
839
|
+
**For Simple Workflows** (create-story, create-epic):
|
|
840
|
+
|
|
841
|
+
- Simpler checklist format
|
|
842
|
+
- Focus on immediate next steps
|
|
843
|
+
- Less detailed explanations
|
|
844
|
+
|
|
845
|
+
**For Complex Workflows** (full greenfield/brownfield):
|
|
846
|
+
|
|
847
|
+
- Detailed step breakdowns
|
|
848
|
+
- All decision points documented
|
|
849
|
+
- Comprehensive output descriptions
|
|
850
|
+
- Risk mitigation sections
|
|
851
|
+
|
|
852
|
+
**For Brownfield Workflows**:
|
|
853
|
+
|
|
854
|
+
- Include existing system impact analysis
|
|
855
|
+
- Document integration checkpoints
|
|
856
|
+
- Add rollback considerations
|
|
857
|
+
- Note documentation dependencies
|
|
858
|
+
|
|
859
|
+
### 7. Interactive Planning Mode
|
|
860
|
+
|
|
861
|
+
[[LLM: If user wants to customize the workflow]]
|
|
862
|
+
|
|
863
|
+
If user wants to modify the standard workflow:
|
|
864
|
+
|
|
865
|
+
1. Present workflow steps as options
|
|
866
|
+
2. Allow skipping optional steps
|
|
867
|
+
3. Let user reorder certain steps
|
|
868
|
+
4. Document customizations in plan
|
|
869
|
+
5. Warn about dependencies if steps are skipped
|
|
870
|
+
|
|
871
|
+
### 8. Execution Guidance
|
|
872
|
+
|
|
873
|
+
After plan is created, provide clear guidance:
|
|
874
|
+
|
|
875
|
+
```text
|
|
876
|
+
Your workflow plan is ready! Here's how to proceed:
|
|
877
|
+
|
|
878
|
+
1. **Review the plan**: Check that all steps align with your goals
|
|
879
|
+
2. **Gather prerequisites**: Use the checklist to ensure you're ready
|
|
880
|
+
3. **Start execution**:
|
|
881
|
+
- Full workflow: `*task workflow {{workflow-id}}`
|
|
882
|
+
- Step by step: Start with `@{{first-agent}}`
|
|
883
|
+
4. **Track progress**: Check off steps in the plan as completed
|
|
884
|
+
|
|
885
|
+
Would you like to:
|
|
886
|
+
a) Review the plan together
|
|
887
|
+
b) Start the workflow now
|
|
888
|
+
c) Gather prerequisites first
|
|
889
|
+
d) Modify the plan
|
|
890
|
+
```
|
|
891
|
+
|
|
892
|
+
## Success Criteria
|
|
893
|
+
|
|
894
|
+
The workflow plan is successful when:
|
|
895
|
+
|
|
896
|
+
1. User clearly understands what will happen
|
|
897
|
+
2. All decision points are documented
|
|
898
|
+
3. Prerequisites are identified
|
|
899
|
+
4. Expected outputs are clear
|
|
900
|
+
5. User feels confident to proceed
|
|
901
|
+
6. Plan serves as useful progress tracker
|
|
902
|
+
|
|
903
|
+
## Integration with BMad Master and Orchestrator
|
|
904
|
+
|
|
905
|
+
When used by BMad Master or BMad Orchestrator, this task should:
|
|
906
|
+
|
|
907
|
+
1. Be offered when user asks about workflows
|
|
908
|
+
2. Be suggested before starting complex workflows
|
|
909
|
+
3. Create a plan that the agent can reference during execution
|
|
910
|
+
4. Allow the agent to track progress against the plan
|
|
911
|
+
|
|
912
|
+
## Example Usage
|
|
913
|
+
|
|
914
|
+
```text
|
|
915
|
+
User: "I need to add a payment system to my existing app"
|
|
916
|
+
|
|
917
|
+
BMad Orchestrator: "Let me help you create a workflow plan for that enhancement. I'll ask a few questions to recommend the best approach..."
|
|
918
|
+
|
|
919
|
+
[Runs through discovery questions]
|
|
920
|
+
|
|
921
|
+
BMad Orchestrator: "Based on your answers, I recommend the brownfield-fullstack workflow. Let me create a detailed plan for you..."
|
|
922
|
+
|
|
923
|
+
[Creates and saves plan]
|
|
924
|
+
|
|
925
|
+
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?"
|
|
926
|
+
```
|
|
927
|
+
==================== END: tasks#create-workflow-plan ====================
|
|
928
|
+
|
|
603
929
|
==================== START: tasks#kb-mode-interaction ====================
|
|
604
930
|
# KB Mode Interaction Task
|
|
605
931
|
|
|
@@ -673,6 +999,257 @@ Or ask me about anything else related to BMAD-METHOD!
|
|
|
673
999
|
**Assistant**: [Provides focused information about workflows from the KB, then offers to explore specific workflow types or related topics]
|
|
674
1000
|
==================== END: tasks#kb-mode-interaction ====================
|
|
675
1001
|
|
|
1002
|
+
==================== START: tasks#update-workflow-plan ====================
|
|
1003
|
+
# Update Workflow Plan Task
|
|
1004
|
+
|
|
1005
|
+
## Purpose
|
|
1006
|
+
|
|
1007
|
+
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.
|
|
1008
|
+
|
|
1009
|
+
## Task Instructions
|
|
1010
|
+
|
|
1011
|
+
### 0. Load Plan Configuration
|
|
1012
|
+
|
|
1013
|
+
[[LLM: First load core-config.yml to get plan settings]]
|
|
1014
|
+
|
|
1015
|
+
Check workflow configuration:
|
|
1016
|
+
|
|
1017
|
+
- `workflow.planFile` - Location of the plan (default: docs/workflow-plan.md)
|
|
1018
|
+
- `workflow.trackProgress` - Whether tracking is enabled
|
|
1019
|
+
- `workflow.updateOnCompletion` - Whether to auto-update on task completion
|
|
1020
|
+
|
|
1021
|
+
If tracking is disabled, inform user and exit.
|
|
1022
|
+
|
|
1023
|
+
### 1. Verify Plan Exists
|
|
1024
|
+
|
|
1025
|
+
[[LLM: Check if workflow plan exists at configured location]]
|
|
1026
|
+
|
|
1027
|
+
If no plan exists:
|
|
1028
|
+
|
|
1029
|
+
```
|
|
1030
|
+
No active workflow plan found at {location}.
|
|
1031
|
+
Would you like to create one? Use *plan command.
|
|
1032
|
+
```
|
|
1033
|
+
|
|
1034
|
+
### 2. Determine Update Type
|
|
1035
|
+
|
|
1036
|
+
[[LLM: Ask user what type of update they want to make]]
|
|
1037
|
+
|
|
1038
|
+
Present options:
|
|
1039
|
+
|
|
1040
|
+
```
|
|
1041
|
+
What would you like to update in the workflow plan?
|
|
1042
|
+
|
|
1043
|
+
1. Mark step as complete
|
|
1044
|
+
2. Update current step
|
|
1045
|
+
3. Add deviation note
|
|
1046
|
+
4. Mark decision point resolution
|
|
1047
|
+
5. Update overall status
|
|
1048
|
+
6. View current plan status only
|
|
1049
|
+
|
|
1050
|
+
Please select an option (1-6):
|
|
1051
|
+
```
|
|
1052
|
+
|
|
1053
|
+
### 3. Parse Current Plan
|
|
1054
|
+
|
|
1055
|
+
[[LLM: Read and parse the plan to understand current state]]
|
|
1056
|
+
|
|
1057
|
+
Extract:
|
|
1058
|
+
|
|
1059
|
+
- All steps with their checkbox status
|
|
1060
|
+
- Step IDs from comments (if present)
|
|
1061
|
+
- Current completion percentage
|
|
1062
|
+
- Any existing deviation notes
|
|
1063
|
+
- Decision points and their status
|
|
1064
|
+
|
|
1065
|
+
### 4. Execute Updates
|
|
1066
|
+
|
|
1067
|
+
#### 4.1 Mark Step Complete
|
|
1068
|
+
|
|
1069
|
+
If user selected option 1:
|
|
1070
|
+
|
|
1071
|
+
1. Show numbered list of incomplete steps
|
|
1072
|
+
2. Ask which step to mark complete
|
|
1073
|
+
3. Update the checkbox from `[ ]` to `[x]`
|
|
1074
|
+
4. Add completion timestamp: `<!-- completed: YYYY-MM-DD HH:MM -->`
|
|
1075
|
+
5. If this was the current step, identify next step
|
|
1076
|
+
|
|
1077
|
+
#### 4.2 Update Current Step
|
|
1078
|
+
|
|
1079
|
+
If user selected option 2:
|
|
1080
|
+
|
|
1081
|
+
1. Show all steps with current status
|
|
1082
|
+
2. Ask which step is now current
|
|
1083
|
+
3. Add/move `<!-- current-step -->` marker
|
|
1084
|
+
4. Optionally add note about why sequence changed
|
|
1085
|
+
|
|
1086
|
+
#### 4.3 Add Deviation Note
|
|
1087
|
+
|
|
1088
|
+
If user selected option 3:
|
|
1089
|
+
|
|
1090
|
+
1. Ask for deviation description
|
|
1091
|
+
2. Ask which step this relates to (or general)
|
|
1092
|
+
3. Insert note in appropriate location:
|
|
1093
|
+
|
|
1094
|
+
```markdown
|
|
1095
|
+
> **Deviation Note** (YYYY-MM-DD): {user_note}
|
|
1096
|
+
> Related to: Step X.Y or General workflow
|
|
1097
|
+
```
|
|
1098
|
+
|
|
1099
|
+
#### 4.4 Mark Decision Resolution
|
|
1100
|
+
|
|
1101
|
+
If user selected option 4:
|
|
1102
|
+
|
|
1103
|
+
1. Show pending decision points
|
|
1104
|
+
2. Ask which decision was made
|
|
1105
|
+
3. Record the decision and chosen path
|
|
1106
|
+
4. Update related steps based on decision
|
|
1107
|
+
|
|
1108
|
+
#### 4.5 Update Overall Status
|
|
1109
|
+
|
|
1110
|
+
If user selected option 5:
|
|
1111
|
+
|
|
1112
|
+
1. Show current overall status
|
|
1113
|
+
2. Provide options:
|
|
1114
|
+
- Active (continuing with plan)
|
|
1115
|
+
- Paused (temporarily stopped)
|
|
1116
|
+
- Abandoned (no longer following)
|
|
1117
|
+
- Complete (all steps done)
|
|
1118
|
+
3. Update plan header with new status
|
|
1119
|
+
|
|
1120
|
+
### 5. Automatic Updates (When Called by Tasks)
|
|
1121
|
+
|
|
1122
|
+
[[LLM: When called automatically by another task]]
|
|
1123
|
+
|
|
1124
|
+
If called with parameters:
|
|
1125
|
+
|
|
1126
|
+
```
|
|
1127
|
+
task: {task_name}
|
|
1128
|
+
step_id: {step_identifier}
|
|
1129
|
+
status: complete|skipped|failed
|
|
1130
|
+
note: {optional_note}
|
|
1131
|
+
```
|
|
1132
|
+
|
|
1133
|
+
Automatically:
|
|
1134
|
+
|
|
1135
|
+
1. Find the corresponding step
|
|
1136
|
+
2. Update its status
|
|
1137
|
+
3. Add completion metadata
|
|
1138
|
+
4. Add note if provided
|
|
1139
|
+
5. Calculate new progress percentage
|
|
1140
|
+
|
|
1141
|
+
### 6. Generate Update Summary
|
|
1142
|
+
|
|
1143
|
+
After updates, show summary:
|
|
1144
|
+
|
|
1145
|
+
```
|
|
1146
|
+
✅ Workflow Plan Updated
|
|
1147
|
+
|
|
1148
|
+
Changes made:
|
|
1149
|
+
- {change_1}
|
|
1150
|
+
- {change_2}
|
|
1151
|
+
|
|
1152
|
+
New Status:
|
|
1153
|
+
- Progress: {X}% complete ({completed}/{total} steps)
|
|
1154
|
+
- Current Step: {current_step}
|
|
1155
|
+
- Next Recommended: {next_step}
|
|
1156
|
+
|
|
1157
|
+
Plan location: {file_path}
|
|
1158
|
+
```
|
|
1159
|
+
|
|
1160
|
+
### 7. Integration with Other Tasks
|
|
1161
|
+
|
|
1162
|
+
[[LLM: How other tasks should call this]]
|
|
1163
|
+
|
|
1164
|
+
Other tasks can integrate by:
|
|
1165
|
+
|
|
1166
|
+
1. **After Task Completion**:
|
|
1167
|
+
|
|
1168
|
+
```
|
|
1169
|
+
At end of task execution:
|
|
1170
|
+
- Check if task corresponds to a plan step
|
|
1171
|
+
- If yes, call update-workflow-plan with:
|
|
1172
|
+
- task: {current_task_name}
|
|
1173
|
+
- step_id: {matching_step}
|
|
1174
|
+
- status: complete
|
|
1175
|
+
```
|
|
1176
|
+
|
|
1177
|
+
2. **On Task Failure**:
|
|
1178
|
+
|
|
1179
|
+
```
|
|
1180
|
+
If task fails:
|
|
1181
|
+
- Call update-workflow-plan with:
|
|
1182
|
+
- task: {current_task_name}
|
|
1183
|
+
- status: failed
|
|
1184
|
+
- note: {failure_reason}
|
|
1185
|
+
```
|
|
1186
|
+
|
|
1187
|
+
### 8. Plan Status Display
|
|
1188
|
+
|
|
1189
|
+
[[LLM: When user selects view status only]]
|
|
1190
|
+
|
|
1191
|
+
Display comprehensive status:
|
|
1192
|
+
|
|
1193
|
+
```markdown
|
|
1194
|
+
📋 Workflow Plan Status
|
|
1195
|
+
━━━━━━━━━━━━━━━━━━━━
|
|
1196
|
+
Workflow: {workflow_name}
|
|
1197
|
+
Status: {Active|Paused|Complete}
|
|
1198
|
+
Progress: {X}% complete ({completed}/{total} steps)
|
|
1199
|
+
Last Updated: {timestamp}
|
|
1200
|
+
|
|
1201
|
+
✅ Completed Steps:
|
|
1202
|
+
- [x] Step 1.1: {description} (completed: {date})
|
|
1203
|
+
- [x] Step 1.2: {description} (completed: {date})
|
|
1204
|
+
|
|
1205
|
+
🔄 Current Step:
|
|
1206
|
+
- [ ] Step 2.1: {description} <!-- current-step -->
|
|
1207
|
+
Agent: {agent_name}
|
|
1208
|
+
Task: {task_name}
|
|
1209
|
+
|
|
1210
|
+
📌 Upcoming Steps:
|
|
1211
|
+
- [ ] Step 2.2: {description}
|
|
1212
|
+
- [ ] Step 3.1: {description}
|
|
1213
|
+
|
|
1214
|
+
⚠️ Deviations/Notes:
|
|
1215
|
+
{any_deviation_notes}
|
|
1216
|
+
|
|
1217
|
+
📊 Decision Points:
|
|
1218
|
+
- Decision 1: {status} - {choice_made}
|
|
1219
|
+
- Decision 2: Pending
|
|
1220
|
+
|
|
1221
|
+
💡 Next Action:
|
|
1222
|
+
Based on the plan, you should {recommended_action}
|
|
1223
|
+
```
|
|
1224
|
+
|
|
1225
|
+
## Success Criteria
|
|
1226
|
+
|
|
1227
|
+
The update is successful when:
|
|
1228
|
+
|
|
1229
|
+
1. Plan accurately reflects current workflow state
|
|
1230
|
+
2. All updates are clearly timestamped
|
|
1231
|
+
3. Deviations are documented with reasons
|
|
1232
|
+
4. Progress calculation is correct
|
|
1233
|
+
5. Next steps are clear to user
|
|
1234
|
+
6. Plan remains readable and well-formatted
|
|
1235
|
+
|
|
1236
|
+
## Error Handling
|
|
1237
|
+
|
|
1238
|
+
- **Plan file not found**: Offer to create new plan
|
|
1239
|
+
- **Malformed plan**: Attempt basic updates, warn user
|
|
1240
|
+
- **Write permission error**: Show changes that would be made
|
|
1241
|
+
- **Step not found**: Show available steps, ask for clarification
|
|
1242
|
+
- **Concurrent updates**: Implement simple locking or warn about conflicts
|
|
1243
|
+
|
|
1244
|
+
## Notes
|
|
1245
|
+
|
|
1246
|
+
- Always preserve plan history (don't delete old information)
|
|
1247
|
+
- Keep updates atomic to prevent corruption
|
|
1248
|
+
- Consider creating backup before major updates
|
|
1249
|
+
- Updates should enhance, not complicate, the workflow experience
|
|
1250
|
+
- If plan becomes too cluttered, suggest creating fresh plan for next phase
|
|
1251
|
+
==================== END: tasks#update-workflow-plan ====================
|
|
1252
|
+
|
|
676
1253
|
==================== START: data#bmad-kb ====================
|
|
677
1254
|
# BMAD Knowledge Base
|
|
678
1255
|
|
|
@@ -769,6 +1346,7 @@ npx bmad-method install
|
|
|
769
1346
|
- **Windsurf**: Built-in AI capabilities
|
|
770
1347
|
- **Cline**: VS Code extension with AI features
|
|
771
1348
|
- **Roo Code**: Web-based IDE with agent support
|
|
1349
|
+
- **VS Code Copilot**: AI-powered coding assistant
|
|
772
1350
|
|
|
773
1351
|
**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.
|
|
774
1352
|
|
|
@@ -954,6 +1532,7 @@ You are the "Vibe CEO" - thinking like a CEO with unlimited resources and a sing
|
|
|
954
1532
|
- **Cursor**: `@agent-name` (e.g., `@bmad-master`)
|
|
955
1533
|
- **Windsurf**: `@agent-name` (e.g., `@bmad-master`)
|
|
956
1534
|
- **Roo Code**: Select mode from mode selector (e.g., `bmad-bmad-master`)
|
|
1535
|
+
- **VS Code Copilot**: Open the Chat view (`⌃⌘I` on Mac, `Ctrl+Alt+I` on Windows/Linux) and select **Agent** from the chat mode selector.
|
|
957
1536
|
|
|
958
1537
|
**Chat Management Guidelines**:
|
|
959
1538
|
- **Claude Code, Cursor, Windsurf**: Start new chats when switching agents
|
|
@@ -1423,6 +2002,232 @@ Use the **expansion-creator** pack to build your own:
|
|
|
1423
2002
|
- **Contributing**: See `CONTRIBUTING.md` for full guidelines
|
|
1424
2003
|
==================== END: data#bmad-kb ====================
|
|
1425
2004
|
|
|
2005
|
+
==================== START: utils#plan-management ====================
|
|
2006
|
+
# Plan Management Utility
|
|
2007
|
+
|
|
2008
|
+
## Purpose
|
|
2009
|
+
|
|
2010
|
+
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.
|
|
2011
|
+
|
|
2012
|
+
## Core Functions
|
|
2013
|
+
|
|
2014
|
+
### 1. Check Plan Existence
|
|
2015
|
+
|
|
2016
|
+
[[LLM: When any agent starts or task begins, check if a workflow plan exists]]
|
|
2017
|
+
|
|
2018
|
+
```
|
|
2019
|
+
Check for workflow plan:
|
|
2020
|
+
1. Look for docs/workflow-plan.md (default location)
|
|
2021
|
+
2. Check core-config.yml for custom plan location
|
|
2022
|
+
3. Return plan status (exists/not exists)
|
|
2023
|
+
```
|
|
2024
|
+
|
|
2025
|
+
### 2. Parse Plan Status
|
|
2026
|
+
|
|
2027
|
+
[[LLM: Extract current progress from the plan document]]
|
|
2028
|
+
|
|
2029
|
+
**Plan Parsing Logic:**
|
|
2030
|
+
|
|
2031
|
+
1. **Identify Step Structure**:
|
|
2032
|
+
- Look for checkbox lines: `- [ ]` or `- [x]`
|
|
2033
|
+
- Extract step IDs from comments: `<!-- step-id: X.Y -->`
|
|
2034
|
+
- Identify agent assignments: `<!-- agent: pm -->`
|
|
2035
|
+
|
|
2036
|
+
2. **Determine Current State**:
|
|
2037
|
+
- Last completed step (highest numbered `[x]`)
|
|
2038
|
+
- Next expected step (first `[ ]` after completed steps)
|
|
2039
|
+
- Overall progress percentage
|
|
2040
|
+
|
|
2041
|
+
3. **Extract Metadata**:
|
|
2042
|
+
- Workflow type from plan header
|
|
2043
|
+
- Decision points and their status
|
|
2044
|
+
- Any deviation notes
|
|
2045
|
+
|
|
2046
|
+
### 3. Sequence Validation
|
|
2047
|
+
|
|
2048
|
+
[[LLM: Check if requested action aligns with plan sequence]]
|
|
2049
|
+
|
|
2050
|
+
**Validation Rules:**
|
|
2051
|
+
|
|
2052
|
+
1. **Strict Mode** (enforceSequence: true):
|
|
2053
|
+
- Must complete steps in exact order
|
|
2054
|
+
- Warn and block if out of sequence
|
|
2055
|
+
- Require explicit override justification
|
|
2056
|
+
|
|
2057
|
+
2. **Flexible Mode** (enforceSequence: false):
|
|
2058
|
+
- Warn about sequence deviation
|
|
2059
|
+
- Allow with confirmation
|
|
2060
|
+
- Log deviation reason
|
|
2061
|
+
|
|
2062
|
+
**Warning Templates:**
|
|
2063
|
+
|
|
2064
|
+
```
|
|
2065
|
+
SEQUENCE WARNING:
|
|
2066
|
+
The workflow plan shows you should complete "{expected_step}" next.
|
|
2067
|
+
You're attempting to: "{requested_action}"
|
|
2068
|
+
|
|
2069
|
+
In strict mode: Block and require plan update
|
|
2070
|
+
In flexible mode: Allow with confirmation
|
|
2071
|
+
```
|
|
2072
|
+
|
|
2073
|
+
### 4. Plan Update Operations
|
|
2074
|
+
|
|
2075
|
+
[[LLM: Provide consistent way to update plan progress]]
|
|
2076
|
+
|
|
2077
|
+
**Update Actions:**
|
|
2078
|
+
|
|
2079
|
+
1. **Mark Step Complete**:
|
|
2080
|
+
- Change `- [ ]` to `- [x]`
|
|
2081
|
+
- Add completion timestamp comment
|
|
2082
|
+
- Update any status metadata
|
|
2083
|
+
|
|
2084
|
+
2. **Add Deviation Note**:
|
|
2085
|
+
- Insert note explaining why sequence changed
|
|
2086
|
+
- Reference the deviation in plan
|
|
2087
|
+
|
|
2088
|
+
3. **Update Current Step Pointer**:
|
|
2089
|
+
- Add/move `<!-- current-step -->` marker
|
|
2090
|
+
- Update last-modified timestamp
|
|
2091
|
+
|
|
2092
|
+
### 5. Integration Instructions
|
|
2093
|
+
|
|
2094
|
+
[[LLM: How agents and tasks should use this utility]]
|
|
2095
|
+
|
|
2096
|
+
**For Agents (startup sequence)**:
|
|
2097
|
+
|
|
2098
|
+
```
|
|
2099
|
+
1. Check if plan exists using this utility
|
|
2100
|
+
2. If exists:
|
|
2101
|
+
- Parse current status
|
|
2102
|
+
- Show user: "Active workflow plan detected. Current step: {X}"
|
|
2103
|
+
- Suggest: "Next recommended action: {next_step}"
|
|
2104
|
+
3. Continue with normal startup
|
|
2105
|
+
```
|
|
2106
|
+
|
|
2107
|
+
**For Tasks (pre-execution)**:
|
|
2108
|
+
|
|
2109
|
+
```
|
|
2110
|
+
1. Check if plan exists
|
|
2111
|
+
2. If exists:
|
|
2112
|
+
- Verify this task aligns with plan
|
|
2113
|
+
- If not aligned:
|
|
2114
|
+
- In strict mode: Show warning and stop
|
|
2115
|
+
- In flexible mode: Show warning and ask for confirmation
|
|
2116
|
+
3. After task completion:
|
|
2117
|
+
- Update plan if task was a planned step
|
|
2118
|
+
- Add note if task was unplanned
|
|
2119
|
+
```
|
|
2120
|
+
|
|
2121
|
+
### 6. Plan Status Report Format
|
|
2122
|
+
|
|
2123
|
+
[[LLM: Standard format for showing plan status]]
|
|
2124
|
+
|
|
2125
|
+
```
|
|
2126
|
+
📋 Workflow Plan Status
|
|
2127
|
+
━━━━━━━━━━━━━━━━━━━━
|
|
2128
|
+
Workflow: {workflow_name}
|
|
2129
|
+
Progress: {X}% complete ({completed}/{total} steps)
|
|
2130
|
+
|
|
2131
|
+
✅ Completed:
|
|
2132
|
+
- {completed_step_1}
|
|
2133
|
+
- {completed_step_2}
|
|
2134
|
+
|
|
2135
|
+
🔄 Current Step:
|
|
2136
|
+
- {current_step_description}
|
|
2137
|
+
|
|
2138
|
+
📌 Upcoming:
|
|
2139
|
+
- {next_step_1}
|
|
2140
|
+
- {next_step_2}
|
|
2141
|
+
|
|
2142
|
+
⚠️ Notes:
|
|
2143
|
+
- {any_deviations_or_notes}
|
|
2144
|
+
```
|
|
2145
|
+
|
|
2146
|
+
### 7. Decision Point Handling
|
|
2147
|
+
|
|
2148
|
+
[[LLM: Special handling for workflow decision points]]
|
|
2149
|
+
|
|
2150
|
+
When encountering a decision point in the plan:
|
|
2151
|
+
|
|
2152
|
+
1. **Identify Decision Marker**: `<!-- decision: {decision_id} -->`
|
|
2153
|
+
2. **Check Decision Status**: Made/Pending
|
|
2154
|
+
3. **If Pending**:
|
|
2155
|
+
- Block progress until decision made
|
|
2156
|
+
- Show options to user
|
|
2157
|
+
- Record decision when made
|
|
2158
|
+
4. **If Made**:
|
|
2159
|
+
- Verify current path aligns with decision
|
|
2160
|
+
- Warn if attempting alternate path
|
|
2161
|
+
|
|
2162
|
+
### 8. Plan Abandonment
|
|
2163
|
+
|
|
2164
|
+
[[LLM: Graceful handling when user wants to stop following plan]]
|
|
2165
|
+
|
|
2166
|
+
If user wants to abandon plan:
|
|
2167
|
+
|
|
2168
|
+
1. Confirm abandonment intent
|
|
2169
|
+
2. Add abandonment note to plan
|
|
2170
|
+
3. Mark plan as "Abandoned" in header
|
|
2171
|
+
4. Stop plan checking for remainder of session
|
|
2172
|
+
5. Suggest creating new plan if needed
|
|
2173
|
+
|
|
2174
|
+
## Usage Examples
|
|
2175
|
+
|
|
2176
|
+
### Example 1: Agent Startup Check
|
|
2177
|
+
|
|
2178
|
+
```
|
|
2179
|
+
BMad Master starting...
|
|
2180
|
+
|
|
2181
|
+
[Check for plan]
|
|
2182
|
+
Found active workflow plan: brownfield-fullstack
|
|
2183
|
+
Progress: 40% complete (4/10 steps)
|
|
2184
|
+
Current step: Create PRD (pm agent)
|
|
2185
|
+
|
|
2186
|
+
Suggestion: Based on your plan, you should work with the PM agent next.
|
|
2187
|
+
Use *agent pm to switch, or *plan-status to see full progress.
|
|
2188
|
+
```
|
|
2189
|
+
|
|
2190
|
+
### Example 2: Task Sequence Warning
|
|
2191
|
+
|
|
2192
|
+
```
|
|
2193
|
+
User: *task create-next-story
|
|
2194
|
+
|
|
2195
|
+
[Plan check triggered]
|
|
2196
|
+
⚠️ SEQUENCE WARNING:
|
|
2197
|
+
Your workflow plan indicates the PRD hasn't been created yet.
|
|
2198
|
+
Creating stories before the PRD may lead to incomplete requirements.
|
|
2199
|
+
|
|
2200
|
+
Would you like to:
|
|
2201
|
+
1. Continue anyway (will note deviation in plan)
|
|
2202
|
+
2. Switch to creating PRD first (*agent pm)
|
|
2203
|
+
3. View plan status (*plan-status)
|
|
2204
|
+
```
|
|
2205
|
+
|
|
2206
|
+
### Example 3: Automatic Plan Update
|
|
2207
|
+
|
|
2208
|
+
```
|
|
2209
|
+
[After completing create-doc task for PRD]
|
|
2210
|
+
|
|
2211
|
+
✅ Plan Updated: Marked "Create PRD" as complete
|
|
2212
|
+
📍 Next step: Create Architecture Document (architect agent)
|
|
2213
|
+
```
|
|
2214
|
+
|
|
2215
|
+
## Implementation Notes
|
|
2216
|
+
|
|
2217
|
+
- This utility should be lightweight and fast
|
|
2218
|
+
- Plan parsing should be resilient to format variations
|
|
2219
|
+
- Always preserve user agency - warnings not blocks (unless strict mode)
|
|
2220
|
+
- Plan updates should be atomic to prevent corruption
|
|
2221
|
+
- Consider plan versioning for rollback capability
|
|
2222
|
+
|
|
2223
|
+
## Error Handling
|
|
2224
|
+
|
|
2225
|
+
- Missing plan: Return null, don't error
|
|
2226
|
+
- Malformed plan: Warn but continue, treat as no plan
|
|
2227
|
+
- Update failures: Log but don't block task completion
|
|
2228
|
+
- Parse errors: Fallback to basic text search
|
|
2229
|
+
==================== END: utils#plan-management ====================
|
|
2230
|
+
|
|
1426
2231
|
==================== START: utils#workflow-management ====================
|
|
1427
2232
|
# Workflow Management
|
|
1428
2233
|
|
|
@@ -4091,34 +4896,45 @@ Do not proceed with any recommendations until the user has validated your unders
|
|
|
4091
4896
|
|
|
4092
4897
|
### Existing Project Overview
|
|
4093
4898
|
|
|
4094
|
-
[[LLM:
|
|
4899
|
+
[[LLM: Check if document-project analysis was already performed. If yes, reference that output instead of re-analyzing.]]
|
|
4095
4900
|
|
|
4096
|
-
**
|
|
4901
|
+
**Analysis Source**: [[LLM: Indicate one of the following:
|
|
4902
|
+
- Document-project output available at: {{path}}
|
|
4903
|
+
- IDE-based fresh analysis
|
|
4904
|
+
- User-provided information
|
|
4905
|
+
]]
|
|
4097
4906
|
|
|
4098
|
-
**Current Project State**: [[LLM:
|
|
4907
|
+
**Current Project State**: [[LLM:
|
|
4908
|
+
- If document-project output exists: Extract summary from "High Level Architecture" and "Technical Summary" sections
|
|
4909
|
+
- Otherwise: Brief description of what the project currently does and its primary purpose
|
|
4910
|
+
]]
|
|
4099
4911
|
|
|
4100
4912
|
### Available Documentation Analysis
|
|
4101
4913
|
|
|
4102
|
-
[[LLM:
|
|
4914
|
+
[[LLM:
|
|
4915
|
+
If document-project was run:
|
|
4916
|
+
- Note: "Document-project analysis available - using existing technical documentation"
|
|
4917
|
+
- List key documents created by document-project
|
|
4918
|
+
- Skip the missing documentation check below
|
|
4103
4919
|
|
|
4104
|
-
|
|
4105
|
-
|
|
4106
|
-
- Coding standards
|
|
4107
|
-
- API documentation or OpenAPI specs
|
|
4108
|
-
- External API integrations
|
|
4109
|
-
- UX/UI guidelines or existing patterns]]
|
|
4920
|
+
Otherwise, check for existing documentation:
|
|
4921
|
+
]]
|
|
4110
4922
|
|
|
4111
4923
|
**Available Documentation**:
|
|
4112
4924
|
|
|
4113
|
-
- [ ] Tech Stack Documentation
|
|
4114
|
-
- [ ] Source Tree/Architecture
|
|
4115
|
-
- [ ] Coding Standards
|
|
4116
|
-
- [ ] API Documentation
|
|
4117
|
-
- [ ] External API Documentation
|
|
4118
|
-
- [ ] UX/UI Guidelines
|
|
4925
|
+
- [ ] Tech Stack Documentation [[LLM: If from document-project, check ✓]]
|
|
4926
|
+
- [ ] Source Tree/Architecture [[LLM: If from document-project, check ✓]]
|
|
4927
|
+
- [ ] Coding Standards [[LLM: If from document-project, may be partial]]
|
|
4928
|
+
- [ ] API Documentation [[LLM: If from document-project, check ✓]]
|
|
4929
|
+
- [ ] External API Documentation [[LLM: If from document-project, check ✓]]
|
|
4930
|
+
- [ ] UX/UI Guidelines [[LLM: May not be in document-project]]
|
|
4931
|
+
- [ ] Technical Debt Documentation [[LLM: If from document-project, check ✓]]
|
|
4119
4932
|
- [ ] Other: \***\*\_\_\_\*\***
|
|
4120
4933
|
|
|
4121
|
-
[[LLM:
|
|
4934
|
+
[[LLM:
|
|
4935
|
+
- If document-project was already run: "Using existing project analysis from document-project output."
|
|
4936
|
+
- If critical documentation is missing and no document-project: "I recommend running the document-project task first..."
|
|
4937
|
+
]]
|
|
4122
4938
|
|
|
4123
4939
|
### Enhancement Scope Definition
|
|
4124
4940
|
|
|
@@ -4208,13 +5024,19 @@ Do not proceed with any recommendations until the user has validated your unders
|
|
|
4208
5024
|
|
|
4209
5025
|
### Existing Technology Stack
|
|
4210
5026
|
|
|
4211
|
-
[[LLM:
|
|
5027
|
+
[[LLM:
|
|
5028
|
+
If document-project output available:
|
|
5029
|
+
- Extract from "Actual Tech Stack" table in High Level Architecture section
|
|
5030
|
+
- Include version numbers and any noted constraints
|
|
4212
5031
|
|
|
4213
|
-
|
|
4214
|
-
|
|
4215
|
-
|
|
4216
|
-
**
|
|
4217
|
-
**
|
|
5032
|
+
Otherwise, document the current technology stack:
|
|
5033
|
+
]]
|
|
5034
|
+
|
|
5035
|
+
**Languages**: [[LLM: From document-project or fresh analysis]]
|
|
5036
|
+
**Frameworks**: [[LLM: From document-project or fresh analysis]]
|
|
5037
|
+
**Database**: [[LLM: From document-project or fresh analysis]]
|
|
5038
|
+
**Infrastructure**: [[LLM: From document-project or fresh analysis]]
|
|
5039
|
+
**External Dependencies**: [[LLM: From document-project "External Services" section or fresh analysis]]
|
|
4218
5040
|
|
|
4219
5041
|
### Integration Approach
|
|
4220
5042
|
|
|
@@ -4245,12 +5067,19 @@ Do not proceed with any recommendations until the user has validated your unders
|
|
|
4245
5067
|
|
|
4246
5068
|
### Risk Assessment and Mitigation
|
|
4247
5069
|
|
|
4248
|
-
[[LLM:
|
|
5070
|
+
[[LLM:
|
|
5071
|
+
If document-project output available:
|
|
5072
|
+
- Reference "Technical Debt and Known Issues" section
|
|
5073
|
+
- Include "Workarounds and Gotchas" that might impact enhancement
|
|
5074
|
+
- Note any identified constraints from "Critical Technical Debt"
|
|
5075
|
+
|
|
5076
|
+
Build risk assessment incorporating existing known issues:
|
|
5077
|
+
]]
|
|
4249
5078
|
|
|
4250
|
-
**Technical Risks**: [[LLM:
|
|
4251
|
-
**Integration Risks**: [[LLM:
|
|
4252
|
-
**Deployment Risks**: [[LLM:
|
|
4253
|
-
**Mitigation Strategies**: [[LLM:
|
|
5079
|
+
**Technical Risks**: [[LLM: Include risks from document-project + new enhancement risks]]
|
|
5080
|
+
**Integration Risks**: [[LLM: Reference integration constraints from document-project]]
|
|
5081
|
+
**Deployment Risks**: [[LLM: Include deployment gotchas from document-project]]
|
|
5082
|
+
**Mitigation Strategies**: [[LLM: Address both existing and new risks]]
|
|
4254
5083
|
|
|
4255
5084
|
## Epic and Story Structure
|
|
4256
5085
|
|
|
@@ -8419,42 +9248,92 @@ workflow:
|
|
|
8419
9248
|
condition: po_checklist_issues
|
|
8420
9249
|
notes: "If PO finds issues, return to relevant agent to fix and re-export updated documents to docs/ folder."
|
|
8421
9250
|
|
|
9251
|
+
- agent: po
|
|
9252
|
+
action: shard_documents
|
|
9253
|
+
creates: sharded_docs
|
|
9254
|
+
requires: all_artifacts_in_project
|
|
9255
|
+
notes: |
|
|
9256
|
+
Shard documents for IDE development:
|
|
9257
|
+
- Option A: Use PO agent to shard: @po then ask to shard docs/prd.md
|
|
9258
|
+
- Option B: Manual: Drag shard-doc task + docs/prd.md into chat
|
|
9259
|
+
- Creates docs/prd/ and docs/architecture/ folders with sharded content
|
|
9260
|
+
|
|
9261
|
+
- agent: sm
|
|
9262
|
+
action: create_story
|
|
9263
|
+
creates: story.md
|
|
9264
|
+
requires: sharded_docs
|
|
9265
|
+
repeats: for_each_epic
|
|
9266
|
+
notes: |
|
|
9267
|
+
Story creation cycle:
|
|
9268
|
+
- SM Agent (New Chat): @sm → *create
|
|
9269
|
+
- Creates next story from sharded docs
|
|
9270
|
+
- Story starts in "Draft" status
|
|
9271
|
+
|
|
9272
|
+
- agent: analyst/pm
|
|
9273
|
+
action: review_draft_story
|
|
9274
|
+
updates: story.md
|
|
9275
|
+
requires: story.md
|
|
9276
|
+
optional: true
|
|
9277
|
+
condition: user_wants_story_review
|
|
9278
|
+
notes: |
|
|
9279
|
+
OPTIONAL: Review and approve draft story
|
|
9280
|
+
- NOTE: story-review task coming soon
|
|
9281
|
+
- Review story completeness and alignment
|
|
9282
|
+
- Update story status: Draft → Approved
|
|
9283
|
+
|
|
9284
|
+
- agent: dev
|
|
9285
|
+
action: implement_story
|
|
9286
|
+
creates: implementation_files
|
|
9287
|
+
requires: story.md
|
|
9288
|
+
notes: |
|
|
9289
|
+
Dev Agent (New Chat): @dev
|
|
9290
|
+
- Implements approved story
|
|
9291
|
+
- Updates File List with all changes
|
|
9292
|
+
- Marks story as "Review" when complete
|
|
9293
|
+
|
|
9294
|
+
- agent: qa
|
|
9295
|
+
action: review_implementation
|
|
9296
|
+
updates: implementation_files
|
|
9297
|
+
requires: implementation_files
|
|
9298
|
+
optional: true
|
|
9299
|
+
notes: |
|
|
9300
|
+
OPTIONAL: QA Agent (New Chat): @qa → review-story
|
|
9301
|
+
- Senior dev review with refactoring ability
|
|
9302
|
+
- Fixes small issues directly
|
|
9303
|
+
- Leaves checklist for remaining items
|
|
9304
|
+
- Updates story status (Review → Done or stays Review)
|
|
9305
|
+
|
|
9306
|
+
- agent: dev
|
|
9307
|
+
action: address_qa_feedback
|
|
9308
|
+
updates: implementation_files
|
|
9309
|
+
condition: qa_left_unchecked_items
|
|
9310
|
+
notes: |
|
|
9311
|
+
If QA left unchecked items:
|
|
9312
|
+
- Dev Agent (New Chat): Address remaining items
|
|
9313
|
+
- Return to QA for final approval
|
|
9314
|
+
|
|
9315
|
+
- repeat_development_cycle:
|
|
9316
|
+
action: continue_for_all_stories
|
|
9317
|
+
notes: |
|
|
9318
|
+
Repeat story cycle (SM → Dev → QA) for all epic stories
|
|
9319
|
+
Continue until all stories in PRD are complete
|
|
9320
|
+
|
|
9321
|
+
- agent: po
|
|
9322
|
+
action: epic_retrospective
|
|
9323
|
+
creates: epic-retrospective.md
|
|
9324
|
+
condition: epic_complete
|
|
9325
|
+
optional: true
|
|
9326
|
+
notes: |
|
|
9327
|
+
OPTIONAL: After epic completion
|
|
9328
|
+
- NOTE: epic-retrospective task coming soon
|
|
9329
|
+
- Validate epic was completed correctly
|
|
9330
|
+
- Document learnings and improvements
|
|
9331
|
+
|
|
8422
9332
|
- workflow_end:
|
|
8423
|
-
action:
|
|
9333
|
+
action: project_complete
|
|
8424
9334
|
notes: |
|
|
8425
|
-
|
|
8426
|
-
|
|
8427
|
-
1. ENSURE DOCUMENTS ARE IN PROJECT:
|
|
8428
|
-
- Copy final prd.md to project's docs/prd.md
|
|
8429
|
-
- Copy final architecture.md to project's docs/architecture.md
|
|
8430
|
-
- All documents must be in the project before proceeding
|
|
8431
|
-
|
|
8432
|
-
2. SHARD DOCUMENTS (in IDE):
|
|
8433
|
-
- Option A: Use PO agent to shard: @po then ask to shard docs/prd.md
|
|
8434
|
-
- Option B: Manual: Drag shard-doc task + docs/prd.md into chat
|
|
8435
|
-
- This creates docs/prd/ and docs/architecture/ folders with sharded content
|
|
8436
|
-
|
|
8437
|
-
3. START DEVELOPMENT CYCLE:
|
|
8438
|
-
a. SM Agent (New Chat): @sm → *create
|
|
8439
|
-
- Creates next story from sharded docs
|
|
8440
|
-
- Review and approve story (Draft → Approved)
|
|
8441
|
-
|
|
8442
|
-
b. Dev Agent (New Chat): @dev
|
|
8443
|
-
- Implements approved story
|
|
8444
|
-
- Updates File List with all changes
|
|
8445
|
-
- Marks story as "Review" when complete
|
|
8446
|
-
|
|
8447
|
-
c. QA Agent (New Chat): @qa → review-story
|
|
8448
|
-
- Senior dev review with refactoring ability
|
|
8449
|
-
- Fixes small issues directly
|
|
8450
|
-
- Leaves checklist for remaining items
|
|
8451
|
-
- Updates story status (Review → Done or stays Review)
|
|
8452
|
-
|
|
8453
|
-
d. If QA left unchecked items:
|
|
8454
|
-
- Dev Agent (New Chat): Address remaining items
|
|
8455
|
-
- Return to QA for final approval
|
|
8456
|
-
|
|
8457
|
-
4. REPEAT: Continue cycle for all epic stories
|
|
9335
|
+
All stories implemented and reviewed!
|
|
9336
|
+
Service development phase complete.
|
|
8458
9337
|
|
|
8459
9338
|
Reference: data#bmad-kb:IDE Development Workflow
|
|
8460
9339
|
|
|
@@ -8470,17 +9349,41 @@ workflow:
|
|
|
8470
9349
|
F --> G
|
|
8471
9350
|
G --> H{PO finds issues?}
|
|
8472
9351
|
H -->|Yes| I[Return to relevant agent for fixes]
|
|
8473
|
-
H -->|No| J[
|
|
9352
|
+
H -->|No| J[po: shard documents]
|
|
8474
9353
|
I --> G
|
|
9354
|
+
|
|
9355
|
+
J --> K[sm: create story]
|
|
9356
|
+
K --> L{Review draft story?}
|
|
9357
|
+
L -->|Yes| M[analyst/pm: review & approve story]
|
|
9358
|
+
L -->|No| N[dev: implement story]
|
|
9359
|
+
M --> N
|
|
9360
|
+
N --> O{QA review?}
|
|
9361
|
+
O -->|Yes| P[qa: review implementation]
|
|
9362
|
+
O -->|No| Q{More stories?}
|
|
9363
|
+
P --> R{QA found issues?}
|
|
9364
|
+
R -->|Yes| S[dev: address QA feedback]
|
|
9365
|
+
R -->|No| Q
|
|
9366
|
+
S --> P
|
|
9367
|
+
Q -->|Yes| K
|
|
9368
|
+
Q -->|No| T{Epic retrospective?}
|
|
9369
|
+
T -->|Yes| U[po: epic retrospective]
|
|
9370
|
+
T -->|No| V[Project Complete]
|
|
9371
|
+
U --> V
|
|
8475
9372
|
|
|
8476
9373
|
B -.-> B1[Optional: brainstorming]
|
|
8477
9374
|
B -.-> B2[Optional: market research]
|
|
8478
9375
|
D -.-> D1[Optional: technical research]
|
|
8479
9376
|
|
|
8480
|
-
style
|
|
9377
|
+
style V fill:#90EE90
|
|
9378
|
+
style J fill:#ADD8E6
|
|
9379
|
+
style K fill:#ADD8E6
|
|
9380
|
+
style N fill:#ADD8E6
|
|
8481
9381
|
style B fill:#FFE4B5
|
|
8482
9382
|
style C fill:#FFE4B5
|
|
8483
9383
|
style D fill:#FFE4B5
|
|
9384
|
+
style M fill:#F0E68C
|
|
9385
|
+
style P fill:#F0E68C
|
|
9386
|
+
style U fill:#F0E68C
|
|
8484
9387
|
```
|
|
8485
9388
|
|
|
8486
9389
|
decision_guidance:
|
|
@@ -8546,42 +9449,92 @@ workflow:
|
|
|
8546
9449
|
condition: po_checklist_issues
|
|
8547
9450
|
notes: "If PO finds issues, return to relevant agent to fix and re-export updated documents to docs/ folder."
|
|
8548
9451
|
|
|
9452
|
+
- agent: po
|
|
9453
|
+
action: shard_documents
|
|
9454
|
+
creates: sharded_docs
|
|
9455
|
+
requires: all_artifacts_in_project
|
|
9456
|
+
notes: |
|
|
9457
|
+
Shard documents for IDE development:
|
|
9458
|
+
- Option A: Use PO agent to shard: @po then ask to shard docs/prd.md
|
|
9459
|
+
- Option B: Manual: Drag shard-doc task + docs/prd.md into chat
|
|
9460
|
+
- Creates docs/prd/ and docs/architecture/ folders with sharded content
|
|
9461
|
+
|
|
9462
|
+
- agent: sm
|
|
9463
|
+
action: create_story
|
|
9464
|
+
creates: story.md
|
|
9465
|
+
requires: sharded_docs
|
|
9466
|
+
repeats: for_each_epic
|
|
9467
|
+
notes: |
|
|
9468
|
+
Story creation cycle:
|
|
9469
|
+
- SM Agent (New Chat): @sm → *create
|
|
9470
|
+
- Creates next story from sharded docs
|
|
9471
|
+
- Story starts in "Draft" status
|
|
9472
|
+
|
|
9473
|
+
- agent: analyst/pm
|
|
9474
|
+
action: review_draft_story
|
|
9475
|
+
updates: story.md
|
|
9476
|
+
requires: story.md
|
|
9477
|
+
optional: true
|
|
9478
|
+
condition: user_wants_story_review
|
|
9479
|
+
notes: |
|
|
9480
|
+
OPTIONAL: Review and approve draft story
|
|
9481
|
+
- NOTE: story-review task coming soon
|
|
9482
|
+
- Review story completeness and alignment
|
|
9483
|
+
- Update story status: Draft → Approved
|
|
9484
|
+
|
|
9485
|
+
- agent: dev
|
|
9486
|
+
action: implement_story
|
|
9487
|
+
creates: implementation_files
|
|
9488
|
+
requires: story.md
|
|
9489
|
+
notes: |
|
|
9490
|
+
Dev Agent (New Chat): @dev
|
|
9491
|
+
- Implements approved story
|
|
9492
|
+
- Updates File List with all changes
|
|
9493
|
+
- Marks story as "Review" when complete
|
|
9494
|
+
|
|
9495
|
+
- agent: qa
|
|
9496
|
+
action: review_implementation
|
|
9497
|
+
updates: implementation_files
|
|
9498
|
+
requires: implementation_files
|
|
9499
|
+
optional: true
|
|
9500
|
+
notes: |
|
|
9501
|
+
OPTIONAL: QA Agent (New Chat): @qa → review-story
|
|
9502
|
+
- Senior dev review with refactoring ability
|
|
9503
|
+
- Fixes small issues directly
|
|
9504
|
+
- Leaves checklist for remaining items
|
|
9505
|
+
- Updates story status (Review → Done or stays Review)
|
|
9506
|
+
|
|
9507
|
+
- agent: dev
|
|
9508
|
+
action: address_qa_feedback
|
|
9509
|
+
updates: implementation_files
|
|
9510
|
+
condition: qa_left_unchecked_items
|
|
9511
|
+
notes: |
|
|
9512
|
+
If QA left unchecked items:
|
|
9513
|
+
- Dev Agent (New Chat): Address remaining items
|
|
9514
|
+
- Return to QA for final approval
|
|
9515
|
+
|
|
9516
|
+
- repeat_development_cycle:
|
|
9517
|
+
action: continue_for_all_stories
|
|
9518
|
+
notes: |
|
|
9519
|
+
Repeat story cycle (SM → Dev → QA) for all epic stories
|
|
9520
|
+
Continue until all stories in PRD are complete
|
|
9521
|
+
|
|
9522
|
+
- agent: po
|
|
9523
|
+
action: epic_retrospective
|
|
9524
|
+
creates: epic-retrospective.md
|
|
9525
|
+
condition: epic_complete
|
|
9526
|
+
optional: true
|
|
9527
|
+
notes: |
|
|
9528
|
+
OPTIONAL: After epic completion
|
|
9529
|
+
- NOTE: epic-retrospective task coming soon
|
|
9530
|
+
- Validate epic was completed correctly
|
|
9531
|
+
- Document learnings and improvements
|
|
9532
|
+
|
|
8549
9533
|
- workflow_end:
|
|
8550
|
-
action:
|
|
9534
|
+
action: project_complete
|
|
8551
9535
|
notes: |
|
|
8552
|
-
|
|
8553
|
-
|
|
8554
|
-
1. ENSURE DOCUMENTS ARE IN PROJECT:
|
|
8555
|
-
- Copy final prd.md to project's docs/prd.md
|
|
8556
|
-
- Copy final architecture.md to project's docs/architecture.md
|
|
8557
|
-
- All documents must be in the project before proceeding
|
|
8558
|
-
|
|
8559
|
-
2. SHARD DOCUMENTS (in IDE):
|
|
8560
|
-
- Option A: Use PO agent to shard: @po then ask to shard docs/prd.md
|
|
8561
|
-
- Option B: Manual: Drag shard-doc task + docs/prd.md into chat
|
|
8562
|
-
- This creates docs/prd/ and docs/architecture/ folders with sharded content
|
|
8563
|
-
|
|
8564
|
-
3. START DEVELOPMENT CYCLE:
|
|
8565
|
-
a. SM Agent (New Chat): @sm → *create
|
|
8566
|
-
- Creates next story from sharded docs
|
|
8567
|
-
- Review and approve story (Draft → Approved)
|
|
8568
|
-
|
|
8569
|
-
b. Dev Agent (New Chat): @dev
|
|
8570
|
-
- Implements approved story
|
|
8571
|
-
- Updates File List with all changes
|
|
8572
|
-
- Marks story as "Review" when complete
|
|
8573
|
-
|
|
8574
|
-
c. QA Agent (New Chat): @qa → review-story
|
|
8575
|
-
- Senior dev review with refactoring ability
|
|
8576
|
-
- Fixes small issues directly
|
|
8577
|
-
- Leaves checklist for remaining items
|
|
8578
|
-
- Updates story status (Review → Done or stays Review)
|
|
8579
|
-
|
|
8580
|
-
d. If QA left unchecked items:
|
|
8581
|
-
- Dev Agent (New Chat): Address remaining items
|
|
8582
|
-
- Return to QA for final approval
|
|
8583
|
-
|
|
8584
|
-
4. REPEAT: Continue cycle for all epic stories
|
|
9536
|
+
All stories implemented and reviewed!
|
|
9537
|
+
Project development phase complete.
|
|
8585
9538
|
|
|
8586
9539
|
Reference: data#bmad-kb:IDE Development Workflow
|
|
8587
9540
|
|
|
@@ -8594,12 +9547,36 @@ workflow:
|
|
|
8594
9547
|
D --> E[po: validate with po-master-checklist]
|
|
8595
9548
|
E --> F{PO finds issues?}
|
|
8596
9549
|
F -->|Yes| G[Return to relevant agent for fixes]
|
|
8597
|
-
F -->|No| H[
|
|
9550
|
+
F -->|No| H[po: shard documents]
|
|
8598
9551
|
G --> E
|
|
8599
|
-
|
|
8600
|
-
|
|
9552
|
+
|
|
9553
|
+
H --> I[sm: create story]
|
|
9554
|
+
I --> J{Review draft story?}
|
|
9555
|
+
J -->|Yes| K[analyst/pm: review & approve story]
|
|
9556
|
+
J -->|No| L[dev: implement story]
|
|
9557
|
+
K --> L
|
|
9558
|
+
L --> M{QA review?}
|
|
9559
|
+
M -->|Yes| N[qa: review implementation]
|
|
9560
|
+
M -->|No| O{More stories?}
|
|
9561
|
+
N --> P{QA found issues?}
|
|
9562
|
+
P -->|Yes| Q[dev: address QA feedback]
|
|
9563
|
+
P -->|No| O
|
|
9564
|
+
Q --> N
|
|
9565
|
+
O -->|Yes| I
|
|
9566
|
+
O -->|No| R{Epic retrospective?}
|
|
9567
|
+
R -->|Yes| S[po: epic retrospective]
|
|
9568
|
+
R -->|No| T[Project Complete]
|
|
9569
|
+
S --> T
|
|
9570
|
+
|
|
9571
|
+
style T fill:#90EE90
|
|
9572
|
+
style H fill:#ADD8E6
|
|
9573
|
+
style I fill:#ADD8E6
|
|
9574
|
+
style L fill:#ADD8E6
|
|
8601
9575
|
style C fill:#FFE4B5
|
|
8602
9576
|
style D fill:#FFE4B5
|
|
9577
|
+
style K fill:#F0E68C
|
|
9578
|
+
style N fill:#F0E68C
|
|
9579
|
+
style S fill:#F0E68C
|
|
8603
9580
|
```
|
|
8604
9581
|
|
|
8605
9582
|
decision_guidance:
|