claude-code-workflow 7.2.23 → 7.2.24

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.
Files changed (181) hide show
  1. package/.codex/skills/team-arch-opt/SKILL.md +242 -175
  2. package/.codex/skills/team-arch-opt/roles/analyzer/role.md +78 -78
  3. package/.codex/skills/team-arch-opt/roles/coordinator/commands/analyze.md +57 -57
  4. package/.codex/skills/team-arch-opt/roles/coordinator/commands/monitor.md +246 -204
  5. package/.codex/skills/team-arch-opt/roles/coordinator/role.md +196 -184
  6. package/.codex/skills/team-arch-opt/roles/designer/role.md +115 -115
  7. package/.codex/skills/team-arch-opt/roles/refactorer/role.md +102 -102
  8. package/.codex/skills/team-arch-opt/roles/reviewer/role.md +111 -111
  9. package/.codex/skills/team-arch-opt/roles/validator/role.md +115 -115
  10. package/.codex/skills/team-arch-opt/specs/pipelines.md +102 -102
  11. package/.codex/skills/team-brainstorm/SKILL.md +72 -4
  12. package/.codex/skills/team-brainstorm/roles/challenger/role.md +61 -61
  13. package/.codex/skills/team-brainstorm/roles/coordinator/commands/analyze.md +58 -58
  14. package/.codex/skills/team-brainstorm/roles/coordinator/commands/monitor.md +212 -171
  15. package/.codex/skills/team-brainstorm/roles/coordinator/role.md +172 -160
  16. package/.codex/skills/team-brainstorm/roles/evaluator/role.md +56 -56
  17. package/.codex/skills/team-brainstorm/roles/ideator/role.md +69 -69
  18. package/.codex/skills/team-brainstorm/roles/synthesizer/role.md +57 -57
  19. package/.codex/skills/team-brainstorm/specs/pipelines.md +72 -72
  20. package/.codex/skills/team-coordinate/SKILL.md +71 -3
  21. package/.codex/skills/team-coordinate/roles/coordinator/commands/monitor.md +45 -5
  22. package/.codex/skills/team-coordinate/roles/coordinator/role.md +402 -389
  23. package/.codex/skills/team-coordinate/specs/knowledge-transfer.md +111 -111
  24. package/.codex/skills/team-coordinate/specs/pipelines.md +97 -97
  25. package/.codex/skills/team-coordinate/specs/quality-gates.md +112 -112
  26. package/.codex/skills/team-designer/SKILL.md +153 -153
  27. package/.codex/skills/team-designer/phases/01-requirements-analysis.md +250 -250
  28. package/.codex/skills/team-designer/phases/02-scaffold-generation.md +228 -228
  29. package/.codex/skills/team-designer/phases/03-content-generation.md +330 -330
  30. package/.codex/skills/team-designer/phases/04-validation.md +320 -320
  31. package/.codex/skills/team-executor/SKILL.md +29 -2
  32. package/.codex/skills/team-executor/roles/executor/commands/monitor.md +23 -15
  33. package/.codex/skills/team-frontend/SKILL.md +77 -3
  34. package/.codex/skills/team-frontend/roles/analyst/role.md +92 -92
  35. package/.codex/skills/team-frontend/roles/architect/role.md +86 -86
  36. package/.codex/skills/team-frontend/roles/coordinator/commands/analyze.md +52 -52
  37. package/.codex/skills/team-frontend/roles/coordinator/commands/monitor.md +222 -188
  38. package/.codex/skills/team-frontend/roles/coordinator/role.md +189 -177
  39. package/.codex/skills/team-frontend/roles/developer/role.md +93 -93
  40. package/.codex/skills/team-frontend/roles/qa/role.md +79 -79
  41. package/.codex/skills/team-frontend/specs/pipelines.md +76 -76
  42. package/.codex/skills/team-frontend-debug/SKILL.md +66 -3
  43. package/.codex/skills/team-frontend-debug/roles/analyzer/role.md +208 -208
  44. package/.codex/skills/team-frontend-debug/roles/coordinator/commands/analyze.md +174 -174
  45. package/.codex/skills/team-frontend-debug/roles/coordinator/commands/dispatch.md +198 -198
  46. package/.codex/skills/team-frontend-debug/roles/coordinator/commands/monitor.md +177 -143
  47. package/.codex/skills/team-frontend-debug/roles/coordinator/role.md +164 -152
  48. package/.codex/skills/team-frontend-debug/roles/fixer/role.md +147 -147
  49. package/.codex/skills/team-frontend-debug/roles/reproducer/role.md +147 -147
  50. package/.codex/skills/team-frontend-debug/roles/tester/role.md +231 -231
  51. package/.codex/skills/team-frontend-debug/roles/verifier/role.md +172 -172
  52. package/.codex/skills/team-frontend-debug/specs/debug-tools.md +215 -215
  53. package/.codex/skills/team-frontend-debug/specs/pipelines.md +94 -94
  54. package/.codex/skills/team-issue/SKILL.md +83 -4
  55. package/.codex/skills/team-issue/roles/coordinator/commands/analyze.md +64 -64
  56. package/.codex/skills/team-issue/roles/coordinator/commands/dispatch.md +273 -273
  57. package/.codex/skills/team-issue/roles/coordinator/commands/monitor.md +235 -194
  58. package/.codex/skills/team-issue/roles/coordinator/role.md +206 -194
  59. package/.codex/skills/team-issue/roles/explorer/role.md +94 -94
  60. package/.codex/skills/team-issue/roles/implementer/role.md +87 -87
  61. package/.codex/skills/team-issue/roles/integrator/role.md +84 -84
  62. package/.codex/skills/team-issue/roles/planner/role.md +81 -81
  63. package/.codex/skills/team-issue/roles/reviewer/role.md +86 -86
  64. package/.codex/skills/team-issue/specs/pipelines.md +124 -124
  65. package/.codex/skills/team-iterdev/SKILL.md +64 -3
  66. package/.codex/skills/team-iterdev/roles/architect/role.md +65 -65
  67. package/.codex/skills/team-iterdev/roles/coordinator/commands/analyze.md +62 -62
  68. package/.codex/skills/team-iterdev/roles/coordinator/commands/monitor.md +227 -186
  69. package/.codex/skills/team-iterdev/roles/coordinator/role.md +193 -181
  70. package/.codex/skills/team-iterdev/roles/developer/role.md +74 -74
  71. package/.codex/skills/team-iterdev/roles/reviewer/role.md +66 -66
  72. package/.codex/skills/team-iterdev/roles/tester/role.md +88 -88
  73. package/.codex/skills/team-iterdev/specs/pipelines.md +94 -94
  74. package/.codex/skills/team-lifecycle-v4/MIGRATION-PLAN.md +6 -6
  75. package/.codex/skills/team-lifecycle-v4/SKILL.md +305 -242
  76. package/.codex/skills/team-lifecycle-v4/roles/coordinator/commands/dispatch.md +1 -1
  77. package/.codex/skills/team-lifecycle-v4/roles/coordinator/commands/monitor.md +66 -24
  78. package/.codex/skills/team-lifecycle-v4/roles/coordinator/role.md +13 -1
  79. package/.codex/skills/team-lifecycle-v4/roles/supervisor/role.md +1 -1
  80. package/.codex/skills/team-lifecycle-v4/templates/architecture.md +254 -254
  81. package/.codex/skills/team-lifecycle-v4/templates/epics.md +196 -196
  82. package/.codex/skills/team-lifecycle-v4/templates/product-brief.md +133 -133
  83. package/.codex/skills/team-lifecycle-v4/templates/requirements.md +224 -224
  84. package/.codex/skills/team-perf-opt/SKILL.md +68 -3
  85. package/.codex/skills/team-perf-opt/roles/benchmarker/role.md +89 -89
  86. package/.codex/skills/team-perf-opt/roles/coordinator/commands/analyze.md +61 -61
  87. package/.codex/skills/team-perf-opt/roles/coordinator/commands/monitor.md +35 -1
  88. package/.codex/skills/team-perf-opt/roles/coordinator/role.md +179 -167
  89. package/.codex/skills/team-perf-opt/roles/optimizer/role.md +97 -97
  90. package/.codex/skills/team-perf-opt/roles/profiler/role.md +73 -73
  91. package/.codex/skills/team-perf-opt/roles/reviewer/role.md +75 -75
  92. package/.codex/skills/team-perf-opt/roles/strategist/role.md +94 -94
  93. package/.codex/skills/team-perf-opt/specs/pipelines.md +65 -65
  94. package/.codex/skills/team-planex/SKILL.md +65 -3
  95. package/.codex/skills/team-planex/roles/coordinator/commands/analyze.md +52 -52
  96. package/.codex/skills/team-planex/roles/coordinator/commands/monitor.md +210 -164
  97. package/.codex/skills/team-planex/roles/coordinator/role.md +171 -159
  98. package/.codex/skills/team-planex/roles/executor/role.md +91 -91
  99. package/.codex/skills/team-planex/roles/planner/role.md +112 -112
  100. package/.codex/skills/team-planex/specs/pipelines.md +93 -93
  101. package/.codex/skills/team-quality-assurance/SKILL.md +60 -3
  102. package/.codex/skills/team-quality-assurance/roles/analyst/role.md +80 -80
  103. package/.codex/skills/team-quality-assurance/roles/coordinator/commands/analyze.md +72 -72
  104. package/.codex/skills/team-quality-assurance/roles/coordinator/commands/dispatch.md +108 -108
  105. package/.codex/skills/team-quality-assurance/roles/coordinator/commands/monitor.md +243 -209
  106. package/.codex/skills/team-quality-assurance/roles/coordinator/role.md +176 -164
  107. package/.codex/skills/team-quality-assurance/roles/executor/role.md +66 -66
  108. package/.codex/skills/team-quality-assurance/roles/generator/role.md +68 -68
  109. package/.codex/skills/team-quality-assurance/roles/scout/role.md +67 -67
  110. package/.codex/skills/team-quality-assurance/roles/strategist/role.md +71 -71
  111. package/.codex/skills/team-quality-assurance/specs/pipelines.md +115 -115
  112. package/.codex/skills/team-review/SKILL.md +58 -3
  113. package/.codex/skills/team-review/roles/coordinator/commands/analyze.md +71 -71
  114. package/.codex/skills/team-review/roles/coordinator/commands/dispatch.md +90 -90
  115. package/.codex/skills/team-review/roles/coordinator/commands/monitor.md +225 -185
  116. package/.codex/skills/team-review/roles/coordinator/role.md +175 -163
  117. package/.codex/skills/team-review/roles/fixer/role.md +76 -76
  118. package/.codex/skills/team-review/roles/reviewer/role.md +68 -68
  119. package/.codex/skills/team-review/roles/scanner/role.md +71 -71
  120. package/.codex/skills/team-review/specs/pipelines.md +102 -102
  121. package/.codex/skills/team-roadmap-dev/SKILL.md +55 -3
  122. package/.codex/skills/team-roadmap-dev/roles/coordinator/commands/analyze.md +61 -61
  123. package/.codex/skills/team-roadmap-dev/roles/coordinator/commands/monitor.md +502 -468
  124. package/.codex/skills/team-roadmap-dev/roles/coordinator/role.md +335 -322
  125. package/.codex/skills/team-roadmap-dev/roles/executor/role.md +71 -71
  126. package/.codex/skills/team-roadmap-dev/roles/planner/role.md +76 -76
  127. package/.codex/skills/team-roadmap-dev/roles/verifier/role.md +74 -74
  128. package/.codex/skills/team-roadmap-dev/specs/pipelines.md +93 -93
  129. package/.codex/skills/team-tech-debt/SKILL.md +56 -3
  130. package/.codex/skills/team-tech-debt/roles/assessor/role.md +69 -69
  131. package/.codex/skills/team-tech-debt/roles/coordinator/commands/analyze.md +47 -47
  132. package/.codex/skills/team-tech-debt/roles/coordinator/commands/monitor.md +272 -231
  133. package/.codex/skills/team-tech-debt/roles/coordinator/role.md +172 -160
  134. package/.codex/skills/team-tech-debt/roles/executor/role.md +76 -76
  135. package/.codex/skills/team-tech-debt/roles/planner/role.md +69 -69
  136. package/.codex/skills/team-tech-debt/roles/scanner/role.md +82 -82
  137. package/.codex/skills/team-tech-debt/roles/validator/role.md +75 -75
  138. package/.codex/skills/team-tech-debt/specs/pipelines.md +47 -47
  139. package/.codex/skills/team-testing/SKILL.md +72 -3
  140. package/.codex/skills/team-testing/roles/analyst/role.md +95 -95
  141. package/.codex/skills/team-testing/roles/coordinator/commands/analyze.md +70 -70
  142. package/.codex/skills/team-testing/roles/coordinator/commands/dispatch.md +106 -106
  143. package/.codex/skills/team-testing/roles/coordinator/commands/monitor.md +283 -242
  144. package/.codex/skills/team-testing/roles/coordinator/role.md +184 -172
  145. package/.codex/skills/team-testing/roles/executor/role.md +96 -96
  146. package/.codex/skills/team-testing/roles/generator/role.md +95 -95
  147. package/.codex/skills/team-testing/roles/strategist/role.md +83 -83
  148. package/.codex/skills/team-testing/specs/pipelines.md +101 -101
  149. package/.codex/skills/team-uidesign/SKILL.md +65 -3
  150. package/.codex/skills/team-uidesign/roles/coordinator/commands/analyze.md +59 -59
  151. package/.codex/skills/team-uidesign/roles/coordinator/commands/dispatch.md +156 -156
  152. package/.codex/skills/team-uidesign/roles/coordinator/commands/monitor.md +234 -194
  153. package/.codex/skills/team-uidesign/roles/coordinator/role.md +211 -199
  154. package/.codex/skills/team-uidesign/roles/designer/role.md +69 -69
  155. package/.codex/skills/team-uidesign/roles/implementer/role.md +72 -72
  156. package/.codex/skills/team-uidesign/roles/researcher/role.md +82 -82
  157. package/.codex/skills/team-uidesign/roles/reviewer/role.md +67 -67
  158. package/.codex/skills/team-uidesign/specs/pipelines.md +76 -76
  159. package/.codex/skills/team-ultra-analyze/SKILL.md +73 -3
  160. package/.codex/skills/team-ultra-analyze/roles/analyst/role.md +90 -90
  161. package/.codex/skills/team-ultra-analyze/roles/coordinator/commands/analyze.md +73 -73
  162. package/.codex/skills/team-ultra-analyze/roles/coordinator/commands/monitor.md +50 -9
  163. package/.codex/skills/team-ultra-analyze/roles/coordinator/role.md +255 -243
  164. package/.codex/skills/team-ultra-analyze/roles/discussant/role.md +104 -104
  165. package/.codex/skills/team-ultra-analyze/roles/explorer/role.md +74 -74
  166. package/.codex/skills/team-ultra-analyze/roles/synthesizer/role.md +78 -78
  167. package/.codex/skills/team-ultra-analyze/specs/pipelines.md +64 -64
  168. package/.codex/skills/team-ux-improve/SKILL.md +64 -3
  169. package/.codex/skills/team-ux-improve/roles/coordinator/commands/analyze.md +62 -62
  170. package/.codex/skills/team-ux-improve/roles/coordinator/commands/dispatch.md +233 -233
  171. package/.codex/skills/team-ux-improve/roles/coordinator/commands/monitor.md +195 -160
  172. package/.codex/skills/team-ux-improve/roles/coordinator/role.md +170 -158
  173. package/.codex/skills/team-ux-improve/roles/designer/role.md +122 -122
  174. package/.codex/skills/team-ux-improve/roles/diagnoser/role.md +93 -93
  175. package/.codex/skills/team-ux-improve/roles/explorer/role.md +77 -77
  176. package/.codex/skills/team-ux-improve/roles/implementer/role.md +102 -102
  177. package/.codex/skills/team-ux-improve/roles/scanner/role.md +93 -93
  178. package/.codex/skills/team-ux-improve/roles/tester/role.md +84 -84
  179. package/.codex/skills/team-ux-improve/specs/pipelines.md +54 -54
  180. package/README.md +1 -0
  181. package/package.json +1 -1
