@walwal-harness/cli 4.0.0-beta.1 → 4.0.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/skills/team-action/SKILL.md +12 -50
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@walwal-harness/cli",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.2",
|
|
4
4
|
"description": "Production harness for AI agent engineering — Planner, Generator(BE/FE), Evaluator(Func/Visual), optional Brainstormer (requirements refinement). Supports React and Flutter FE stacks.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"walwal-harness": "bin/init.js"
|
|
@@ -1,64 +1,26 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: harness-team-action
|
|
3
|
-
description: "v4 Agent Teams 가동. feature-queue를 초기화하고 3개 Teammate를 생성하여 Feature
|
|
3
|
+
description: "v4 Agent Teams 가동. feature-queue를 초기화하고 3개 Teammate를 생성하여 Feature 병렬 실행. 트리거: '/harness-team-action', 'team 시작', '팀 가동'"
|
|
4
4
|
disable-model-invocation: false
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# /harness-team-action — Agent Teams 가동
|
|
8
8
|
|
|
9
|
-
##
|
|
10
|
-
|
|
11
|
-
- `CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1` 이 `.claude/settings.json`에 설정되어 있어야 함
|
|
12
|
-
- `.harness/actions/feature-list.json`이 존재해야 함 (Planner가 생성)
|
|
13
|
-
|
|
14
|
-
## 실행 절차
|
|
15
|
-
|
|
16
|
-
### Step 1: Feature Queue 초기화
|
|
17
|
-
|
|
18
|
-
먼저 feature-queue.json을 확인/생성합니다:
|
|
9
|
+
## Step 1: Queue 초기화
|
|
19
10
|
|
|
20
11
|
```bash
|
|
21
|
-
if [ ! -f .harness/actions/feature-queue.json ]; then
|
|
22
|
-
bash scripts/harness-queue-manager.sh init .
|
|
23
|
-
else
|
|
24
|
-
bash scripts/harness-queue-manager.sh recover .
|
|
25
|
-
fi
|
|
26
|
-
bash scripts/harness-queue-manager.sh status .
|
|
12
|
+
if [ ! -f .harness/actions/feature-queue.json ]; then bash scripts/harness-queue-manager.sh init .; else bash scripts/harness-queue-manager.sh recover .; fi && bash scripts/harness-queue-manager.sh status .
|
|
27
13
|
```
|
|
28
14
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
**아래 내용을 그대로 실행합니다** — 3명의 Teammate를 생성하여 Feature Queue에서 작업을 분배합니다.
|
|
32
|
-
|
|
33
|
-
`.harness/actions/feature-queue.json`의 `ready` 큐에서 최대 3개 Feature를 가져와 각 Teammate에게 할당합니다.
|
|
34
|
-
Teammate가 Feature를 완료하면 queue에서 다음 ready Feature를 가져옵니다.
|
|
35
|
-
|
|
36
|
-
**Teammate 생성 요청:**
|
|
37
|
-
|
|
38
|
-
3명의 Teammate를 생성하세요:
|
|
39
|
-
|
|
40
|
-
1. **team-1** (Generator + Evaluator):
|
|
41
|
-
- `.harness/actions/feature-queue.json`의 `ready` 배열에서 첫 번째 Feature를 가져옴
|
|
42
|
-
- 해당 Feature에 대해: 코드 생성 → `tsc --noEmit` + `eslint` 검증 → AC 기반 기능 평가
|
|
43
|
-
- PASS 시: `bash scripts/harness-queue-manager.sh pass {FEATURE_ID} .` 실행 후 다음 Feature
|
|
44
|
-
- FAIL 시: 최대 3회 재시도, 3회 실패 시 `bash scripts/harness-queue-manager.sh fail {FEATURE_ID} .`
|
|
45
|
-
- AGENTS.md의 파일 소유권 규칙 준수
|
|
46
|
-
|
|
47
|
-
2. **team-2** (동일 역할): ready 배열에서 두 번째 Feature
|
|
48
|
-
|
|
49
|
-
3. **team-3** (동일 역할): ready 배열에서 세 번째 Feature
|
|
15
|
+
## Step 2: Teammate 생성
|
|
50
16
|
|
|
51
|
-
|
|
52
|
-
- `.harness/actions/feature-list.json`에서 자신의 Feature 정보(AC, depends_on) 읽기
|
|
53
|
-
- `.harness/actions/api-contract.json`에서 관련 엔드포인트 확인
|
|
54
|
-
- `CONVENTIONS.md` 존재 시 준수
|
|
55
|
-
- Feature 완료 시 `feature-list.json`의 해당 Feature `passes`에 `["generator-frontend", "evaluator-functional"]` 추가
|
|
56
|
-
- 다른 Teammate의 Feature 코드를 수정하지 않음
|
|
57
|
-
- 완료/실패 시 Lead에게 `SendMessage`로 결과 보고
|
|
17
|
+
Queue의 `ready` 배열에서 Feature를 읽고, **3명의 Teammate를 즉시 생성**하세요.
|
|
58
18
|
|
|
59
|
-
|
|
19
|
+
각 Teammate에게 전달할 지시:
|
|
20
|
+
- `.harness/actions/feature-queue.json`의 ready에서 Feature 1개를 담당
|
|
21
|
+
- 해당 Feature의 코드를 생성하고, AC(Acceptance Criteria)를 기준으로 자체 검증
|
|
22
|
+
- PASS 시: `bash scripts/harness-queue-manager.sh pass {FEATURE_ID} .` 실행
|
|
23
|
+
- FAIL 시: 재시도 (최대 3회), 3회 실패 시 `bash scripts/harness-queue-manager.sh fail {FEATURE_ID} .`
|
|
24
|
+
- 완료 후 Lead에게 결과 보고
|
|
60
25
|
|
|
61
|
-
|
|
62
|
-
- 상태 확인: `bash scripts/harness-queue-manager.sh status .`
|
|
63
|
-
- 실패 Feature 재큐: `bash scripts/harness-queue-manager.sh requeue F-XXX .`
|
|
64
|
-
- 중지: `/harness-team-stop`
|
|
26
|
+
**Teammate 이름**: team-1, team-2, team-3
|