@codemcp/workflows-core 4.5.0 → 4.6.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.
@@ -40,10 +40,10 @@ states:
40
40
  IMPORTANT: In this phase, do not read the documents yet!
41
41
 
42
42
  **Step 2: Create Document Processing Tasks**
43
- For each gathered document, add task to plan file:
43
+ For each gathered document, create a processing task:
44
44
  "- [ ] Summarize [document-name] using structured chapter-by-chapter approach"
45
45
 
46
- Update plan file with discovery progress and processing tasks.
46
+ Update task progress and create document processing tasks.
47
47
  transitions:
48
48
  - trigger: 'discovery_complete'
49
49
  to: 'documents_consolidation'
@@ -61,7 +61,7 @@ states:
61
61
  2. Maintain original hierarchical structure
62
62
  3. Condense content while preserving key information
63
63
  4. Create [document-name]-processed.md file
64
- 5. Mark task complete in plan file
64
+ 5. Update task progress as complete
65
65
 
66
66
  **Summarization Guidelines:**
67
67
  - Create structured summary based exclusively on source document information
@@ -97,10 +97,10 @@ states:
97
97
  - Business rules and policies
98
98
 
99
99
  **Step 2: Create Business Analysis Tasks**
100
- For each business-relevant chapter identified, add a task to the plan file:
101
- "- [ ] Create detailed business analysis of [document-name] Chapter [X]: [chapter-title]"
100
+ For each business-relevant chapter identified, create a task:
101
+ "- [ ] Extract business capabilities from [chapter-name]"
102
102
 
103
- IMPORTANT: You MUST add these tasks to the plan file before proceeding.
103
+ IMPORTANT: You MUST create these tasks before proceeding.
104
104
 
105
105
  **Step 3: Execute Business Analysis Tasks**
106
106
  For each business analysis task:
@@ -111,7 +111,7 @@ states:
111
111
  - Who (roles/actors) performs the work
112
112
  - Why (business value/purpose) it exists
113
113
  3. Create detailed business summary emphasizing WHAT, WHY, WHO (not HOW)
114
- 4. Mark task complete in plan file
114
+ 4. Update task progress as complete
115
115
 
116
116
  **Step 4: Update Bibliography**
117
117
  Update BIBLIOGRAPHY.md with business terms found during detailed analysis:
@@ -252,7 +252,7 @@ states:
252
252
  - business-analysis/business-actors/ (folder for details)
253
253
 
254
254
  Begin analyzing processed documents to identify business capabilities and domains.
255
- Mark completed business analysis tasks in plan file.
255
+ Update task progress as you complete business analysis work.
256
256
  transition_reason: 'Business content analysis complete, ready for capability identification'
257
257
 
258
258
  capability_identification:
@@ -299,7 +299,7 @@ states:
299
299
  - trigger: 'capabilities_identified'
300
300
  to: 'capability_decomposition'
301
301
  additional_instructions: >
302
- For each identified capability, add decomposition tasks to plan file:
302
+ For each identified capability, create decomposition tasks:
303
303
  "- [ ] Decompose [capability-name] into sub-capabilities using document analysis"
304
304
 
305
305
  Begin systematic decomposition of capabilities one at a time.
@@ -362,11 +362,11 @@ states:
362
362
  <!-- Key organizational units and their responsibilities -->
363
363
  ```
364
364
 
365
- For each capability, add actor analysis tasks to plan file:
365
+ For each capability, create actor analysis tasks:
366
366
  "- [ ] Analyze business actors for [capability-name] using document analysis"
367
367
 
368
368
  Begin systematic actor analysis one capability at a time.
369
- Mark completed decomposition tasks in plan file.
369
+ Update task progress as you complete decomposition work.
370
370
  transition_reason: 'Capability decomposition complete, ready for actor analysis'
371
371
 
372
372
  actor_analysis:
@@ -375,7 +375,7 @@ states:
375
375
  You are in the actor analysis phase. Identify WHO performs each capability using Business Capability Modeling approach.
376
376
 
377
377
  **Step 1: Select Next Capability for Actor Analysis**
378
- From plan file, select the next capability to analyze for business actors.
378
+ From current tasks, select the next capability to analyze for business actors.
379
379
 
380
380
  **Step 2: Analyze Documents for Business Actors**
381
381
  Review processed documents to identify:
@@ -403,7 +403,7 @@ states:
403
403
 
404
404
  **Step 5: Refine and Document**
405
405
  Update business-actors.md with capability-actor mappings.
406
- Mark task complete in plan file.
406
+ Update task progress as complete.
407
407
 
408
408
  Focus on capability ownership and role accountability, not just organizational structure.
409
409
 
@@ -429,11 +429,11 @@ states:
429
429
  <!-- How processes relate to the actors identified -->
430
430
  ```
