@codemcp/workflows 6.18.4 → 6.20.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/package.json +2 -2
- package/packages/cli/dist/{chunk-4TXLRBGW.js → chunk-4N42FFJE.js} +2 -228
- package/packages/cli/dist/{cli-MNJS4MGX.js → cli-MFHC7UWY.js} +3 -3
- package/packages/cli/dist/{dist-T6Q2II5X.js → dist-ISN3FRV4.js} +2 -1
- package/packages/cli/dist/{dist-WS5DFBKD.js → dist-TDV3DJ2J.js} +1 -13
- package/packages/cli/dist/index.js +2 -2
- package/packages/cli/package.json +1 -1
- package/packages/cli/resources/workflows/adr.yaml +2 -4
- package/packages/cli/resources/workflows/boundary-testing.yaml +2 -9
- package/packages/cli/resources/workflows/bugfix.yaml +2 -13
- package/packages/cli/resources/workflows/c4-analysis.yaml +3 -5
- package/packages/cli/resources/workflows/epcc.yaml +2 -13
- package/packages/cli/resources/workflows/greenfield.yaml +2 -13
- package/packages/cli/resources/workflows/minor.yaml +2 -13
- package/packages/cli/resources/workflows/posts.yaml +2 -17
- package/packages/cli/resources/workflows/pr-review.yaml +2 -4
- package/packages/cli/resources/workflows/qrspi.yaml +241 -0
- package/packages/cli/resources/workflows/skilled-bugfix.yaml +2 -13
- package/packages/cli/resources/workflows/skilled-epcc.yaml +2 -13
- package/packages/cli/resources/workflows/skilled-greenfield.yaml +2 -13
- package/packages/cli/resources/workflows/slides.yaml +2 -22
- package/packages/cli/resources/workflows/tdd.yaml +12 -2
- package/packages/cli/resources/workflows/waterfall.yaml +2 -8
- package/packages/core/dist/index.d.ts +0 -1
- package/packages/core/dist/index.js +0 -1
- package/packages/core/dist/index.js.map +1 -1
- package/packages/core/dist/project-docs-manager.js +1 -0
- package/packages/core/dist/project-docs-manager.js.map +1 -1
- package/packages/core/package.json +1 -1
- package/packages/core/resources/workflows/adr.yaml +2 -4
- package/packages/core/resources/workflows/boundary-testing.yaml +2 -9
- package/packages/core/resources/workflows/bugfix.yaml +2 -13
- package/packages/core/resources/workflows/c4-analysis.yaml +3 -5
- package/packages/core/resources/workflows/epcc.yaml +2 -13
- package/packages/core/resources/workflows/greenfield.yaml +2 -13
- package/packages/core/resources/workflows/minor.yaml +2 -13
- package/packages/core/resources/workflows/posts.yaml +2 -17
- package/packages/core/resources/workflows/pr-review.yaml +2 -4
- package/packages/core/resources/workflows/qrspi.yaml +241 -0
- package/packages/core/resources/workflows/skilled-bugfix.yaml +2 -13
- package/packages/core/resources/workflows/skilled-epcc.yaml +2 -13
- package/packages/core/resources/workflows/skilled-greenfield.yaml +2 -13
- package/packages/core/resources/workflows/slides.yaml +2 -22
- package/packages/core/resources/workflows/tdd.yaml +12 -2
- package/packages/core/resources/workflows/waterfall.yaml +2 -8
- package/packages/docs/.vitepress/dist/404.html +3 -3
- package/packages/docs/.vitepress/dist/assets/{app.CAEWYLPb.js → app.CMJFkZ5d.js} +1 -1
- package/packages/docs/.vitepress/dist/assets/chunks/{theme.CshoOl3e.js → theme.BarNEZau.js} +1 -1
- package/packages/docs/.vitepress/dist/assets/{style.DfNfC54K.css → style.CuNDUwrv.css} +1 -1
- package/packages/docs/.vitepress/dist/assets/workflows_qrspi.md.CPYiTyJ8.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_qrspi.md.CPYiTyJ8.lean.js +1 -0
- package/packages/docs/.vitepress/dist/dev/ARCHITECTURE.html +4 -4
- package/packages/docs/.vitepress/dist/dev/DEVELOPMENT.html +4 -4
- package/packages/docs/.vitepress/dist/dev/LOGGING.html +4 -4
- package/packages/docs/.vitepress/dist/dev/PUBLISHING.html +4 -4
- package/packages/docs/.vitepress/dist/hashmap.json +1 -1
- package/packages/docs/.vitepress/dist/index.html +4 -4
- package/packages/docs/.vitepress/dist/user/advanced-engineering.html +4 -4
- package/packages/docs/.vitepress/dist/user/agent-setup.html +4 -4
- package/packages/docs/.vitepress/dist/user/beads-integration.html +4 -4
- package/packages/docs/.vitepress/dist/user/crowd-mcp-integration.html +4 -4
- package/packages/docs/.vitepress/dist/user/custom-workflows.html +4 -4
- package/packages/docs/.vitepress/dist/user/git-commit-feature.html +4 -4
- package/packages/docs/.vitepress/dist/user/how-it-works.html +4 -4
- package/packages/docs/.vitepress/dist/user/long-term-memory.html +4 -4
- package/packages/docs/.vitepress/dist/user/packaged-workflows.html +4 -4
- package/packages/docs/.vitepress/dist/user/tutorial.html +4 -4
- package/packages/docs/.vitepress/dist/user/workflow-selection.html +4 -4
- package/packages/docs/.vitepress/dist/workflows/adr.html +4 -4
- package/packages/docs/.vitepress/dist/workflows/adr.yaml +2 -4
- package/packages/docs/.vitepress/dist/workflows/big-bang-conversion.html +4 -4
- package/packages/docs/.vitepress/dist/workflows/boundary-testing.html +4 -4
- package/packages/docs/.vitepress/dist/workflows/boundary-testing.yaml +2 -9
- package/packages/docs/.vitepress/dist/workflows/bugfix.html +4 -4
- package/packages/docs/.vitepress/dist/workflows/bugfix.yaml +2 -13
- package/packages/docs/.vitepress/dist/workflows/business-analysis.html +4 -4
- package/packages/docs/.vitepress/dist/workflows/c4-analysis.html +4 -4
- package/packages/docs/.vitepress/dist/workflows/c4-analysis.yaml +3 -5
- package/packages/docs/.vitepress/dist/workflows/epcc.html +4 -4
- package/packages/docs/.vitepress/dist/workflows/epcc.yaml +2 -13
- package/packages/docs/.vitepress/dist/workflows/game-beginner.html +4 -4
- package/packages/docs/.vitepress/dist/workflows/greenfield.html +4 -4
- package/packages/docs/.vitepress/dist/workflows/greenfield.yaml +2 -13
- package/packages/docs/.vitepress/dist/workflows/minor.html +4 -4
- package/packages/docs/.vitepress/dist/workflows/minor.yaml +2 -13
- package/packages/docs/.vitepress/dist/workflows/posts.html +4 -4
- package/packages/docs/.vitepress/dist/workflows/posts.yaml +2 -17
- package/packages/docs/.vitepress/dist/workflows/pr-review.html +4 -4
- package/packages/docs/.vitepress/dist/workflows/pr-review.yaml +2 -4
- package/packages/docs/.vitepress/dist/workflows/qrspi.html +26 -0
- package/packages/docs/.vitepress/dist/workflows/qrspi.yaml +241 -0
- package/packages/docs/.vitepress/dist/workflows/sdd-bugfix-crowd.html +4 -4
- package/packages/docs/.vitepress/dist/workflows/sdd-bugfix.html +4 -4
- package/packages/docs/.vitepress/dist/workflows/sdd-feature-crowd.html +4 -4
- package/packages/docs/.vitepress/dist/workflows/sdd-feature.html +4 -4
- package/packages/docs/.vitepress/dist/workflows/sdd-greenfield-crowd.html +4 -4
- package/packages/docs/.vitepress/dist/workflows/sdd-greenfield.html +4 -4
- package/packages/docs/.vitepress/dist/workflows/skilled-bugfix.html +4 -4
- package/packages/docs/.vitepress/dist/workflows/skilled-bugfix.yaml +2 -13
- package/packages/docs/.vitepress/dist/workflows/skilled-epcc.html +4 -4
- package/packages/docs/.vitepress/dist/workflows/skilled-epcc.yaml +2 -13
- package/packages/docs/.vitepress/dist/workflows/skilled-greenfield.html +4 -4
- package/packages/docs/.vitepress/dist/workflows/skilled-greenfield.yaml +2 -13
- package/packages/docs/.vitepress/dist/workflows/slides.html +4 -4
- package/packages/docs/.vitepress/dist/workflows/slides.yaml +2 -22
- package/packages/docs/.vitepress/dist/workflows/tdd.html +4 -4
- package/packages/docs/.vitepress/dist/workflows/tdd.yaml +12 -2
- package/packages/docs/.vitepress/dist/workflows/waterfall.html +4 -4
- package/packages/docs/.vitepress/dist/workflows/waterfall.yaml +2 -8
- package/packages/docs/.vitepress/dist/workflows.html +4 -4
- package/packages/docs/package.json +1 -1
- package/packages/mcp-server/dist/index.js +2 -1
- package/packages/mcp-server/package.json +1 -1
- package/packages/mcp-server/resources/workflows/adr.yaml +2 -4
- package/packages/mcp-server/resources/workflows/boundary-testing.yaml +2 -9
- package/packages/mcp-server/resources/workflows/bugfix.yaml +2 -13
- package/packages/mcp-server/resources/workflows/c4-analysis.yaml +3 -5
- package/packages/mcp-server/resources/workflows/epcc.yaml +2 -13
- package/packages/mcp-server/resources/workflows/greenfield.yaml +2 -13
- package/packages/mcp-server/resources/workflows/minor.yaml +2 -13
- package/packages/mcp-server/resources/workflows/posts.yaml +2 -17
- package/packages/mcp-server/resources/workflows/pr-review.yaml +2 -4
- package/packages/mcp-server/resources/workflows/qrspi.yaml +241 -0
- package/packages/mcp-server/resources/workflows/skilled-bugfix.yaml +2 -13
- package/packages/mcp-server/resources/workflows/skilled-epcc.yaml +2 -13
- package/packages/mcp-server/resources/workflows/skilled-greenfield.yaml +2 -13
- package/packages/mcp-server/resources/workflows/slides.yaml +2 -22
- package/packages/mcp-server/resources/workflows/tdd.yaml +12 -2
- package/packages/mcp-server/resources/workflows/waterfall.yaml +2 -8
- package/packages/opencode-plugin/dist/index.js +2 -1
- package/packages/opencode-plugin/package.json +1 -1
- package/packages/opencode-plugin/resources/workflows/adr.yaml +2 -4
- package/packages/opencode-plugin/resources/workflows/boundary-testing.yaml +2 -9
- package/packages/opencode-plugin/resources/workflows/bugfix.yaml +2 -13
- package/packages/opencode-plugin/resources/workflows/c4-analysis.yaml +3 -5
- package/packages/opencode-plugin/resources/workflows/epcc.yaml +2 -13
- package/packages/opencode-plugin/resources/workflows/greenfield.yaml +2 -13
- package/packages/opencode-plugin/resources/workflows/minor.yaml +2 -13
- package/packages/opencode-plugin/resources/workflows/posts.yaml +2 -17
- package/packages/opencode-plugin/resources/workflows/pr-review.yaml +2 -4
- package/packages/opencode-plugin/resources/workflows/qrspi.yaml +241 -0
- package/packages/opencode-plugin/resources/workflows/skilled-bugfix.yaml +2 -13
- package/packages/opencode-plugin/resources/workflows/skilled-epcc.yaml +2 -13
- package/packages/opencode-plugin/resources/workflows/skilled-greenfield.yaml +2 -13
- package/packages/opencode-plugin/resources/workflows/slides.yaml +2 -22
- package/packages/opencode-plugin/resources/workflows/tdd.yaml +12 -2
- package/packages/opencode-plugin/resources/workflows/waterfall.yaml +2 -8
- package/packages/opencode-tui-plugin/package.json +1 -1
- package/packages/visualizer/dist/WorkflowVisualizer.vue +8 -0
- package/packages/visualizer/dist/services/workflow-list.ts +1 -0
- package/packages/visualizer/package.json +1 -1
- package/resources/state-machine-schema.json +29 -0
- package/resources/workflows/adr.yaml +2 -4
- package/resources/workflows/boundary-testing.yaml +2 -9
- package/resources/workflows/bugfix.yaml +2 -13
- package/resources/workflows/c4-analysis.yaml +3 -5
- package/resources/workflows/epcc.yaml +2 -13
- package/resources/workflows/greenfield.yaml +2 -13
- package/resources/workflows/minor.yaml +2 -13
- package/resources/workflows/posts.yaml +2 -17
- package/resources/workflows/pr-review.yaml +2 -4
- package/resources/workflows/qrspi.yaml +241 -0
- package/resources/workflows/skilled-bugfix.yaml +2 -13
- package/resources/workflows/skilled-epcc.yaml +2 -13
- package/resources/workflows/skilled-greenfield.yaml +2 -13
- package/resources/workflows/slides.yaml +2 -22
- package/resources/workflows/tdd.yaml +12 -2
- package/resources/workflows/waterfall.yaml +2 -8
- package/packages/core/dist/state-machine.d.ts +0 -52
- package/packages/core/dist/state-machine.js +0 -256
- package/packages/core/dist/state-machine.js.map +0 -1
|
@@ -51,6 +51,10 @@
|
|
|
51
51
|
"type": "boolean",
|
|
52
52
|
"description": "Whether this workflow requires project documentation (architecture, requirements, design) to be set up before starting. Defaults to false for backwards compatibility.",
|
|
53
53
|
"default": false
|
|
54
|
+
},
|
|
55
|
+
"domain": {
|
|
56
|
+
"type": "string",
|
|
57
|
+
"description": "Domain or category of the workflow (e.g., code, architecture, office, skilled)"
|
|
54
58
|
}
|
|
55
59
|
}
|
|
56
60
|
},
|
|
@@ -71,6 +75,13 @@
|
|
|
71
75
|
"type": "string",
|
|
72
76
|
"description": "Description of this state"
|
|
73
77
|
},
|
|
78
|
+
"allowed_file_patterns": {
|
|
79
|
+
"type": "array",
|
|
80
|
+
"items": {
|
|
81
|
+
"type": "string"
|
|
82
|
+
},
|
|
83
|
+
"description": "Glob patterns for files that can be edited in this state. Use '**/*' to allow all files."
|
|
84
|
+
},
|
|
74
85
|
"default_instructions": {
|
|
75
86
|
"type": "string",
|
|
76
87
|
"description": "Default instructions when entering this state"
|
|
@@ -107,6 +118,24 @@
|
|
|
107
118
|
"transition_reason": {
|
|
108
119
|
"type": "string",
|
|
109
120
|
"description": "Reason for this transition"
|
|
121
|
+
},
|
|
122
|
+
"review_perspectives": {
|
|
123
|
+
"type": "array",
|
|
124
|
+
"description": "Optional review perspectives to apply when this transition is taken",
|
|
125
|
+
"items": {
|
|
126
|
+
"type": "object",
|
|
127
|
+
"required": ["perspective", "prompt"],
|
|
128
|
+
"properties": {
|
|
129
|
+
"perspective": {
|
|
130
|
+
"type": "string",
|
|
131
|
+
"description": "Name of the review perspective (e.g., architect, security_expert)"
|
|
132
|
+
},
|
|
133
|
+
"prompt": {
|
|
134
|
+
"type": "string",
|
|
135
|
+
"description": "Prompt or instructions for the review perspective"
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
110
139
|
}
|
|
111
140
|
}
|
|
112
141
|
}
|
|
@@ -151,7 +151,5 @@ states:
|
|
|
151
151
|
|
|
152
152
|
Complete final validation and cleanup before the ADR is finalized.
|
|
153
153
|
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
to: decide
|
|
157
|
-
transition_reason: 'Final review found problems with the decision documentation'
|
|
154
|
+
$DONE_DEFAULT
|
|
155
|
+
transitions: []
|
|
@@ -364,13 +364,6 @@ states:
|
|
|
364
364
|
- Ensure test suite is ready for ongoing use and maintenance
|
|
365
365
|
|
|
366
366
|
Update the plan file with finalization progress and mark completed tasks.
|
|
367
|
-
transitions:
|
|
368
|
-
- trigger: 'need_test_changes'
|
|
369
|
-
to: 'test_suite_implementation'
|
|
370
|
-
additional_instructions: 'Finalization revealed issues with the test suite. Focus on addressing the specific problems identified during final review.'
|
|
371
|
-
transition_reason: 'Finalization revealed issues requiring test implementation changes'
|
|
372
367
|
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
additional_instructions: 'Boundary testing workflow complete! Test suite is ready for ongoing use and maintenance. Prepare for next boundary testing project.'
|
|
376
|
-
transition_reason: 'Test suite finalization complete, ready for production use'
|
|
368
|
+
$DONE_DEFAULT
|
|
369
|
+
transitions: []
|
|
@@ -162,17 +162,6 @@ states:
|
|
|
162
162
|
- Verify documentation accuracy with a final review
|
|
163
163
|
- Ensure bug fix is ready for production
|
|
164
164
|
- Update task progress and mark completed work as you finalize the bug fix
|
|
165
|
-
transitions:
|
|
166
|
-
- trigger: 'need_fix_changes'
|
|
167
|
-
to: 'fix'
|
|
168
|
-
additional_instructions: 'Finalization revealed issues with the bug fix. Focus on addressing the specific problems identified during final review.'
|
|
169
|
-
transition_reason: 'Finalization revealed issues requiring fix changes'
|
|
170
|
-
|
|
171
|
-
- trigger: 'finalization_complete'
|
|
172
|
-
to: 'reproduce'
|
|
173
|
-
transition_reason: 'Bug fix complete and finalized, ready for next issue'
|
|
174
165
|
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
additional_instructions: 'Bug finalization abandoned. Clean up any finalization work and prepare for new bug reports.'
|
|
178
|
-
transition_reason: 'Bug finalization abandoned'
|
|
166
|
+
$DONE_DEFAULT
|
|
167
|
+
transitions: []
|
|
@@ -464,8 +464,6 @@ states:
|
|
|
464
464
|
- Modernization roadmap
|
|
465
465
|
|
|
466
466
|
The analysis provides a foundation for future development. Consider using other workflows (waterfall, epcc, etc.) with the comprehensive understanding gained.
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
additional_instructions: 'Refine specific aspects of analysis. Focus on areas that need additional investigation.'
|
|
471
|
-
transition_reason: 'Analysis review revealed need for additional component analysis'
|
|
467
|
+
|
|
468
|
+
$DONE_DEFAULT
|
|
469
|
+
transitions: []
|
|
@@ -180,17 +180,6 @@ states:
|
|
|
180
180
|
- Ensure code is ready for production/delivery
|
|
181
181
|
|
|
182
182
|
Update task progress and mark completed work as you finalize the feature.
|
|
183
|
-
transitions:
|
|
184
|
-
- trigger: 'need_code_changes'
|
|
185
|
-
to: 'code'
|
|
186
|
-
additional_instructions: 'Focus on the problems identified during final review.'
|
|
187
|
-
transition_reason: 'Final review found issues requiring code changes'
|
|
188
|
-
|
|
189
|
-
- trigger: 'commit_complete'
|
|
190
|
-
to: 'explore'
|
|
191
|
-
transition_reason: 'Feature delivery complete, ready for next task'
|
|
192
183
|
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
additional_instructions: 'Clean up any finalization artifacts and prepare for new tasks.'
|
|
196
|
-
transition_reason: 'User decided to abandon feature during finalization'
|
|
184
|
+
$DONE_DEFAULT
|
|
185
|
+
transitions: []
|
|
@@ -201,17 +201,6 @@ states:
|
|
|
201
201
|
- Verify documentation accuracy with a final review
|
|
202
202
|
- Ensure project is ready for users and contributors
|
|
203
203
|
- Update task progress and mark completed work as you finalize the project
|
|
204
|
-
transitions:
|
|
205
|
-
- trigger: 'need_code_changes'
|
|
206
|
-
to: 'code'
|
|
207
|
-
additional_instructions: 'Finalization revealed issues that require code changes. Focus on the problems identified during final review that affect usability or functionality.'
|
|
208
|
-
transition_reason: 'Finalization revealed issues requiring code changes'
|
|
209
|
-
|
|
210
|
-
- trigger: 'finalization_complete'
|
|
211
|
-
to: 'ideation'
|
|
212
|
-
transition_reason: 'Project delivery complete with finalized code and documentation, ready for next greenfield project'
|
|
213
204
|
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
additional_instructions: 'Project development abandoned during finalization. Clean up any finalization artifacts and prepare for new projects.'
|
|
217
|
-
transition_reason: 'User decided to abandon project during finalization phase'
|
|
205
|
+
$DONE_DEFAULT
|
|
206
|
+
transitions: []
|
|
@@ -130,17 +130,6 @@ states:
|
|
|
130
130
|
- Verify documentation accuracy with a final review
|
|
131
131
|
- Ensure minor enhancement is ready for delivery
|
|
132
132
|
- Update task progress and mark completed work as you finalize the minor enhancement
|
|
133
|
-
transitions:
|
|
134
|
-
- trigger: 'need_implementation_changes'
|
|
135
|
-
to: 'implement'
|
|
136
|
-
additional_instructions: 'Finalization revealed issues that require implementation changes. Focus on the specific problems identified during final review.'
|
|
137
|
-
transition_reason: 'Finalization revealed issues requiring implementation changes'
|
|
138
|
-
|
|
139
|
-
- trigger: 'finalization_complete'
|
|
140
|
-
to: 'explore'
|
|
141
|
-
transition_reason: 'Minor enhancement delivery complete, ready for next task'
|
|
142
133
|
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
additional_instructions: 'Clean up any finalization artifacts and prepare for new tasks.'
|
|
146
|
-
transition_reason: 'User decided to abandon minor enhancement during finalization'
|
|
134
|
+
$DONE_DEFAULT
|
|
135
|
+
transitions: []
|
|
@@ -178,20 +178,5 @@ states:
|
|
|
178
178
|
Maximize reach while maintaining content quality and consistency.
|
|
179
179
|
Update `$PLAN_FILE` with distribution progress and publishing decisions.
|
|
180
180
|
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
to: discovery
|
|
184
|
-
transition_reason: 'Post publishing completed successfully, ready for new projects'
|
|
185
|
-
|
|
186
|
-
- trigger: need_final_review
|
|
187
|
-
to: illustration
|
|
188
|
-
additional_instructions: 'Refine visuals or content presentation based on issues identified during publishing preparation.'
|
|
189
|
-
transition_reason: 'Publishing preparation identified issues requiring visual or content refinement'
|
|
190
|
-
|
|
191
|
-
- trigger: abandon_post
|
|
192
|
-
to: discovery
|
|
193
|
-
instructions: |
|
|
194
|
-
Abandon post development before distribution. Clean up distribution preparation and return to discovery.
|
|
195
|
-
The `$PLAN_FILE` and completed work will remain for future reference.
|
|
196
|
-
additional_instructions: 'Clean up and prepare for new topics.'
|
|
197
|
-
transition_reason: 'User decided to abandon post before distribution'
|
|
181
|
+
$DONE_DEFAULT
|
|
182
|
+
transitions: []
|
|
@@ -171,7 +171,5 @@ states:
|
|
|
171
171
|
Once confirmed, deliver accordingly. For inline comments, attach each finding to the
|
|
172
172
|
specific file and line it refers to. For cross-cutting findings, use a top-level comment.
|
|
173
173
|
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
to: 'determine_intent'
|
|
177
|
-
transition_reason: 'Review delivered, ready for next PR'
|
|
174
|
+
$DONE_DEFAULT
|
|
175
|
+
transitions: []
|
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
# yaml-language-server: $schema=../state-machine-schema.json
|
|
2
|
+
---
|
|
3
|
+
name: 'qrspi'
|
|
4
|
+
description: 'Questions, Research, Design, Structure, Plan, Implement — for creative, complex challenges requiring deep alignment before execution'
|
|
5
|
+
initial_state: 'questions'
|
|
6
|
+
|
|
7
|
+
metadata:
|
|
8
|
+
domain: 'code'
|
|
9
|
+
complexity: 'high'
|
|
10
|
+
bestFor:
|
|
11
|
+
- 'Creative or complex challenges'
|
|
12
|
+
- 'Deep alignment before execution'
|
|
13
|
+
- 'Unconventional problems'
|
|
14
|
+
- 'Architecture-heavy features'
|
|
15
|
+
- 'High-stakes changes'
|
|
16
|
+
useCases:
|
|
17
|
+
- 'Designing a novel system architecture'
|
|
18
|
+
- 'Implementing complex multi-domain features'
|
|
19
|
+
- 'Solving problems with unclear requirements'
|
|
20
|
+
- 'Building features requiring extensive stakeholder alignment'
|
|
21
|
+
- 'Refactoring core infrastructure'
|
|
22
|
+
examples:
|
|
23
|
+
- 'Design and implement a new plugin architecture'
|
|
24
|
+
- 'Create a custom workflow engine with validation'
|
|
25
|
+
- 'Refactor monolith to modular services'
|
|
26
|
+
- 'Build a creative AI-powered feature with novel UX'
|
|
27
|
+
|
|
28
|
+
states:
|
|
29
|
+
questions:
|
|
30
|
+
description: 'Clarify intent, scope, and success criteria before any exploration'
|
|
31
|
+
allowed_file_patterns:
|
|
32
|
+
- '**/*.md'
|
|
33
|
+
- '**/*.txt'
|
|
34
|
+
- '**/*.adoc'
|
|
35
|
+
default_instructions: |
|
|
36
|
+
**Principle**: Clarify intent before exploring solutions.
|
|
37
|
+
This is the most important phase: You need to really deeply understand what makes the user want to introduce a change.
|
|
38
|
+
Ask questions about everything you can't determine straight from the existing codebase.
|
|
39
|
+
- Ask about the context
|
|
40
|
+
- follow up on explanations
|
|
41
|
+
- Ask about rejected alternatives or workarounds
|
|
42
|
+
Document in the development plan: the problem being solved, success criteria, constraints, and any clarifying questions asked. Use `$REQUIREMENTS_DOC` as context only — do not modify it.
|
|
43
|
+
|
|
44
|
+
Do not research, design, plan, or write code.
|
|
45
|
+
transitions:
|
|
46
|
+
- trigger: 'questions_answered'
|
|
47
|
+
to: 'research'
|
|
48
|
+
transition_reason: 'Intent clarified, ready to gather facts'
|
|
49
|
+
|
|
50
|
+
- trigger: 'abandon_feature'
|
|
51
|
+
to: 'questions'
|
|
52
|
+
instructions: 'Feature abandoned. Reset for new tasks.'
|
|
53
|
+
transition_reason: 'User abandoned feature during questions'
|
|
54
|
+
|
|
55
|
+
research:
|
|
56
|
+
description: 'Gather facts without forming conclusions or proposing solutions'
|
|
57
|
+
allowed_file_patterns:
|
|
58
|
+
- '**/*.md'
|
|
59
|
+
- '**/*.txt'
|
|
60
|
+
- '**/*.adoc'
|
|
61
|
+
default_instructions: |
|
|
62
|
+
**Principle**: Gather facts before forming opinions.
|
|
63
|
+
|
|
64
|
+
Explore the codebase, patterns, and relevant documentation. Document findings as facts (not opinions) in the development plan. Highlight what requires design decisions. Use `$REQUIREMENTS_DOC` as context only — do not modify it.
|
|
65
|
+
|
|
66
|
+
Do not propose solutions, make design decisions, or write code.
|
|
67
|
+
transitions:
|
|
68
|
+
- trigger: 'research_complete'
|
|
69
|
+
to: 'design'
|
|
70
|
+
transition_reason: 'Facts gathered, ready for design discussion'
|
|
71
|
+
|
|
72
|
+
- trigger: 'need_more_questions'
|
|
73
|
+
to: 'questions'
|
|
74
|
+
additional_instructions: 'Focus on the specific areas where intent is still unclear.'
|
|
75
|
+
transition_reason: 'Research revealed gaps in understanding'
|
|
76
|
+
|
|
77
|
+
- trigger: 'abandon_feature'
|
|
78
|
+
to: 'questions'
|
|
79
|
+
instructions: 'Feature abandoned. Reset for new tasks.'
|
|
80
|
+
transition_reason: 'User abandoned feature during research'
|
|
81
|
+
|
|
82
|
+
design:
|
|
83
|
+
description: 'Explore options and reach consensus on WHAT and high-level HOW'
|
|
84
|
+
allowed_file_patterns:
|
|
85
|
+
- '**/*.md'
|
|
86
|
+
- '**/*.txt'
|
|
87
|
+
- '**/*.adoc'
|
|
88
|
+
default_instructions: |
|
|
89
|
+
**Principle**: Align on WHAT and WHY before deciding detailed HOW.
|
|
90
|
+
This is the phase when the we imagening a suitable solution given the boundary conditions.
|
|
91
|
+
Propose 2-3 viable high-level approaches with trade-offs. Reference `$DESIGN_DOC` and `$ARCHITECTURE_DOC` if they exist. Reach consensus with the user on the direction. On loop-back from `need_design_changes`, update those docs if they exist.
|
|
92
|
+
It's crucial that the user gets actively involved to take an educated decision.
|
|
93
|
+
|
|
94
|
+
Document the agreed direction in the development plan.
|
|
95
|
+
|
|
96
|
+
Do not plan detailed implementation or write code.
|
|
97
|
+
transitions:
|
|
98
|
+
- trigger: 'design_approved'
|
|
99
|
+
to: 'structure'
|
|
100
|
+
transition_reason: 'Design direction approved, ready to decompose'
|
|
101
|
+
review_perspectives:
|
|
102
|
+
- perspective: 'product_owner'
|
|
103
|
+
prompt: 'Review whether the proposed design aligns with user goals, business value, and intended outcomes. Ensure the solution direction serves the actual need.'
|
|
104
|
+
|
|
105
|
+
- trigger: 'need_research'
|
|
106
|
+
to: 'research'
|
|
107
|
+
additional_instructions: 'Focus on the specific gaps that block design consensus.'
|
|
108
|
+
transition_reason: 'Design discussion revealed need for more research'
|
|
109
|
+
|
|
110
|
+
- trigger: 'abandon_feature'
|
|
111
|
+
to: 'questions'
|
|
112
|
+
instructions: 'Feature abandoned. Reset for new tasks.'
|
|
113
|
+
transition_reason: 'User abandoned feature during design'
|
|
114
|
+
|
|
115
|
+
structure:
|
|
116
|
+
description: 'Decompose the approved design into end-to-end vertical slices'
|
|
117
|
+
allowed_file_patterns:
|
|
118
|
+
- '**/*.md'
|
|
119
|
+
- '**/*.txt'
|
|
120
|
+
- '**/*.adoc'
|
|
121
|
+
default_instructions: |
|
|
122
|
+
**Principle**: Decompose into end-to-end, testable units before planning implementation details.
|
|
123
|
+
|
|
124
|
+
Define 1-5 vertical slices that each deliver user-visible behavior independently. Describe what each slice delivers, which components it touches, and how it will be tested end-to-end. Reference `$ARCHITECTURE_DOC` if it exists.
|
|
125
|
+
|
|
126
|
+
Document slice definitions in the development plan.
|
|
127
|
+
|
|
128
|
+
Do not plan implementation tasks or write code.
|
|
129
|
+
transitions:
|
|
130
|
+
- trigger: 'structure_defined'
|
|
131
|
+
to: 'plan'
|
|
132
|
+
transition_reason: 'Slices defined, ready for detailed planning'
|
|
133
|
+
|
|
134
|
+
- trigger: 'need_design_changes'
|
|
135
|
+
to: 'design'
|
|
136
|
+
additional_instructions: 'The design approach makes slicing difficult. Revisit the high-level approach with the user.'
|
|
137
|
+
transition_reason: 'Structure work revealed design gaps'
|
|
138
|
+
|
|
139
|
+
- trigger: 'abandon_feature'
|
|
140
|
+
to: 'questions'
|
|
141
|
+
instructions: 'Feature abandoned. Reset for new tasks.'
|
|
142
|
+
transition_reason: 'User abandoned feature during structure'
|
|
143
|
+
|
|
144
|
+
plan:
|
|
145
|
+
description: 'Create a detailed implementation plan per vertical slice'
|
|
146
|
+
allowed_file_patterns:
|
|
147
|
+
- '**/*.md'
|
|
148
|
+
- '**/*.txt'
|
|
149
|
+
- '**/*.adoc'
|
|
150
|
+
default_instructions: |
|
|
151
|
+
**Principle**: Define detailed HOW per slice without changing the design direction.
|
|
152
|
+
|
|
153
|
+
For each vertical slice, define actionable tasks, dependencies, and risks. If any existing document contradicts what is needed, document the contradiction in the development plan and use `need_design_changes`.
|
|
154
|
+
|
|
155
|
+
Document the plan in the development plan.
|
|
156
|
+
|
|
157
|
+
Do not change the design direction or write code.
|
|
158
|
+
transitions:
|
|
159
|
+
- trigger: 'plan_complete'
|
|
160
|
+
to: 'implement'
|
|
161
|
+
transition_reason: 'Plan complete, ready for coding'
|
|
162
|
+
review_perspectives:
|
|
163
|
+
- perspective: 'architect'
|
|
164
|
+
prompt: 'Review implementation strategy, design decisions, and integration approach for soundness and maintainability. Ensure the plan aligns with existing system architecture and follows best practices.'
|
|
165
|
+
- perspective: 'security_expert'
|
|
166
|
+
prompt: 'Assess security considerations and potential risks in the planned implementation approach. Review data handling, authentication, and potential vulnerabilities.'
|
|
167
|
+
|
|
168
|
+
- trigger: 'need_design_changes'
|
|
169
|
+
to: 'design'
|
|
170
|
+
additional_instructions: 'The approved design direction is unworkable for the planned slices. Revisit the high-level approach with the user.'
|
|
171
|
+
transition_reason: 'Planning revealed fundamental flaws in design direction'
|
|
172
|
+
|
|
173
|
+
- trigger: 'need_restructuring'
|
|
174
|
+
to: 'structure'
|
|
175
|
+
additional_instructions: 'The slice boundaries are wrong. Redefine the vertical slices.'
|
|
176
|
+
transition_reason: 'Planning revealed flaws in slice boundaries'
|
|
177
|
+
|
|
178
|
+
- trigger: 'abandon_feature'
|
|
179
|
+
to: 'questions'
|
|
180
|
+
instructions: 'Feature abandoned. Reset for new tasks.'
|
|
181
|
+
transition_reason: 'User abandoned feature during planning'
|
|
182
|
+
|
|
183
|
+
implement:
|
|
184
|
+
description: 'Build the solution slice by slice'
|
|
185
|
+
allowed_file_patterns:
|
|
186
|
+
- '**/*'
|
|
187
|
+
default_instructions: |
|
|
188
|
+
**Principle**: Execute the plan one slice at a time; delegate each slice to a fresh context.
|
|
189
|
+
|
|
190
|
+
Build each vertical slice end-to-end before moving to the next. Delegate each slice to a fresh agent session with focused context. Reference `$DESIGN_DOC`, `$ARCHITECTURE_DOC`, and `$REQUIREMENTS_DOC` if they exist. Prevent regressions via build, lint, and tests.
|
|
191
|
+
|
|
192
|
+
Adapt tactics within slices. Loop back via `need_design_changes` only if the high-level approach is fundamentally flawed.
|
|
193
|
+
|
|
194
|
+
Document progress in the development plan.
|
|
195
|
+
transitions:
|
|
196
|
+
- trigger: 'implementation_complete'
|
|
197
|
+
to: 'commit'
|
|
198
|
+
transition_reason: 'Implementation complete, ready for finalization'
|
|
199
|
+
review_perspectives:
|
|
200
|
+
- perspective: 'senior_software_developer'
|
|
201
|
+
prompt: 'Review code quality, best practices, testing coverage, and readiness for production deployment. Ensure the implementation follows coding standards and is maintainable.'
|
|
202
|
+
- perspective: 'performance_engineer'
|
|
203
|
+
prompt: 'Evaluate performance impact, resource efficiency, and scalability of the implemented solution. Check for potential bottlenecks or optimization opportunities.'
|
|
204
|
+
|
|
205
|
+
- trigger: 'need_replanning'
|
|
206
|
+
to: 'plan'
|
|
207
|
+
additional_instructions: 'Adjust the plan based on what you learned during coding. Document changes and reasons.'
|
|
208
|
+
transition_reason: 'Implementation revealed need to revise the plan'
|
|
209
|
+
|
|
210
|
+
- trigger: 'need_design_changes'
|
|
211
|
+
to: 'design'
|
|
212
|
+
additional_instructions: 'The high-level design approach is fundamentally flawed. Revisit design decisions with the user.'
|
|
213
|
+
transition_reason: 'Implementation revealed the approved design is unworkable'
|
|
214
|
+
|
|
215
|
+
- trigger: 'need_more_research'
|
|
216
|
+
to: 'research'
|
|
217
|
+
additional_instructions: 'Focus on the specific areas blocking implementation progress.'
|
|
218
|
+
transition_reason: 'Implementation revealed need for more research'
|
|
219
|
+
|
|
220
|
+
- trigger: 'abandon_feature'
|
|
221
|
+
to: 'questions'
|
|
222
|
+
instructions: 'Feature abandoned. Clean up incomplete code and reset for new tasks.'
|
|
223
|
+
transition_reason: 'User abandoned feature during implementation'
|
|
224
|
+
|
|
225
|
+
commit:
|
|
226
|
+
description: 'Cleanup, documentation finalization, and delivery'
|
|
227
|
+
allowed_file_patterns:
|
|
228
|
+
- '**/*'
|
|
229
|
+
default_instructions: |
|
|
230
|
+
**Principle**: Leave the codebase cleaner than you found it.
|
|
231
|
+
|
|
232
|
+
**Cleanup**: Remove debug output, temporary code, test code blocks, and completed TODOs. Address or document any remaining FIXMEs.
|
|
233
|
+
|
|
234
|
+
**Documentation**: Update `$REQUIREMENTS_DOC`, `$ARCHITECTURE_DOC`, and `$DESIGN_DOC` if they exist and changed during implementation. Otherwise, document changes in the development plan. Ensure docs reflect the final implemented state, not the development process.
|
|
235
|
+
|
|
236
|
+
**Validation**: Run tests to ensure no regressions. Verify the development plan is accurate.
|
|
237
|
+
|
|
238
|
+
Do not add new features.
|
|
239
|
+
|
|
240
|
+
$DONE_DEFAULT
|
|
241
|
+
transitions: []
|
|
@@ -158,17 +158,6 @@ states:
|
|
|
158
158
|
- Verify documentation accuracy with a final review
|
|
159
159
|
- Ensure bug fix is ready for production
|
|
160
160
|
- Update task progress and mark completed work as you finalize the bug fix
|
|
161
|
-
transitions:
|
|
162
|
-
- trigger: 'need_fix_changes'
|
|
163
|
-
to: 'fix'
|
|
164
|
-
additional_instructions: 'Finalization revealed issues with the bug fix. Focus on addressing the specific problems identified during final review.'
|
|
165
|
-
transition_reason: 'Finalization revealed issues requiring fix changes'
|
|
166
|
-
|
|
167
|
-
- trigger: 'finalization_complete'
|
|
168
|
-
to: 'reproduce'
|
|
169
|
-
transition_reason: 'Bug fix complete and finalized, ready for next issue'
|
|
170
161
|
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
additional_instructions: 'Bug finalization abandoned. Clean up any finalization work and prepare for new bug reports.'
|
|
174
|
-
transition_reason: 'Bug finalization abandoned'
|
|
162
|
+
$DONE_DEFAULT
|
|
163
|
+
transitions: []
|
|
@@ -155,17 +155,6 @@ states:
|
|
|
155
155
|
- Ensure code is ready for production/delivery
|
|
156
156
|
|
|
157
157
|
Update task progress and mark completed work as you finalize the feature.
|
|
158
|
-
transitions:
|
|
159
|
-
- trigger: 'need_code_changes'
|
|
160
|
-
to: 'code'
|
|
161
|
-
additional_instructions: 'Focus on the problems identified during final review.'
|
|
162
|
-
transition_reason: 'Final review found issues requiring code changes'
|
|
163
|
-
|
|
164
|
-
- trigger: 'commit_complete'
|
|
165
|
-
to: 'explore'
|
|
166
|
-
transition_reason: 'Feature delivery complete, ready for next task'
|
|
167
158
|
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
additional_instructions: 'Clean up any finalization artifacts and prepare for new tasks.'
|
|
171
|
-
transition_reason: 'User decided to abandon feature during finalization'
|
|
159
|
+
$DONE_DEFAULT
|
|
160
|
+
transitions: []
|
|
@@ -191,17 +191,6 @@ states:
|
|
|
191
191
|
- Verify documentation accuracy with a final review
|
|
192
192
|
- Ensure project is ready for users and contributors
|
|
193
193
|
- Update task progress and mark completed work as you finalize the project
|
|
194
|
-
transitions:
|
|
195
|
-
- trigger: 'need_code_changes'
|
|
196
|
-
to: 'code'
|
|
197
|
-
additional_instructions: 'Finalization revealed issues that require code changes. Focus on the problems identified during final review that affect usability or functionality.'
|
|
198
|
-
transition_reason: 'Finalization revealed issues requiring code changes'
|
|
199
|
-
|
|
200
|
-
- trigger: 'finalization_complete'
|
|
201
|
-
to: 'ideation'
|
|
202
|
-
transition_reason: 'Project delivery complete with finalized code and documentation, ready for next greenfield project'
|
|
203
194
|
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
additional_instructions: 'Project development abandoned during finalization. Clean up any finalization artifacts and prepare for new projects.'
|
|
207
|
-
transition_reason: 'User decided to abandon project during finalization phase'
|
|
195
|
+
$DONE_DEFAULT
|
|
196
|
+
transitions: []
|
|
@@ -213,25 +213,5 @@ states:
|
|
|
213
213
|
|
|
214
214
|
**Update** the plan file with delivery preparation progress to ensure successful delivery.
|
|
215
215
|
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
to: ideate
|
|
219
|
-
additional_instructions: |
|
|
220
|
-
**Delivery phase complete!** Your presentation has been successfully delivered.
|
|
221
|
-
|
|
222
|
-
Mark all delivery tasks as complete in the plan file and prepare for new work.
|
|
223
|
-
transition_reason: 'Presentation delivery completed successfully, ready for new projects'
|
|
224
|
-
|
|
225
|
-
- trigger: need_final_review
|
|
226
|
-
to: review
|
|
227
|
-
additional_instructions: 'Final preparation revealed issues requiring additional review. Focus on addressing these concerns before delivery.'
|
|
228
|
-
transition_reason: 'Delivery preparation identified issues requiring additional review'
|
|
229
|
-
|
|
230
|
-
- trigger: abandon_presentation
|
|
231
|
-
to: ideate
|
|
232
|
-
instructions: |
|
|
233
|
-
**Abandon delivery preparation** - Clean up delivery preparation and return to ideation.
|
|
234
|
-
|
|
235
|
-
The plan file and completed work will remain for future reference.
|
|
236
|
-
additional_instructions: 'Presentation abandoned before delivery. Clean up and prepare for new topics.'
|
|
237
|
-
transition_reason: 'User decided to abandon presentation before delivery'
|
|
216
|
+
$DONE_DEFAULT
|
|
217
|
+
transitions: []
|
|
@@ -160,11 +160,21 @@ states:
|
|
|
160
160
|
transition_reason: 'Refactoring revealed need to revise implementation'
|
|
161
161
|
|
|
162
162
|
- trigger: 'feature_complete'
|
|
163
|
-
to: '
|
|
163
|
+
to: 'done'
|
|
164
164
|
additional_instructions: 'Update task progress to reflect feature completion.'
|
|
165
|
-
transition_reason: 'Feature fully implemented and cleaned up, ready
|
|
165
|
+
transition_reason: 'Feature fully implemented and cleaned up, ready to exit TDD cycle'
|
|
166
166
|
|
|
167
167
|
- trigger: 'abandon_feature'
|
|
168
168
|
to: 'explore'
|
|
169
169
|
additional_instructions: 'Clean up any refactoring work and prepare for new tasks.'
|
|
170
170
|
transition_reason: 'User decided to abandon feature during refactoring'
|
|
171
|
+
|
|
172
|
+
done:
|
|
173
|
+
description: 'TDD cycle complete - feature fully implemented and cleaned up'
|
|
174
|
+
allowed_file_patterns:
|
|
175
|
+
- '**/*'
|
|
176
|
+
default_instructions: |
|
|
177
|
+
The TDD cycle is complete. All aspects of the feature have been implemented and refactored.
|
|
178
|
+
|
|
179
|
+
$DONE_DEFAULT
|
|
180
|
+
transitions: []
|
|
@@ -214,12 +214,6 @@ states:
|
|
|
214
214
|
- Ensure code is ready for production/delivery
|
|
215
215
|
|
|
216
216
|
Update task progress and mark completed work as you finalize the feature.
|
|
217
|
-
transitions:
|
|
218
|
-
- trigger: 'need_final_changes'
|
|
219
|
-
to: 'implementation'
|
|
220
|
-
additional_instructions: 'Finalization revealed issues that require code changes. Focus on the specific problems identified during final review.'
|
|
221
|
-
transition_reason: 'Final review found issues requiring implementation changes'
|
|
222
217
|
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
transition_reason: 'Feature delivery complete, beginning new development cycle'
|
|
218
|
+
$DONE_DEFAULT
|
|
219
|
+
transitions: []
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* State Machine Definition for Vibe Feature MCP Server
|
|
3
|
-
*
|
|
4
|
-
* This module defines the development workflow state machine, including:
|
|
5
|
-
* - Development phases (states)
|
|
6
|
-
* - Transition triggers and conditions
|
|
7
|
-
* - Phase-specific instructions for LLM guidance
|
|
8
|
-
* - Transition-specific prompts for contextual guidance
|
|
9
|
-
*/
|
|
10
|
-
export type DevelopmentPhase = 'idle' | 'requirements' | 'design' | 'implementation' | 'qa' | 'testing' | 'complete';
|
|
11
|
-
export type TransitionTrigger = 'new_feature_request' | 'refine_requirements' | 'requirements_complete' | 'abandon_feature' | 'refine_design' | 'requirements_unclear' | 'design_complete' | 'refine_implementation' | 'design_issues' | 'implementation_complete' | 'refine_qa' | 'implementation_issues' | 'qa_complete' | 'refine_testing' | 'qa_issues' | 'testing_complete' | 'feature_delivered' | 'direct_transition';
|
|
12
|
-
export interface StateTransition {
|
|
13
|
-
from: DevelopmentPhase;
|
|
14
|
-
to: DevelopmentPhase;
|
|
15
|
-
trigger: TransitionTrigger;
|
|
16
|
-
isModeled: boolean;
|
|
17
|
-
instructions: string;
|
|
18
|
-
transitionReason: string;
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* Complete state transition table
|
|
22
|
-
*
|
|
23
|
-
* This table defines all possible transitions between development phases.
|
|
24
|
-
* - Modeled transitions: Shown in the state diagram, get contextual guidance
|
|
25
|
-
* - Direct transitions: Not shown in diagram, get general phase instructions
|
|
26
|
-
*/
|
|
27
|
-
export declare const STATE_TRANSITIONS: StateTransition[];
|
|
28
|
-
/**
|
|
29
|
-
* Direct transition instructions for non-modeled transitions
|
|
30
|
-
* These are used when users jump directly to any phase using proceed_to_phase
|
|
31
|
-
*/
|
|
32
|
-
export declare const DIRECT_PHASE_INSTRUCTIONS: Record<DevelopmentPhase, string>;
|
|
33
|
-
/**
|
|
34
|
-
* Get transition instructions for a specific state change
|
|
35
|
-
*/
|
|
36
|
-
export declare function getTransitionInstructions(fromState: DevelopmentPhase, toState: DevelopmentPhase, trigger?: TransitionTrigger): {
|
|
37
|
-
instructions: string;
|
|
38
|
-
transitionReason: string;
|
|
39
|
-
isModeled: boolean;
|
|
40
|
-
};
|
|
41
|
-
/**
|
|
42
|
-
* Get all possible transitions from a given state
|
|
43
|
-
*/
|
|
44
|
-
export declare function getPossibleTransitions(fromState: DevelopmentPhase): StateTransition[];
|
|
45
|
-
/**
|
|
46
|
-
* Check if a transition is modeled (shown in state diagram)
|
|
47
|
-
*/
|
|
48
|
-
export declare function isModeledTransition(fromState: DevelopmentPhase, toState: DevelopmentPhase): boolean;
|
|
49
|
-
/**
|
|
50
|
-
* Get phase-specific instructions for continuing work in current phase
|
|
51
|
-
*/
|
|
52
|
-
export declare function getContinuePhaseInstructions(phase: DevelopmentPhase): string;
|