@walwal-harness/cli 2.3.1 → 2.3.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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@walwal-harness/cli",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.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"
|
|
@@ -13,18 +13,24 @@ disable-model-invocation: true
|
|
|
13
13
|
2. progress.json 업데이트: `current_agent` → `"evaluator-functional"`, `agent_status` → `"running"`, `updated_at` 갱신
|
|
14
14
|
|
|
15
15
|
### On Complete (PASS)
|
|
16
|
-
1.
|
|
16
|
+
1. **Screenshot Cleanup** — 이번 평가에서 `browser_take_screenshot` 으로 생성한 모든 PNG/JPEG 파일 삭제:
|
|
17
|
+
```bash
|
|
18
|
+
find . -maxdepth 3 \( -name "screenshot*.png" -o -name "screenshot*.jpg" -o -name "playwright-*.png" \) -newer .harness/progress.json -delete 2>/dev/null
|
|
19
|
+
```
|
|
20
|
+
증거는 `evaluation-functional.md` 에 텍스트로 기술 — 파일은 남기지 않는다.
|
|
21
|
+
2. progress.json 업데이트:
|
|
17
22
|
- `agent_status` → `"completed"`
|
|
18
23
|
- `completed_agents`에 `"evaluator-functional"` 추가
|
|
19
24
|
- `next_agent` → 파이프라인에 따라 결정 (FULLSTACK/FE-ONLY: `"evaluator-visual"`, BE-ONLY: `"archive"`)
|
|
20
25
|
- `failure` 필드 초기화
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
26
|
+
3. `feature-list.json`의 통과 feature `passes`에 `"evaluator-functional"` 추가
|
|
27
|
+
4. `.harness/progress.log`에 PASS 요약 추가
|
|
28
|
+
5. **STOP. 다음 에이전트를 직접 호출하지 않는다.**
|
|
29
|
+
6. 출력: `"✓ Evaluator-Functional PASS. bash scripts/harness-next.sh 실행하여 다음 단계 확인."`
|
|
25
30
|
|
|
26
31
|
### On Fail
|
|
27
|
-
1.
|
|
32
|
+
1. **Screenshot Cleanup** — PASS 와 동일하게 스크린샷 파일 삭제 (FAIL 시에도 정리 필수).
|
|
33
|
+
2. progress.json 업데이트:
|
|
28
34
|
- `agent_status` → `"failed"`
|
|
29
35
|
- `failure.agent` → `"evaluator-functional"`
|
|
30
36
|
- `failure.location` → `"backend"` 또는 `"frontend"` (결함 위치)
|
|
@@ -32,10 +38,10 @@ disable-model-invocation: true
|
|
|
32
38
|
- `failure.retry_target` → `"generator-backend"` 또는 `"generator-frontend"`
|
|
33
39
|
- `next_agent` → `failure.retry_target`과 동일
|
|
34
40
|
- `sprint.retry_count` 증가
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
41
|
+
3. `sprint.retry_count >= 10`이면 `agent_status` → `"blocked"`, 사용자 개입 요청
|
|
42
|
+
4. `.harness/progress.log`에 FAIL 요약 추가
|
|
43
|
+
5. **STOP.**
|
|
44
|
+
6. 출력: `"✖ Evaluator-Functional FAIL. bash scripts/harness-next.sh 실행하여 재작업 대상 확인."`
|
|
39
45
|
|
|
40
46
|
## Critical Mindset
|
|
41
47
|
|
|
@@ -13,18 +13,24 @@ disable-model-invocation: true
|
|
|
13
13
|
2. progress.json 업데이트: `current_agent` → `"evaluator-visual"`, `agent_status` → `"running"`, `updated_at` 갱신
|
|
14
14
|
|
|
15
15
|
### On Complete (PASS)
|
|
16
|
-
1.
|
|
16
|
+
1. **Screenshot Cleanup** — 이번 평가에서 `browser_take_screenshot` 으로 생성한 모든 PNG/JPEG 파일 삭제:
|
|
17
|
+
```bash
|
|
18
|
+
find . -maxdepth 3 \( -name "screenshot*.png" -o -name "screenshot*.jpg" -o -name "playwright-*.png" \) -newer .harness/progress.json -delete 2>/dev/null
|
|
19
|
+
```
|
|
20
|
+
판정 증거는 `evaluation-visual.md` 에 텍스트로 기술 — 파일은 남기지 않는다.
|
|
21
|
+
2. progress.json 업데이트:
|
|
17
22
|
- `agent_status` → `"completed"`
|
|
18
23
|
- `completed_agents`에 `"evaluator-visual"` 추가
|
|
19
24
|
- `next_agent` → `"archive"`
|
|
20
25
|
- `failure` 필드 초기화
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
26
|
+
3. `feature-list.json`의 통과 feature `passes`에 `"evaluator-visual"` 추가
|
|
27
|
+
4. `.harness/progress.log`에 PASS 요약 추가
|
|
28
|
+
5. **STOP. 다음 에이전트를 직접 호출하지 않는다.**
|
|
29
|
+
6. 출력: `"✓ Evaluator-Visual PASS. bash scripts/harness-next.sh 실행하여 아카이브 진행."`
|
|
25
30
|
|
|
26
31
|
### On Fail
|
|
27
|
-
1.
|
|
32
|
+
1. **Screenshot Cleanup** — PASS 와 동일하게 스크린샷 파일 삭제 (FAIL 시에도 정리 필수).
|
|
33
|
+
2. progress.json 업데이트:
|
|
28
34
|
- `agent_status` → `"failed"`
|
|
29
35
|
- `failure.agent` → `"evaluator-visual"`
|
|
30
36
|
- `failure.location` → `"frontend"` (비주얼 = 항상 프론트)
|
|
@@ -32,10 +38,10 @@ disable-model-invocation: true
|
|
|
32
38
|
- `failure.retry_target` → `"generator-frontend"`
|
|
33
39
|
- `next_agent` → `"generator-frontend"`
|
|
34
40
|
- `sprint.retry_count` 증가
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
41
|
+
3. `sprint.retry_count >= 10`이면 `agent_status` → `"blocked"`, 사용자 개입 요청
|
|
42
|
+
4. `.harness/progress.log`에 FAIL 요약 추가
|
|
43
|
+
5. **STOP.**
|
|
44
|
+
6. 출력: `"✖ Evaluator-Visual FAIL. bash scripts/harness-next.sh 실행하여 재작업 대상 확인."`
|
|
39
45
|
|
|
40
46
|
## Startup
|
|
41
47
|
|