431
431
 
432
- For each capability, add process analysis tasks to plan file:
432
+ For each capability, create process analysis tasks:
433
433
  "- [ ] Analyze business processes for [capability-name] using document analysis and actor context"
434
434
 
435
435
  Begin systematic process analysis one capability at a time.
436
- Mark completed actor analysis tasks in plan file.
436
+ Update task progress as you complete actor analysis work.
437
437
  transition_reason: 'Actor analysis complete, ready for process analysis'
438
438
 
439
439
  process_analysis:
@@ -442,7 +442,7 @@ states:
442
442
  You are in the process analysis phase. Create process analysis tasks for systematic processing.
443
443
 
444
444
  **Step 1: Select Next Process Analysis Task**
445
- From plan file process analysis tasks, select the next capability to process.
445
+ From current process analysis tasks, select the next capability to process.
446
446
 
447
447
  **Step 2: Analyze Documents for Process Information**
448
448
  Review processed documents for process information:
@@ -470,7 +470,7 @@ states:
470
470
 
471
471
  **Step 5: Refine and Document**
472
472
  Update business-processes-detailed.md and detail folder.
473
- Mark task complete in plan file.
473
+ Update task progress as complete.
474
474
 
475
475
  Process one capability's processes at a time.
476
476
  transitions:
@@ -559,7 +559,7 @@ states:
559
559
  - All three formats (comprehensive)"
560
560
 
561
561
  Begin creating consolidated summaries and illustrations.
562
- Mark completed consistency tasks in plan file.
562
+ Update task progress as you complete consistency work.
563
563
  transition_reason: 'Consistency validation complete, ready for final summary creation'
564
564
 
565
565
  summary:
@@ -620,7 +620,7 @@ states:
620
620
  - Navigation guides and cross-references
621
621
 
622
622
  The analysis provides complete business architecture understanding using Business Capability Modeling methodology.
623
- Mark completed summary tasks in plan file.
623
+ Update task progress as you complete summary work.
624
624
  transition_reason: 'Summary creation complete, analysis finished'
625
625
 
626
626
  analysis_complete:
@@ -29,24 +29,16 @@ states:
29
29
  default_instructions: |
30
30
  You are in the exploration phase. Research the codebase, understand existing patterns, and gather context about the problem space.
31
31
  If you are not certain about conventions or rules, ask the user about them.
32
- Read relevant files and documentation. If $REQUIREMENTS_DOC exists, understand and document requirements there, otherwise document them in the plan file. Don't write code yet - focus on understanding. Document your findings in the plan file.
32
+ Read relevant files and documentation. If $REQUIREMENTS_DOC exists, understand and document requirements there, otherwise document them in your task management system. Don't write code yet - focus on understanding. Document your findings and create tasks as needed.
33
33
  transitions:
34
34
  - trigger: 'exploration_complete'
35
35
  to: 'plan'
36
36
  additional_instructions: 'Present the plan to the user, describing the impact of the changes.'
37
37
  transition_reason: 'Sufficient understanding gained, ready to create implementation plan'
38
38
 
39
- - trigger: 'abandon_feature'
40
- to: 'explore'
41
- instructions: >
42
- Feature development abandoned. Return to exploration state for new tasks.
43
- The plan file will remain for future reference if needed.
44
- additional_instructions: 'Feature development abandoned. Clean up any work in progress and prepare for new tasks.'
45
- transition_reason: 'User decided to abandon current feature development'
46
-
47
39
  plan:
48
40
  description: 'Planning phase - creating a detailed implementation strategy'
