claude-code-workflow 7.2.23 → 7.2.25
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/.ccw/workflows/cli-tools-usage.md +123 -521
- package/.claude/skills/brainstorm/SKILL.md +408 -408
- package/.claude/skills/review-cycle/SKILL.md +132 -132
- package/.claude/skills/spec-generator/SKILL.md +1 -1
- package/.claude/skills/team-designer/phases/02-scaffold-generation.md +1 -1
- package/.claude/skills/team-lifecycle-v4/SKILL.md +1 -1
- package/.claude/skills/team-review/SKILL.md +1 -1
- package/.claude/skills/team-ultra-analyze/SKILL.md +1 -1
- package/.claude/skills/workflow-multi-cli-plan/SKILL.md +1 -1
- package/.claude/skills/workflow-plan/SKILL.md +1 -1
- package/.claude/skills/workflow-test-fix/SKILL.md +1 -1
- package/.codex/skills/analyze-with-file/SKILL.md +966 -966
- package/.codex/skills/issue-discover/SKILL.md +361 -361
- package/.codex/skills/review-cycle/SKILL.md +1 -1
- package/.codex/skills/roadmap-with-file/SKILL.md +901 -901
- package/.codex/skills/spec-generator/SKILL.md +425 -425
- package/.codex/skills/spec-setup/SKILL.md +669 -669
- package/.codex/skills/team-arch-opt/SKILL.md +242 -175
- package/.codex/skills/team-arch-opt/roles/analyzer/role.md +78 -78
- package/.codex/skills/team-arch-opt/roles/coordinator/commands/analyze.md +57 -57
- package/.codex/skills/team-arch-opt/roles/coordinator/commands/monitor.md +246 -204
- package/.codex/skills/team-arch-opt/roles/coordinator/role.md +196 -184
- package/.codex/skills/team-arch-opt/roles/designer/role.md +115 -115
- package/.codex/skills/team-arch-opt/roles/refactorer/role.md +102 -102
- package/.codex/skills/team-arch-opt/roles/reviewer/role.md +111 -111
- package/.codex/skills/team-arch-opt/roles/validator/role.md +115 -115
- package/.codex/skills/team-arch-opt/specs/pipelines.md +102 -102
- package/.codex/skills/team-brainstorm/SKILL.md +72 -4
- package/.codex/skills/team-brainstorm/roles/challenger/role.md +61 -61
- package/.codex/skills/team-brainstorm/roles/coordinator/commands/analyze.md +58 -58
- package/.codex/skills/team-brainstorm/roles/coordinator/commands/monitor.md +212 -171
- package/.codex/skills/team-brainstorm/roles/coordinator/role.md +172 -160
- package/.codex/skills/team-brainstorm/roles/evaluator/role.md +56 -56
- package/.codex/skills/team-brainstorm/roles/ideator/role.md +69 -69
- package/.codex/skills/team-brainstorm/roles/synthesizer/role.md +57 -57
- package/.codex/skills/team-brainstorm/specs/pipelines.md +72 -72
- package/.codex/skills/team-coordinate/SKILL.md +71 -3
- package/.codex/skills/team-coordinate/roles/coordinator/commands/monitor.md +45 -5
- package/.codex/skills/team-coordinate/roles/coordinator/role.md +402 -389
- package/.codex/skills/team-coordinate/specs/knowledge-transfer.md +111 -111
- package/.codex/skills/team-coordinate/specs/pipelines.md +97 -97
- package/.codex/skills/team-coordinate/specs/quality-gates.md +112 -112
- package/.codex/skills/team-designer/SKILL.md +153 -153
- package/.codex/skills/team-designer/phases/01-requirements-analysis.md +250 -250
- package/.codex/skills/team-designer/phases/02-scaffold-generation.md +228 -228
- package/.codex/skills/team-designer/phases/03-content-generation.md +330 -330
- package/.codex/skills/team-designer/phases/04-validation.md +320 -320
- package/.codex/skills/team-executor/SKILL.md +29 -2
- package/.codex/skills/team-executor/roles/executor/commands/monitor.md +23 -15
- package/.codex/skills/team-frontend/SKILL.md +77 -3
- package/.codex/skills/team-frontend/roles/analyst/role.md +92 -92
- package/.codex/skills/team-frontend/roles/architect/role.md +86 -86
- package/.codex/skills/team-frontend/roles/coordinator/commands/analyze.md +52 -52
- package/.codex/skills/team-frontend/roles/coordinator/commands/monitor.md +222 -188
- package/.codex/skills/team-frontend/roles/coordinator/role.md +189 -177
- package/.codex/skills/team-frontend/roles/developer/role.md +93 -93
- package/.codex/skills/team-frontend/roles/qa/role.md +79 -79
- package/.codex/skills/team-frontend/specs/pipelines.md +76 -76
- package/.codex/skills/team-frontend-debug/SKILL.md +66 -3
- package/.codex/skills/team-frontend-debug/roles/analyzer/role.md +208 -208
- package/.codex/skills/team-frontend-debug/roles/coordinator/commands/analyze.md +174 -174
- package/.codex/skills/team-frontend-debug/roles/coordinator/commands/dispatch.md +198 -198
- package/.codex/skills/team-frontend-debug/roles/coordinator/commands/monitor.md +177 -143
- package/.codex/skills/team-frontend-debug/roles/coordinator/role.md +164 -152
- package/.codex/skills/team-frontend-debug/roles/fixer/role.md +147 -147
- package/.codex/skills/team-frontend-debug/roles/reproducer/role.md +147 -147
- package/.codex/skills/team-frontend-debug/roles/tester/role.md +231 -231
- package/.codex/skills/team-frontend-debug/roles/verifier/role.md +172 -172
- package/.codex/skills/team-frontend-debug/specs/debug-tools.md +215 -215
- package/.codex/skills/team-frontend-debug/specs/pipelines.md +94 -94
- package/.codex/skills/team-issue/SKILL.md +83 -4
- package/.codex/skills/team-issue/roles/coordinator/commands/analyze.md +64 -64
- package/.codex/skills/team-issue/roles/coordinator/commands/dispatch.md +273 -273
- package/.codex/skills/team-issue/roles/coordinator/commands/monitor.md +235 -194
- package/.codex/skills/team-issue/roles/coordinator/role.md +206 -194
- package/.codex/skills/team-issue/roles/explorer/role.md +94 -94
- package/.codex/skills/team-issue/roles/implementer/role.md +87 -87
- package/.codex/skills/team-issue/roles/integrator/role.md +84 -84
- package/.codex/skills/team-issue/roles/planner/role.md +81 -81
- package/.codex/skills/team-issue/roles/reviewer/role.md +86 -86
- package/.codex/skills/team-issue/specs/pipelines.md +124 -124
- package/.codex/skills/team-lifecycle-v4/MIGRATION-PLAN.md +6 -6
- package/.codex/skills/team-lifecycle-v4/SKILL.md +305 -242
- package/.codex/skills/team-lifecycle-v4/roles/coordinator/commands/dispatch.md +1 -1
- package/.codex/skills/team-lifecycle-v4/roles/coordinator/commands/monitor.md +66 -24
- package/.codex/skills/team-lifecycle-v4/roles/coordinator/role.md +13 -1
- package/.codex/skills/team-lifecycle-v4/roles/supervisor/role.md +1 -1
- package/.codex/skills/team-lifecycle-v4/templates/architecture.md +254 -254
- package/.codex/skills/team-lifecycle-v4/templates/epics.md +196 -196
- package/.codex/skills/team-lifecycle-v4/templates/product-brief.md +133 -133
- package/.codex/skills/team-lifecycle-v4/templates/requirements.md +224 -224
- package/.codex/skills/team-perf-opt/SKILL.md +68 -3
- package/.codex/skills/team-perf-opt/roles/benchmarker/role.md +89 -89
- package/.codex/skills/team-perf-opt/roles/coordinator/commands/analyze.md +61 -61
- package/.codex/skills/team-perf-opt/roles/coordinator/commands/monitor.md +35 -1
- package/.codex/skills/team-perf-opt/roles/coordinator/role.md +179 -167
- package/.codex/skills/team-perf-opt/roles/optimizer/role.md +97 -97
- package/.codex/skills/team-perf-opt/roles/profiler/role.md +73 -73
- package/.codex/skills/team-perf-opt/roles/reviewer/role.md +75 -75
- package/.codex/skills/team-perf-opt/roles/strategist/role.md +94 -94
- package/.codex/skills/team-perf-opt/specs/pipelines.md +65 -65
- package/.codex/skills/team-planex/SKILL.md +65 -3
- package/.codex/skills/team-planex/roles/coordinator/commands/analyze.md +52 -52
- package/.codex/skills/team-planex/roles/coordinator/commands/monitor.md +210 -164
- package/.codex/skills/team-planex/roles/coordinator/role.md +171 -159
- package/.codex/skills/team-planex/roles/executor/role.md +91 -91
- package/.codex/skills/team-planex/roles/planner/role.md +112 -112
- package/.codex/skills/team-planex/specs/pipelines.md +93 -93
- package/.codex/skills/team-quality-assurance/SKILL.md +60 -3
- package/.codex/skills/team-quality-assurance/roles/analyst/role.md +80 -80
- package/.codex/skills/team-quality-assurance/roles/coordinator/commands/analyze.md +72 -72
- package/.codex/skills/team-quality-assurance/roles/coordinator/commands/dispatch.md +108 -108
- package/.codex/skills/team-quality-assurance/roles/coordinator/commands/monitor.md +243 -209
- package/.codex/skills/team-quality-assurance/roles/coordinator/role.md +176 -164
- package/.codex/skills/team-quality-assurance/roles/executor/role.md +66 -66
- package/.codex/skills/team-quality-assurance/roles/generator/role.md +68 -68
- package/.codex/skills/team-quality-assurance/roles/scout/role.md +67 -67
- package/.codex/skills/team-quality-assurance/roles/strategist/role.md +71 -71
- package/.codex/skills/team-quality-assurance/specs/pipelines.md +115 -115
- package/.codex/skills/team-review/SKILL.md +58 -3
- package/.codex/skills/team-review/roles/coordinator/commands/analyze.md +71 -71
- package/.codex/skills/team-review/roles/coordinator/commands/dispatch.md +90 -90
- package/.codex/skills/team-review/roles/coordinator/commands/monitor.md +225 -185
- package/.codex/skills/team-review/roles/coordinator/role.md +175 -163
- package/.codex/skills/team-review/roles/fixer/role.md +76 -76
- package/.codex/skills/team-review/roles/reviewer/role.md +68 -68
- package/.codex/skills/team-review/roles/scanner/role.md +71 -71
- package/.codex/skills/team-review/specs/pipelines.md +102 -102
- package/.codex/skills/team-roadmap-dev/SKILL.md +55 -3
- package/.codex/skills/team-roadmap-dev/roles/coordinator/commands/analyze.md +61 -61
- package/.codex/skills/team-roadmap-dev/roles/coordinator/commands/monitor.md +502 -468
- package/.codex/skills/team-roadmap-dev/roles/coordinator/role.md +335 -322
- package/.codex/skills/team-roadmap-dev/roles/executor/role.md +71 -71
- package/.codex/skills/team-roadmap-dev/roles/planner/role.md +76 -76
- package/.codex/skills/team-roadmap-dev/roles/verifier/role.md +74 -74
- package/.codex/skills/team-roadmap-dev/specs/pipelines.md +93 -93
- package/.codex/skills/team-tech-debt/SKILL.md +56 -3
- package/.codex/skills/team-tech-debt/roles/assessor/role.md +69 -69
- package/.codex/skills/team-tech-debt/roles/coordinator/commands/analyze.md +47 -47
- package/.codex/skills/team-tech-debt/roles/coordinator/commands/monitor.md +272 -231
- package/.codex/skills/team-tech-debt/roles/coordinator/role.md +172 -160
- package/.codex/skills/team-tech-debt/roles/executor/role.md +76 -76
- package/.codex/skills/team-tech-debt/roles/planner/role.md +69 -69
- package/.codex/skills/team-tech-debt/roles/scanner/role.md +82 -82
- package/.codex/skills/team-tech-debt/roles/validator/role.md +75 -75
- package/.codex/skills/team-tech-debt/specs/pipelines.md +47 -47
- package/.codex/skills/team-testing/SKILL.md +72 -3
- package/.codex/skills/team-testing/roles/analyst/role.md +95 -95
- package/.codex/skills/team-testing/roles/coordinator/commands/analyze.md +70 -70
- package/.codex/skills/team-testing/roles/coordinator/commands/dispatch.md +106 -106
- package/.codex/skills/team-testing/roles/coordinator/commands/monitor.md +283 -242
- package/.codex/skills/team-testing/roles/coordinator/role.md +184 -172
- package/.codex/skills/team-testing/roles/executor/role.md +96 -96
- package/.codex/skills/team-testing/roles/generator/role.md +95 -95
- package/.codex/skills/team-testing/roles/strategist/role.md +83 -83
- package/.codex/skills/team-testing/specs/pipelines.md +101 -101
- package/.codex/skills/team-uidesign/SKILL.md +65 -3
- package/.codex/skills/team-uidesign/roles/coordinator/commands/analyze.md +59 -59
- package/.codex/skills/team-uidesign/roles/coordinator/commands/dispatch.md +156 -156
- package/.codex/skills/team-uidesign/roles/coordinator/commands/monitor.md +234 -194
- package/.codex/skills/team-uidesign/roles/coordinator/role.md +211 -199
- package/.codex/skills/team-uidesign/roles/designer/role.md +69 -69
- package/.codex/skills/team-uidesign/roles/implementer/role.md +72 -72
- package/.codex/skills/team-uidesign/roles/researcher/role.md +82 -82
- package/.codex/skills/team-uidesign/roles/reviewer/role.md +67 -67
- package/.codex/skills/team-uidesign/specs/pipelines.md +76 -76
- package/.codex/skills/team-ultra-analyze/SKILL.md +73 -3
- package/.codex/skills/team-ultra-analyze/roles/analyst/role.md +90 -90
- package/.codex/skills/team-ultra-analyze/roles/coordinator/commands/analyze.md +73 -73
- package/.codex/skills/team-ultra-analyze/roles/coordinator/commands/monitor.md +50 -9
- package/.codex/skills/team-ultra-analyze/roles/coordinator/role.md +255 -243
- package/.codex/skills/team-ultra-analyze/roles/discussant/role.md +104 -104
- package/.codex/skills/team-ultra-analyze/roles/explorer/role.md +74 -74
- package/.codex/skills/team-ultra-analyze/roles/synthesizer/role.md +78 -78
- package/.codex/skills/team-ultra-analyze/specs/pipelines.md +64 -64
- package/.codex/skills/team-ux-improve/SKILL.md +64 -3
- package/.codex/skills/team-ux-improve/roles/coordinator/commands/analyze.md +62 -62
- package/.codex/skills/team-ux-improve/roles/coordinator/commands/dispatch.md +233 -233
- package/.codex/skills/team-ux-improve/roles/coordinator/commands/monitor.md +195 -160
- package/.codex/skills/team-ux-improve/roles/coordinator/role.md +170 -158
- package/.codex/skills/team-ux-improve/roles/designer/role.md +122 -122
- package/.codex/skills/team-ux-improve/roles/diagnoser/role.md +93 -93
- package/.codex/skills/team-ux-improve/roles/explorer/role.md +77 -77
- package/.codex/skills/team-ux-improve/roles/implementer/role.md +102 -102
- package/.codex/skills/team-ux-improve/roles/scanner/role.md +93 -93
- package/.codex/skills/team-ux-improve/roles/tester/role.md +84 -84
- package/.codex/skills/team-ux-improve/specs/pipelines.md +54 -54
- package/.codex/skills/workflow-test-fix-cycle/SKILL.md +402 -402
- package/README.md +1 -0
- package/package.json +1 -1
- package/.claude/skills/team-iterdev/SKILL.md +0 -127
- package/.claude/skills/team-iterdev/roles/architect/role.md +0 -65
- package/.claude/skills/team-iterdev/roles/coordinator/commands/analyze.md +0 -62
- package/.claude/skills/team-iterdev/roles/coordinator/commands/dispatch.md +0 -234
- package/.claude/skills/team-iterdev/roles/coordinator/commands/monitor.md +0 -182
- package/.claude/skills/team-iterdev/roles/coordinator/role.md +0 -153
- package/.claude/skills/team-iterdev/roles/developer/role.md +0 -74
- package/.claude/skills/team-iterdev/roles/reviewer/role.md +0 -66
- package/.claude/skills/team-iterdev/roles/tester/role.md +0 -88
- package/.claude/skills/team-iterdev/specs/pipelines.md +0 -94
- package/.claude/skills/team-iterdev/specs/team-config.json +0 -172
- package/.codex/skills/team-iterdev/SKILL.md +0 -158
- package/.codex/skills/team-iterdev/roles/architect/role.md +0 -65
- package/.codex/skills/team-iterdev/roles/coordinator/commands/analyze.md +0 -62
- package/.codex/skills/team-iterdev/roles/coordinator/commands/dispatch.md +0 -187
- package/.codex/skills/team-iterdev/roles/coordinator/commands/monitor.md +0 -186
- package/.codex/skills/team-iterdev/roles/coordinator/role.md +0 -181
- package/.codex/skills/team-iterdev/roles/developer/role.md +0 -74
- package/.codex/skills/team-iterdev/roles/reviewer/role.md +0 -66
- package/.codex/skills/team-iterdev/roles/tester/role.md +0 -88
- package/.codex/skills/team-iterdev/specs/pipelines.md +0 -94
- package/.codex/skills/team-iterdev/specs/team-config.json +0 -172
|
@@ -1,57 +1,57 @@
|
|
|
1
|
-
---
|
|
2
|
-
role: synthesizer
|
|
3
|
-
prefix: SYNTH
|
|
4
|
-
inner_loop: false
|
|
5
|
-
message_types: [state_update]
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
# Synthesizer
|
|
9
|
-
|
|
10
|
-
Cross-idea integrator. Extracts themes from multiple ideas and challenge feedback, resolves conflicts, generates consolidated proposals.
|
|
11
|
-
|
|
12
|
-
## Phase 2: Context Loading
|
|
13
|
-
|
|
14
|
-
| Input | Source | Required |
|
|
15
|
-
|-------|--------|----------|
|
|
16
|
-
| Session folder | Task description (Session: line) | Yes |
|
|
17
|
-
| All ideas | <session>/ideas/*.md files | Yes |
|
|
18
|
-
| All critiques | <session>/critiques/*.md files | Yes |
|
|
19
|
-
| GC rounds completed | <session>/.msg/meta.json gc_round | Yes |
|
|
20
|
-
|
|
21
|
-
1. Extract session path from task description (match "Session: <path>")
|
|
22
|
-
2. Glob all idea files from <session>/ideas/
|
|
23
|
-
3. Glob all critique files from <session>/critiques/
|
|
24
|
-
4. Read all idea and critique files for synthesis
|
|
25
|
-
5. Read .msg/meta.json for context (topic, gc_round, generated_ideas, critique_insights)
|
|
26
|
-
|
|
27
|
-
## Phase 3: Synthesis Execution
|
|
28
|
-
|
|
29
|
-
| Step | Action |
|
|
30
|
-
|------|--------|
|
|
31
|
-
| 1. Theme Extraction | Identify common themes across ideas, rate strength (1-10), list supporting ideas |
|
|
32
|
-
| 2. Conflict Resolution | Identify contradictory ideas, determine resolution approach, document rationale |
|
|
33
|
-
| 3. Complementary Grouping | Group complementary ideas together |
|
|
34
|
-
| 4. Gap Identification | Discover uncovered perspectives |
|
|
35
|
-
| 5. Integrated Proposal | Generate 1-3 consolidated proposals |
|
|
36
|
-
|
|
37
|
-
**Integrated Proposal Structure**:
|
|
38
|
-
- Core concept description
|
|
39
|
-
- Source ideas combined
|
|
40
|
-
- Addressed challenges from critiques
|
|
41
|
-
- Feasibility score (1-10), Innovation score (1-10)
|
|
42
|
-
- Key benefits list, Remaining risks list
|
|
43
|
-
|
|
44
|
-
**Output**: Write to `<session>/synthesis/synthesis-<num>.md`
|
|
45
|
-
- Sections: Input summary, Extracted Themes, Conflict Resolution, Integrated Proposals, Coverage Analysis
|
|
46
|
-
|
|
47
|
-
## Phase 4: Quality Check
|
|
48
|
-
|
|
49
|
-
| Check | Pass Criteria | Action on Failure |
|
|
50
|
-
|-------|---------------|-------------------|
|
|
51
|
-
| Proposal count | >= 1 proposal | Generate at least one proposal |
|
|
52
|
-
| Theme count | >= 2 themes | Look for more patterns |
|
|
53
|
-
| Conflict resolution | All conflicts documented | Address unresolved conflicts |
|
|
54
|
-
|
|
55
|
-
After passing checks, update shared state:
|
|
56
|
-
- Set .msg/meta.json synthesis_themes
|
|
57
|
-
- Each entry: name, strength, supporting_ideas
|
|
1
|
+
---
|
|
2
|
+
role: synthesizer
|
|
3
|
+
prefix: SYNTH
|
|
4
|
+
inner_loop: false
|
|
5
|
+
message_types: [state_update]
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Synthesizer
|
|
9
|
+
|
|
10
|
+
Cross-idea integrator. Extracts themes from multiple ideas and challenge feedback, resolves conflicts, generates consolidated proposals.
|
|
11
|
+
|
|
12
|
+
## Phase 2: Context Loading
|
|
13
|
+
|
|
14
|
+
| Input | Source | Required |
|
|
15
|
+
|-------|--------|----------|
|
|
16
|
+
| Session folder | Task description (Session: line) | Yes |
|
|
17
|
+
| All ideas | <session>/ideas/*.md files | Yes |
|
|
18
|
+
| All critiques | <session>/critiques/*.md files | Yes |
|
|
19
|
+
| GC rounds completed | <session>/.msg/meta.json gc_round | Yes |
|
|
20
|
+
|
|
21
|
+
1. Extract session path from task description (match "Session: <path>")
|
|
22
|
+
2. Glob all idea files from <session>/ideas/
|
|
23
|
+
3. Glob all critique files from <session>/critiques/
|
|
24
|
+
4. Read all idea and critique files for synthesis
|
|
25
|
+
5. Read .msg/meta.json for context (topic, gc_round, generated_ideas, critique_insights)
|
|
26
|
+
|
|
27
|
+
## Phase 3: Synthesis Execution
|
|
28
|
+
|
|
29
|
+
| Step | Action |
|
|
30
|
+
|------|--------|
|
|
31
|
+
| 1. Theme Extraction | Identify common themes across ideas, rate strength (1-10), list supporting ideas |
|
|
32
|
+
| 2. Conflict Resolution | Identify contradictory ideas, determine resolution approach, document rationale |
|
|
33
|
+
| 3. Complementary Grouping | Group complementary ideas together |
|
|
34
|
+
| 4. Gap Identification | Discover uncovered perspectives |
|
|
35
|
+
| 5. Integrated Proposal | Generate 1-3 consolidated proposals |
|
|
36
|
+
|
|
37
|
+
**Integrated Proposal Structure**:
|
|
38
|
+
- Core concept description
|
|
39
|
+
- Source ideas combined
|
|
40
|
+
- Addressed challenges from critiques
|
|
41
|
+
- Feasibility score (1-10), Innovation score (1-10)
|
|
42
|
+
- Key benefits list, Remaining risks list
|
|
43
|
+
|
|
44
|
+
**Output**: Write to `<session>/synthesis/synthesis-<num>.md`
|
|
45
|
+
- Sections: Input summary, Extracted Themes, Conflict Resolution, Integrated Proposals, Coverage Analysis
|
|
46
|
+
|
|
47
|
+
## Phase 4: Quality Check
|
|
48
|
+
|
|
49
|
+
| Check | Pass Criteria | Action on Failure |
|
|
50
|
+
|-------|---------------|-------------------|
|
|
51
|
+
| Proposal count | >= 1 proposal | Generate at least one proposal |
|
|
52
|
+
| Theme count | >= 2 themes | Look for more patterns |
|
|
53
|
+
| Conflict resolution | All conflicts documented | Address unresolved conflicts |
|
|
54
|
+
|
|
55
|
+
After passing checks, update shared state:
|
|
56
|
+
- Set .msg/meta.json synthesis_themes
|
|
57
|
+
- Each entry: name, strength, supporting_ideas
|
|
@@ -1,72 +1,72 @@
|
|
|
1
|
-
# Pipeline Definitions — team-brainstorm
|
|
2
|
-
|
|
3
|
-
## Available Pipelines
|
|
4
|
-
|
|
5
|
-
### Quick Pipeline (3 beats, strictly serial)
|
|
6
|
-
|
|
7
|
-
```
|
|
8
|
-
IDEA-001 → CHALLENGE-001 → SYNTH-001
|
|
9
|
-
[ideator] [challenger] [synthesizer]
|
|
10
|
-
```
|
|
11
|
-
|
|
12
|
-
### Deep Pipeline (6 beats, Generator-Critic loop)
|
|
13
|
-
|
|
14
|
-
```
|
|
15
|
-
IDEA-001 → CHALLENGE-001 → IDEA-002(fix) → CHALLENGE-002 → SYNTH-001 → EVAL-001
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
GC loop check: if critique.severity >= HIGH → create IDEA-fix → CHALLENGE-2 → SYNTH; else skip to SYNTH
|
|
19
|
-
|
|
20
|
-
### Full Pipeline (7 tasks, fan-out parallel ideation + GC)
|
|
21
|
-
|
|
22
|
-
```
|
|
23
|
-
[IDEA-001 + IDEA-002 + IDEA-003](parallel) → CHALLENGE-001(batch) → IDEA-004(fix) → SYNTH-001 → EVAL-001
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
## Task Metadata Registry
|
|
27
|
-
|
|
28
|
-
| Task ID | Role | Phase | Dependencies | Description |
|
|
29
|
-
|---------|------|-------|-------------|-------------|
|
|
30
|
-
| IDEA-001 | ideator | generate | (none) | Multi-angle idea generation |
|
|
31
|
-
| IDEA-002 | ideator | generate | (none) | Parallel angle (Full pipeline only) |
|
|
32
|
-
| IDEA-003 | ideator | generate | (none) | Parallel angle (Full pipeline only) |
|
|
33
|
-
| CHALLENGE-001 | challenger | challenge | IDEA-001 (or all IDEA-*) | Devil's advocate critique and feasibility challenge |
|
|
34
|
-
| IDEA-004 | ideator | gc-fix | CHALLENGE-001 | Revision based on critique (GC loop, if triggered) |
|
|
35
|
-
| CHALLENGE-002 | challenger | gc-fix | IDEA-004 | Re-critique of revised ideas (GC loop round 2) |
|
|
36
|
-
| SYNTH-001 | synthesizer | synthesize | last CHALLENGE-* | Cross-idea integration, theme extraction, conflict resolution |
|
|
37
|
-
| EVAL-001 | evaluator | evaluate | SYNTH-001 | Scoring, ranking, priority recommendation, final selection |
|
|
38
|
-
|
|
39
|
-
## Checkpoints
|
|
40
|
-
|
|
41
|
-
| Trigger | Location | Behavior |
|
|
42
|
-
|---------|----------|----------|
|
|
43
|
-
| Generator-Critic loop | After CHALLENGE-* | If severity >= HIGH → create IDEA-fix task; else proceed to SYNTH |
|
|
44
|
-
| GC loop limit | Max 2 rounds | Exceeds limit → force convergence to SYNTH |
|
|
45
|
-
| Pipeline stall | No ready + no running | Check missing tasks, report to user |
|
|
46
|
-
|
|
47
|
-
## Completion Conditions
|
|
48
|
-
|
|
49
|
-
| Mode | Completion Condition |
|
|
50
|
-
|------|---------------------|
|
|
51
|
-
| quick | All 3 tasks completed |
|
|
52
|
-
| deep | All 6 tasks (+ any skipped GC tasks) completed |
|
|
53
|
-
| full | All 7 tasks (+ any skipped GC tasks) completed |
|
|
54
|
-
|
|
55
|
-
## Shared State (meta.json)
|
|
56
|
-
|
|
57
|
-
| Role | State Key |
|
|
58
|
-
|------|-----------|
|
|
59
|
-
| ideator | `generated_ideas` |
|
|
60
|
-
| challenger | `critique_insights` |
|
|
61
|
-
| synthesizer | `synthesis_themes` |
|
|
62
|
-
| evaluator | `evaluation_scores` |
|
|
63
|
-
|
|
64
|
-
## Message Types
|
|
65
|
-
|
|
66
|
-
| Role | Types |
|
|
67
|
-
|------|-------|
|
|
68
|
-
| coordinator | `pipeline_selected`, `gc_loop_trigger`, `task_unblocked`, `error`, `shutdown` |
|
|
69
|
-
| ideator | `ideas_ready`, `ideas_revised`, `error` |
|
|
70
|
-
| challenger | `critique_ready`, `error` |
|
|
71
|
-
| synthesizer | `synthesis_ready`, `error` |
|
|
72
|
-
| evaluator | `evaluation_ready`, `error` |
|
|
1
|
+
# Pipeline Definitions — team-brainstorm
|
|
2
|
+
|
|
3
|
+
## Available Pipelines
|
|
4
|
+
|
|
5
|
+
### Quick Pipeline (3 beats, strictly serial)
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
IDEA-001 → CHALLENGE-001 → SYNTH-001
|
|
9
|
+
[ideator] [challenger] [synthesizer]
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
### Deep Pipeline (6 beats, Generator-Critic loop)
|
|
13
|
+
|
|
14
|
+
```
|
|
15
|
+
IDEA-001 → CHALLENGE-001 → IDEA-002(fix) → CHALLENGE-002 → SYNTH-001 → EVAL-001
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
GC loop check: if critique.severity >= HIGH → create IDEA-fix → CHALLENGE-2 → SYNTH; else skip to SYNTH
|
|
19
|
+
|
|
20
|
+
### Full Pipeline (7 tasks, fan-out parallel ideation + GC)
|
|
21
|
+
|
|
22
|
+
```
|
|
23
|
+
[IDEA-001 + IDEA-002 + IDEA-003](parallel) → CHALLENGE-001(batch) → IDEA-004(fix) → SYNTH-001 → EVAL-001
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Task Metadata Registry
|
|
27
|
+
|
|
28
|
+
| Task ID | Role | Phase | Dependencies | Description |
|
|
29
|
+
|---------|------|-------|-------------|-------------|
|
|
30
|
+
| IDEA-001 | ideator | generate | (none) | Multi-angle idea generation |
|
|
31
|
+
| IDEA-002 | ideator | generate | (none) | Parallel angle (Full pipeline only) |
|
|
32
|
+
| IDEA-003 | ideator | generate | (none) | Parallel angle (Full pipeline only) |
|
|
33
|
+
| CHALLENGE-001 | challenger | challenge | IDEA-001 (or all IDEA-*) | Devil's advocate critique and feasibility challenge |
|
|
34
|
+
| IDEA-004 | ideator | gc-fix | CHALLENGE-001 | Revision based on critique (GC loop, if triggered) |
|
|
35
|
+
| CHALLENGE-002 | challenger | gc-fix | IDEA-004 | Re-critique of revised ideas (GC loop round 2) |
|
|
36
|
+
| SYNTH-001 | synthesizer | synthesize | last CHALLENGE-* | Cross-idea integration, theme extraction, conflict resolution |
|
|
37
|
+
| EVAL-001 | evaluator | evaluate | SYNTH-001 | Scoring, ranking, priority recommendation, final selection |
|
|
38
|
+
|
|
39
|
+
## Checkpoints
|
|
40
|
+
|
|
41
|
+
| Trigger | Location | Behavior |
|
|
42
|
+
|---------|----------|----------|
|
|
43
|
+
| Generator-Critic loop | After CHALLENGE-* | If severity >= HIGH → create IDEA-fix task; else proceed to SYNTH |
|
|
44
|
+
| GC loop limit | Max 2 rounds | Exceeds limit → force convergence to SYNTH |
|
|
45
|
+
| Pipeline stall | No ready + no running | Check missing tasks, report to user |
|
|
46
|
+
|
|
47
|
+
## Completion Conditions
|
|
48
|
+
|
|
49
|
+
| Mode | Completion Condition |
|
|
50
|
+
|------|---------------------|
|
|
51
|
+
| quick | All 3 tasks completed |
|
|
52
|
+
| deep | All 6 tasks (+ any skipped GC tasks) completed |
|
|
53
|
+
| full | All 7 tasks (+ any skipped GC tasks) completed |
|
|
54
|
+
|
|
55
|
+
## Shared State (meta.json)
|
|
56
|
+
|
|
57
|
+
| Role | State Key |
|
|
58
|
+
|------|-----------|
|
|
59
|
+
| ideator | `generated_ideas` |
|
|
60
|
+
| challenger | `critique_insights` |
|
|
61
|
+
| synthesizer | `synthesis_themes` |
|
|
62
|
+
| evaluator | `evaluation_scores` |
|
|
63
|
+
|
|
64
|
+
## Message Types
|
|
65
|
+
|
|
66
|
+
| Role | Types |
|
|
67
|
+
|------|-------|
|
|
68
|
+
| coordinator | `pipeline_selected`, `gc_loop_trigger`, `task_unblocked`, `error`, `shutdown` |
|
|
69
|
+
| ideator | `ideas_ready`, `ideas_revised`, `error` |
|
|
70
|
+
| challenger | `critique_ready`, `error` |
|
|
71
|
+
| synthesizer | `synthesis_ready`, `error` |
|
|
72
|
+
| evaluator | `evaluation_ready`, `error` |
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: team-coordinate
|
|
3
3
|
description: Universal team coordination skill with dynamic role generation. Uses team-worker agent architecture with role-spec files. Only coordinator is built-in -- all worker roles are generated at runtime as role-specs and spawned via team-worker agent. Beat/cadence model for orchestration. Triggers on "Team Coordinate ".
|
|
4
|
-
allowed-tools: spawn_agent(*), wait_agent(*),
|
|
4
|
+
allowed-tools: spawn_agent(*), wait_agent(*), send_message(*), assign_task(*), close_agent(*), list_agents(*), report_agent_job_result(*), request_user_input(*), Read(*), Write(*), Edit(*), Bash(*), Glob(*), Grep(*)
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# Team Coordinate
|
|
@@ -40,7 +40,8 @@ Before calling ANY tool, apply this check:
|
|
|
40
40
|
|
|
41
41
|
| Tool Call | Verdict | Reason |
|
|
42
42
|
|-----------|---------|--------|
|
|
43
|
-
| `spawn_agent`, `wait_agent`, `close_agent`, `
|
|
43
|
+
| `spawn_agent`, `wait_agent`, `close_agent`, `send_message`, `assign_task` | ALLOWED | Orchestration |
|
|
44
|
+
| `list_agents` | ALLOWED | Agent health check |
|
|
44
45
|
| `request_user_input` | ALLOWED | User interaction |
|
|
45
46
|
| `mcp__ccw-tools__team_msg` | ALLOWED | Message bus |
|
|
46
47
|
| `Read/Write` on `.workflow/.team/` files | ALLOWED | Session state |
|
|
@@ -136,6 +137,8 @@ When coordinator spawns workers, use `team-worker` agent with role-spec path:
|
|
|
136
137
|
```
|
|
137
138
|
spawn_agent({
|
|
138
139
|
agent_type: "team_worker",
|
|
140
|
+
task_name: "<task-id>",
|
|
141
|
+
fork_context: false,
|
|
139
142
|
items: [
|
|
140
143
|
{ type: "text", text: `## Role Assignment
|
|
141
144
|
role: <role>
|
|
@@ -159,7 +162,7 @@ pipeline_phase: <pipeline-phase>` },
|
|
|
159
162
|
})
|
|
160
163
|
```
|
|
161
164
|
|
|
162
|
-
After spawning, use `wait_agent({
|
|
165
|
+
After spawning, use `wait_agent({ targets: [...], timeout_ms: 900000 })` to collect results, then `close_agent({ target: <name> })` each worker.
|
|
163
166
|
|
|
164
167
|
**Inner Loop roles** (role has 2+ serial same-prefix tasks): Set `inner_loop: true`. The team-worker agent handles the loop internally.
|
|
165
168
|
|
|
@@ -167,6 +170,71 @@ After spawning, use `wait_agent({ ids: [...], timeout_ms: 900000 })` to collect
|
|
|
167
170
|
|
|
168
171
|
---
|
|
169
172
|
|
|
173
|
+
|
|
174
|
+
### Model Selection Guide
|
|
175
|
+
|
|
176
|
+
Roles are **dynamically generated** at runtime. Select model/reasoning_effort based on the generated role's `responsibility_type`:
|
|
177
|
+
|
|
178
|
+
| responsibility_type | model | reasoning_effort | Rationale |
|
|
179
|
+
|---------------------|-------|-------------------|-----------|
|
|
180
|
+
| exploration | (default) | medium | Read-heavy, less reasoning needed |
|
|
181
|
+
| analysis | (default) | high | Deep analysis requires full reasoning |
|
|
182
|
+
| implementation | (default) | high | Code generation needs precision |
|
|
183
|
+
| synthesis | (default) | medium | Aggregation over generation |
|
|
184
|
+
| review | (default) | high | Quality assessment needs deep reasoning |
|
|
185
|
+
|
|
186
|
+
Map each generated role's `responsibility_type` (from `team-session.json#roles`) to the table above.
|
|
187
|
+
|
|
188
|
+
Override model/reasoning_effort in spawn_agent when cost optimization is needed:
|
|
189
|
+
```
|
|
190
|
+
spawn_agent({
|
|
191
|
+
agent_type: "team_worker",
|
|
192
|
+
task_name: "<task-id>",
|
|
193
|
+
fork_context: false,
|
|
194
|
+
model: "<model-override>",
|
|
195
|
+
reasoning_effort: "<effort-level>",
|
|
196
|
+
items: [...]
|
|
197
|
+
})
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
## v4 Agent Coordination
|
|
201
|
+
|
|
202
|
+
### Message Semantics
|
|
203
|
+
|
|
204
|
+
| Intent | API | Example |
|
|
205
|
+
|--------|-----|---------|
|
|
206
|
+
| Queue supplementary info (don't interrupt) | `send_message` | Send upstream task findings to a running downstream worker |
|
|
207
|
+
| Not used in this skill | `assign_task` | No resident agents -- all workers are one-shot |
|
|
208
|
+
| Check running agents | `list_agents` | Verify agent health during resume |
|
|
209
|
+
|
|
210
|
+
**Note**: Since roles are dynamically generated, the coordinator must resolve task prefixes and role names from `team-session.json#roles` at runtime. There are no hardcoded role-specific examples.
|
|
211
|
+
|
|
212
|
+
### fork_context Strategy
|
|
213
|
+
|
|
214
|
+
`fork_context: false` is the default. Consider `fork_context: true` only when:
|
|
215
|
+
- Runtime analysis reveals the task requires deep familiarity with the full conversation context
|
|
216
|
+
- The dynamically-generated role-spec indicates the worker needs project-wide understanding
|
|
217
|
+
- The coordinator has already accumulated significant context about the codebase
|
|
218
|
+
|
|
219
|
+
This decision should be made per-task during Phase 4 based on the role's `responsibility_type`.
|
|
220
|
+
|
|
221
|
+
### Agent Health Check
|
|
222
|
+
|
|
223
|
+
Use `list_agents({})` in handleResume and handleComplete:
|
|
224
|
+
|
|
225
|
+
```
|
|
226
|
+
// Reconcile session state with actual running agents
|
|
227
|
+
const running = list_agents({})
|
|
228
|
+
// Compare with team-session.json active_workers
|
|
229
|
+
// Reset orphaned tasks (in_progress but agent gone) to pending
|
|
230
|
+
```
|
|
231
|
+
|
|
232
|
+
### Named Agent Targeting
|
|
233
|
+
|
|
234
|
+
Workers are spawned with `task_name: "<task-id>"` enabling direct addressing:
|
|
235
|
+
- `send_message({ target: "<TASK-ID>", items: [...] })` -- queue upstream context without interrupting
|
|
236
|
+
- `close_agent({ target: "<TASK-ID>" })` -- cleanup by name
|
|
237
|
+
|
|
170
238
|
## Completion Action
|
|
171
239
|
|
|
172
240
|
When pipeline completes (all tasks done), coordinator presents an interactive choice:
|
|
@@ -68,7 +68,7 @@ Receive result from wait_agent for [<role>]
|
|
|
68
68
|
| +- YES -> Update session state, do NOT remove from active_workers -> STOP
|
|
69
69
|
+- Task status = completed?
|
|
70
70
|
| +- YES -> remove from active_workers -> update session
|
|
71
|
-
| | +- Close agent: close_agent({
|
|
71
|
+
| | +- Close agent: close_agent({ target: <agentId> })
|
|
72
72
|
| | +- -> handleSpawnNext
|
|
73
73
|
| +- NO -> progress message, do not advance -> STOP
|
|
74
74
|
+- No matching worker found
|
|
@@ -114,6 +114,16 @@ Then STOP.
|
|
|
114
114
|
|
|
115
115
|
### Handler: handleResume
|
|
116
116
|
|
|
117
|
+
**Agent Health Check** (v4):
|
|
118
|
+
```
|
|
119
|
+
// Verify actual running agents match session state
|
|
120
|
+
const runningAgents = list_agents({})
|
|
121
|
+
// For each active_agent in tasks.json:
|
|
122
|
+
// - If agent NOT in runningAgents -> agent crashed
|
|
123
|
+
// - Reset that task to pending, remove from active_agents
|
|
124
|
+
// This prevents stale agent references from blocking the pipeline
|
|
125
|
+
```
|
|
126
|
+
|
|
117
127
|
Check active worker completion, process results, advance pipeline.
|
|
118
128
|
|
|
119
129
|
```
|
|
@@ -155,11 +165,27 @@ Ready tasks found?
|
|
|
155
165
|
Update session file -> output summary -> STOP
|
|
156
166
|
```
|
|
157
167
|
|
|
168
|
+
**Cross-Agent Supplementary Context** (v4):
|
|
169
|
+
|
|
170
|
+
When spawning workers in a later pipeline phase, send upstream results as supplementary context to already-running workers:
|
|
171
|
+
|
|
172
|
+
```
|
|
173
|
+
// Example: Send upstream task results to running downstream workers
|
|
174
|
+
send_message({
|
|
175
|
+
target: "<running-agent-task-name>",
|
|
176
|
+
items: [{ type: "text", text: `## Supplementary Context\n${upstreamFindings}` }]
|
|
177
|
+
})
|
|
178
|
+
// Note: send_message queues info without interrupting the agent's current work
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
Use `send_message` (not `assign_task`) for supplementary info that enriches but doesn't redirect the agent's current task.
|
|
182
|
+
|
|
158
183
|
**Spawn worker call** (one per ready task):
|
|
159
184
|
|
|
160
185
|
```
|
|
161
186
|
const agentId = spawn_agent({
|
|
162
187
|
agent_type: "team_worker",
|
|
188
|
+
task_name: taskId, // e.g., "EXPLORE-001" — enables named targeting
|
|
163
189
|
items: [{ type: "text", text: `## Role Assignment
|
|
164
190
|
role: <role>
|
|
165
191
|
role_spec: <session-folder>/role-specs/<role>.md
|
|
@@ -171,16 +197,30 @@ inner_loop: <true|false>
|
|
|
171
197
|
|
|
172
198
|
Read role_spec file to load Phase 2-4 domain instructions.` }]
|
|
173
199
|
})
|
|
174
|
-
// Collect results:
|
|
175
|
-
const result = wait_agent({
|
|
176
|
-
|
|
177
|
-
|
|
200
|
+
// Collect results — use task_name for stable targeting (v4):
|
|
201
|
+
const result = wait_agent({ targets: [taskId], timeout_ms: 900000 })
|
|
202
|
+
if (result.timed_out) {
|
|
203
|
+
state.tasks[taskId].status = 'timed_out'
|
|
204
|
+
close_agent({ target: taskId })
|
|
205
|
+
// Report timeout, STOP — let user decide retry
|
|
206
|
+
} else {
|
|
207
|
+
// Process result, update tasks.json
|
|
208
|
+
close_agent({ target: taskId }) // Use task_name, not agentId
|
|
209
|
+
}
|
|
178
210
|
```
|
|
179
211
|
|
|
180
212
|
---
|
|
181
213
|
|
|
182
214
|
### Handler: handleComplete
|
|
183
215
|
|
|
216
|
+
**Cleanup Verification** (v4):
|
|
217
|
+
```
|
|
218
|
+
// Verify all agents are properly closed
|
|
219
|
+
const remaining = list_agents({})
|
|
220
|
+
// If any team agents still running -> close_agent each
|
|
221
|
+
// Ensures clean session shutdown
|
|
222
|
+
```
|
|
223
|
+
|
|
184
224
|
Pipeline complete. Execute completion action based on session configuration.
|
|
185
225
|
|
|
186
226
|
```
|