@codemcp/workflows-core 5.2.1 → 5.2.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.
@@ -31,8 +31,7 @@ states:
31
31
  default_instructions: |
32
32
  **Team Collaboration Mode**
33
33
 
34
- You are $VIBE_ROLE working in a collaborative team starting a new project.
35
- Current phase: CONSTITUTION
34
+ You are `$VIBE_ROLE` working in a collaborative team starting a new project.
36
35
 
37
36
  All team members collaborate on establishing project principles.
38
37
 
@@ -44,49 +43,53 @@ states:
44
43
  role: architect
45
44
  transition_reason: 'Constitutional framework established, moving to specification'
46
45
  additional_instructions: |
47
- **You are LEADING the constitution phase.**
46
+ **STEP 1: Lead the constitutional framework**
48
47
 
49
- Work with the full team to establish the constitutional framework.
48
+ Work with the full team to establish core principles.
50
49
 
51
- **Constitution Tasks:**
52
- 1. Create `constitution.md` in project root
53
- 2. Define core principles for the project
54
- 3. Establish quality gates and governance
50
+ **STEP 2: Create constitutional documentation**
55
51
 
56
- **Collaboration:**
57
- - Use send_message to business-analyst: "What are the key business principles?"
58
- - Use send_message to developer: "What are essential development practices?"
52
+ - Create `constitution.md` in project root
53
+ - Define core principles for the project
54
+ - Establish quality gates and governance
55
+
56
+ **STEP 3: Collaborate with team members**
57
+
58
+ - Send message to business-analyst: "What are the key business principles?"
59
+ - Send message to developer: "What are essential development practices?"
59
60
  - Build consensus on project values
60
61
 
61
- **Template sections**:
62
+ **STEP 4: Document template sections**
63
+
62
64
  - Core Principles (Specifications First, User Value, Simplicity, etc.)
63
65
  - Quality Gates
64
66
  - Governance
65
67
 
66
- **Handoff to Business-Analyst:**
68
+ **STEP 5: Hand off to Business-Analyst**
67
69
 
68
- Before proceeding:
69
- 1. Use send_message to business-analyst: "Constitution established. Please take the lead for specification phase."
70
- 2. Use send_message to developer: "Constitution ready, specification will begin next"
71
- 3. Use send_message_to_operator: "Constitution complete, handing off to business-analyst"
72
- 4. Call proceed_to_phase
70
+ - Send message to business-analyst: "Constitution established. Please take the lead for specification phase."
71
+ - Send message to developer: "Constitution ready, specification will begin next"
72
+ - Send message to operator: "Constitution complete, handing off to business-analyst"
73
+ - Call `proceed_to_phase`
73
74
 
74
75
  - trigger: 'constitution_established'
75
76
  to: 'specify'
76
77
  role: business-analyst
77
78
  transition_reason: 'Constitutional framework established, preparing to specify'
78
79
  additional_instructions: |
79
- **You are CONTRIBUTING to the constitution phase.**
80
+ **Contribute to the constitutional framework**
80
81
 
81
82
  Work with architect to establish project principles.
82
83
 
83
- **Your Contributions:**
84
+ **Business value contributions:**
85
+
84
86
  - Provide input on business values and user-centric principles
85
87
  - Suggest quality standards for specifications
86
88
  - Define what "done" means from business perspective
87
89
 
88
- **Handoff Notice:**
89
- - When constitution is complete, YOU become RESPONSIBLE
90
+ **Next phase:**
91
+
92
+ - When constitution is complete, you become RESPONSIBLE
90
93
  - You will take the lead in specify phase
91
94
  - Prepare to create the feature specification
92
95
 
@@ -95,11 +98,12 @@ states:
95
98
  role: developer
96
99
  transition_reason: 'Constitutional framework established, transitioning to specification'
97
100
  additional_instructions: |
98
- **You are CONTRIBUTING to the constitution phase.**
101
+ **Contribute to the constitutional framework**
99
102
 
100
103
  Work with architect to establish project principles.
101
104
 
102
- **Your Contributions:**
105
+ **Development contributions:**
106
+
103
107
  - Provide input on code quality and maintainability principles
104
108
  - Suggest development and testing practices
105
109
  - Share experience with what works in practice
@@ -109,8 +113,7 @@ states:
109
113
  default_instructions: |
110
114
  **Team Collaboration Mode**
111
115
 
112
- You are $VIBE_ROLE working in a collaborative team on this new project.
113
- Current phase: SPECIFY
116
+ You are `$VIBE_ROLE` working in a collaborative team on this new project.
114
117
 
115
118
  Business-analyst is responsible. Architect and developer are consulted.
116
119
 
@@ -121,46 +124,40 @@ states:
121
124
  role: business-analyst