49
- default_instructions: 'You are in the planning phase. Create a detailed implementation strategy based on your exploration. If $REQUIREMENTS_DOC exists, base your strategy on requirements from $REQUIREMENTS_DOC, otherwise use the plan file context. Break down the work into specific, actionable tasks. Consider edge cases, dependencies, and potential challenges. If it impacts the general architecture and $ARCHITECTURE_DOC exists, document this in $ARCHITECTURE_DOC, otherwise use the plan file. If $DESIGN_DOC exists, make sure to adhere to the design in $DESIGN_DOC. Document the plan thoroughly. Important: Tasks that you identify for the actual coding shall be in the Code section in the plan.'
41
+ default_instructions: 'You are in the planning phase. Create a detailed implementation strategy based on your exploration. If $REQUIREMENTS_DOC exists, base your strategy on requirements from $REQUIREMENTS_DOC, otherwise use existing task context. Break down the work into specific, actionable tasks. Consider edge cases, dependencies, and potential challenges. If it impacts the general architecture and $ARCHITECTURE_DOC exists, document this in $ARCHITECTURE_DOC, otherwise create tasks to track architectural decisions. If $DESIGN_DOC exists, make sure to adhere to the design in $DESIGN_DOC. Document the planning work thoroughly and create implementation tasks as needed.'
50
42
  transitions:
51
43
  - trigger: 'need_more_exploration'
52
44
  to: 'explore'
@@ -66,13 +58,13 @@ states:
66
58
  to: 'explore'
67
59
  instructions: >
68
60
  Feature development abandoned during planning. Return to exploration state for new tasks.
69
- The plan file will remain for future reference.
61
+ Task history will remain for future reference.
70
62
  additional_instructions: 'Feature development abandoned during planning. Clean up any planning work and prepare for new tasks.'
71
63
  transition_reason: 'User decided to abandon feature during planning phase'
72
64
 
73
65
  code:
74
66
  description: 'Implementation phase - writing and building the solution'
75
- default_instructions: 'You are in the implementation phase. Follow your plan and if $DESIGN_DOC exists, follow the design from $DESIGN_DOC to build the solution. If $ARCHITECTURE_DOC exists, build according to the architecture in $ARCHITECTURE_DOC. If $REQUIREMENTS_DOC exists, ensure requirements from $REQUIREMENTS_DOC are met, otherwise ensure plan file requirements are met. Write clean, well-structured code with proper error handling. Prevent regression by building, linting and executing existing tests. Stay flexible and adapt the plan as you learn more during implementation. Update progress in the plan file. Important: Tasks that you identify for the actual coding shall be in the Code section in the plan.'
67
+ default_instructions: 'Follow your plan and if $DESIGN_DOC exists, follow the design from $DESIGN_DOC to build the solution. If $ARCHITECTURE_DOC exists, build according to the architecture in $ARCHITECTURE_DOC. If $REQUIREMENTS_DOC exists, ensure requirements from $REQUIREMENTS_DOC are met, otherwise ensure existing requirements are met based on your task context. Write clean, well-structured code with proper error handling. Prevent regression by building, linting and executing existing tests. Stay flexible and adapt the plan as you learn more during implementation. Update task progress and create new tasks as needed for implementation work.'
76
68
  transitions:
77
69
  - trigger: 'need_replanning'
78
70
  to: 'plan'
@@ -97,7 +89,7 @@ states:
97
89
  to: 'explore'
98
90
  instructions: >
99
91
  Feature development abandoned during implementation. Clean up any incomplete code and return to exploration.
100
- The plan file and any completed work will remain for future reference.
92
+ Task history and any completed work will remain for future reference.
101
93
  additional_instructions: 'Clean up any incomplete code and prepare for new tasks.'
102
94
  transition_reason: 'User decided to abandon feature during implementation'
103
95
 
@@ -141,7 +133,7 @@ states:
141
133
  - Verify documentation accuracy with a final review
142
134
  - Ensure code is ready for production/delivery
143
135
 
144
- Update the plan file with commit progress and mark completed tasks.
136
+ Update task progress and mark completed work as you finalize the feature.
145
137
  transitions:
146
138
  - trigger: 'need_code_changes'
147
139
  to: 'code'
@@ -34,7 +34,7 @@ states:
34
34
  • What technologies must/cannot be used? Why?
35
35
  • How will you measure product success?
36
36
  • Have you validated this need with potential users?
37
- Don't discuss technical implementation yet - focus purely on understanding the problem space and requirements. Document all findings in $REQUIREMENTS_DOC and the plan file.
37
+ Don't discuss technical implementation yet - focus purely on understanding the problem space and requirements. Document all findings in $REQUIREMENTS_DOC and create tasks as needed.
38
38
  transitions:
39
39
  - trigger: 'ideation_complete'
40
40
  to: 'architecture'
@@ -49,7 +49,7 @@ states:
49
49
  to: 'ideation'
50
50
  instructions: >
51
51
  Project development abandoned. Return to ideation state for new projects.
52
- The plan file will remain for future reference if needed.
52
+ Task history will remain for future reference if needed.
53
53
  additional_instructions: 'Project development abandoned. Clean up any ideation work and prepare for new projects.'
54
54
  transition_reason: 'User decided to abandon current project development'
55
55
 
@@ -76,13 +76,13 @@ states:
76
76
  to: 'ideation'
77
77
  instructions: >
78
78
  Project development abandoned during architecture phase. Return to ideation state for new projects.
79
- The plan file and PRD will remain for future reference.
79
+ Task history and PRD will remain for future reference.
80
80
  additional_instructions: 'Project development abandoned during architecture phase. Clean up any architecture work and prepare for new projects.'
81
81
  transition_reason: 'User decided to abandon project during architecture phase'
82
82
 
83
83
  plan:
84
84
  description: 'Implementation planning phase based on established architecture'
85
- default_instructions: 'You are in the planning phase. Based on your completed architecture in $ARCHITECTURE_DOC and requirements from $REQUIREMENTS_DOC, create a detailed implementation strategy. Break down the work into specific, actionable tasks considering the chosen tech stack and architectural decisions. Plan the implementation order, identify dependencies, and consider potential risks. Document the detailed design in $DESIGN_DOC and the plan thoroughly with clear milestones. Important: Tasks for the actual coding should be organized in the Code section of the plan.'
85
+ default_instructions: 'You are in the planning phase. Based on your completed architecture in $ARCHITECTURE_DOC and requirements from $REQUIREMENTS_DOC, create a detailed implementation strategy. Break down the work into specific, actionable tasks considering the chosen tech stack and architectural decisions. Plan the implementation order, identify dependencies, and consider potential risks. Document the detailed design in $DESIGN_DOC and create tasks thoroughly with clear milestones for implementation work.'
86
86
  transitions:
87
87
  - trigger: 'need_architecture_changes'
88
88
  to: 'architecture'
@@ -91,20 +91,20 @@ states:
91
91
 
92
92
  - trigger: 'plan_complete'
93
93
  to: 'code'
94
- additional_instructions: "Implementation plan is complete! ✅ Now transition to coding phase. Read specific documentation before using the chosen libraries and frameworks. Follow the architectural patterns and tech stack decisions you've made. Modularize your code according to best practices. Stay focused on the current project scope defined in your PRD. Mark completed planning tasks."
94
+ additional_instructions: "Implementation plan is complete! ✅ Now transition to coding phase. Read specific documentation before using the chosen libraries and frameworks. Follow the architectural patterns and tech stack decisions you've made. Modularize your code according to best practices. Stay focused on the current project scope defined in your PRD. Update task progress as you complete planning work."
95
95
  transition_reason: 'Implementation plan is complete and ready for coding'
96
96
 
97
97
  - trigger: 'abandon_project'
98
98
  to: 'ideation'
99
99
  instructions: >
100
100
  Project development abandoned during planning. Return to ideation state for new projects.
101
- The plan file, PRD, and architecture documentation will remain for future reference.
101
+ Task history, PRD, and architecture documentation will remain for future reference.
102
102
  additional_instructions: 'Project development abandoned during planning. Clean up any planning work and prepare for new projects.'
103
103
  transition_reason: 'User decided to abandon project during planning phase'
104
104
 
105
105
  code:
106
106
  description: 'Implementation phase following the established plan and architecture'
107
- default_instructions: 'You are in the implementation phase. Follow your plan and detailed design from $DESIGN_DOC to build the solution using the architecture from $ARCHITECTURE_DOC. Ensure all requirements from $REQUIREMENTS_DOC you are currently working on are met. Write clean, well-structured code with proper error handling. Prevent regression by building, linting, and executing existing tests. Stay flexible and adapt the plan as you learn more during implementation, but maintain alignment with your architecture decisions. Update progress in the plan file. Important: Focus on tasks in the Code section of your plan.'
107
+ default_instructions: 'Follow your plan and detailed design from $DESIGN_DOC to build the solution using the architecture from $ARCHITECTURE_DOC. Ensure all requirements from $REQUIREMENTS_DOC you are currently working on are met. Write clean, well-structured code with proper error handling. Prevent regression by building, linting, and executing existing tests. Stay flexible and adapt the plan as you learn more during implementation, but maintain alignment with your architecture decisions. Update task progress and create new tasks as needed for current phase work.'
108
108
  transitions:
109
109
  - trigger: 'need_replanning'
110
110
  to: 'plan'
@@ -124,7 +124,7 @@ states:
124
124
  to: 'ideation'
125
125
  instructions: >
126
126
  Project development abandoned during implementation. Clean up any incomplete code and return to ideation.
127
- The plan file, PRD, architecture documentation, and any completed work will remain for future reference.
127
+ Task history, PRD, architecture documentation, and any completed work will remain for future reference.
128
128
  additional_instructions: 'Project development abandoned during implementation. Clean up any incomplete code and prepare for new projects.'
129
129
  transition_reason: 'User decided to abandon project during implementation'
130
130
 
@@ -169,7 +169,7 @@ states:
169
169
  - Verify documentation accuracy with a final review
170
170
  - Ensure project is ready for users and contributors
171
171
 
172
- Update the plan file with finalization progress and mark completed tasks.
172
+ Update task progress and mark completed work as you finalize the project.
173
173
  transitions:
174
174
  - trigger: 'need_code_changes'
175
175
  to: 'code'
@@ -30,8 +30,8 @@ states:
30
30
  You are in the exploration phase for minor enhancement.
31
31
  This phase should be efficient since it's a minor enhancement.
32
32
  Understand the problem, analyze existing patterns, and design your approach.
33
- Consider the scope and impact of the change. If $REQUIREMENTS_DOC exists, document requirements there, otherwise document them in the plan file. If $DESIGN_DOC exists, respect the design approach in $DESIGN_DOC.
34
- Document your analysis and design decisions in the plan file.
33
+ Consider the scope and impact of the change. If $REQUIREMENTS_DOC exists, document requirements there, otherwise document them in your task management system. If $DESIGN_DOC exists, respect the design approach in $DESIGN_DOC.
34
+ Document your analysis and design decisions and create tasks as needed.
35
35
  Focus on analysis and design only - do not write any code yet.
36
36
  transitions:
37
37
  - trigger: 'exploration_complete'
@@ -43,13 +43,13 @@ states:
43
43
  instructions: >
44
44
  Minor enhancement abandoned. Revert potentially made changes.
45
45
  Return to exploration state for new tasks.
46
- The plan file will remain for future reference if needed.
46
+ Task history will remain for future reference if needed.
47
47
  additional_instructions: 'Minor enhancement development abandoned. Clean up any analysis work and prepare for new tasks.'
48
48
  transition_reason: 'User decided to abandon current minor enhancement'
49
49
 
50
50
  implement:
51
51
  description: 'Combined implementation phase - code, test, and commit'
52
- default_instructions: "You are in the implementation phase for minor enhancement. This phase combines coding, testing, and commit preparation. If $DESIGN_DOC exists, follow your design from $DESIGN_DOC. If $REQUIREMENTS_DOC exists, ensure the relevant requirements from $REQUIREMENTS_DOC are met, otherwise ensure plan file requirements are met. Write clean, focused code for the minor enhancement. Test your changes to ensure they work correctly and don't break existing functionality. Prepare documentation and commit when ready. Update progress in the plan file."
52
+ default_instructions: "This phase combines coding, testing, and commit preparation. If $DESIGN_DOC exists, follow your design from $DESIGN_DOC. If $REQUIREMENTS_DOC exists, ensure the relevant requirements from $REQUIREMENTS_DOC are met, otherwise ensure existing requirements are met based on your task context. Write clean, focused code for the minor enhancement. Test your changes to ensure they work correctly and don't break existing functionality. Prepare documentation and commit when ready. Update task progress as needed."
53
53
  transitions:
54
54
  - trigger: 'need_more_analysis'
55
55
  to: 'explore'
@@ -64,7 +64,7 @@ states:
64
64
  to: 'explore'
65
65
  instructions: >
66
66
  Minor enhancement abandoned during implementation. Clean up any incomplete code and return to exploration.
67
- The plan file and any completed work will remain for future reference.
67
+ Task history and any completed work will remain for future reference.
68
68
  additional_instructions: 'Clean up any incomplete code and prepare for new tasks.'
69
69
  transition_reason: 'User decided to abandon minor enhancement during implementation'
70
70
 
@@ -107,7 +107,7 @@ states:
107
107
  - Verify documentation accuracy with a final review
108
108
  - Ensure minor enhancement is ready for delivery
109
109
 
110
- Update the plan file with finalization progress and mark completed tasks.
110
+ Update task progress and mark completed work as you finalize the minor enhancement.
111
111
  transitions:
112
112
  - trigger: 'need_implementation_changes'
113
113
  to: 'implement'
@@ -31,19 +31,19 @@ states:
31
31
  Your main objective now is to gather context about what needs to be developed. Focus on the WHY and WHAT, not the HOW.
32
32
  Research the codebase, understand existing patterns,
33
33
  If you are not certain about conventions or rules, ask the user about them.
34
- Read relevant files and documentation. If $REQUIREMENTS_DOC exists, understand and document requirements there, otherwise document them in the plan file.
35
- Don't write code or tests yet - focus on understanding. Document your findings in the plan file.
34
+ Read relevant files and documentation. If $REQUIREMENTS_DOC exists, understand and document requirements there, otherwise document them in your task management system.
35
+ Don't write code or tests yet - focus on understanding. Document your findings and create tasks as needed.
36
36
  transitions:
37
37
  - trigger: 'exploration_complete'
38
38
  to: 'red'
39
- additional_instructions: 'Mark completed exploration tasks.'
39
+ additional_instructions: 'Update task progress as you complete exploration work.'
40
40
  transition_reason: 'Sufficient understanding gained, ready to start TDD cycle with failing test'
41
41
 
42
42
  - trigger: 'abandon_feature'
43
43
  to: 'explore'
44
44
  instructions: >
45
45
  Feature development abandoned. Return to exploration state for new tasks.
46
- The plan file will remain for future reference if needed.
46
+ Task history will remain for future reference if needed.
47
47
  additional_instructions: 'Clean up any work in progress and prepare for new tasks.'
48
48
  transition_reason: 'User decided to abandon current feature development'
49
49
 
@@ -62,11 +62,11 @@ states:
62
62
  - Is specific and focused on one aspect of the functionality
63
63
  - Uses appropriate assertions (not assert(true) or similar meaningless checks)
64
64
 
65
- Run the test to confirm it fails for the right reason. Document the test in the plan file.
65
+ Run the test to confirm it fails for the right reason. Document the test and update task progress as needed.
66
66
  transitions:
67
67
  - trigger: 'test_written_and_failing'
68
68
  to: 'green'
69
- additional_instructions: 'Mark completed test tasks.'
69
+ additional_instructions: 'Update task progress as you complete test writing work.'
70
70
  transition_reason: 'Failing test successfully written and validated, ready to implement'
71
71
 
72
72
  - trigger: 'need_more_exploration'
@@ -96,11 +96,11 @@ states:
96
96
  - Implementing proper logic, not shortcuts
97
97
  - Running the test to confirm it passes
98
98
 
99
- Document your implementation approach in the plan file.
99
+ Document your implementation approach and update task progress as needed.
100
100
  transitions:
101
101
  - trigger: 'test_passing'
102
102
  to: 'refactor'
103
- additional_instructions: 'Mark completed implementation tasks.'
103
+ additional_instructions: 'Update task progress as you complete implementation work.'
104
104
  transition_reason: 'Test passes with proper implementation, ready for refactoring'
105
105
 
106
106
  - trigger: 'need_different_test'
@@ -135,11 +135,11 @@ states:
135
135
  - Make small, incremental improvements
136
136
  - Stop when code is clean and no obvious improvements remain
137
137
 
138
- Document significant refactoring decisions in the plan file.
138
+ Document significant refactoring decisions and update task progress as needed.
139
139
  transitions:
140
140
  - trigger: 'refactoring_complete'
141
141
  to: 'red'
142
- additional_instructions: 'Mark completed refactoring tasks.'
142
+ additional_instructions: 'Update task progress as you complete refactoring work.'
143
143
  transition_reason: 'Code cleanup complete, ready for next TDD cycle'
144
144
 
145
145
  - trigger: 'need_different_approach'
@@ -148,7 +148,7 @@ states:
148
148
 
149
149
  - trigger: 'feature_complete'
150
150
  to: 'explore'
151
- additional_instructions: 'Mark feature as complete in plan file.'
151
+ additional_instructions: 'Update task progress to reflect feature completion.'
152
152
  transition_reason: 'Feature fully implemented and cleaned up, ready for new tasks'
153
153
 
154
154
  - trigger: 'abandon_feature'
@@ -35,7 +35,7 @@ states:
35
35
  • How will you measure success? What are the acceptance criteria?
36
36
  • What are your time, budget, technical, or regulatory constraints?
37
37
  • What existing systems must this integrate with?
38
- Break down their needs into specific requirements in $REQUIREMENTS_DOC. Plan actionable tasks referencing those requirements in the plan file.
38
+ Break down their needs into specific requirements in $REQUIREMENTS_DOC. Create actionable tasks referencing those requirements.
39
39
  transitions:
40
40
  - trigger: 'requirements_complete'
41
41
  to: 'design'
@@ -53,7 +53,7 @@ states:
53
53
  Review requirements from $REQUIREMENTS_DOC and design the technical solution
54
54
  Focus on HOW to implement what's needed including architecture, technologies, data models, API design, and quality goals.
55
55
  Clarify performance expectations and technology preferences if not already obvious from the current analysis.
56
- Document architectural decisions in $ARCHITECTURE_DOC and detailed design in $DESIGN_DOC. Update the plan file and ensure the approach is solid before implementation."
56
+ Document architectural decisions in $ARCHITECTURE_DOC and detailed design in $DESIGN_DOC. Create tasks and ensure the approach is solid before implementation."
57
57
  transitions:
58
58
  - trigger: 'need_more_requirements'
59
59
  to: 'requirements'
@@ -72,10 +72,10 @@ states:
72
72
  implementation:
73
73
  description: 'Building the solution according to design'
74
74
  default_instructions: |
75
- You are in the implementation phase. Follow the architecture from $ARCHITECTURE_DOC and detailed design from $DESIGN_DOC to build the solution. Before starting, clarify the approach:
75
+ Follow the architecture from $ARCHITECTURE_DOC and detailed design from $DESIGN_DOC to build the solution. Before starting, clarify the approach:
76
76
  • Should this be implemented incrementally or all at once? Any specific order of implementation?
77
77
  • Are there high-risk parts that need extra validation or careful implementation?
78
- Ensure requirements from $REQUIREMENTS_DOC are met. Focus on code structure, error handling, security, and maintainability. Write clean, well-documented code and include basic testing. Update the plan file with implementation progress.
78
+ Ensure requirements from $REQUIREMENTS_DOC are met. Focus on code structure, error handling, security, and maintainability. Write clean, well-documented code and include basic testing. Update task progress during implementation work.
79
79
  transitions:
80
80
  - trigger: 'need_design_changes'
81
81
  to: 'design'
@@ -98,7 +98,7 @@ states:
98
98
 
99
99
  qa:
100
100
  description: 'Quality assurance and code review'
101
- default_instructions: 'You are in the quality assurance phase. Take the following specific actions: 1) Syntax Check: Run syntax checking tools or validate syntax manually, 2) Build Project: Build the project to verify it compiles without errors, 3) Run Linter: Execute linting tools to ensure code style consistency, 4) Execute Tests: Run existing tests to verify functionality. Then conduct a multi-perspective code review from security, performance, UX, maintainability, and requirement compliance perspectives. Verify implementation matches $DESIGN_DOC specifications and fulfills the targeted requirements from $REQUIREMENTS_DOC. Update the plan file with QA progress and mark completed tasks.'
101
+ default_instructions: 'You are in the quality assurance phase. Take the following specific actions: 1) Syntax Check: Run syntax checking tools or validate syntax manually, 2) Build Project: Build the project to verify it compiles without errors, 3) Run Linter: Execute linting tools to ensure code style consistency, 4) Execute Tests: Run existing tests to verify functionality. Then conduct a multi-perspective code review from security, performance, UX, maintainability, and requirement compliance perspectives. Verify implementation matches $DESIGN_DOC specifications and fulfills the targeted requirements from $REQUIREMENTS_DOC. Update task progress and mark completed work during QA review.'
102
102
  transitions:
103
103
  - trigger: 'need_implementation_fixes'
104
104
  to: 'implementation'
@@ -177,7 +177,7 @@ states:
177
177
  - Verify documentation accuracy with a final review
178
178
  - Ensure code is ready for production/delivery
179
179
 
180
- Update the plan file with finalization progress and mark completed tasks.
180
+ Update task progress and mark completed work as you finalize the feature.
181
181
  transitions:
182
182
  - trigger: 'need_final_changes'
183
183
  to: 'implementation'