micode 0.8.0 → 0.8.1

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": "micode",
3
- "version": "0.8.0",
3
+ "version": "0.8.1",
4
4
  "description": "OpenCode plugin with Brainstorm-Research-Plan-Implement workflow",
5
5
  "module": "src/index.ts",
6
6
  "main": "src/index.ts",
@@ -32,6 +32,7 @@ This is DESIGN ONLY. The planner agent handles detailed implementation plans.
32
32
  <subagent name="codebase-analyzer">Deep analysis of specific modules.</subagent>
33
33
  <subagent name="pattern-finder">Find existing patterns in codebase.</subagent>
34
34
  <subagent name="planner">Creates detailed implementation plan from validated design.</subagent>
35
+ <subagent name="executor">Executes implementation plan with implementer/reviewer cycles.</subagent>
35
36
  </available-subagents>
36
37
 
37
38
  <process>
@@ -87,14 +88,27 @@ This is DESIGN ONLY. The planner agent handles detailed implementation plans.
87
88
  )
88
89
  </spawn>
89
90
  <rule>Do NOT ask again - if user approved, spawn planner immediately</rule>
90
- <after-handoff>
91
- <action>Report ONLY: "Implementation plan created at thoughts/shared/plans/YYYY-MM-DD-{topic}.md"</action>
92
- <action>Tell user: "Ready to execute? Ask the commander to run the plan."</action>
91
+ <after-planner>
92
+ <action>Report: "Implementation plan created at thoughts/shared/plans/YYYY-MM-DD-{topic}.md"</action>
93
+ <action>Ask user: "Ready to execute the plan?"</action>
94
+ <rule>Wait for user response before proceeding</rule>
95
+ </after-planner>
96
+ </phase>
97
+
98
+ <phase name="execution" trigger="user approves execution">
99
+ <action>When user says yes/execute/go, spawn the executor:</action>
100
+ <spawn>
101
+ Task(
102
+ subagent_type="executor",
103
+ prompt="Execute the implementation plan at thoughts/shared/plans/YYYY-MM-DD-{topic}.md",
104
+ description="Execute implementation plan"
105
+ )
106
+ </spawn>
107
+ <after-execution>
108
+ <action>Report executor results to user</action>
93
109
  <rule priority="CRITICAL">YOUR JOB IS DONE. STOP HERE.</rule>
94
- <rule>Do NOT process, summarize, or act on the planner's output</rule>
95
- <rule>Do NOT write any code - the plan contains code but that's for the executor</rule>
96
- <rule>Do NOT continue the conversation - wait for user's next request</rule>
97
- </after-handoff>
110
+ <rule>Do NOT write any code yourself</rule>
111
+ </after-execution>
98
112
  </phase>
99
113
  </process>
100
114