122
125
  transition_reason: 'Feature specification completed, handing off to architect'
123
126
  additional_instructions: |
124
- **You are RESPONSIBLE for the specify phase.**
127
+ **Lead the specification phase**
125
128
 
126
129
  Create the project specification following greenfield specification process.
127
- (Instructions similar to sdd-feature-crowd specify phase)
128
130
 
129
131
  **Handoff to Architect:**
130
132
 
131
- Before proceeding:
132
- 1. Use send_message to architect: "Specification complete. Please take the lead for plan phase."
133
- 2. Use send_message_to_operator: "Specification complete, handing off to architect"
134
- 3. Call proceed_to_phase
133
+ - Send message to architect: "Specification complete. Please take the lead for plan phase."
134
+ - Send message to operator: "Specification complete, handing off to architect"
135
+ - Call `proceed_to_phase`
135
136
 
136
137
  - trigger: 'specification_complete'
137
138
  to: 'plan'
138
139
  role: architect
139
140
  transition_reason: 'Specification completed, preparing to plan'
140
141
  additional_instructions: |
141
- **You are CONSULTED during the specify phase.**
142
+ **Provide input during specification phase**
142
143
 
143
- (Consultative instructions similar to sdd-feature-crowd)
144
+ **Next phase:**
144
145
 
145
- **Handoff Notice:**
146
- - When complete, YOU become RESPONSIBLE in plan phase
146
+ - When complete, you become RESPONSIBLE in plan phase
147
147
 
148
148
  - trigger: 'specification_complete'
149
149
  to: 'plan'
150
150
  role: developer
151
151
  transition_reason: 'Specification completed, architect will plan'
152
152
  additional_instructions: |
153
- **You are CONSULTED during the specify phase.**
154
-
155
- (Consultative instructions similar to sdd-feature-crowd)
153
+ **Provide input during specification phase**
156
154
 
157
155
  plan:
158
156
  description: 'Generate implementation plan with constitutional compliance'
159
157
  default_instructions: |
160
158
  **Team Collaboration Mode**
161
159
 
162
- You are $VIBE_ROLE working in a collaborative team on this new project.
163
- Current phase: PLAN
160
+ You are `$VIBE_ROLE` working in a collaborative team on this new project.
164
161
 
165
162
  Architect is responsible for technology decisions and architecture.
166
163
 
@@ -170,39 +167,39 @@ states:
170
167
  role: architect
171
168
  transition_reason: 'Implementation plan completed, moving to tasks'
172
169
  additional_instructions: |
173
- **You are RESPONSIBLE for the plan phase.**
170
+ **Lead the planning phase**
171
+
172
+ **Execute planning activities:**
174
173
 
175
- **Planning includes:**
176
- - Technology stack selection (ask user for preferences)
177
- - Architecture design
178
- - Constitutional compliance check
179
- - High-level design documentation
174
+ - Select technology stack (ask user for preferences)
175
+ - Design architecture
176
+ - Check constitutional compliance
177
+ - Document high-level design
180
178
 
181
- **You remain RESPONSIBLE in tasks phase**
179
+ **Continue in next phase:**
180
+
181
+ - You remain RESPONSIBLE in tasks phase
182
182
 
183
183
  - trigger: 'plan_complete'
184
184
  to: 'tasks'
185
185
  role: business-analyst
186
186
  transition_reason: 'Plan completed, architect moving to tasks'
187
187
  additional_instructions: |
188
- **You are CONSULTED during the plan phase.**
189
- (Consultative instructions)
188
+ **Provide input during planning phase**
190
189
 
191
190
  - trigger: 'plan_complete'
192
191
  to: 'tasks'
193
192
  role: developer
194
193
  transition_reason: 'Plan completed, architect moving to tasks'
195
194
  additional_instructions: |
196
- **You are CONSULTED during the plan phase.**
197
- (Consultative instructions)
195
+ **Provide input during planning phase**
198
196
 
199
197
  tasks:
200
198
  description: 'Generate actionable, dependency-ordered tasks'
201
199
  default_instructions: |
202
200
  **Team Collaboration Mode**
203
201
 
204
- You are $VIBE_ROLE working in a collaborative team on this new project.
205
- Current phase: TASKS
202
+ You are `$VIBE_ROLE` working in a collaborative team on this new project.
206
203
 
207
204
  Architect creates task breakdown.
208
205
 
@@ -212,36 +209,38 @@ states:
212
209
  role: architect
213
210
  transition_reason: 'Tasks generated, handing off to developer'
214
211
  additional_instructions: |
215
- **You are RESPONSIBLE for the tasks phase.**
212
+ **Lead the tasks phase**
216
213
 
217
214
  Generate comprehensive task breakdown organized by user stories.
218
215
 
219
216
  **Handoff to Developer:**
