@walwal-harness/cli 5.9.2 → 5.9.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@walwal-harness/cli",
3
- "version": "5.9.2",
3
+ "version": "5.9.3",
4
4
  "description": "Production harness for AI agent engineering — Solo/Team mode, Planner, Generator(BE/FE), Evaluator chain (Code-Quality → Functional → Visual), optional Brainstormer. Supports React, Next.js, and Flutter FE stacks.",
5
5
  "bin": {
6
6
  "walwal-harness": "bin/init.js"
@@ -54,7 +54,12 @@ RESET="\033[0m"
54
54
  BG_YELLOW="\033[43m"
55
55
 
56
56
  REFRESH_SEC="${HARNESS_REFRESH:-5}"
57
- RECENT_N="${HARNESS_GOTCHA_RECENT:-3}"
57
+ # 단독 mode 패널은 전체 표시 (충분한 세로 공간), 통합 뷰만 최근 3 개로 압축.
58
+ if [ "$MODE" = "all" ]; then
59
+ RECENT_N="${HARNESS_GOTCHA_RECENT:-3}"
60
+ else
61
+ RECENT_N="${HARNESS_GOTCHA_RECENT:-9999}"
62
+ fi
58
63
 
59
64
  # 렌더 캐시 — 내용이 바뀌지 않으면 redraw 스킵
60
65
  LAST_SIG=""
@@ -104,9 +109,12 @@ count_items() {
104
109
  }
105
110
 
106
111
  # 최근 N개 항목 제목 추출 (### 헤딩 — 파일 하단부가 최신이라 tail)
112
+ # rule_id 마커 주석(<!-- rule_id: ... -->) 은 시각적 노이즈라 제거
107
113
  recent_titles() {
108
114
  local f="$1" n="$2"
109
- grep '^### ' "$f" 2>/dev/null | tail -n "$n" | sed 's/^### //'
115
+ grep '^### ' "$f" 2>/dev/null \
116
+ | tail -n "$n" \
117
+ | sed -E 's/^### //; s/[[:space:]]*<!--[[:space:]]*rule_id:[[:space:]]*[^>]*-->[[:space:]]*$//'
110
118
  }
111
119
 
112
120
  # agent 이름 → 파일 basename 매핑 (정확/접두 일치)