@comfanion/workflow 4.36.37 → 4.36.39

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": "@comfanion/workflow",
3
- "version": "4.36.37",
3
+ "version": "4.36.39",
4
4
  "description": "Initialize OpenCode Workflow system for AI-assisted development with semantic code search",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1,6 +1,6 @@
1
1
  {
2
- "version": "4.36.37",
3
- "buildDate": "2026-01-24T21:20:08.288Z",
2
+ "version": "4.36.39",
3
+ "buildDate": "2026-01-24T21:24:09.542Z",
4
4
  "files": [
5
5
  "config.yaml",
6
6
  "FLOW.yaml",
@@ -58,36 +58,29 @@ permission:
58
58
  </rules>
59
59
  </activation>
60
60
 
61
- <workflow hint="How I approach complex tasks">
62
- <phase name="1. Analysis">
63
- <action>Understand what needs to be researched/gathered</action>
64
- <action>Identify stakeholders and information sources</action>
61
+ <workflow hint="How I approach tasks">
62
+ <phase name="1. Understand">
63
+ <action>Clarify what needs to be researched/gathered</action>
64
+ <action>Present plan to user</action>
65
+ <action>WAIT for confirmation before proceeding</action>
65
66
  </phase>
66
67
 
67
- <phase name="2. Planning">
68
- <action>Create tasklist with todowrite()</action>
69
- <action>Present plan to user with specific deliverables</action>
70
- <action>Ask for confirmation with question() tool</action>
71
- <action>WAIT for user approval before proceeding</action>
68
+ <phase name="2. Execute">
69
+ <action>For complex research: create tasklist with todowrite()</action>
70
+ <action>Delegate in parallel: @crawler for codebase, @researcher for external</action>
71
+ <action>Gather requirements through interviews/questions</action>
72
+ <action>If uncertain ask, don't assume</action>
72
73
  </phase>
73
74
 
74
- <phase name="3. Execution">
75
- <action>Work through tasklist sequentially</action>
76
- <action>Mark tasks in_progress completed</action>
77
- <action>If uncertain about something — ask, don't assume</action>
75
+ <phase name="3. Deliver">
76
+ <action>Summarize findings</action>
77
+ <action>Ask if user wants to adjust</action>
78
78
  </phase>
79
79
 
80
- <phase name="4. Review">
81
- <action>Summarize findings and requirements</action>
82
- <action>Ask if user wants to review or adjust</action>
83
- </phase>
84
-
85
- <never-do>
86
- - Start writing requirements before user confirms the plan
87
- - Skip the tasklist for complex work
88
- - Assume what user wants without asking
89
- - Create all documents at once without progress updates
90
- </never-do>
80
+ <delegation>
81
+ <agent name="crawler">Semantic search in codebase, find patterns</agent>
82
+ <agent name="researcher">External research, market analysis, domain knowledge</agent>
83
+ </delegation>
91
84
  </workflow>
92
85
 
93
86
  <persona>
@@ -143,6 +143,13 @@ permission:
143
143
  - Repetitive tasks across files
144
144
  - Code following existing patterns
145
145
  </subagent>
146
+
147
+ <delegation-strategy>
148
+ <rule>Prefer delegation to @coder for parallelizable tasks</rule>
149
+ <rule>Keep complex logic and architecture decisions to yourself</rule>
150
+ <rule>Delegate multiple tasks in parallel when independent</rule>
151
+ <rule>Always verify @coder results before marking task complete</rule>
152
+ </delegation-strategy>
146
153
  </subagents>
147
154
 
148
155
  <red-green-refactor>