uctm 1.5.1 → 1.5.3
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/.claude-plugin/plugin.json +6 -0
- package/README.md +16 -14
- package/agents/builder.md +28 -59
- package/agents/committer.md +41 -73
- package/agents/planner.md +30 -31
- package/agents/scheduler.md +40 -58
- package/agents/specifier.md +29 -31
- package/agents/verifier.md +31 -56
- package/bin/cli.mjs +11 -58
- package/lib/constants.mjs +14 -11
- package/lib/init.mjs +29 -16
- package/lib/update.mjs +28 -22
- package/package.json +2 -1
- package/references/agent-flow.md +200 -0
- package/{agents → references}/context-policy.md +5 -6
- package/{skills/sdd-pipeline/references → references}/file-content-schema.md +6 -57
- package/references/ref-cache-protocol.md +31 -0
- package/{agents → references}/shared-prompt-sections.md +104 -42
- package/references/work-activity-log.md +26 -0
- package/{skills/sdd-pipeline/references → references}/xml-schema.md +2 -41
- package/skills/sdd-pipeline/SKILL.md +8 -6
- package/skills/work-pipeline/SKILL.md +31 -8
- package/skills/work-status/SKILL.md +2 -2
- package/.claude-plugin/.claude-plugin/plugin.json +0 -29
- package/agents/agent-flow.md +0 -279
- package/agents/file-content-schema.md +0 -249
- package/agents/ko/agent-flow.md +0 -231
- package/agents/ko/builder.md +0 -164
- package/agents/ko/committer.md +0 -202
- package/agents/ko/context-policy.md +0 -94
- package/agents/ko/file-content-schema.md +0 -249
- package/agents/ko/planner.md +0 -161
- package/agents/ko/scheduler.md +0 -189
- package/agents/ko/shared-prompt-sections.md +0 -250
- package/agents/ko/specifier.md +0 -194
- package/agents/ko/verifier.md +0 -149
- package/agents/ko/work-activity-log.md +0 -47
- package/agents/ko/xml-schema.md +0 -109
- package/agents/work-activity-log.md +0 -47
- package/agents/xml-schema.md +0 -159
- package/skills/sdd-pipeline/references/agent-flow.md +0 -279
- package/skills/sdd-pipeline/references/context-policy.md +0 -94
- package/skills/sdd-pipeline/references/shared-prompt-sections.md +0 -250
- package/skills/sdd-pipeline/references/work-activity-log.md +0 -47
|
@@ -54,9 +54,7 @@ fi
|
|
|
54
54
|
works/{WORK_ID}/
|
|
55
55
|
├─ Requirement.md # Created by Specifier (mandatory)
|
|
56
56
|
├─ PLAN.md
|
|
57
|
-
├─ PROGRESS.md
|
|
58
57
|
├─ TASK-00.md # No WORK prefix
|
|
59
|
-
├─ TASK-00_progress.md # Separator: underscore
|
|
60
58
|
├─ TASK-00_result.md # Separator: underscore
|
|
61
59
|
└─ TASK-01.md ...
|
|
62
60
|
```
|
|
@@ -71,17 +69,31 @@ works/{WORK_ID}/
|
|
|
71
69
|
```
|
|
72
70
|
# Find latest WORK with incomplete TASKs
|
|
73
71
|
# Use Glob tool: pattern "works/WORK-*/" → list all WORK directories (sorted)
|
|
74
|
-
# For each WORK (descending),
|
|
75
|
-
#
|
|
76
|
-
#
|
|
77
|
-
# First WORK
|
|
72
|
+
# For each WORK (descending), read last line of works/WORK-NN/work_WORK-NN.log
|
|
73
|
+
# - No log file → not started
|
|
74
|
+
# - Last line contains "COMMITTER_DONE" with last TASK number → check if more TASKs remain
|
|
75
|
+
# First WORK that is not fully completed is the active WORK
|
|
78
76
|
|
|
79
77
|
# List all WORKs
|
|
80
78
|
# Use Glob tool: pattern "works/WORK-*/"
|
|
81
79
|
|
|
82
|
-
# TASK
|
|
83
|
-
#
|
|
84
|
-
#
|
|
80
|
+
# WORK/TASK status from activity log (last line)
|
|
81
|
+
# Read last line of works/${WORK_ID}/work_${WORK_ID}.log
|
|
82
|
+
# Format: [timestamp] EVENT — description
|
|
83
|
+
#
|
|
84
|
+
# Key rule: *_START without matching *_DONE = interrupted, must REDO that step
|
|
85
|
+
#
|
|
86
|
+
# COMMITTER_DONE — TASK-NN → TASK-NN completed, next TASK is TASK-(NN+1)
|
|
87
|
+
# COMMITTER_START — TASK-NN → committer interrupted, redo verifier+committer for TASK-NN
|
|
88
|
+
# VERIFIER_DONE — TASK-NN → TASK-NN verified, needs committer
|
|
89
|
+
# VERIFIER_START — TASK-NN → verifier interrupted, redo verifier+committer for TASK-NN
|
|
90
|
+
# BUILDER_DONE — TASK-NN → TASK-NN builder done, needs verifier+committer
|
|
91
|
+
# BUILDER_START — TASK-NN → builder interrupted, redo builder for TASK-NN
|
|
92
|
+
# PLANNER_DONE → planning done, start first TASK
|
|
93
|
+
# PLANNER_START → planner interrupted, redo specifier+planner
|
|
94
|
+
# SPECIFIER_DONE → specifier done, needs planner
|
|
95
|
+
# SPECIFIER_START → specifier interrupted, redo specifier+planner
|
|
96
|
+
# No log file → start from scratch
|
|
85
97
|
```
|
|
86
98
|
|
|
87
99
|
---
|
|
@@ -150,73 +162,123 @@ Rules:
|
|
|
150
162
|
## § 9. Locale Detection
|
|
151
163
|
|
|
152
164
|
```
|
|
153
|
-
1. CLAUDE.md →
|
|
165
|
+
1. Use Grep tool: pattern "Language:\s*[a-z]{2}" path="CLAUDE.md" → extract language code
|
|
154
166
|
2. If not found, ask user for language
|
|
155
|
-
3. If not found, auto-detect system locale
|
|
167
|
+
3. If not found, auto-detect system locale via Bash:
|
|
156
168
|
- Windows: powershell -c "[CultureInfo]::CurrentCulture.TwoLetterISOLanguageName"
|
|
157
|
-
- Linux/Mac: locale | grep LANG
|
|
169
|
+
- Linux/Mac: locale | grep LANG
|
|
158
170
|
- Fallback: "en"
|
|
159
171
|
```
|
|
160
172
|
|
|
161
173
|
---
|
|
162
174
|
|
|
163
|
-
## § 10. Callback
|
|
175
|
+
## § 10. Callback & Activity Log
|
|
164
176
|
|
|
165
|
-
|
|
177
|
+
### 10-1. Callback (CE7)
|
|
166
178
|
|
|
167
|
-
|
|
179
|
+
Each agent sends START/DONE/FAILED events to the server via CE7 API.
|
|
168
180
|
|
|
169
|
-
**
|
|
181
|
+
**Activation condition:** Only when `CALLBACK_URL` is available. Check in order:
|
|
182
|
+
1. Dispatch XML `<callback-url>` element (passed from Main Claude)
|
|
183
|
+
2. Prompt text containing `CALLBACK_URL=...` line
|
|
184
|
+
3. If neither found → **skip all callbacks**
|
|
170
185
|
|
|
171
|
-
**
|
|
186
|
+
**How to resolve CALLBACK_URL and CALLBACK_TOKEN:**
|
|
172
187
|
|
|
173
|
-
|
|
188
|
+
The runner injects callback info directly into the prompt:
|
|
189
|
+
```
|
|
190
|
+
POST {CALLBACK_URL}
|
|
191
|
+
Authorization: Bearer {CALLBACK_TOKEN}
|
|
192
|
+
```
|
|
193
|
+
The first agent (specifier) extracts these and passes them via dispatch XML to subsequent agents.
|
|
194
|
+
|
|
195
|
+
**When to send:**
|
|
196
|
+
- **START**: At the very beginning of agent execution (after STARTUP)
|
|
197
|
+
- **DONE**: At the very end, before returning task-result XML
|
|
198
|
+
- **FAILED**: On unrecoverable failure, before returning FAIL task-result
|
|
199
|
+
|
|
200
|
+
**How to send** (single curl command):
|
|
174
201
|
```bash
|
|
175
|
-
curl -s -
|
|
202
|
+
curl -s --connect-timeout 3 --max-time 5 -X POST "$CALLBACK_URL" \
|
|
203
|
+
-H "Authorization: Bearer $CALLBACK_TOKEN" \
|
|
204
|
+
-H "Content-Type: application/json" \
|
|
205
|
+
-d '{"stage":"BUILDER","event":"START","workId":"WORK-09","taskId":"TASK-01"}' \
|
|
206
|
+
2>/dev/null || true
|
|
176
207
|
```
|
|
177
208
|
|
|
178
|
-
|
|
179
|
-
-
|
|
180
|
-
-
|
|
209
|
+
- `--connect-timeout 3`: 연결 대기 최대 3초
|
|
210
|
+
- `--max-time 5`: 전체 요청 최대 5초
|
|
211
|
+
- `|| true`: 실패해도 agent 실행 계속
|
|
181
212
|
|
|
182
|
-
|
|
213
|
+
**Include docs (actual file content, not references):**
|
|
214
|
+
- specifier DONE: `"docs": {"requirementContent": "<Requirement.md content>"}`
|
|
215
|
+
- planner DONE: `"docs": {"planContent": "<PLAN.md content>"}`
|
|
216
|
+
- builder START: `"docs": {"taskContent": "<TASK-NN.md content>"}`
|
|
217
|
+
- committer DONE: `"docs": {"resultContent": "<TASK-NN_result.md content>"}`
|
|
183
218
|
|
|
184
|
-
|
|
219
|
+
**Token usage** (DONE event only, optional):
|
|
220
|
+
```json
|
|
221
|
+
{"inputTokens": 1234, "outputTokens": 567, "cacheCreationTokens": 890, "cacheReadTokens": 456}
|
|
222
|
+
```
|
|
185
223
|
|
|
186
|
-
|
|
187
|
-
# 1. Check CLAUDE.md language setting
|
|
188
|
-
grep -oP '(?<=Language:\s?)[a-z]{2}' CLAUDE.md 2>/dev/null
|
|
224
|
+
Callback failure must NOT block agent execution. Always continue.
|
|
189
225
|
|
|
190
|
-
|
|
191
|
-
head -50 package.json 2>/dev/null
|
|
192
|
-
head -30 pyproject.toml 2>/dev/null
|
|
193
|
-
head -20 Cargo.toml 2>/dev/null
|
|
194
|
-
head -10 go.mod 2>/dev/null
|
|
226
|
+
### 10-2. Activity Log
|
|
195
227
|
|
|
196
|
-
|
|
197
|
-
|
|
228
|
+
Each agent records start/end to `works/{WORK_ID}/work_{WORK_ID}.log`.
|
|
229
|
+
|
|
230
|
+
**All WORKs** — no CALLBACK_URL condition.
|
|
231
|
+
|
|
232
|
+
**Timestamp:** Run `date -u +"%Y-%m-%dT%H:%M:%SZ"` via Bash tool to get the real UTC time. Do NOT use dummy/placeholder timestamps.
|
|
233
|
+
|
|
234
|
+
**Format:**
|
|
235
|
+
```
|
|
236
|
+
[2026-03-30T14:30:00Z] AGENT_EVENT — description
|
|
198
237
|
```
|
|
199
238
|
|
|
239
|
+
**How to write:** Use Bash `echo "[timestamp] EVENT — description" >> works/{WORK_ID}/work_{WORK_ID}.log`
|
|
240
|
+
|
|
241
|
+
**Required entries per agent (START and DONE only):**
|
|
242
|
+
```
|
|
243
|
+
[{timestamp}] SPECIFIER_START — WORK-NN specifier started
|
|
244
|
+
[{timestamp}] SPECIFIER_DONE — WORK-NN specifier completed
|
|
245
|
+
[{timestamp}] BUILDER_START — TASK-NN implement
|
|
246
|
+
[{timestamp}] BUILDER_DONE — TASK-NN complete
|
|
247
|
+
[{timestamp}] VERIFIER_START — TASK-NN verification
|
|
248
|
+
[{timestamp}] VERIFIER_DONE — TASK-NN verified
|
|
249
|
+
[{timestamp}] COMMITTER_START — TASK-NN commit
|
|
250
|
+
[{timestamp}] COMMITTER_DONE — TASK-NN committed
|
|
251
|
+
```
|
|
252
|
+
|
|
253
|
+
Do NOT write INIT, REF, PLAN, DISPATCH or other intermediate entries. Only START and DONE per agent role.
|
|
254
|
+
|
|
200
255
|
---
|
|
201
256
|
|
|
202
|
-
## §
|
|
257
|
+
## § 11. Project Discovery
|
|
258
|
+
|
|
259
|
+
```
|
|
260
|
+
# 1. Check CLAUDE.md language setting
|
|
261
|
+
Use Grep tool: pattern "Language:\s*[a-z]{2}" path="CLAUDE.md"
|
|
203
262
|
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
263
|
+
# 2. Tech stack (read first 50/30/20/10 lines if file exists)
|
|
264
|
+
Use Read tool: "package.json" (limit=50)
|
|
265
|
+
Use Read tool: "pyproject.toml" (limit=30)
|
|
266
|
+
Use Read tool: "Cargo.toml" (limit=20)
|
|
267
|
+
Use Read tool: "go.mod" (limit=10)
|
|
208
268
|
|
|
209
|
-
|
|
269
|
+
# 3. Structure (when needed)
|
|
270
|
+
Use Glob tool: pattern "**/*.{md,json,toml}" (exclude node_modules)
|
|
271
|
+
```
|
|
210
272
|
|
|
211
273
|
---
|
|
212
274
|
|
|
213
|
-
## §
|
|
275
|
+
## § 12. Bash Command Rules
|
|
214
276
|
|
|
215
277
|
Bash commands MUST follow these rules for permission compatibility.
|
|
216
278
|
|
|
217
279
|
**MANDATORY:**
|
|
218
280
|
- One simple command per Bash call — NO compound commands (`&&`, `||`, `;`, `|`)
|
|
219
|
-
- NO `cd dir
|
|
281
|
+
- NO `cd` — Bash tool cwd is always the project root. Never use `cd dir &&`, `cd dir ;`, or `cd dir` in any form. Use relative paths from project root
|
|
220
282
|
- NO multi-line scripts — split into separate Bash calls
|
|
221
283
|
- NO sub-shell expansions in arguments — e.g., `$(date ...)` inside `printf`
|
|
222
284
|
- Use relative paths from project root (e.g., `works/WORK-01/`) — NO absolute paths
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Work Activity Log
|
|
2
|
+
|
|
3
|
+
Records agent start/end events in `works/{WORK_ID}/work_{WORK_ID}.log`.
|
|
4
|
+
|
|
5
|
+
## Rules
|
|
6
|
+
|
|
7
|
+
1. **Timestamp**: Run `date -u +"%Y-%m-%dT%H:%M:%SZ"` via Bash to get real UTC time. Never use dummy values.
|
|
8
|
+
2. **Write method**: Use `Edit` tool to append. Do NOT use Bash for log writes.
|
|
9
|
+
3. **Entries**: Only START and DONE per agent role. No intermediate stages.
|
|
10
|
+
|
|
11
|
+
## Format
|
|
12
|
+
|
|
13
|
+
```
|
|
14
|
+
[YYYY-MM-DDTHH:MM:SSZ] AGENT_EVENT — description
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Required Entries
|
|
18
|
+
|
|
19
|
+
| Agent | START | DONE |
|
|
20
|
+
|-------|-------|------|
|
|
21
|
+
| specifier | `SPECIFIER_START — WORK-NN specifier started` | `SPECIFIER_DONE — WORK-NN specifier completed` |
|
|
22
|
+
| planner | `PLANNER_START — WORK-NN planner started` | `PLANNER_DONE — WORK-NN planner completed` |
|
|
23
|
+
| scheduler | `SCHEDULER_START — WORK-NN scheduler started` | `SCHEDULER_DONE — WORK-NN scheduler completed` |
|
|
24
|
+
| builder | `BUILDER_START — TASK-NN implement` | `BUILDER_DONE — TASK-NN complete` |
|
|
25
|
+
| verifier | `VERIFIER_START — TASK-NN verification` | `VERIFIER_DONE — TASK-NN verified` |
|
|
26
|
+
| committer | `COMMITTER_START — TASK-NN commit` | `COMMITTER_DONE — TASK-NN committed` |
|
|
@@ -66,21 +66,7 @@ XML communication format definition for uc-taskmanager agents.
|
|
|
66
66
|
|
|
67
67
|
---
|
|
68
68
|
|
|
69
|
-
## 3.
|
|
70
|
-
|
|
71
|
-
| Dispatcher | Receiver | execution-mode | Description |
|
|
72
|
-
|------------|----------|:--------------:|-------------|
|
|
73
|
-
| Specifier | Builder | `direct` | Assumed: single TASK implementation (Verifier skipped) |
|
|
74
|
-
| Specifier | Planner | `pipeline/full` | Delegated: complex WORK planning |
|
|
75
|
-
| Planner | Builder | `pipeline` | TASK implementation |
|
|
76
|
-
| Planner | Scheduler | `full` | DAG management + execution |
|
|
77
|
-
| Scheduler | Builder | `full` | N TASK implementation |
|
|
78
|
-
| Scheduler | Verifier | `full` | N TASK verification |
|
|
79
|
-
| Scheduler | Committer | `full` | N TASK commit |
|
|
80
|
-
|
|
81
|
-
---
|
|
82
|
-
|
|
83
|
-
## 4. Context-Handoff Element
|
|
69
|
+
## 3. Context-Handoff Element
|
|
84
70
|
|
|
85
71
|
```xml
|
|
86
72
|
<context-handoff from="{agent}" detail-level="{FULL|SUMMARY|DROP}">
|
|
@@ -99,32 +85,7 @@ XML communication format definition for uc-taskmanager agents.
|
|
|
99
85
|
|
|
100
86
|
---
|
|
101
87
|
|
|
102
|
-
##
|
|
103
|
-
|
|
104
|
-
| Agent | direct | pipeline | full |
|
|
105
|
-
|-------|--------|----------|------|
|
|
106
|
-
| Specifier | Requirement.md + PLAN.md + TASK (assumed) | Requirement.md only → delegate to Planner | Requirement.md only → delegate to Planner |
|
|
107
|
-
| Planner | Not invoked (Specifier assumed) | PLAN.md + TASK + execution-mode | PLAN.md + TASK + execution-mode |
|
|
108
|
-
| Scheduler | Not invoked | Not invoked | DAG management + [B→V→C]×N |
|
|
109
|
-
| Builder | Normal execution (self-check) | Normal execution | Normal execution |
|
|
110
|
-
| Verifier | Not invoked | Normal execution | Normal execution |
|
|
111
|
-
| Committer | result.md+commit+callback | result.md+commit+callback | result.md+commit+callback |
|
|
112
|
-
|
|
113
|
-
Invariants (regardless of mode):
|
|
114
|
-
|
|
115
|
-
| Item | direct | pipeline/full |
|
|
116
|
-
|------|:---:|:---:|
|
|
117
|
-
| `works/WORK-NN/` directory | Specifier | Specifier |
|
|
118
|
-
| `Requirement.md` | Specifier | Specifier |
|
|
119
|
-
| `PLAN.md` | Specifier (assumed) | Planner |
|
|
120
|
-
| `TASK-XX.md` | Specifier (assumed) | Planner |
|
|
121
|
-
| `TASK-XX_result.md` | Committer | Committer |
|
|
122
|
-
| COMMITTER DONE callback | Committer | Committer |
|
|
123
|
-
| `WORK-LIST.md` IN_PROGRESS | Specifier | Specifier |
|
|
124
|
-
|
|
125
|
-
---
|
|
126
|
-
|
|
127
|
-
## 6. ref-cache Element Definition
|
|
88
|
+
## 4. ref-cache Element Definition
|
|
128
89
|
|
|
129
90
|
`<ref-cache>` is an optional container element that carries pre-loaded reference file contents within dispatch and task-result XML. When present, receiving agents MUST use these contents instead of reading files from disk.
|
|
130
91
|
|
|
@@ -4,13 +4,15 @@
|
|
|
4
4
|
|
|
5
5
|
직접 사용자 호출용이 아니라 에이전트 내부 참조용입니다.
|
|
6
6
|
|
|
7
|
+
참조 문서 위치: `../../references/`
|
|
8
|
+
|
|
7
9
|
## 포함 문서
|
|
8
10
|
|
|
9
11
|
| File | Description |
|
|
10
12
|
|------|-------------|
|
|
11
|
-
|
|
|
12
|
-
|
|
|
13
|
-
|
|
|
14
|
-
|
|
|
15
|
-
|
|
|
16
|
-
|
|
|
13
|
+
| `../../references/agent-flow.md` | 파이프라인 흐름 정의 |
|
|
14
|
+
| `../../references/file-content-schema.md` | 파일 포맷 스키마 |
|
|
15
|
+
| `../../references/shared-prompt-sections.md` | 공통 규칙 (TASK ID, PLAN.md 7 fields, WORK-LIST) |
|
|
16
|
+
| `../../references/context-policy.md` | 슬라이딩 윈도우 규칙 |
|
|
17
|
+
| `../../references/xml-schema.md` | XML 통신 포맷 |
|
|
18
|
+
| `../../references/work-activity-log.md` | Activity Log 규칙 |
|
|
@@ -1,25 +1,30 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: work-pipeline
|
|
3
|
-
description: Triggers the WORK-PIPELINE when
|
|
3
|
+
description: Triggers the WORK-PIPELINE. Use this skill when (1) user request starts with a [] tag (e.g., [new-feature], [bugfix]), or (2) user asks to resume/continue a WORK (e.g., "WORK-01 계속실행", "resume WORK-01", "WORK-01 실행", "continue WORK-01").
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# WORK-PIPELINE Trigger
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
Read `../../references/agent-flow.md` and follow the orchestration flow.
|
|
9
9
|
|
|
10
10
|
## Trigger Detection
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
**New WORK** — message starts with `[...]` tag:
|
|
13
13
|
- `[new-feature]`, `[enhancement]`, `[bugfix]`, `[new-work]`, `[WORK start]`
|
|
14
14
|
- Or any custom tag in square brackets
|
|
15
15
|
|
|
16
|
+
**Resume WORK** — message mentions existing WORK-ID with execution intent:
|
|
17
|
+
- "WORK-XX 계속실행", "WORK-XX 실행", "resume WORK-XX", "continue WORK-XX"
|
|
18
|
+
- "파이프라인 재개", "WORK 계속"
|
|
19
|
+
- → Follow agent-flow.md § Resuming Existing WORK
|
|
20
|
+
|
|
16
21
|
## References Directory (CRITICAL)
|
|
17
22
|
|
|
18
23
|
When this skill is triggered, Claude Code provides the "Base directory for this skill" as an absolute path.
|
|
19
24
|
Derive the **REFERENCES_DIR** from it:
|
|
20
25
|
|
|
21
26
|
```
|
|
22
|
-
REFERENCES_DIR = {Base directory}
|
|
27
|
+
REFERENCES_DIR = {Base directory}/../../references
|
|
23
28
|
```
|
|
24
29
|
|
|
25
30
|
You MUST pass this absolute path to **every sub-agent invocation** (specifier, planner, scheduler, builder, verifier, committer).
|
|
@@ -31,14 +36,32 @@ REFERENCES_DIR={absolute_path}
|
|
|
31
36
|
|
|
32
37
|
Sub-agents need this path to read their reference files. Without it, they cannot find the files and will loop.
|
|
33
38
|
|
|
39
|
+
## Callback Info Passthrough
|
|
40
|
+
|
|
41
|
+
If the user's prompt contains `CALLBACK_URL=...` and `CALLBACK_TOKEN=...`, extract these values and pass them to **every sub-agent invocation** alongside REFERENCES_DIR:
|
|
42
|
+
|
|
43
|
+
```
|
|
44
|
+
CALLBACK_URL={url}
|
|
45
|
+
CALLBACK_TOKEN={token}
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
**Main Claude (this skill) must NEVER send callbacks itself.** Only sub-agents send callbacks.
|
|
49
|
+
|
|
34
50
|
## Pipeline Flow
|
|
35
51
|
|
|
36
|
-
1. **
|
|
52
|
+
1. **Spawn specifier agent** (via Agent tool) — analyzes the requirement, creates `works/WORK-NN/Requirement.md`, determines execution-mode (direct/pipeline/full)
|
|
37
53
|
2. **⛔ STOP — Present the specifier's output summary to the user and WAIT for explicit approval.** Do NOT call the next agent until the user approves. Show what was created (Requirement.md, PLAN.md if direct mode, TASK files) and ask "Proceed?"
|
|
38
54
|
3. **Follow the execution-mode** returned by specifier:
|
|
39
|
-
- `direct`:
|
|
40
|
-
- `pipeline`:
|
|
41
|
-
- `full`:
|
|
55
|
+
- `direct`: spawn builder (Agent tool) → spawn verifier+committer (single Agent tool, see agent-flow.md § Combined Agent Invocation)
|
|
56
|
+
- `pipeline`: for each TASK → spawn builder → spawn verifier+committer (repeat per TASK)
|
|
57
|
+
- `full`: spawn planner → **⛔ STOP for 2nd approval** → spawn scheduler → scheduler handles [builder → verifier+committer] × N
|
|
58
|
+
|
|
59
|
+
## ⚠️ CRITICAL: Agent Spawn Rules
|
|
60
|
+
|
|
61
|
+
- **EVERY agent MUST be spawned via the Agent tool.** Main Claude must NEVER implement code, create files, run git commands, or perform any agent's work directly.
|
|
62
|
+
- In direct mode: spawn specifier → spawn builder → spawn verifier+committer (**3 Agent tool calls**).
|
|
63
|
+
- verifier+committer is a **single spawn** that performs both roles in sequence (see agent-flow.md).
|
|
64
|
+
- If specifier returns builder dispatch XML, pass it to the builder agent — do NOT execute it yourself.
|
|
42
65
|
|
|
43
66
|
## Auto Mode
|
|
44
67
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: work-status
|
|
3
|
-
description: Shows WORK
|
|
3
|
+
description: Shows WORK status (read-only). Use ONLY when the user asks to VIEW status — not to execute or resume. Matches queries like "WORK 목록", "상태 확인", "WORK-01 상태", "show status". Do NOT use for "실행", "계속", "resume" — those go to work-pipeline.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# WORK Status
|
|
@@ -10,7 +10,7 @@ Check and report the current status of WORKs and TASKs.
|
|
|
10
10
|
## How to Check
|
|
11
11
|
|
|
12
12
|
1. Read `works/WORK-LIST.md` for the master index of all WORKs
|
|
13
|
-
2. For a specific WORK, read `works/WORK-NN/
|
|
13
|
+
2. For a specific WORK, read last line of `works/WORK-NN/work_WORK-NN.log` for current progress
|
|
14
14
|
3. For a specific TASK, read `works/WORK-NN/TASK-NN_result.md` for completion details
|
|
15
15
|
|
|
16
16
|
## Status Values
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "uc-taskmanager",
|
|
3
|
-
"version": "1.4.0",
|
|
4
|
-
"agents": [
|
|
5
|
-
"./agents/specifier.md",
|
|
6
|
-
"./agents/planner.md",
|
|
7
|
-
"./agents/scheduler.md",
|
|
8
|
-
"./agents/builder.md",
|
|
9
|
-
"./agents/verifier.md",
|
|
10
|
-
"./agents/committer.md"
|
|
11
|
-
],
|
|
12
|
-
"description": "SDD WORK-PIPELINE Agent — Requirements analysis & development 6-agent full pipeline with DAG-based orchestration and sliding window context management",
|
|
13
|
-
"author": {
|
|
14
|
-
"name": "UCJung",
|
|
15
|
-
"url": "https://github.com/UCJung"
|
|
16
|
-
},
|
|
17
|
-
"homepage": "https://github.com/UCJung/uc-taskmanager-claude-agent",
|
|
18
|
-
"repository": "https://github.com/UCJung/uc-taskmanager-claude-agent",
|
|
19
|
-
"license": "GPL-3.0",
|
|
20
|
-
"keywords": [
|
|
21
|
-
"task-manager",
|
|
22
|
-
"pipeline",
|
|
23
|
-
"sub-agents",
|
|
24
|
-
"sdd",
|
|
25
|
-
"dag-orchestration",
|
|
26
|
-
"work-pipeline",
|
|
27
|
-
"automation"
|
|
28
|
-
]
|
|
29
|
-
}
|