Skip to content

Commit 1fb49c0

Browse files
author
catlog22
committed
refactor: remove subagent references and update CLI tool usage across documentation
1 parent 99a45e3 commit 1fb49c0

21 files changed

Lines changed: 199 additions & 118 deletions

File tree

.claude/skills/team-lifecycle-v2/SKILL.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ Optimized lifecycle: specification → implementation → testing → review. Bu
3434
| fe-qa |
3535
+--------+
3636
37-
Subagent (callable by analyst, writer, reviewer):
38-
[discuss-subagent] - multi-perspective critique (3 rounds)
37+
⚠️ ARCHITECTURAL CONSTRAINT: Workers CANNOT spawn subagents.
38+
Workers use CLI tools for complex analysis (see "CLI Tool Usage in Workers" section).
3939
```
4040

4141
## Role Router

.claude/skills/team-lifecycle-v2/role-specs/executor.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ role: executor
33
prefix: IMPL
44
inner_loop: true
55
discuss_rounds: []
6-
subagents: []
76
message_types:
87
success: impl_complete
98
progress: impl_progress

.claude/skills/team-lifecycle-v2/role-specs/fe-developer.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ role: fe-developer
33
prefix: DEV-FE
44
inner_loop: false
55
discuss_rounds: []
6-
subagents: []
76
message_types:
87
success: dev_fe_complete
98
progress: dev_fe_progress

.claude/skills/team-lifecycle-v2/role-specs/fe-qa.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ role: fe-qa
33
prefix: QA-FE
44
inner_loop: false
55
discuss_rounds: []
6-
subagents: []
76
message_types:
87
success: qa_fe_passed
98
result: qa_fe_result

.claude/skills/team-lifecycle-v2/role-specs/planner.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ role: planner
33
prefix: PLAN
44
inner_loop: true
55
discuss_rounds: []
6-
subagents: []
76
message_types:
87
success: plan_ready
98
revision: plan_revision

.claude/skills/team-lifecycle-v2/role-specs/tester.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ role: tester
33
prefix: TEST
44
inner_loop: false
55
discuss_rounds: []
6-
subagents: []
76
message_types:
87
success: test_result
98
fix: fix_required

.claude/skills/team-lifecycle-v2/specs/team-config.json

Lines changed: 110 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -6,94 +6,134 @@
66
"architecture": "team-worker agent + role-specs",
77
"role_structure": "role-specs/{name}.md (Phase 2-4 only)",
88
"worker_agent": "team-worker",
9-
109
"roles": {
1110
"coordinator": {
1211
"task_prefix": null,
1312
"responsibility": "Pipeline orchestration, requirement clarification, task chain creation",
14-
"message_types": ["plan_approved", "plan_revision", "task_unblocked", "fix_required", "error", "shutdown"]
13+
"message_types": [
14+
"plan_approved",
15+
"plan_revision",
16+
"task_unblocked",
17+
"fix_required",
18+
"error",
19+
"shutdown"
20+
]
1521
},
1622
"analyst": {
1723
"task_prefix": "RESEARCH",
1824
"role_spec": "role-specs/analyst.md",
1925
"responsibility": "Seed analysis, codebase exploration, context gathering + discuss",
2026
"inline_discuss": "DISCUSS-001",
2127
"inner_loop": false,
22-
"message_types": ["research_ready", "research_progress", "error"]
28+
"message_types": [
29+
"research_ready",
30+
"research_progress",
31+
"error"
32+
]
2333
},
2434
"writer": {
2535
"task_prefix": "DRAFT",
2636
"role_spec": "role-specs/writer.md",
2737
"responsibility": "Product Brief / PRD / Architecture / Epics generation. Discuss at PRD only, self-validate others",
2838
"inner_loop": true,
29-
"inline_discuss": ["DISCUSS-002"],
30-
"message_types": ["draft_ready", "draft_revision", "error"]
39+
"inline_discuss": [
40+
"DISCUSS-002"
41+
],
42+
"message_types": [
43+
"draft_ready",
44+
"draft_revision",
45+
"error"
46+
]
3147
},
3248
"planner": {
3349
"task_prefix": "PLAN",
3450
"role_spec": "role-specs/planner.md",
3551
"responsibility": "Multi-angle exploration and structured implementation planning",
3652
"inner_loop": true,
37-
"message_types": ["plan_ready", "plan_revision", "error"]
53+
"message_types": [
54+
"plan_ready",
55+
"plan_revision",
56+
"error"
57+
]
3858
},
3959
"executor": {
4060
"task_prefix": "IMPL",
4161
"role_spec": "role-specs/executor.md",
4262
"responsibility": "Code implementation following approved plans",
4363
"inner_loop": true,
44-
"message_types": ["impl_complete", "impl_progress", "error"]
64+
"message_types": [
65+
"impl_complete",
66+
"impl_progress",
67+
"error"
68+
]
4569
},
4670
"tester": {
4771
"task_prefix": "TEST",
4872
"role_spec": "role-specs/tester.md",
4973
"responsibility": "Adaptive test-fix cycles, progressive testing",
5074
"inner_loop": false,
51-
"message_types": ["test_result", "fix_required", "error"]
75+
"message_types": [
76+
"test_result",
77+
"fix_required",
78+
"error"
79+
]
5280
},
5381
"reviewer": {
5482
"task_prefix": "REVIEW",
55-
"additional_prefixes": ["QUALITY", "IMPROVE"],
83+
"additional_prefixes": [
84+
"QUALITY",
85+
"IMPROVE"
86+
],
5687
"role_spec": "role-specs/reviewer.md",
5788
"responsibility": "Code review (REVIEW-*) + Spec quality (QUALITY-*) + Improvement (IMPROVE-*) + final discuss",
5889
"inline_discuss": "DISCUSS-003",
5990
"inner_loop": false,
60-
"message_types": ["review_result", "quality_result", "quality_recheck", "fix_required", "error"]
91+
"message_types": [
92+
"review_result",
93+
"quality_result",
94+
"quality_recheck",
95+
"fix_required",
96+
"error"
97+
]
6198
},
6299
"architect": {
63100
"task_prefix": "ARCH",
64101
"role_spec": "role-specs/architect.md",
65102
"responsibility": "Architecture assessment, tech feasibility. Consulting role",
66103
"role_type": "consulting",
67104
"inner_loop": false,
68-
"message_types": ["arch_ready", "arch_concern", "error"]
105+
"message_types": [
106+
"arch_ready",
107+
"arch_concern",
108+
"error"
109+
]
69110
},
70111
"fe-developer": {
71112
"task_prefix": "DEV-FE",
72113
"role_spec": "role-specs/fe-developer.md",
73114
"responsibility": "Frontend implementation",
74115
"role_type": "frontend-pipeline",
75116
"inner_loop": false,
76-
"message_types": ["dev_fe_complete", "dev_fe_progress", "error"]
117+
"message_types": [
118+
"dev_fe_complete",
119+
"dev_fe_progress",
120+
"error"
121+
]
77122
},
78123
"fe-qa": {
79124
"task_prefix": "QA-FE",
80125
"role_spec": "role-specs/fe-qa.md",
81126
"responsibility": "5-dimension frontend review, GC loop",
82127
"role_type": "frontend-pipeline",
83128
"inner_loop": false,
84-
"message_types": ["qa_fe_passed", "qa_fe_result", "fix_required", "error"]
129+
"message_types": [
130+
"qa_fe_passed",
131+
"qa_fe_result",
132+
"fix_required",
133+
"error"
134+
]
85135
}
86136
},
87-
88-
"subagents": {
89-
"discuss": {
90-
"spec": "subagents/discuss-subagent.md",
91-
"type": "cli-discuss-agent",
92-
"callable_by": ["analyst", "writer", "reviewer"],
93-
"purpose": "Multi-perspective critique (3 rounds: direction, requirements, final gate)"
94-
}
95-
},
96-
97137
"checkpoint_commands": {
98138
"revise": {
99139
"handler": "handleRevise",
@@ -116,17 +156,32 @@
116156
"cascade": false
117157
}
118158
},
119-
120159
"pipelines": {
121160
"spec-only": {
122161
"description": "Spec pipeline: research(+D1) -> brief -> prd(+D2) -> arch -> epics -> quality(+D3)",
123-
"task_chain": ["RESEARCH-001", "DRAFT-001", "DRAFT-002", "DRAFT-003", "DRAFT-004", "QUALITY-001"],
124-
"discuss_points": ["RESEARCH-001", "DRAFT-002", "QUALITY-001"],
162+
"task_chain": [
163+
"RESEARCH-001",
164+
"DRAFT-001",
165+
"DRAFT-002",
166+
"DRAFT-003",
167+
"DRAFT-004",
168+
"QUALITY-001"
169+
],
170+
"discuss_points": [
171+
"RESEARCH-001",
172+
"DRAFT-002",
173+
"QUALITY-001"
174+
],
125175
"beats": 6
126176
},
127177
"impl-only": {
128178
"description": "Implementation pipeline: plan -> implement -> test + review",
129-
"task_chain": ["PLAN-001", "IMPL-001", "TEST-001", "REVIEW-001"],
179+
"task_chain": [
180+
"PLAN-001",
181+
"IMPL-001",
182+
"TEST-001",
183+
"REVIEW-001"
184+
],
130185
"beats": 3
131186
},
132187
"full-lifecycle": {
@@ -136,28 +191,50 @@
136191
},
137192
"fe-only": {
138193
"description": "Frontend-only: plan -> dev -> qa",
139-
"task_chain": ["PLAN-001", "DEV-FE-001", "QA-FE-001"],
140-
"gc_loop": { "max_rounds": 2, "convergence": "score >= 8 && critical === 0" }
194+
"task_chain": [
195+
"PLAN-001",
196+
"DEV-FE-001",
197+
"QA-FE-001"
198+
],
199+
"gc_loop": {
200+
"max_rounds": 2,
201+
"convergence": "score >= 8 && critical === 0"
202+
}
141203
},
142204
"fullstack": {
143205
"description": "Fullstack: plan -> backend + frontend parallel -> test + qa -> review",
144-
"task_chain": ["PLAN-001", "IMPL-001||DEV-FE-001", "TEST-001||QA-FE-001", "REVIEW-001"]
206+
"task_chain": [
207+
"PLAN-001",
208+
"IMPL-001||DEV-FE-001",
209+
"TEST-001||QA-FE-001",
210+
"REVIEW-001"
211+
]
145212
},
146213
"full-lifecycle-fe": {
147214
"description": "Full lifecycle with frontend",
148215
"task_chain": "spec-only + fullstack (PLAN-001 blockedBy QUALITY-001)"
149216
}
150217
},
151-
152218
"frontend_detection": {
153-
"keywords": ["component", "page", "UI", "frontend", "CSS", "HTML", "React", "Vue", "Tailwind", "Svelte", "Next.js"],
219+
"keywords": [
220+
"component",
221+
"page",
222+
"UI",
223+
"frontend",
224+
"CSS",
225+
"HTML",
226+
"React",
227+
"Vue",
228+
"Tailwind",
229+
"Svelte",
230+
"Next.js"
231+
],
154232
"routing_rules": {
155233
"frontend_only": "All tasks match frontend keywords",
156234
"fullstack": "Mix of frontend and backend tasks",
157235
"backend_only": "No frontend keywords (default impl-only)"
158236
}
159237
},
160-
161238
"session_dirs": {
162239
"base": ".workflow/.team/TLS-{slug}-{YYYY-MM-DD}/",
163240
"spec": "spec/",

.claude/skills/team-lifecycle-v3/SKILL.md

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,25 @@ Workers use CLI tools for complex analysis:
7878

7979
### Coordinator-Only Utility Members
8080

81+
**⚠️ COORDINATOR ONLY**: Utility members can only be spawned by Coordinator.
82+
Workers CANNOT call Agent() to spawn utility members.
83+
8184
Coordinator can spawn utility members for team-level orchestration:
8285

83-
| Utility Member | Purpose | When |
84-
|----------------|---------|------|
85-
| explorer | Parallel multi-angle exploration | High complexity analysis |
86-
| discussant | Aggregate multi-CLI critique | Critical decision points |
86+
| Utility Member | Purpose | When | Callable By |
87+
|----------------|---------|------|-------------|
88+
| explorer | Parallel multi-angle exploration | High complexity analysis | **Coordinator only** |
89+
| discussant | Aggregate multi-CLI critique | Critical decision points | **Coordinator only** |
90+
91+
### Worker Alternatives
92+
93+
Workers needing similar capabilities must use CLI tools:
94+
95+
| Capability | CLI Command | Example |
96+
|------------|-------------|---------|
97+
| Codebase exploration | `ccw cli --tool gemini --mode analysis` | Explore architecture patterns |
98+
| Multi-perspective critique | Parallel CLI calls | Security + performance + quality reviews |
99+
| Document generation | `ccw cli --tool gemini --mode write` | Generate PRD from research |
87100

88101
### Dynamic Role Injection
89102

docs/agents/builtin.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -396,10 +396,10 @@ Task({
396396

397397
**Capabilities**:
398398
- Orchestrates parallel CLAUDE.md updates
399-
- Uses ccw tool exec update_module_claude
399+
- Uses MCP tools directly for module documentation
400400
- Processes every module path
401401

402-
**Tools**: `Bash`, `ccw tool exec`, `TodoWrite`
402+
**Tools**: `Bash`, `mcp__ccw-tools__*`, `TodoWrite`
403403

404404
```javascript
405405
Task({
@@ -511,7 +511,7 @@ Specialized agents use: `mcp__ace-tool__search_context`, `mcp__ccw-tools__smart_
511511

512512
### CLI Tools
513513

514-
CLI-capable agents use: `ccw cli`, `ccw tool exec`
514+
CLI-capable agents use: `ccw cli`, MCP tools directly
515515

516516
### Workflow Tools
517517

docs/features/codexlens.md

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -41,21 +41,17 @@
4141

4242
## Usage
4343

44-
### Indexing Project
44+
### Via MCP Tool (Recommended)
4545

46-
```bash
47-
ccw index
48-
ccw index --watch # Continuous indexing
49-
```
50-
51-
### Searching
52-
53-
```bash
54-
ccw search "authentication logic"
55-
ccw search "where is user validation" --top 10
46+
```typescript
47+
// ACE semantic search
48+
mcp__ace-tool__search_context({
49+
project_root_path: "/path/to/project",
50+
query: "authentication logic"
51+
})
5652
```
5753

58-
### Via MCP Tool
54+
> **Note**: The CLI commands `ccw index` and `ccw search` are deprecated. Use MCP tools directly for semantic search.
5955
6056
```typescript
6157
// ACE semantic search

0 commit comments

Comments
 (0)