@codemcp/workflows 6.0.1 → 6.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +3 -2
- package/packages/cli/dist/{dist-UGVUJIDN.js → dist-6TO57O6M.js} +3 -2
- package/packages/cli/dist/index.js +4 -2
- package/packages/cli/package.json +1 -1
- package/packages/cli/resources/agents/architect.yaml +61 -0
- package/packages/cli/resources/agents/business-analyst.yaml +60 -0
- package/packages/cli/resources/agents/developer.yaml +61 -0
- package/packages/cli/resources/templates/architecture/arc42/arc42-template-EN.md +1077 -0
- package/packages/cli/resources/templates/architecture/arc42/images/01_2_iso-25010-topics-EN.drawio-2023.png +0 -0
- package/packages/cli/resources/templates/architecture/arc42/images/01_2_iso-25010-topics-EN.drawio.png +0 -0
- package/packages/cli/resources/templates/architecture/arc42/images/05_building_blocks-EN.png +0 -0
- package/packages/cli/resources/templates/architecture/arc42/images/08-concepts-EN.drawio.png +0 -0
- package/packages/cli/resources/templates/architecture/arc42/images/arc42-logo.png +0 -0
- package/packages/cli/resources/templates/architecture/c4.md +224 -0
- package/packages/cli/resources/templates/architecture/freestyle.md +53 -0
- package/packages/cli/resources/templates/architecture/game.md +250 -0
- package/packages/cli/resources/templates/architecture/none.md +17 -0
- package/packages/cli/resources/templates/design/comprehensive.md +207 -0
- package/packages/cli/resources/templates/design/freestyle.md +37 -0
- package/packages/cli/resources/templates/design/game.md +66 -0
- package/packages/cli/resources/templates/design/none.md +17 -0
- package/packages/cli/resources/templates/requirements/ears.md +90 -0
- package/packages/cli/resources/templates/requirements/freestyle.md +42 -0
- package/packages/cli/resources/templates/requirements/game.md +162 -0
- package/packages/cli/resources/templates/requirements/none.md +17 -0
- package/packages/cli/resources/templates/skills/POWER.md +23 -0
- package/packages/cli/resources/templates/skills/SKILL.md +19 -0
- package/packages/cli/resources/workflows/adr.yaml +157 -0
- package/packages/cli/resources/workflows/big-bang-conversion.yaml +592 -0
- package/packages/cli/resources/workflows/boundary-testing.yaml +376 -0
- package/packages/cli/resources/workflows/bugfix.yaml +177 -0
- package/packages/cli/resources/workflows/business-analysis.yaml +597 -0
- package/packages/cli/resources/workflows/c4-analysis.yaml +471 -0
- package/packages/cli/resources/workflows/epcc.yaml +183 -0
- package/packages/cli/resources/workflows/game-beginner.yaml +434 -0
- package/packages/cli/resources/workflows/greenfield.yaml +201 -0
- package/packages/cli/resources/workflows/minor.yaml +138 -0
- package/packages/cli/resources/workflows/posts.yaml +193 -0
- package/packages/cli/resources/workflows/sdd-bugfix-crowd.yaml +608 -0
- package/packages/cli/resources/workflows/sdd-bugfix.yaml +381 -0
- package/packages/cli/resources/workflows/sdd-feature-crowd.yaml +713 -0
- package/packages/cli/resources/workflows/sdd-feature.yaml +471 -0
- package/packages/cli/resources/workflows/sdd-greenfield-crowd.yaml +336 -0
- package/packages/cli/resources/workflows/sdd-greenfield.yaml +463 -0
- package/packages/cli/resources/workflows/slides.yaml +237 -0
- package/packages/cli/resources/workflows/tdd.yaml +160 -0
- package/packages/cli/resources/workflows/waterfall.yaml +209 -0
- package/packages/core/package.json +1 -1
- package/packages/core/resources/agents/architect.yaml +61 -0
- package/packages/core/resources/agents/business-analyst.yaml +60 -0
- package/packages/core/resources/agents/developer.yaml +61 -0
- package/packages/core/resources/templates/architecture/arc42/arc42-template-EN.md +1077 -0
- package/packages/core/resources/templates/architecture/arc42/images/01_2_iso-25010-topics-EN.drawio-2023.png +0 -0
- package/packages/core/resources/templates/architecture/arc42/images/01_2_iso-25010-topics-EN.drawio.png +0 -0
- package/packages/core/resources/templates/architecture/arc42/images/05_building_blocks-EN.png +0 -0
- package/packages/core/resources/templates/architecture/arc42/images/08-concepts-EN.drawio.png +0 -0
- package/packages/core/resources/templates/architecture/arc42/images/arc42-logo.png +0 -0
- package/packages/core/resources/templates/architecture/c4.md +224 -0
- package/packages/core/resources/templates/architecture/freestyle.md +53 -0
- package/packages/core/resources/templates/architecture/game.md +250 -0
- package/packages/core/resources/templates/architecture/none.md +17 -0
- package/packages/core/resources/templates/design/comprehensive.md +207 -0
- package/packages/core/resources/templates/design/freestyle.md +37 -0
- package/packages/core/resources/templates/design/game.md +66 -0
- package/packages/core/resources/templates/design/none.md +17 -0
- package/packages/core/resources/templates/requirements/ears.md +90 -0
- package/packages/core/resources/templates/requirements/freestyle.md +42 -0
- package/packages/core/resources/templates/requirements/game.md +162 -0
- package/packages/core/resources/templates/requirements/none.md +17 -0
- package/packages/core/resources/templates/skills/POWER.md +23 -0
- package/packages/core/resources/templates/skills/SKILL.md +19 -0
- package/packages/core/resources/workflows/adr.yaml +157 -0
- package/packages/core/resources/workflows/big-bang-conversion.yaml +592 -0
- package/packages/core/resources/workflows/boundary-testing.yaml +376 -0
- package/packages/core/resources/workflows/bugfix.yaml +177 -0
- package/packages/core/resources/workflows/business-analysis.yaml +597 -0
- package/packages/core/resources/workflows/c4-analysis.yaml +471 -0
- package/packages/core/resources/workflows/epcc.yaml +183 -0
- package/packages/core/resources/workflows/game-beginner.yaml +434 -0
- package/packages/core/resources/workflows/greenfield.yaml +201 -0
- package/packages/core/resources/workflows/minor.yaml +138 -0
- package/packages/core/resources/workflows/posts.yaml +193 -0
- package/packages/core/resources/workflows/sdd-bugfix-crowd.yaml +608 -0
- package/packages/core/resources/workflows/sdd-bugfix.yaml +381 -0
- package/packages/core/resources/workflows/sdd-feature-crowd.yaml +713 -0
- package/packages/core/resources/workflows/sdd-feature.yaml +471 -0
- package/packages/core/resources/workflows/sdd-greenfield-crowd.yaml +336 -0
- package/packages/core/resources/workflows/sdd-greenfield.yaml +463 -0
- package/packages/core/resources/workflows/slides.yaml +237 -0
- package/packages/core/resources/workflows/tdd.yaml +160 -0
- package/packages/core/resources/workflows/waterfall.yaml +209 -0
- package/packages/docs/package.json +1 -1
- package/packages/mcp-server/dist/index.js +3 -2
- package/packages/mcp-server/package.json +1 -1
- package/packages/mcp-server/resources/agents/architect.yaml +61 -0
- package/packages/mcp-server/resources/agents/business-analyst.yaml +60 -0
- package/packages/mcp-server/resources/agents/developer.yaml +61 -0
- package/packages/mcp-server/resources/templates/architecture/arc42/arc42-template-EN.md +1077 -0
- package/packages/mcp-server/resources/templates/architecture/arc42/images/01_2_iso-25010-topics-EN.drawio-2023.png +0 -0
- package/packages/mcp-server/resources/templates/architecture/arc42/images/01_2_iso-25010-topics-EN.drawio.png +0 -0
- package/packages/mcp-server/resources/templates/architecture/arc42/images/05_building_blocks-EN.png +0 -0
- package/packages/mcp-server/resources/templates/architecture/arc42/images/08-concepts-EN.drawio.png +0 -0
- package/packages/mcp-server/resources/templates/architecture/arc42/images/arc42-logo.png +0 -0
- package/packages/mcp-server/resources/templates/architecture/c4.md +224 -0
- package/packages/mcp-server/resources/templates/architecture/freestyle.md +53 -0
- package/packages/mcp-server/resources/templates/architecture/game.md +250 -0
- package/packages/mcp-server/resources/templates/architecture/none.md +17 -0
- package/packages/mcp-server/resources/templates/design/comprehensive.md +207 -0
- package/packages/mcp-server/resources/templates/design/freestyle.md +37 -0
- package/packages/mcp-server/resources/templates/design/game.md +66 -0
- package/packages/mcp-server/resources/templates/design/none.md +17 -0
- package/packages/mcp-server/resources/templates/requirements/ears.md +90 -0
- package/packages/mcp-server/resources/templates/requirements/freestyle.md +42 -0
- package/packages/mcp-server/resources/templates/requirements/game.md +162 -0
- package/packages/mcp-server/resources/templates/requirements/none.md +17 -0
- package/packages/mcp-server/resources/templates/skills/POWER.md +23 -0
- package/packages/mcp-server/resources/templates/skills/SKILL.md +19 -0
- package/packages/mcp-server/resources/workflows/adr.yaml +157 -0
- package/packages/mcp-server/resources/workflows/big-bang-conversion.yaml +592 -0
- package/packages/mcp-server/resources/workflows/boundary-testing.yaml +376 -0
- package/packages/mcp-server/resources/workflows/bugfix.yaml +177 -0
- package/packages/mcp-server/resources/workflows/business-analysis.yaml +597 -0
- package/packages/mcp-server/resources/workflows/c4-analysis.yaml +471 -0
- package/packages/mcp-server/resources/workflows/epcc.yaml +183 -0
- package/packages/mcp-server/resources/workflows/game-beginner.yaml +434 -0
- package/packages/mcp-server/resources/workflows/greenfield.yaml +201 -0
- package/packages/mcp-server/resources/workflows/minor.yaml +138 -0
- package/packages/mcp-server/resources/workflows/posts.yaml +193 -0
- package/packages/mcp-server/resources/workflows/sdd-bugfix-crowd.yaml +608 -0
- package/packages/mcp-server/resources/workflows/sdd-bugfix.yaml +381 -0
- package/packages/mcp-server/resources/workflows/sdd-feature-crowd.yaml +713 -0
- package/packages/mcp-server/resources/workflows/sdd-feature.yaml +471 -0
- package/packages/mcp-server/resources/workflows/sdd-greenfield-crowd.yaml +336 -0
- package/packages/mcp-server/resources/workflows/sdd-greenfield.yaml +463 -0
- package/packages/mcp-server/resources/workflows/slides.yaml +237 -0
- package/packages/mcp-server/resources/workflows/tdd.yaml +160 -0
- package/packages/mcp-server/resources/workflows/waterfall.yaml +209 -0
- package/packages/visualizer/package.json +1 -1
|
@@ -0,0 +1,713 @@
|
|
|
1
|
+
# yaml-language-server: $schema=../../state-machine-schema.json
|
|
2
|
+
---
|
|
3
|
+
name: 'sdd-feature-crowd'
|
|
4
|
+
description: 'Collaborative specification-driven feature development: Business Analyst → Architect → Developer working as a team'
|
|
5
|
+
initial_state: 'analyze'
|
|
6
|
+
|
|
7
|
+
# Enhanced metadata for better discoverability
|
|
8
|
+
metadata:
|
|
9
|
+
domain: 'sdd-crowd'
|
|
10
|
+
complexity: 'medium'
|
|
11
|
+
collaboration: true
|
|
12
|
+
requiredRoles:
|
|
13
|
+
- business-analyst
|
|
14
|
+
- architect
|
|
15
|
+
- developer
|
|
16
|
+
bestFor:
|
|
17
|
+
- 'Team-based feature development'
|
|
18
|
+
- 'Multi-agent collaboration'
|
|
19
|
+
- 'Specification-driven development with specialized roles'
|
|
20
|
+
useCases:
|
|
21
|
+
- 'Add new functionality with separate BA, architect, and developer agents'
|
|
22
|
+
- 'Enhance existing features with collaborative team'
|
|
23
|
+
examples:
|
|
24
|
+
- 'Team builds user profile management system'
|
|
25
|
+
- 'Collaborative search functionality implementation'
|
|
26
|
+
|
|
27
|
+
# States with default instructions and role-specific transitions
|
|
28
|
+
states:
|
|
29
|
+
analyze:
|
|
30
|
+
description: 'Analyze current state and requirements'
|
|
31
|
+
default_instructions: |
|
|
32
|
+
**Team Collaboration Mode**
|
|
33
|
+
|
|
34
|
+
You are `$VIBE_ROLE` working in a collaborative team on this feature development.
|
|
35
|
+
|
|
36
|
+
Your team members can help you at any time through messaging.
|
|
37
|
+
|
|
38
|
+
transitions:
|
|
39
|
+
# Business Analyst is RESPONSIBLE for analyze phase
|
|
40
|
+
- trigger: 'analysis_complete'
|
|
41
|
+
to: 'specify'
|
|
42
|
+
role: business-analyst
|
|
43
|
+
transition_reason: 'Analysis completed, moving to specification'
|
|
44
|
+
additional_instructions: |
|
|
45
|
+
**Drive the analyze phase as the RESPONSIBLE agent.**
|
|
46
|
+
|
|
47
|
+
**Your Exclusive Permissions:**
|
|
48
|
+
- Edit the plan file
|
|
49
|
+
- Proceed to the next phase
|
|
50
|
+
|
|
51
|
+
**STEP 1: Gather Context**
|
|
52
|
+
- Review existing codebase and architecture
|
|
53
|
+
- Understand current user workflows
|
|
54
|
+
- Identify constraints and dependencies
|
|
55
|
+
- Document assumptions about the current state
|
|
56
|
+
|
|
57
|
+
**STEP 2: Analyze Requirements**
|
|
58
|
+
|
|
59
|
+
For New Features:
|
|
60
|
+
- Identify how the feature fits into the existing system
|
|
61
|
+
- Map integration points with current functionality
|
|
62
|
+
- Document existing patterns and conventions to follow
|
|
63
|
+
|
|
64
|
+
For Enhancements:
|
|
65
|
+
- Review current implementation and its limitations
|
|
66
|
+
- Identify user pain points and feedback
|
|
67
|
+
- Analyze performance or usability issues
|
|
68
|
+
- Document technical debt that should be addressed
|
|
69
|
+
|
|
70
|
+
**STEP 3: Collaborate for Insights**
|
|
71
|
+
- Use send_message to ask architect about existing architecture constraints
|
|
72
|
+
- Use send_message to ask developer about current implementation details
|
|
73
|
+
- Wait for responses to inform your analysis
|
|
74
|
+
|
|
75
|
+
**STEP 4: Document and Transition**
|
|
76
|
+
- Create `$VIBE_DIR/specs/$BRANCH_NAME/current-state-analysis.md`
|
|
77
|
+
- Use send_message_to_operator to report analysis completion
|
|
78
|
+
- You remain RESPONSIBLE in the specify phase (continue driving the work)
|
|
79
|
+
- Call proceed_to_phase only when ready
|
|
80
|
+
|
|
81
|
+
# Architect is CONSULTED during analyze phase
|
|
82
|
+
- trigger: 'analysis_complete'
|
|
83
|
+
to: 'specify'
|
|
84
|
+
role: architect
|
|
85
|
+
transition_reason: 'Analysis completed, transitioning to specification'
|
|
86
|
+
additional_instructions: |
|
|
87
|
+
**Provide Consultation as CONSULTED Agent**
|
|
88
|
+
|
|
89
|
+
Business-analyst is driving this work. You are in consultative mode.
|
|
90
|
+
|
|
91
|
+
**Monitor and Respond:**
|
|
92
|
+
- Check get_my_messages for questions from business-analyst
|
|
93
|
+
- Answer when asked about architecture constraints
|
|
94
|
+
- Discuss system integration points
|
|
95
|
+
- Address technical feasibility concerns
|
|
96
|
+
|
|
97
|
+
**Constraints:**
|
|
98
|
+
- Do NOT edit the plan file (business-analyst has exclusive control)
|
|
99
|
+
- Do NOT proceed to next phase
|
|
100
|
+
- Wait for business-analyst to ask questions
|
|
101
|
+
|
|
102
|
+
**Provide Value:**
|
|
103
|
+
- Share clear, actionable feedback about architecture
|
|
104
|
+
- Document knowledge about existing system patterns
|
|
105
|
+
- Use send_message to proactively share relevant insights
|
|
106
|
+
|
|
107
|
+
# Developer is CONSULTED during analyze phase
|
|
108
|
+
- trigger: 'analysis_complete'
|
|
109
|
+
to: 'specify'
|
|
110
|
+
role: developer
|
|
111
|
+
transition_reason: 'Analysis completed, transitioning to specification'
|
|
112
|
+
additional_instructions: |
|
|
113
|
+
**Provide Consultation as CONSULTED Agent**
|
|
114
|
+
|
|
115
|
+
Business-analyst is driving this work. You are in consultative mode.
|
|
116
|
+
|
|
117
|
+
**Monitor and Respond:**
|
|
118
|
+
- Check get_my_messages for questions from business-analyst
|
|
119
|
+
- Answer when asked about current implementation details
|
|
120
|
+
- Discuss existing code patterns
|
|
121
|
+
- Provide technical complexity estimates
|
|
122
|
+
|
|
123
|
+
**Constraints:**
|
|
124
|
+
- Do NOT edit the plan file (business-analyst has exclusive control)
|
|
125
|
+
- Do NOT proceed to next phase
|
|
126
|
+
- Wait for business-analyst to ask questions
|
|
127
|
+
|
|
128
|
+
**Provide Value:**
|
|
129
|
+
- Share insights about existing codebase
|
|
130
|
+
- Document implementation challenges and patterns
|
|
131
|
+
- Use send_message to proactively share relevant knowledge
|
|
132
|
+
|
|
133
|
+
# Skip analysis option (all agents can use this)
|
|
134
|
+
- trigger: 'skip_analysis'
|
|
135
|
+
to: 'specify'
|
|
136
|
+
transition_reason: 'Analysis not needed, proceeding to specification'
|
|
137
|
+
additional_instructions: |
|
|
138
|
+
Skip the analysis phase for straightforward new features.
|
|
139
|
+
Proceed directly to specification using provided requirements.
|
|
140
|
+
|
|
141
|
+
specify:
|
|
142
|
+
description: 'Create feature specification'
|
|
143
|
+
default_instructions: |
|
|
144
|
+
**Team Collaboration Mode**
|
|
145
|
+
|
|
146
|
+
You are `$VIBE_ROLE` working in a collaborative team on this feature development.
|
|
147
|
+
|
|
148
|
+
Business-analyst is responsible. Architect and developer are consulted.
|
|
149
|
+
|
|
150
|
+
transitions:
|
|
151
|
+
# Business Analyst is RESPONSIBLE for specify phase
|
|
152
|
+
- trigger: 'specification_complete'
|
|
153
|
+
to: 'clarify'
|
|
154
|
+
role: business-analyst
|
|
155
|
+
transition_reason: 'Specification completed, ready for clarification'
|
|
156
|
+
additional_instructions: |
|
|
157
|
+
**Drive the specify phase as the RESPONSIBLE agent.**
|
|
158
|
+
|
|
159
|
+
**Your Exclusive Permissions:**
|
|
160
|
+
- Edit the plan file
|
|
161
|
+
- Proceed to the next phase
|
|
162
|
+
|
|
163
|
+
**STEP 1: Extract Requirements**
|
|
164
|
+
- Parse key concepts from user's description
|
|
165
|
+
- Identify actors, actions, data, and constraints
|
|
166
|
+
- Use existing system context from analysis (if performed)
|
|
167
|
+
- Focus on WHAT users need and WHY, not HOW to implement
|
|
168
|
+
|
|
169
|
+
**STEP 2: Gather Clarifications**
|
|
170
|
+
Ask questions about:
|
|
171
|
+
- Integration points with existing features
|
|
172
|
+
- User impact and affected users
|
|
173
|
+
- Data dependencies
|
|
174
|
+
- Performance requirements
|
|
175
|
+
- Backward compatibility concerns
|
|
176
|
+
|
|
177
|
+
**STEP 3: Resolve Ambiguities**
|
|
178
|
+
- Make informed guesses based on context and industry standards
|
|
179
|
+
- Use `[NEEDS CLARIFICATION: question]` only for critical decisions (max 3)
|
|
180
|
+
- Prioritize: scope > security/privacy > user experience > technical details
|
|
181
|
+
|
|
182
|
+
**STEP 4: Collaborate for Feedback**
|
|
183
|
+
- Use send_message to ask architect: "Is this technically feasible?"
|
|
184
|
+
- Use send_message to ask developer: "How complex is this to implement?"
|
|
185
|
+
- Wait for responses and incorporate feedback
|
|
186
|
+
|
|
187
|
+
**STEP 5: Document and Transition**
|
|
188
|
+
- Create `$VIBE_DIR/specs/$BRANCH_NAME/spec.md` with:
|
|
189
|
+
- User scenarios and testing
|
|
190
|
+
- Functional requirements
|
|
191
|
+
- Success criteria
|
|
192
|
+
- Integration points
|
|
193
|
+
- Use send_message to ask architect and developer to review spec.md
|
|
194
|
+
- Wait for their feedback and address concerns
|
|
195
|
+
- Use send_message_to_operator: "Specification complete, moving to clarification"
|
|
196
|
+
- You remain RESPONSIBLE in clarify phase
|
|
197
|
+
- Call proceed_to_phase only when ready
|
|
198
|
+
|
|
199
|
+
# Architect is CONSULTED during specify phase
|
|
200
|
+
- trigger: 'specification_complete'
|
|
201
|
+
to: 'clarify'
|
|
202
|
+
role: architect
|
|
203
|
+
transition_reason: 'Specification completed, transitioning to clarification'
|
|
204
|
+
additional_instructions: |
|
|
205
|
+
**Provide Consultation as CONSULTED Agent**
|
|
206
|
+
|
|
207
|
+
Business-analyst is driving this work. You are in consultative mode.
|
|
208
|
+
|
|
209
|
+
**Monitor and Provide Feedback:**
|
|
210
|
+
- Check get_my_messages for review requests from business-analyst
|
|
211
|
+
- Assess technical feasibility of requirements
|
|
212
|
+
- Discuss architecture constraints and integration concerns
|
|
213
|
+
- Analyze system scalability and performance implications
|
|
214
|
+
- Evaluate technology stack compatibility
|
|
215
|
+
|
|
216
|
+
**Constraints:**
|
|
217
|
+
- Do NOT edit the plan file (business-analyst has exclusive control)
|
|
218
|
+
- Do NOT proceed to next phase
|
|
219
|
+
|
|
220
|
+
**Provide Value:**
|
|
221
|
+
- Use get_my_messages to check for review requests
|
|
222
|
+
- Use send_message to provide detailed feedback
|
|
223
|
+
- Ask clarifying questions if requirements are unclear
|
|
224
|
+
- Suggest alternatives if requirements are problematic
|
|
225
|
+
|
|
226
|
+
# Developer is CONSULTED during specify phase
|
|
227
|
+
- trigger: 'specification_complete'
|
|
228
|
+
to: 'clarify'
|
|
229
|
+
role: developer
|
|
230
|
+
transition_reason: 'Specification completed, transitioning to clarification'
|
|
231
|
+
additional_instructions: |
|
|
232
|
+
**Provide Consultation as CONSULTED Agent**
|
|
233
|
+
|
|
234
|
+
Business-analyst is driving this work. You are in consultative mode.
|
|
235
|
+
|
|
236
|
+
**Monitor and Provide Feedback:**
|
|
237
|
+
- Check get_my_messages for review requests from business-analyst
|
|
238
|
+
- Assess implementation complexity and effort
|
|
239
|
+
- Identify technical challenges and risks
|
|
240
|
+
- Evaluate compatibility with existing codebase
|
|
241
|
+
- Discuss testing requirements
|
|
242
|
+
|
|
243
|
+
**Constraints:**
|
|
244
|
+
- Do NOT edit the plan file (business-analyst has exclusive control)
|
|
245
|
+
- Do NOT proceed to next phase
|
|
246
|
+
|
|
247
|
+
**Provide Value:**
|
|
248
|
+
- Use get_my_messages to check for review requests
|
|
249
|
+
- Use send_message to provide honest complexity estimates
|
|
250
|
+
- Highlight potential implementation challenges
|
|
251
|
+
- Suggest simplifications if requirements are too complex
|
|
252
|
+
|
|
253
|
+
# For needs_clarification loop
|
|
254
|
+
- trigger: 'needs_clarification'
|
|
255
|
+
to: 'specify'
|
|
256
|
+
role: business-analyst
|
|
257
|
+
transition_reason: 'Specification needs user clarification'
|
|
258
|
+
additional_instructions: |
|
|
259
|
+
Resolve unresolved clarifications by:
|
|
260
|
+
- Present structured questions to the user
|
|
261
|
+
- Wait for their responses
|
|
262
|
+
- Update the specification accordingly
|
|
263
|
+
|
|
264
|
+
clarify:
|
|
265
|
+
description: 'Review and clarify specification details'
|
|
266
|
+
default_instructions: |
|
|
267
|
+
**Team Collaboration Mode**
|
|
268
|
+
|
|
269
|
+
You are `$VIBE_ROLE` working in a collaborative team on this feature development.
|
|
270
|
+
|
|
271
|
+
Business-analyst is responsible. Architect is consulted.
|
|
272
|
+
|
|
273
|
+
transitions:
|
|
274
|
+
# Business Analyst is RESPONSIBLE for clarify phase
|
|
275
|
+
- trigger: 'clarification_complete'
|
|
276
|
+
to: 'plan'
|
|
277
|
+
role: business-analyst
|
|
278
|
+
transition_reason: 'All clarifications resolved, handing off to architect'
|
|
279
|
+
additional_instructions: |
|
|
280
|
+
**Drive the clarify phase as the RESPONSIBLE agent.**
|
|
281
|
+
|
|
282
|
+
**Your Exclusive Permissions:**
|
|
283
|
+
- Edit the plan file
|
|
284
|
+
- Proceed to the next phase
|
|
285
|
+
|
|
286
|
+
**STEP 1: Review Specification**
|
|
287
|
+
- Check for any remaining `[NEEDS CLARIFICATION]` markers
|
|
288
|
+
- Verify all functional requirements are testable
|
|
289
|
+
- Ensure success criteria are measurable
|
|
290
|
+
- Validate user scenarios are complete
|
|
291
|
+
|
|
292
|
+
**STEP 2: Resolve Remaining Clarifications**
|
|
293
|
+
If `[NEEDS CLARIFICATION]` markers exist:
|
|
294
|
+
- Extract all markers from the spec (max 3)
|
|
295
|
+
- Present structured questions with options to the user
|
|
296
|
+
- Wait for user responses
|
|
297
|
+
- Update specification with chosen answers
|
|
298
|
+
|
|
299
|
+
**STEP 3: Validate and Prepare Handoff**
|
|
300
|
+
- Ensure no implementation details leaked in
|
|
301
|
+
- Verify requirements align with existing system
|
|
302
|
+
- Use send_message to ask architect for final spec review
|
|
303
|
+
|
|
304
|
+
**STEP 4: Hand Off to Architect**
|
|
305
|
+
- Use send_message to architect: "Specification is complete and clarified. Please take the lead for the plan phase. Review: `$VIBE_DIR/specs/$BRANCH_NAME/spec.md`"
|
|
306
|
+
- Use send_message to developer: "Specification finalized, architect will create the plan next"
|
|
307
|
+
- Use send_message_to_operator: "Clarification complete, handing off to architect for planning"
|
|
308
|
+
- You transition to CONSULTED role in plan phase
|
|
309
|
+
- Call proceed_to_phase only when ready
|
|
310
|
+
|
|
311
|
+
# Architect is CONSULTED during clarify phase
|
|
312
|
+
- trigger: 'clarification_complete'
|
|
313
|
+
to: 'plan'
|
|
314
|
+
role: architect
|
|
315
|
+
transition_reason: 'Clarifications resolved, preparing to take lead in plan phase'
|
|
316
|
+
additional_instructions: |
|
|
317
|
+
**Provide Consultation as CONSULTED Agent**
|
|
318
|
+
|
|
319
|
+
Business-analyst is finalizing clarifications. You are in consultative mode.
|
|
320
|
+
|
|
321
|
+
**Monitor and Provide Feedback:**
|
|
322
|
+
- Check get_my_messages for final review requests
|
|
323
|
+
- Validate specification is ready for technical planning
|
|
324
|
+
- Provide feedback on any remaining technical concerns
|
|
325
|
+
|
|
326
|
+
**Constraints:**
|
|
327
|
+
- Do NOT edit the plan file (business-analyst has exclusive control)
|
|
328
|
+
- Do NOT proceed to next phase
|
|
329
|
+
|
|
330
|
+
**Prepare for Your Leadership Role:**
|
|
331
|
+
When business-analyst completes clarify phase, YOU become RESPONSIBLE:
|
|
332
|
+
- You will take the lead in the plan phase
|
|
333
|
+
- Prepare to design the system architecture and create implementation plan
|
|
334
|
+
|
|
335
|
+
# Developer is INFORMED during clarify phase
|
|
336
|
+
- trigger: 'clarification_complete'
|
|
337
|
+
to: 'plan'
|
|
338
|
+
role: developer
|
|
339
|
+
transition_reason: 'Clarifications resolved, architect taking lead for planning'
|
|
340
|
+
additional_instructions: |
|
|
341
|
+
**Monitor Progress as INFORMED Agent**
|
|
342
|
+
|
|
343
|
+
Business-analyst is finalizing clarifications. You are in monitoring mode.
|
|
344
|
+
|
|
345
|
+
**Stay Aware:**
|
|
346
|
+
- Monitor specification updates
|
|
347
|
+
- Prepare for consultation during planning phase
|
|
348
|
+
- No active work required in this phase
|
|
349
|
+
|
|
350
|
+
**Get Ready for Next Phase:**
|
|
351
|
+
- Architect will take the lead in plan phase
|
|
352
|
+
- You will be CONSULTED during planning
|
|
353
|
+
- Prepare to provide implementation feedback when architect asks
|
|
354
|
+
|
|
355
|
+
# For needs_user_input loop
|
|
356
|
+
- trigger: 'needs_user_input'
|
|
357
|
+
to: 'clarify'
|
|
358
|
+
role: business-analyst
|
|
359
|
+
transition_reason: 'Waiting for user responses to clarification questions'
|
|
360
|
+
additional_instructions: |
|
|
361
|
+
Resolve user input needs by:
|
|
362
|
+
- Present clarification questions clearly
|
|
363
|
+
- Wait for user input
|
|
364
|
+
- Process responses before proceeding
|
|
365
|
+
|
|
366
|
+
plan:
|
|
367
|
+
description: 'Generate implementation plan with constitutional compliance'
|
|
368
|
+
default_instructions: |
|
|
369
|
+
**Team Collaboration Mode**
|
|
370
|
+
|
|
371
|
+
You are `$VIBE_ROLE` working in a collaborative team on this feature development.
|
|
372
|
+
|
|
373
|
+
Architect is responsible. Business-analyst and developer are consulted.
|
|
374
|
+
|
|
375
|
+
transitions:
|
|
376
|
+
# Business Analyst is CONSULTED during plan phase
|
|
377
|
+
- trigger: 'plan_complete'
|
|
378
|
+
to: 'tasks'
|
|
379
|
+
role: business-analyst
|
|
380
|
+
transition_reason: 'Plan completed, architect moving to tasks'
|
|
381
|
+
additional_instructions: |
|
|
382
|
+
**Provide Consultation as CONSULTED Agent**
|
|
383
|
+
|
|
384
|
+
Architect is driving technical planning. You are in consultative mode.
|
|
385
|
+
|
|
386
|
+
**Monitor and Validate:**
|
|
387
|
+
- Check get_my_messages for questions from architect
|
|
388
|
+
- Validate plan aligns with specification requirements
|
|
389
|
+
- Clarify any ambiguous requirements
|
|
390
|
+
- Approve or suggest adjustments to technical approach
|
|
391
|
+
|
|
392
|
+
**Constraints:**
|
|
393
|
+
- Do NOT edit the plan file (architect has exclusive control)
|
|
394
|
+
- Do NOT proceed to next phase
|
|
395
|
+
|
|
396
|
+
**Provide Value:**
|
|
397
|
+
- Use get_my_messages to check for architect's questions
|
|
398
|
+
- Use send_message to validate alignment with spec
|
|
399
|
+
- Raise concerns if plan doesn't meet business requirements
|
|
400
|
+
- Clarify user needs when architect asks
|
|
401
|
+
|
|
402
|
+
# Architect is RESPONSIBLE for plan phase
|
|
403
|
+
- trigger: 'plan_complete'
|
|
404
|
+
to: 'tasks'
|
|
405
|
+
role: architect
|
|
406
|
+
transition_reason: 'Implementation plan completed, moving to task breakdown'
|
|
407
|
+
additional_instructions: |
|
|
408
|
+
**Drive the plan phase as the RESPONSIBLE agent.**
|
|
409
|
+
|
|
410
|
+
**Your Exclusive Permissions:**
|
|
411
|
+
- Edit the plan file
|
|
412
|
+
- Proceed to the next phase
|
|
413
|
+
|
|
414
|
+
**STEP 1: Load Context**
|
|
415
|
+
- Read specification: `$VIBE_DIR/specs/$BRANCH_NAME/spec.md`
|
|
416
|
+
- Read analysis: `$VIBE_DIR/specs/$BRANCH_NAME/current-state-analysis.md` (if exists)
|
|
417
|
+
- Review existing project patterns and conventions
|
|
418
|
+
|
|
419
|
+
**STEP 2: Collaborate on Technical Approach**
|
|
420
|
+
- Use send_message to business-analyst: "Does this approach align with requirements?"
|
|
421
|
+
- Use send_message to developer: "Is this implementation strategy sound?"
|
|
422
|
+
- Wait for feedback and incorporate it
|
|
423
|
+
|
|
424
|
+
**STEP 3: Analyze Technical Context**
|
|
425
|
+
- Identify integration with existing system
|
|
426
|
+
- Map dependencies and integration points
|
|
427
|
+
- Choose appropriate technology stack
|
|
428
|
+
- Mark unknowns for research
|
|
429
|
+
|
|
430
|
+
**STEP 4: Create Plan**
|
|
431
|
+
Document in `$VIBE_DIR/specs/$BRANCH_NAME/plan.md`:
|
|
432
|
+
- High-level architecture
|
|
433
|
+
- Technology decisions
|
|
434
|
+
- Integration strategy
|
|
435
|
+
- Implementation phases
|
|
436
|
+
|
|
437
|
+
**STEP 5: Transition to Tasks**
|
|
438
|
+
- You remain RESPONSIBLE in tasks phase (continue driving technical work)
|
|
439
|
+
- Use send_message_to_operator: "Planning complete, moving to task breakdown"
|
|
440
|
+
- Call proceed_to_phase only when ready
|
|
441
|
+
|
|
442
|
+
# Developer is CONSULTED during plan phase
|
|
443
|
+
- trigger: 'plan_complete'
|
|
444
|
+
to: 'tasks'
|
|
445
|
+
role: developer
|
|
446
|
+
transition_reason: 'Plan completed, architect moving to tasks'
|
|
447
|
+
additional_instructions: |
|
|
448
|
+
**Provide Consultation as CONSULTED Agent**
|
|
449
|
+
|
|
450
|
+
Architect is driving technical planning. You are in consultative mode.
|
|
451
|
+
|
|
452
|
+
**Monitor and Provide Feedback:**
|
|
453
|
+
- Check get_my_messages for questions from architect
|
|
454
|
+
- Assess implementation feasibility and complexity
|
|
455
|
+
- Discuss existing code patterns and conventions
|
|
456
|
+
- Identify potential technical challenges
|
|
457
|
+
- Suggest testing requirements and strategies
|
|
458
|
+
|
|
459
|
+
**Constraints:**
|
|
460
|
+
- Do NOT edit the plan file (architect has exclusive control)
|
|
461
|
+
- Do NOT proceed to next phase
|
|
462
|
+
|
|
463
|
+
**Provide Value:**
|
|
464
|
+
- Use get_my_messages to check for architect's questions
|
|
465
|
+
- Use send_message to provide honest implementation feedback
|
|
466
|
+
- Suggest alternative approaches if needed
|
|
467
|
+
- Raise concerns about technical risks
|
|
468
|
+
|
|
469
|
+
# For architectural_conflict loop
|
|
470
|
+
- trigger: 'architectural_conflict'
|
|
471
|
+
to: 'plan'
|
|
472
|
+
role: architect
|
|
473
|
+
transition_reason: 'Plan conflicts with existing architecture, needs revision'
|
|
474
|
+
additional_instructions: |
|
|
475
|
+
Resolve architectural conflicts by:
|
|
476
|
+
- Review how plan conflicts with existing architecture or principles
|
|
477
|
+
- Revise the approach to ensure proper integration
|
|
478
|
+
|
|
479
|
+
tasks:
|
|
480
|
+
description: 'Generate actionable, dependency-ordered tasks'
|
|
481
|
+
default_instructions: |
|
|
482
|
+
**Team Collaboration Mode**
|
|
483
|
+
|
|
484
|
+
You are `$VIBE_ROLE` working in a collaborative team on this feature development.
|
|
485
|
+
|
|
486
|
+
Architect is responsible. Business-analyst is informed. Developer is consulted.
|
|
487
|
+
|
|
488
|
+
transitions:
|
|
489
|
+
# Business Analyst is INFORMED during tasks phase
|
|
490
|
+
- trigger: 'tasks_generated'
|
|
491
|
+
to: 'implement'
|
|
492
|
+
role: business-analyst
|
|
493
|
+
transition_reason: 'Tasks generated, developer taking lead for implementation'
|
|
494
|
+
additional_instructions: |
|
|
495
|
+
**Monitor Progress as INFORMED Agent**
|
|
496
|
+
|
|
497
|
+
Architect is creating the task breakdown. You are in monitoring mode.
|
|
498
|
+
|
|
499
|
+
**Stay Aware:**
|
|
500
|
+
- Monitor task structure
|
|
501
|
+
- Prepare for consultation during implementation
|
|
502
|
+
- No active work required in this phase
|
|
503
|
+
|
|
504
|
+
**Get Ready for Next Phase:**
|
|
505
|
+
- Developer will take the lead in implement phase
|
|
506
|
+
- You will be CONSULTED during implementation
|
|
507
|
+
- Prepare to clarify requirements when developer asks
|
|
508
|
+
|
|
509
|
+
# Architect is RESPONSIBLE for tasks phase
|
|
510
|
+
- trigger: 'tasks_generated'
|
|
511
|
+
to: 'implement'
|
|
512
|
+
role: architect
|
|
513
|
+
transition_reason: 'Tasks generated, handing off to developer'
|
|
514
|
+
additional_instructions: |
|
|
515
|
+
**Drive the tasks phase as the RESPONSIBLE agent.**
|
|
516
|
+
|
|
517
|
+
**Your Exclusive Permissions:**
|
|
518
|
+
- Edit the plan file
|
|
519
|
+
- Proceed to the next phase
|
|
520
|
+
|
|
521
|
+
**STEP 1: Load Design Documents**
|
|
522
|
+
- Required: `$VIBE_DIR/specs/$BRANCH_NAME/plan.md`, `$VIBE_DIR/specs/$BRANCH_NAME/spec.md`
|
|
523
|
+
- Optional: `$VIBE_DIR/specs/$BRANCH_NAME/technology-research.md`
|
|
524
|
+
|
|
525
|
+
**STEP 2: Extract User Stories**
|
|
526
|
+
- From spec.md with priorities (P1, P2, P3...)
|
|
527
|
+
|
|
528
|
+
**STEP 3: Generate Task Breakdown**
|
|
529
|
+
- Setup Phase: Integration and shared infrastructure
|
|
530
|
+
- Foundational Phase: Prerequisites for the feature
|
|
531
|
+
- User Story Phases (P1, P2, P3...): One phase per story
|
|
532
|
+
- Mark parallelizable tasks with `[P]`
|
|
533
|
+
|
|
534
|
+
**STEP 4: Collaborate with Developer**
|
|
535
|
+
- Use send_message to developer: "Please review task breakdown for implementability"
|
|
536
|
+
- Wait for feedback and adjust
|
|
537
|
+
|
|
538
|
+
**STEP 5: Create Documentation**
|
|
539
|
+
- `$VIBE_DIR/specs/$BRANCH_NAME/data-model.md`
|
|
540
|
+
- `$VIBE_DIR/specs/$BRANCH_NAME/contracts/` (API contracts)
|
|
541
|
+
- `$VIBE_DIR/specs/$BRANCH_NAME/quickstart.md`
|
|
542
|
+
- `$VIBE_DIR/specs/$BRANCH_NAME/tasks.md`
|
|
543
|
+
|
|
544
|
+
**STEP 6: Hand Off to Developer**
|
|
545
|
+
- Use send_message to developer: "Task breakdown complete. Please take the lead for implementation phase. See: `$VIBE_DIR/specs/$BRANCH_NAME/tasks.md`"
|
|
546
|
+
- Use send_message to business-analyst: "Implementation will begin, you'll be consulted for requirement clarifications"
|
|
547
|
+
- Use send_message_to_operator: "Tasks ready, handing off to developer"
|
|
548
|
+
- You transition to CONSULTED role in implement phase
|
|
549
|
+
- Call proceed_to_phase only when ready
|
|
550
|
+
|
|
551
|
+
# Developer is CONSULTED during tasks phase
|
|
552
|
+
- trigger: 'tasks_generated'
|
|
553
|
+
to: 'implement'
|
|
554
|
+
role: developer
|
|
555
|
+
transition_reason: 'Tasks generated, preparing to take lead for implementation'
|
|
556
|
+
additional_instructions: |
|
|
557
|
+
**Provide Consultation as CONSULTED Agent**
|
|
558
|
+
|
|
559
|
+
Architect is creating the task breakdown. You are in consultative mode.
|
|
560
|
+
|
|
561
|
+
**Monitor and Provide Feedback:**
|
|
562
|
+
- Check get_my_messages for review requests from architect
|
|
563
|
+
- Assess task granularity and completeness
|
|
564
|
+
- Discuss implementation order and dependencies
|
|
565
|
+
- Provide complexity estimates
|
|
566
|
+
- Suggest testing approach
|
|
567
|
+
|
|
568
|
+
**Constraints:**
|
|
569
|
+
- Do NOT edit the plan file (architect has exclusive control)
|
|
570
|
+
- Do NOT proceed to next phase
|
|
571
|
+
|
|
572
|
+
**Prepare for Your Leadership Role:**
|
|
573
|
+
When architect completes tasks phase, YOU become RESPONSIBLE:
|
|
574
|
+
- You will take the lead in the implement phase
|
|
575
|
+
- Review the tasks.md and prepare to begin implementation
|
|
576
|
+
|
|
577
|
+
implement:
|
|
578
|
+
description: 'Execute implementation following the task breakdown'
|
|
579
|
+
default_instructions: |
|
|
580
|
+
**Team Collaboration Mode**
|
|
581
|
+
|
|
582
|
+
You are `$VIBE_ROLE` working in a collaborative team on this feature development.
|
|
583
|
+
|
|
584
|
+
Developer is responsible. Architect and business-analyst are consulted.
|
|
585
|
+
|
|
586
|
+
transitions:
|
|
587
|
+
# Business Analyst is CONSULTED during implement phase
|
|
588
|
+
- trigger: 'implementation_complete'
|
|
589
|
+
to: 'implement'
|
|
590
|
+
role: business-analyst
|
|
591
|
+
transition_reason: 'Implementation complete'
|
|
592
|
+
additional_instructions: |
|
|
593
|
+
**Provide Consultation as CONSULTED Agent**
|
|
594
|
+
|
|
595
|
+
Developer is driving implementation. You are in consultative mode.
|
|
596
|
+
|
|
597
|
+
**Monitor and Clarify:**
|
|
598
|
+
- Check get_my_messages for questions from developer
|
|
599
|
+
- Clarify requirements interpretation
|
|
600
|
+
- Explain user story acceptance criteria
|
|
601
|
+
- Document business rules and constraints
|
|
602
|
+
- Validate success criteria
|
|
603
|
+
|
|
604
|
+
**Constraints:**
|
|
605
|
+
- Do NOT edit the plan file (developer has exclusive control)
|
|
606
|
+
- Do NOT proceed to next phase
|
|
607
|
+
|
|
608
|
+
**Provide Value:**
|
|
609
|
+
- Use get_my_messages to check for developer's questions
|
|
610
|
+
- Use send_message to clarify requirements quickly
|
|
611
|
+
- Validate implementation against specification when asked
|
|
612
|
+
- Approve acceptance criteria when developer completes features
|
|
613
|
+
|
|
614
|
+
# Architect is CONSULTED during implement phase
|
|
615
|
+
- trigger: 'implementation_complete'
|
|
616
|
+
to: 'implement'
|
|
617
|
+
role: architect
|
|
618
|
+
transition_reason: 'Implementation complete'
|
|
619
|
+
additional_instructions: |
|
|
620
|
+
**Provide Consultation as CONSULTED Agent**
|
|
621
|
+
|
|
622
|
+
Developer is driving implementation. You are in consultative mode.
|
|
623
|
+
|
|
624
|
+
**Monitor and Provide Guidance:**
|
|
625
|
+
- Check get_my_messages for questions from developer
|
|
626
|
+
- Guide architecture decisions and patterns
|
|
627
|
+
- Discuss design patterns and best practices
|
|
628
|
+
- Address integration approaches
|
|
629
|
+
- Clarify technical trade-offs
|
|
630
|
+
|
|
631
|
+
**Constraints:**
|
|
632
|
+
- Do NOT edit the plan file (developer has exclusive control)
|
|
633
|
+
- Do NOT proceed to next phase
|
|
634
|
+
|
|
635
|
+
**Provide Value:**
|
|
636
|
+
- Use get_my_messages to check for developer's questions
|
|
637
|
+
- Use send_message to provide architecture guidance
|
|
638
|
+
- Review code against architecture plan when asked
|
|
639
|
+
- Help resolve technical blockers
|
|
640
|
+
|
|
641
|
+
# Developer is RESPONSIBLE for implement phase
|
|
642
|
+
- trigger: 'implementation_complete'
|
|
643
|
+
to: 'implement'
|
|
644
|
+
role: developer
|
|
645
|
+
transition_reason: 'Implementation complete, feature ready'
|
|
646
|
+
additional_instructions: |
|
|
647
|
+
**Drive the implement phase as the RESPONSIBLE agent.**
|
|
648
|
+
|
|
649
|
+
**Your Exclusive Permissions:**
|
|
650
|
+
- Edit the plan file
|
|
651
|
+
- Mark work as complete
|
|
652
|
+
|
|
653
|
+
**STEP 1: Execute Tasks**
|
|
654
|
+
- Follow task breakdown from `$VIBE_DIR/specs/$BRANCH_NAME/tasks.md`
|
|
655
|
+
- Work through tasks in order
|
|
656
|
+
- Mark completed tasks with `[x]` in plan file
|
|
657
|
+
- Focus on one user story at a time
|
|
658
|
+
|
|
659
|
+
**STEP 2: Collaborate When Needed**
|
|
660
|
+
- Use send_message to architect when design questions arise
|
|
661
|
+
- Use send_message to business-analyst when requirements unclear
|
|
662
|
+
- Wait for team responses to unblock your work
|
|
663
|
+
|
|
664
|
+
**STEP 3: Maintain Quality Standards**
|
|
665
|
+
- Follow existing code patterns
|
|
666
|
+
- Write tests for new functionality
|
|
667
|
+
- Ensure integration with existing system
|
|
668
|
+
- Handle errors appropriately
|
|
669
|
+
|
|
670
|
+
**STEP 4: Track Progress**
|
|
671
|
+
- Update plan file with completed tasks
|
|
672
|
+
- Document any deviations or decisions
|
|
673
|
+
- Keep implementation aligned with specification
|
|
674
|
+
|
|
675
|
+
**STEP 5: Final Validation Before Completion**
|
|
676
|
+
- Use send_message to architect: "Please review implementation against architecture plan"
|
|
677
|
+
- Use send_message to business-analyst: "Please validate implementation meets specification"
|
|
678
|
+
- Wait for their reviews and address any concerns
|
|
679
|
+
- Run all tests and ensure they pass
|
|
680
|
+
- Use send_message_to_operator: "Implementation complete and reviewed by team"
|
|
681
|
+
- This is a terminal state - feature is complete
|
|
682
|
+
|
|
683
|
+
# Implementation blocked - return to plan phase
|
|
684
|
+
- trigger: 'implementation_blocked'
|
|
685
|
+
to: 'plan'
|
|
686
|
+
role: developer
|
|
687
|
+
transition_reason: 'Implementation blocked, need to revise plan'
|
|
688
|
+
additional_instructions: |
|
|
689
|
+
Resolve blocking issues by:
|
|
690
|
+
- Use send_message to architect: "Implementation blocked: [explain issue]. Need to revise plan."
|
|
691
|
+
- Use send_message to business-analyst: "Implementation blocked, may need requirement changes: [explain]"
|
|
692
|
+
- Use send_message_to_operator: "Implementation blocked, returning to plan phase"
|
|
693
|
+
- Call proceed_to_phase - architect will take lead again in plan phase
|
|
694
|
+
|
|
695
|
+
# Integration issues - return to analyze
|
|
696
|
+
- trigger: 'integration_issues'
|
|
697
|
+
to: 'analyze'
|
|
698
|
+
role: developer
|
|
699
|
+
transition_reason: 'Integration issues require deeper system analysis'
|
|
700
|
+
additional_instructions: |
|
|
701
|
+
Resolve integration issues by:
|
|
702
|
+
- Use send_message to business-analyst: "Integration issues found: [explain]. Need deeper analysis."
|
|
703
|
+
- Use send_message to architect: "Integration problems require re-analysis: [explain]"
|
|
704
|
+
- Use send_message_to_operator: "Integration issues, returning to analyze phase"
|
|
705
|
+
- Call proceed_to_phase - business-analyst will take lead in analyze phase
|
|
706
|
+
|
|
707
|
+
# Global transitions available from any state
|
|
708
|
+
global_transitions:
|
|
709
|
+
- trigger: 'abandon_feature'
|
|
710
|
+
to: 'analyze'
|
|
711
|
+
transition_reason: 'Feature abandoned, restart from beginning'
|
|
712
|
+
additional_instructions: |
|
|
713
|
+
If you want to restart, begin again by analyzing the requirements and current state.
|