@@ -1,87 +1,87 @@
1
- ---
2
- role: implementer
3
- prefix: BUILD
4
- inner_loop: false
5
- message_types: [impl_complete, impl_failed, error]
6
- ---
7
-
8
- # Issue Implementer
9
-
10
- Load solution plan, route to execution backend (Agent/Codex/Gemini), run tests, and commit. Execution method determined by coordinator during task creation. Supports parallel instances for batch mode.
11
-
12
- ## Modes
13
-
14
- | Backend | Condition | Method |
15
- |---------|-----------|--------|
16
- | codex | task_count > 3 or explicit | `ccw cli --tool codex --mode write --id issue-<issueId>` |
17
- | gemini | task_count <= 3 or explicit | `ccw cli --tool gemini --mode write --id issue-<issueId>` |
18
- | qwen | explicit | `ccw cli --tool qwen --mode write --id issue-<issueId>` |
19
-
20
- ## Phase 2: Load Solution & Resolve Executor
21
-
22
- | Input | Source | Required |
23
- |-------|--------|----------|
24
- | Issue ID | Task description (GH-\d+ or ISS-\d{8}-\d{6}) | Yes |
25
- | Bound solution | `ccw issue solutions <id> --json` | Yes |
26
- | Explorer context | `<session>/explorations/context-<issueId>.json` | No |
27
- | Execution method | Task description (`execution_method: Codex|Gemini|Qwen|Auto`) | Yes |
28
- | Code review | Task description (`code_review: Skip|Gemini Review|Codex Review`) | No |
29
-
30
- 1. Extract issue ID from task description
31
- 2. If no issue ID -> report error, STOP
32
- 3. Load bound solution: `Bash("ccw issue solutions <issueId> --json")`
33
- 4. If no bound solution -> report error, STOP
34
- 5. Load explorer context (if available)
35
- 6. Resolve execution method (Auto: task_count <= 3 -> gemini, else codex)
36
- 7. Update issue status: `Bash("ccw issue update <issueId> --status in-progress")`
37
-
38
- ## Phase 3: Implementation (Multi-Backend Routing)
39
-
40
- **Execution prompt template** (all backends):
41
-
42
- ```
43
- ## Issue
44
- ID: <issueId>
45
- Title: <solution.bound.title>
46
-
47
- ## Solution Plan
48
- <solution.bound JSON>
49
-
50
- ## Codebase Context (from explorer)
51
- Relevant files: <explorerContext.relevant_files>
52
- Existing patterns: <explorerContext.existing_patterns>
53
- Dependencies: <explorerContext.dependencies>
54
-
55
- ## Implementation Requirements
56
- 1. Follow the solution plan tasks in order
57
- 2. Write clean, minimal code following existing patterns
58
- 3. Run tests after each significant change
59
- 4. Ensure all existing tests still pass
60
- 5. Do NOT over-engineer
61
-
62
- ## Quality Checklist
63
- - All solution tasks implemented
64
- - No TypeScript/linting errors
65
- - Existing tests pass
66
- - New tests added where appropriate
67
- ```
68
-
69
- Route by executor:
70
- - **codex**: `Bash("ccw cli -p \"<prompt>\" --tool codex --mode write --id issue-<issueId>")`
71
- - **gemini**: `Bash("ccw cli -p \"<prompt>\" --tool gemini --mode write --id issue-<issueId>")`
72
- - **qwen**: `Bash("ccw cli -p \"<prompt>\" --tool qwen --mode write --id issue-<issueId>")`
73
-
74
- On CLI failure, resume: `ccw cli -p "Continue" --resume issue-<issueId> --tool <tool> --mode write`
75
-
76
- ## Phase 4: Verify & Commit
77
-
78
- | Check | Method | Pass Criteria |
79
- |-------|--------|---------------|
80
- | Tests pass | Detect and run test command | No new failures |
81
- | Code review | Optional, per task config | Review output logged |
82
-
83
- - Tests pass -> optional code review -> `ccw issue update <issueId> --status resolved` -> report `impl_complete`
84
- - Tests fail -> report `impl_failed` with truncated test output
85
-
86
- Update `<session>/wisdom/.msg/meta.json` under `implementer` namespace:
87
- - Read existing -> merge `{ "implementer": { issue_id, executor, test_status, review_status } }` -> write back
1
+ ---
2
+ role: implementer
3
+ prefix: BUILD
4
+ inner_loop: false
5
+ message_types: [impl_complete, impl_failed, error]
6
+ ---
7
+
8
+ # Issue Implementer
9
+
10
+ Load solution plan, route to execution backend (Agent/Codex/Gemini), run tests, and commit. Execution method determined by coordinator during task creation. Supports parallel instances for batch mode.
11
+
12
+ ## Modes
13
+
14
+ | Backend | Condition | Method |
15
+ |---------|-----------|--------|
16
+ | codex | task_count > 3 or explicit | `ccw cli --tool codex --mode write --id issue-<issueId>` |
17
+ | gemini | task_count <= 3 or explicit | `ccw cli --tool gemini --mode write --id issue-<issueId>` |
18
+ | qwen | explicit | `ccw cli --tool qwen --mode write --id issue-<issueId>` |
19
+
20
+ ## Phase 2: Load Solution & Resolve Executor
21
+
22
+ | Input | Source | Required |
23
+ |-------|--------|----------|
24
+ | Issue ID | Task description (GH-\d+ or ISS-\d{8}-\d{6}) | Yes |
25
+ | Bound solution | `ccw issue solutions <id> --json` | Yes |
26
+ | Explorer context | `<session>/explorations/context-<issueId>.json` | No |
27
+ | Execution method | Task description (`execution_method: Codex|Gemini|Qwen|Auto`) | Yes |
28
+ | Code review | Task description (`code_review: Skip|Gemini Review|Codex Review`) | No |
29
+
30
+ 1. Extract issue ID from task description
31
+ 2. If no issue ID -> report error, STOP
32
+ 3. Load bound solution: `Bash("ccw issue solutions <issueId> --json")`
33
+ 4. If no bound solution -> report error, STOP
34
+ 5. Load explorer context (if available)
35
+ 6. Resolve execution method (Auto: task_count <= 3 -> gemini, else codex)
36
+ 7. Update issue status: `Bash("ccw issue update <issueId> --status in-progress")`
37
+
38
+ ## Phase 3: Implementation (Multi-Backend Routing)
39
+
40
+ **Execution prompt template** (all backends):
41
+
42
+ ```
43
+ ## Issue
44
+ ID: <issueId>
45
+ Title: <solution.bound.title>
46
+
47
+ ## Solution Plan
48
+ <solution.bound JSON>
49
+
50
+ ## Codebase Context (from explorer)
51
+ Relevant files: <explorerContext.relevant_files>
52
+ Existing patterns: <explorerContext.existing_patterns>
53
+ Dependencies: <explorerContext.dependencies>
54
+
55
+ ## Implementation Requirements
56
+ 1. Follow the solution plan tasks in order
57
+ 2. Write clean, minimal code following existing patterns
58
+ 3. Run tests after each significant change
59
+ 4. Ensure all existing tests still pass
60
+ 5. Do NOT over-engineer
61
+
62
+ ## Quality Checklist
63
+ - All solution tasks implemented
64
+ - No TypeScript/linting errors
65
+ - Existing tests pass
66
+ - New tests added where appropriate
67
+ ```
68
+
69
+ Route by executor:
70
+ - **codex**: `Bash("ccw cli -p \"<prompt>\" --tool codex --mode write --id issue-<issueId>")`
71
+ - **gemini**: `Bash("ccw cli -p \"<prompt>\" --tool gemini --mode write --id issue-<issueId>")`
72
+ - **qwen**: `Bash("ccw cli -p \"<prompt>\" --tool qwen --mode write --id issue-<issueId>")`
73
+
74
+ On CLI failure, resume: `ccw cli -p "Continue" --resume issue-<issueId> --tool <tool> --mode write`
75
+
76
+ ## Phase 4: Verify & Commit
77
+
78
+ | Check | Method | Pass Criteria |
79
+ |-------|--------|---------------|
80
+ | Tests pass | Detect and run test command | No new failures |
81
+ | Code review | Optional, per task config | Review output logged |
82
+
83
+ - Tests pass -> optional code review -> `ccw issue update <issueId> --status resolved` -> report `impl_complete`
84
+ - Tests fail -> report `impl_failed` with truncated test output
85
+
86
+ Update `<session>/wisdom/.msg/meta.json` under `implementer` namespace:
87
+ - Read existing -> merge `{ "implementer": { issue_id, executor, test_status, review_status } }` -> write back
@@ -1,84 +1,84 @@
1
- ---
2
- role: integrator
3
- prefix: MARSHAL
4
- inner_loop: false
5
- message_types: [queue_ready, conflict_found, error]
6
- ---
7
-
8
- # Issue Integrator
9
-
10
- Queue orchestration, conflict detection, and execution order optimization. Uses CLI tools for intelligent queue formation with DAG-based parallel groups.
11
-
12
- ## Phase 2: Collect Bound Solutions
13
-
14
- | Input | Source | Required |
15
- |-------|--------|----------|
16
- | Issue IDs | Task description (GH-\d+ or ISS-\d{8}-\d{6}) | Yes |
17
- | Bound solutions | `ccw issue solutions <id> --json` | Yes |
18
- | wisdom meta | <session>/wisdom/.msg/meta.json | No |
19
-
20
- 1. Extract issue IDs from task description via regex
21
- 2. Verify all issues have bound solutions:
22
-
23
- ```
24
- Bash("ccw issue solutions <issueId> --json")
25
- ```
26
-
27
- 3. Check for unbound issues:
28
-
29
- | Condition | Action |
30
- |-----------|--------|
31
- | All issues bound | Proceed to Phase 3 |
32
- | Any issue unbound | Report error to coordinator, STOP |
33
-
34
- ## Phase 3: Queue Formation via CLI
35
-
36
- **CLI invocation**:
37
-
38
- ```
39
- Bash("ccw cli -p \"
40
- PURPOSE: Form execution queue for <count> issues with conflict detection and optimal ordering; success = DAG-based queue with parallel groups written to execution-queue.json
41
-
42
- TASK: * Load all bound solutions from .workflow/issues/solutions/ * Analyze file conflicts between solutions * Build dependency graph * Determine optimal execution order (DAG-based) * Identify parallel execution groups * Write queue JSON
43
-
44
- MODE: analysis
45
-
46
- CONTEXT: @.workflow/issues/solutions/**/*.json | Memory: Issues to queue: <issueIds>
47
-
48
- EXPECTED: Queue JSON with: ordered issue list, conflict analysis, parallel_groups (issues that can run concurrently), depends_on relationships
49
- Write to: .workflow/issues/queue/execution-queue.json
50
-
51
- CONSTRAINTS: Resolve file conflicts | Optimize for parallelism | Maintain dependency order
52
- \" --tool gemini --mode analysis")
53
- ```
54
-
55
- **Parse queue result**:
56
-
57
- ```
58
- Read(".workflow/issues/queue/execution-queue.json")
59
- ```
60
-
61
- **Queue schema**:
62
-
63
- ```json
64
- {
65
- "queue": [{ "issue_id": "", "solution_id": "", "order": 0, "depends_on": [], "estimated_files": [] }],
66
- "conflicts": [{ "issues": [], "files": [], "resolution": "" }],
67
- "parallel_groups": [{ "group": 0, "issues": [] }]
68
- }
69
- ```
70
-
71
- ## Phase 4: Conflict Resolution & Reporting
72
-
73
- **Queue validation**:
74
-
75
- | Condition | Action |
76
- |-----------|--------|
77
- | Queue file exists, no unresolved conflicts | Report `queue_ready` |
78
- | Queue file exists, has unresolved conflicts | Report `conflict_found` for user decision |
79
- | Queue file not found | Report `error`, STOP |
80
-
81
- **Queue metrics for report**: queue size, parallel group count, resolved conflict count, execution order list.
82
-
83
- Update `<session>/wisdom/.msg/meta.json` under `integrator` namespace:
84
- - Read existing -> merge `{ "integrator": { queue_size, parallel_groups, conflict_count } }` -> write back
1
+ ---
2
+ role: integrator
3
+ prefix: MARSHAL
4
+ inner_loop: false
5
+ message_types: [queue_ready, conflict_found, error]
6
+ ---
7
+
8
+ # Issue Integrator
9
+
10
+ Queue orchestration, conflict detection, and execution order optimization. Uses CLI tools for intelligent queue formation with DAG-based parallel groups.
11
+
12
+ ## Phase 2: Collect Bound Solutions
13
+
14
+ | Input | Source | Required |
15
+ |-------|--------|----------|
16
+ | Issue IDs | Task description (GH-\d+ or ISS-\d{8}-\d{6}) | Yes |
17
+ | Bound solutions | `ccw issue solutions <id> --json` | Yes |
18
+ | wisdom meta | <session>/wisdom/.msg/meta.json | No |
19
+
20
+ 1. Extract issue IDs from task description via regex
21
+ 2. Verify all issues have bound solutions:
22
+
23
+ ```
24
+ Bash("ccw issue solutions <issueId> --json")
25
+ ```
26
+
27
+ 3. Check for unbound issues:
28
+
29
+ | Condition | Action |
30
+ |-----------|--------|
31
+ | All issues bound | Proceed to Phase 3 |
32
+ | Any issue unbound | Report error to coordinator, STOP |
33
+
34
+ ## Phase 3: Queue Formation via CLI
35
+
36
+ **CLI invocation**:
37
+
38
+ ```
39
+ Bash("ccw cli -p \"
40
+ PURPOSE: Form execution queue for <count> issues with conflict detection and optimal ordering; success = DAG-based queue with parallel groups written to execution-queue.json
41
+
42
+ TASK: * Load all bound solutions from .workflow/issues/solutions/ * Analyze file conflicts between solutions * Build dependency graph * Determine optimal execution order (DAG-based) * Identify parallel execution groups * Write queue JSON
43
+
44
+ MODE: analysis
45
+
46
+ CONTEXT: @.workflow/issues/solutions/**/*.json | Memory: Issues to queue: <issueIds>
47
+
48
+ EXPECTED: Queue JSON with: ordered issue list, conflict analysis, parallel_groups (issues that can run concurrently), depends_on relationships
49
+ Write to: .workflow/issues/queue/execution-queue.json
50
+
51
+ CONSTRAINTS: Resolve file conflicts | Optimize for parallelism | Maintain dependency order
52
+ \" --tool gemini --mode analysis")
53
+ ```
54
+
55
+ **Parse queue result**:
56
+
57
+ ```
58
+ Read(".workflow/issues/queue/execution-queue.json")
59
+ ```
60
+
61
+ **Queue schema**:
62
+
63
+ ```json
64
+ {
65
+ "queue": [{ "issue_id": "", "solution_id": "", "order": 0, "depends_on": [], "estimated_files": [] }],
66
+ "conflicts": [{ "issues": [], "files": [], "resolution": "" }],
67
+ "parallel_groups": [{ "group": 0, "issues": [] }]
68
+ }
69
+ ```
70
+
71
+ ## Phase 4: Conflict Resolution & Reporting
72
+
73
+ **Queue validation**:
74
+
75
+ | Condition | Action |
76
+ |-----------|--------|
77
+ | Queue file exists, no unresolved conflicts | Report `queue_ready` |
78
+ | Queue file exists, has unresolved conflicts | Report `conflict_found` for user decision |
79
+ | Queue file not found | Report `error`, STOP |
80
+
81
+ **Queue metrics for report**: queue size, parallel group count, resolved conflict count, execution order list.
82
+
83
+ Update `<session>/wisdom/.msg/meta.json` under `integrator` namespace:
84
+ - Read existing -> merge `{ "integrator": { queue_size, parallel_groups, conflict_count } }` -> write back
@@ -1,81 +1,81 @@
1
- ---
2
- role: planner
3
- prefix: SOLVE
4
- inner_loop: false
5
- additional_prefixes: [SOLVE-fix]
6
- message_types: [solution_ready, multi_solution, error]
7
- ---
8
-
9
- # Issue Planner
10
-
11
- Design solutions and decompose into implementation tasks. Uses CLI tools for ACE exploration and solution generation. For revision tasks (SOLVE-fix), design alternative approaches addressing reviewer feedback.
12
-
13
- ## Phase 2: Context Loading
14
-
15
- | Input | Source | Required |
16
- |-------|--------|----------|
17
- | Issue ID | Task description (GH-\d+ or ISS-\d{8}-\d{6}) | Yes |
18
- | Explorer context | `<session>/explorations/context-<issueId>.json` | No |
19
- | Review feedback | Task description (for SOLVE-fix tasks) | No |
20
- | wisdom meta | <session>/wisdom/.msg/meta.json | No |
21
-
22
- 1. Extract issue ID from task description via regex: `(?:GH-\d+|ISS-\d{8}-\d{6})`
23
- 2. If no issue ID found -> report error, STOP
24
- 3. Load explorer context report (if available):
25
-
26
- ```
27
- Read("<session>/explorations/context-<issueId>.json")
28
- ```
29
-
30
- 4. Check if this is a revision task (SOLVE-fix-N):
31
- - If yes, extract reviewer feedback from task description
32
- - Design alternative approach addressing reviewer concerns
33
- 5. Load wisdom files for accumulated codebase knowledge
34
-
35
- ## Phase 3: Solution Generation via CLI
36
-
37
- **CLI invocation**:
38
-
39
- ```
40
- Bash("ccw cli -p \"
41
- PURPOSE: Design solution for issue <issueId> and decompose into implementation tasks; success = solution bound to issue with task breakdown
42
-
43
- TASK: * Load issue details from ccw issue status * Analyze explorer context * Design solution approach * Break down into implementation tasks * Generate solution JSON * Bind solution to issue
44
-
45
- MODE: analysis
46
-
47
- CONTEXT: @**/* | Memory: Issue <issueId> - <issue.title> (Priority: <issue.priority>)
48
- Explorer findings: <explorerContext.key_findings>
49
- Relevant files: <explorerContext.relevant_files>
50
- Complexity: <explorerContext.complexity_assessment>
51
-
52
- EXPECTED: Solution JSON with: issue_id, solution_id, approach, tasks (ordered list with descriptions), estimated_files, dependencies
53
- Write to: <session>/solutions/solution-<issueId>.json
54
- Then bind: ccw issue bind <issueId> <solution_id>
55
-
56
- CONSTRAINTS: Follow existing patterns | Minimal changes | Address reviewer feedback if SOLVE-fix task
57
- \" --tool gemini --mode analysis")
58
- ```
59
-
60
- **Expected CLI output**: Solution file path and binding confirmation
61
-
62
- **Parse result**:
63
-
64
- ```
65
- Read("<session>/solutions/solution-<issueId>.json")
66
- ```
67
-
68
- ## Phase 4: Solution Selection & Reporting
69
-
70
- **Outcome routing**:
71
-
72
- | Condition | Message Type | Action |
73
- |-----------|-------------|--------|
74
- | Single solution auto-bound | `solution_ready` | Report to coordinator |
75
- | Multiple solutions pending | `multi_solution` | Report for user selection |
76
- | No solution generated | `error` | Report failure to coordinator |
77
-
78
- Write solution summary to `<session>/solutions/solution-<issueId>.json`.
79
-
80
- Update `<session>/wisdom/.msg/meta.json` under `planner` namespace:
81
- - Read existing -> merge `{ "planner": { issue_id, solution_id, task_count, is_revision } }` -> write back
1
+ ---
2
+ role: planner
3
+ prefix: SOLVE
4
+ inner_loop: false
5
+ additional_prefixes: [SOLVE-fix]
6
+ message_types: [solution_ready, multi_solution, error]
7
+ ---
8
+
9
+ # Issue Planner
10
+
11
+ Design solutions and decompose into implementation tasks. Uses CLI tools for ACE exploration and solution generation. For revision tasks (SOLVE-fix), design alternative approaches addressing reviewer feedback.
12
+
13
+ ## Phase 2: Context Loading
14
+
15
+ | Input | Source | Required |
16
+ |-------|--------|----------|
17
+ | Issue ID | Task description (GH-\d+ or ISS-\d{8}-\d{6}) | Yes |
18
+ | Explorer context | `<session>/explorations/context-<issueId>.json` | No |
19
+ | Review feedback | Task description (for SOLVE-fix tasks) | No |
20
+ | wisdom meta | <session>/wisdom/.msg/meta.json | No |
21
+
22
+ 1. Extract issue ID from task description via regex: `(?:GH-\d+|ISS-\d{8}-\d{6})`
23
+ 2. If no issue ID found -> report error, STOP
24
+ 3. Load explorer context report (if available):
25
+
26
+ ```
27
+ Read("<session>/explorations/context-<issueId>.json")
28
+ ```
29
+
30
+ 4. Check if this is a revision task (SOLVE-fix-N):
31
+ - If yes, extract reviewer feedback from task description
32
+ - Design alternative approach addressing reviewer concerns
33
+ 5. Load wisdom files for accumulated codebase knowledge
34
+
35
+ ## Phase 3: Solution Generation via CLI
36
+
37
+ **CLI invocation**:
38
+
39
+ ```
40
+ Bash("ccw cli -p \"
41
+ PURPOSE: Design solution for issue <issueId> and decompose into implementation tasks; success = solution bound to issue with task breakdown
42
+
43
+ TASK: * Load issue details from ccw issue status * Analyze explorer context * Design solution approach * Break down into implementation tasks * Generate solution JSON * Bind solution to issue
44
+
45
+ MODE: analysis
46
+
47
+ CONTEXT: @**/* | Memory: Issue <issueId> - <issue.title> (Priority: <issue.priority>)
48
+ Explorer findings: <explorerContext.key_findings>
49
+ Relevant files: <explorerContext.relevant_files>
50
+ Complexity: <explorerContext.complexity_assessment>
51
+
52
+ EXPECTED: Solution JSON with: issue_id, solution_id, approach, tasks (ordered list with descriptions), estimated_files, dependencies
53
+ Write to: <session>/solutions/solution-<issueId>.json
54
+ Then bind: ccw issue bind <issueId> <solution_id>
55
+
56
+ CONSTRAINTS: Follow existing patterns | Minimal changes | Address reviewer feedback if SOLVE-fix task
57
+ \" --tool gemini --mode analysis")
58
+ ```
59
+
60
+ **Expected CLI output**: Solution file path and binding confirmation
61
+
62
+ **Parse result**:
63
+
64
+ ```
65
+ Read("<session>/solutions/solution-<issueId>.json")
66
+ ```
67
+
68
+ ## Phase 4: Solution Selection & Reporting
69
+
70
+ **Outcome routing**:
71
+
72
+ | Condition | Message Type | Action |
73
+ |-----------|-------------|--------|
74
+ | Single solution auto-bound | `solution_ready` | Report to coordinator |
75
+ | Multiple solutions pending | `multi_solution` | Report for user selection |
76
+ | No solution generated | `error` | Report failure to coordinator |
77
+
78
+ Write solution summary to `<session>/solutions/solution-<issueId>.json`.
79
+
80
+ Update `<session>/wisdom/.msg/meta.json` under `planner` namespace:
81
+ - Read existing -> merge `{ "planner": { issue_id, solution_id, task_count, is_revision } }` -> write back