220
- Before proceeding, send handoff messages to developer.
217
+
218
+ - Send handoff messages to developer
221
219
 
222
220
  - trigger: 'tasks_generated'
223
221
  to: 'implement'
224
222
  role: developer
225
223
  transition_reason: 'Tasks generated, preparing to implement'
226
224
  additional_instructions: |
227
- **You are CONSULTED during tasks phase.**
225
+ **Provide input during tasks phase**
228
226
 
229
- **Handoff Notice:** YOU become RESPONSIBLE in implement phase.
227
+ **Next phase:**
228
+
229
+ - You become RESPONSIBLE in implement phase
230
230
 
231
231
  - trigger: 'tasks_generated'
232
232
  to: 'implement'
233
233
  role: business-analyst
234
234
  transition_reason: 'Tasks generated, developer will implement'
235
235
  additional_instructions: |
236
- **You are INFORMED during tasks phase.**
236
+ **Receive notification during tasks phase**
237
237
 
238
238
  implement:
239
239
  description: 'Execute implementation following task breakdown'
240
240
  default_instructions: |
241
241
  **Team Collaboration Mode**
242
242
 
243
- You are $VIBE_ROLE working in a collaborative team on this new project.
244
- Current phase: IMPLEMENT
243
+ You are `$VIBE_ROLE` working in a collaborative team on this new project.
245
244
 
246
245
  Developer drives implementation.
247
246
 
@@ -251,35 +250,34 @@ states:
251
250
  role: developer
252
251
  transition_reason: 'Implementation complete, team will document'
253
252
  additional_instructions: |
254
- **You are RESPONSIBLE for the implement phase.**
253
+ **Lead the implementation phase**
255
254
 
256
255
  Execute implementation following task breakdown.
257
- (Instructions similar to sdd-feature-crowd)
258
256
 
259
257
  **Handoff to Team Documentation:**
260
- All team members contribute to documentation phase.
258
+
259
+ - All team members contribute to documentation phase
261
260
 
262
261
  - trigger: 'implementation_complete'
263
262
  to: 'document'
264
263
  role: architect
265
264
  transition_reason: 'Implementation complete, moving to documentation'
266
265
  additional_instructions: |
267
- **You are CONSULTED during implement phase.**
266
+ **Provide input during implementation phase**
268
267
 
269
268
  - trigger: 'implementation_complete'
270
269
  to: 'document'
271
270
  role: business-analyst
272
271
  transition_reason: 'Implementation complete, moving to documentation'
273
272
  additional_instructions: |
274
- **You are CONSULTED during implement phase.**
273
+ **Provide input during implementation phase**
275
274
 
276
275
  document:
277
276
  description: 'Create comprehensive project documentation'
278
277
  default_instructions: |
279
278
  **Team Collaboration Mode**
280
279
 
281
- You are $VIBE_ROLE working in a collaborative team on this new project.
282
- Current phase: DOCUMENT
280
+ You are `$VIBE_ROLE` working in a collaborative team on this new project.
283
281
 
284
282
  All team members contribute to documentation.
285
283
 
@@ -289,14 +287,16 @@ states:
289
287
  role: developer
290
288
  transition_reason: 'Documentation complete, project ready'
291
289
  additional_instructions: |
292
- **You are RESPONSIBLE for finalizing documentation.**
290
+ **Finalize documentation**
293
291
 
294
292
  Coordinate with team to create:
293
+
295
294
  - User documentation
296
295
  - Developer documentation
297
296
  - Project documentation (README, changelog, etc.)
298
297
 
299
- **Collaborate:**
298
+ **Collaborate with team:**
299
+
300
300
  - Business-analyst creates user guides
301
301
  - Architect creates architecture documentation
302
302
  - You create developer setup guides
@@ -306,18 +306,26 @@ states:
306
306
  role: architect
307
307
  transition_reason: 'Documentation complete'
308
308
  additional_instructions: |
309
- **You CONTRIBUTE architecture documentation.**
309
+ **Contribute architecture documentation**
310
310
 
311
- Create architecture overview, deployment guide, and technical docs.
311
+ Create:
312
+
313
+ - Architecture overview
314
+ - Deployment guide
315
+ - Technical documentation
312
316
 
313
317
  - trigger: 'documentation_complete'
314
318
  to: 'document'
315
319
  role: business-analyst
316
320
  transition_reason: 'Documentation complete'
317
321
  additional_instructions: |
318
- **You CONTRIBUTE user documentation.**
322
+ **Contribute user documentation**
323
+
324
+ Create:
319
325
 
320
- Create user manual, examples, and user-focused guides.
326
+ - User manual
327
+ - Examples
328
+ - User-focused guides
321
329
 
322
330
  # Global transitions
323
331
  global_transitions: