@codemcp/workflows-core 3.5.1 → 3.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codemcp/workflows-core",
3
- "version": "3.5.1",
3
+ "version": "3.6.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "module",
@@ -34,7 +34,7 @@ states:
34
34
  6. Create initial ADR structure using existing format or template above
35
35
 
36
36
  Focus on understanding WHAT decision needs to be made and WHY it's important.
37
- Don't make the decision yet - that happens in the decide phase.
37
+ Don't evaluate technical options or make the decision yet - that happens in the decide phase.
38
38
 
39
39
  additional_instructions: |
40
40
  **ADR Template (use if no existing ADRs found):**
@@ -66,10 +66,6 @@ states:
66
66
  to: research
67
67
  transition_reason: 'Architectural problem clearly defined, ready to research options'
68
68
 
69
- - trigger: abandon_adr
70
- to: context
71
- transition_reason: 'User decided to abandon current ADR'
72
-
73
69
  research:
74
70
  description: 'Investigate options, gather information, and analyze alternatives'
75
71
  default_instructions: |
@@ -86,6 +82,11 @@ states:
86
82
  Work with the user to thoroughly understand all viable options before making a decision.
87
83
  Update the ADR with research findings but don't make the final decision yet.
88
84
 
85
+ transitions:
86
+ - trigger: research_complete
87
+ to: decide
88
+ transition_reason: 'Research completed, ready to make architectural decision'
89
+
89
90
  decide:
90
91
  description: 'Make the architectural decision and document the rationale'
91
92
  default_instructions: |
@@ -131,3 +132,8 @@ states:
131
132
  8. Save/integrate ADR into $ARCHITECTURE_DOC or appropriate location
132
133
 
133
134
  This is the final validation and cleanup phase before the ADR is complete.
135
+
136
+ transitions:
137
+ - trigger: need_decision_changes
138
+ to: decide
139
+ transition_reason: 'Final review found problems with the decision documentation'