@walwal-harness/cli 7.1.38 → 7.1.39

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.
@@ -30,6 +30,14 @@ Before engineering work, read `.harness/conventions/shared.md`, `.harness/conven
30
30
 
31
31
  Before launching any fresh worker session, update `.harness/progress.json` with `scripts/harness-progress-set.sh` so dashboards can show the worker as active. Record the worker name, owning CXX, report path, and `status:"running"` under `company_state.workers`, increment `company_state.active_workers`, and set `conductor.current_action` to `spawn:{worker-name}`. After the worker report is accepted, update that worker to `status:"complete"` and decrement `active_workers`. Do not leave `active_workers:0` while a worker session is running.
32
32
 
33
+ ## Browser Automation Briefing
34
+
35
+ Every CTO worker brief that may use Playwright, browser automation, browser-based inspection, E2E, or visual verification must explicitly include this requirement:
36
+
37
+ > Run Playwright/browser automation with a visible browser. Set `headless: false` in launch/config code, use headed test mode (`--headed`, `PWDEBUG=1`, or equivalent), prefer `channel: 'chrome'` when available, and do not use headless mode unless the Owner has explicitly approved an exception in this mission.
38
+
39
+ CTO must not accept worker plans or reports that omit this requirement when browser automation is in scope.
40
+
33
41
  ## Hard Rules
34
42
 
35
43
  CTO must not directly write code, create build scripts, choose detailed implementation content, run technical QA as the evaluator, or produce final implementation artifacts. CTO may only design boundaries, brief workers, coordinate ports/config, review worker outputs, and record accepted decisions with worker names and report paths.
@@ -84,6 +84,14 @@ After service launch, OPS continues the same monitoring duty against `runtime.pr
84
84
 
85
85
  Before launching any fresh worker session, update `.harness/progress.json` with `scripts/harness-progress-set.sh` so dashboards can show the worker as active. Record the worker name, owning CXX, report path, and `status:"running"` under `company_state.workers`, increment `company_state.active_workers`, and set `conductor.current_action` to `spawn:{worker-name}`. After the worker report is accepted, update that worker to `status:"complete"` and decrement `active_workers`. Do not leave `active_workers:0` while a worker session is running.
86
86
 
87
+ ## Browser Automation Briefing
88
+
89
+ Every OPS worker brief that may use Playwright, browser automation, browser-based monitoring, E2E, or visual/runtime verification must explicitly include this requirement:
90
+
91
+ > Run Playwright/browser automation with a visible browser. Set `headless: false` in launch/config code, use headed test mode (`--headed`, `PWDEBUG=1`, or equivalent), prefer `channel: 'chrome'` when available, and do not use headless mode unless the Owner has explicitly approved an exception in this mission.
92
+
93
+ OPS must not accept worker plans or reports that omit this requirement when browser automation is in scope.
94
+
87
95
  ## Required Output Sections
88
96
 
89
97
  1. Worker Task Briefs — monitoring/recovery task, capability needed, selected worker or hiring request, acceptance criteria.
@@ -985,15 +985,15 @@
985
985
  }
986
986
  },
987
987
  "node_modules/@next/env": {
988
- "version": "15.5.18",
989
- "resolved": "https://registry.npmjs.org/@next/env/-/env-15.5.18.tgz",
990
- "integrity": "sha512-hAV85Ckd9QR6RvH04MEKwsfLTksvFpO47j9xwtoIuvuPnlwecpSi+uZTtm8HirVbtlI2Fnz//xpcSTjFdyJk+g==",
988
+ "version": "15.5.16",
989
+ "resolved": "https://registry.npmjs.org/@next/env/-/env-15.5.16.tgz",
990
+ "integrity": "sha512-9QMKolCl+JnJtaRAQSXy4RQrhgfe8W7/G1+Hl3QSB/HZY7zQMzTwPDdTRwwio8BS96ps1MHpHhbS8qxoNV3JIQ==",
991
991
  "license": "MIT"
992
992
  },
993
993
  "node_modules/@next/swc-darwin-arm64": {
994
- "version": "15.5.18",
995
- "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-15.5.18.tgz",
996
- "integrity": "sha512-w0WvQf1n+txiwns/9pwIQteCJpZTbxzO2SE0FLcwuD4v0WEh1JPOjdyxWL21XwJsdpx8cFRjyzxzCS/siP7HcQ==",
994
+ "version": "15.5.16",
995
+ "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-15.5.16.tgz",
996
+ "integrity": "sha512-wzdER4JZj+31vNkhaZ1Ght3IsNI8DMwj7VqadfIOqJB5sh8FiOqNSopYADQn6mgEPomzDd/DHqBcfo2fmVMYtg==",
997
997
  "cpu": [
998
998
  "arm64"
999
999
  ],
@@ -1007,9 +1007,9 @@
1007
1007
  }
1008
1008
  },
1009
1009
  "node_modules/@next/swc-darwin-x64": {
1010
- "version": "15.5.18",
1011
- "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-15.5.18.tgz",
1012
- "integrity": "sha512-znn71QmDuxm+BOaglihMZfvyySMnNljkVIY5Z2TCssBmm+WqL6c19VhtH5ktFkHa8EZ2bnTUpcNcmNSQsg67og==",
1010
+ "version": "15.5.16",
1011
+ "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-15.5.16.tgz",
1012
+ "integrity": "sha512-PPTo+cvcanxkuDEuDyZGk28ntmu0WjfkxqlG7hw9Mhsiribs4x1C6h2Culn0cJKqsne1gFjjZRK3ax7WYlSxgg==",
1013
1013
  "cpu": [
1014
1014
  "x64"
1015
1015
  ],
@@ -1023,9 +1023,9 @@
1023
1023
  }
1024
1024
  },
1025
1025
  "node_modules/@next/swc-linux-arm64-gnu": {
1026
- "version": "15.5.18",
1027
- "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-15.5.18.tgz",
1028
- "integrity": "sha512-yPPe5MNL+igZUa+OsqQJisqSfh6oarIuA1Q0BDxljGJhRQyZeP+WRHh7rs/jZUGMh5aY0YdIjXZG0VohkKkUdw==",
1026
+ "version": "15.5.16",
1027
+ "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-15.5.16.tgz",
1028
+ "integrity": "sha512-Jl0IL9P7S8uNl5oI1TqrQmfmLp7OqjWM58000pVnUVIsHrvPP6m9QDW/uNWYUbmd+8IYvc6MTeZKICstBMBpew==",
1029
1029
  "cpu": [
1030
1030
  "arm64"
1031
1031
  ],
@@ -1039,9 +1039,9 @@
1039
1039
  }
1040
1040
  },
1041
1041
  "node_modules/@next/swc-linux-arm64-musl": {
1042
- "version": "15.5.18",
1043
- "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-15.5.18.tgz",
1044
- "integrity": "sha512-glaCczEWIrHsokFZ3pP08U4BpKxwIdnT+txdOM32OBgpL9Yw4aqx8NejmgtZQZOdstQ5f0L3CasIZudzCuD+nw==",
1042
+ "version": "15.5.16",
1043
+ "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-15.5.16.tgz",
1044
+ "integrity": "sha512-Zf0BIqv/o5uOWfyRkzgGhyV2Tky7HLt0bG+w7XWdaU1JpyX0tltM3TrSfa/Y9c597SJG4CzN47+u2InhgZZ4vg==",
1045
1045
  "cpu": [
1046
1046
  "arm64"
1047
1047
  ],
@@ -1055,9 +1055,9 @@
1055
1055
  }
1056
1056
  },
1057
1057
  "node_modules/@next/swc-linux-x64-gnu": {
1058
- "version": "15.5.18",
1059
- "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-15.5.18.tgz",
1060
- "integrity": "sha512-oUfg2EgJmU3R0OCOWiokGFUTvZiPfXtriXiuF3YNxRoROCdgvTedHIzYoeKH34gsZxS/V7mHbfq2hpAHwhH1/A==",
1058
+ "version": "15.5.16",
1059
+ "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-15.5.16.tgz",
1060
+ "integrity": "sha512-HCDDU1TRLeUDV180QQTWrs5Oa4lIcI7XH9nF0UVUVmYLN/boZ6LqyFtm3814gc1fv+lOVyKaw5B6bVC9BpXTSQ==",
1061
1061
  "cpu": [
1062
1062
  "x64"
1063
1063
  ],
@@ -1071,9 +1071,9 @@
1071
1071
  }
1072
1072
  },
1073
1073
  "node_modules/@next/swc-linux-x64-musl": {
1074
- "version": "15.5.18",
1075
- "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-15.5.18.tgz",
1076
- "integrity": "sha512-JLxSP3KTd9iu/bvUMQxH7RJo9xKSHf55/6RPE4a6FTSZygGn7uvZbCej0AHXydwkggQGSD9UddSjwv6Xz5ESfA==",
1074
+ "version": "15.5.16",
1075
+ "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-15.5.16.tgz",
1076
+ "integrity": "sha512-kvXUY1dn5wxKuMkXxQRUbPjEnKxW1PR9uKOm0zpIpj3574+cFfaePhYFmBVtrOuwt+w34OdDzNaJr5Iixf+HBQ==",
1077
1077
  "cpu": [
1078
1078
  "x64"
1079
1079
  ],
@@ -1087,9 +1087,9 @@
1087
1087
  }
1088
1088
  },
1089
1089
  "node_modules/@next/swc-win32-arm64-msvc": {
1090
- "version": "15.5.18",
1091
- "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-15.5.18.tgz",
1092
- "integrity": "sha512-ir1v7enP52K2HNz3tQQvwF+x7VNxBk1ciiZ18WBPvxf4C59IqdfmHPJYK3vH7rSxpuCVw/8C712wTXNAtEp+NA==",
1090
+ "version": "15.5.16",
1091
+ "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-15.5.16.tgz",
1092
+ "integrity": "sha512-zpOQuF+eyENMXRjglp2hZCIrUjTdO37suEBnDn1mX4PXSuetXZDMLpjKOh4dYSw3SiDTnOoOUwBl5i5Elr6nnQ==",
1093
1093
  "cpu": [
1094
1094
  "arm64"
1095
1095
  ],
@@ -1103,9 +1103,9 @@
1103
1103
  }
1104
1104
  },
1105
1105
  "node_modules/@next/swc-win32-x64-msvc": {
1106
- "version": "15.5.18",
1107
- "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-15.5.18.tgz",
1108
- "integrity": "sha512-LIu5me6QTANCd25E7I5uIEfvgQ06RK7tvHAbYo3zCb3VpxQEPvMcSpd87NwUABDT6MbGPdEGR5VRiK4PPTJhQg==",
1106
+ "version": "15.5.16",
1107
+ "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-15.5.16.tgz",
1108
+ "integrity": "sha512-LnwKYpiSmIzXlTq76hMeeIzZoDcFwu848p6H+QBkGFJIbZphgzNUPdHruJcHM/bFnaFeco0l1Frie5I27VKglA==",
1109
1109
  "cpu": [
1110
1110
  "x64"
1111
1111
  ],
@@ -1687,9 +1687,9 @@
1687
1687
  "license": "MIT"
1688
1688
  },
1689
1689
  "node_modules/@types/node": {
1690
- "version": "22.19.18",
1691
- "resolved": "https://registry.npmjs.org/@types/node/-/node-22.19.18.tgz",
1692
- "integrity": "sha512-9v00a+dn2yWVsYDEunWC4g/TcRKVq3r8N5FuZp7u0SGrPvdN9c2yXI9bBuf5Fl0hNCb+QTIePTn5pJs2pwBOQQ==",
1690
+ "version": "22.19.17",
1691
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-22.19.17.tgz",
1692
+ "integrity": "sha512-wGdMcf+vPYM6jikpS/qhg6WiqSV/OhG+jeeHT/KlVqxYfD40iYJf9/AE1uQxVWFvU7MipKRkRv8NSHiCGgPr8Q==",
1693
1693
  "dev": true,
1694
1694
  "license": "MIT",
1695
1695
  "dependencies": {
@@ -2660,6 +2660,7 @@
2660
2660
  "version": "2.3.2",
2661
2661
  "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz",
2662
2662
  "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==",
2663
+ "dev": true,
2663
2664
  "hasInstallScript": true,
2664
2665
  "license": "MIT",
2665
2666
  "optional": true,
@@ -3947,12 +3948,12 @@
3947
3948
  }
3948
3949
  },
3949
3950
  "node_modules/next": {
3950
- "version": "15.5.18",
3951
- "resolved": "https://registry.npmjs.org/next/-/next-15.5.18.tgz",
3952
- "integrity": "sha512-eKL8zUJkX9Y5lE+RX/2YJoItVdGlIscyVyboeD9wSpp0PaGqjoA4tTpT2qPqz9ax+5IzGESyLSeZ/RCwbSZ2uQ==",
3951
+ "version": "15.5.16",
3952
+ "resolved": "https://registry.npmjs.org/next/-/next-15.5.16.tgz",
3953
+ "integrity": "sha512-aZExBk/V6JCu3NCFc90twdj9L/M3y0+ukeQwUAZbOiqRhAX+h2oMEa0NZFhcpj6HYRYjVS3V2/3xvyOpNnmw7A==",
3953
3954
  "license": "MIT",
3954
3955
  "dependencies": {
3955
- "@next/env": "15.5.18",
3956
+ "@next/env": "15.5.16",
3956
3957
  "@swc/helpers": "0.5.15",
3957
3958
  "caniuse-lite": "^1.0.30001579",
3958
3959
  "postcss": "8.4.31",
@@ -3965,14 +3966,14 @@
3965
3966
  "node": "^18.18.0 || ^19.8.0 || >= 20.0.0"
3966
3967
  },
3967
3968
  "optionalDependencies": {
3968
- "@next/swc-darwin-arm64": "15.5.18",
3969
- "@next/swc-darwin-x64": "15.5.18",
3970
- "@next/swc-linux-arm64-gnu": "15.5.18",
3971
- "@next/swc-linux-arm64-musl": "15.5.18",
3972
- "@next/swc-linux-x64-gnu": "15.5.18",
3973
- "@next/swc-linux-x64-musl": "15.5.18",
3974
- "@next/swc-win32-arm64-msvc": "15.5.18",
3975
- "@next/swc-win32-x64-msvc": "15.5.18",
3969
+ "@next/swc-darwin-arm64": "15.5.16",
3970
+ "@next/swc-darwin-x64": "15.5.16",
3971
+ "@next/swc-linux-arm64-gnu": "15.5.16",
3972
+ "@next/swc-linux-arm64-musl": "15.5.16",
3973
+ "@next/swc-linux-x64-gnu": "15.5.16",
3974
+ "@next/swc-linux-x64-musl": "15.5.16",
3975
+ "@next/swc-win32-arm64-msvc": "15.5.16",
3976
+ "@next/swc-win32-x64-msvc": "15.5.16",
3976
3977
  "sharp": "^0.34.3"
3977
3978
  },
3978
3979
  "peerDependencies": {
@@ -172,7 +172,19 @@ Owner는 최종 검수자다. Tester, QA worker, debugger, 배포 확인 담당
172
172
 
173
173
  `.harness/`는 미션 상태 저장소다. 빌드 산출물이 아니다. 삭제하지 않는다.
174
174
 
175
- ## 10. 금지 규칙
175
+ ## 10. 브라우저 자동화
176
+
177
+ CEO, CXX, hired worker의 모든 Playwright 사용은 실제로 보이는 브라우저 창으로 실행한다.
178
+
179
+ - Playwright launch/config 코드에는 `headless: false`를 사용한다.
180
+ - Playwright test 실행은 headed mode(`--headed`, `PWDEBUG=1`, 또는 동등한 설정)로 수행한다.
181
+ - 설치된 Chrome을 사용할 수 있으면 `channel: 'chrome'`을 우선한다.
182
+ - Owner가 명시적으로 예외를 승인하지 않는 한 headless Playwright 실행을 추가, 권장, 의존하지 않는다.
183
+ - CTO와 OPS는 Playwright, browser automation, E2E, visual check, browser-based monitoring이 포함될 수 있는 모든 worker brief에 `headless: false` 요구사항을 명시적으로 주입한다.
184
+ - 브라우저 동작을 사람이 관찰해야 할 때는 적절한 `slowMo` 또는 동등한 단계 지연을 둔다.
185
+ - CQO evaluator evidence에는 Playwright/browser 실행이 headed 또는 visible이었다는 사실을 기록한다.
186
+
187
+ ## 11. 금지 규칙
176
188
 
177
189
  1. **`{mission}/cto.md` 없이 소스 코드 편집 금지** — CTO의 범위 승인이 있어야 소스 파일을 수정할 수 있다.
178
190
  2. **CXX 사칭 금지** — 현재 모델이 CEO/CTO/CQO를 인라인으로 대행하지 않는다. 설치된 harness skill을 fresh session에서 사용한다.
@@ -184,10 +196,11 @@ Owner는 최종 검수자다. Tester, QA worker, debugger, 배포 확인 담당
184
196
  8. **OPS는 CQO 검수 중 관제한다** — 실행 가능한 제품에서 CQO PASS는 OPS가 검수 runtime을 관제했거나 OPS watch가 불필요한 이유를 기록했을 때만 유효하다. 열린 OPS incident, runtime mapping 누락, 필수 로그 누락, service down, health mismatch, 검수 대상 service 미관제는 Owner acceptance를 막는다.
185
197
  9. **Production incident는 회사 이벤트다** — 오픈 후 사용자 영향 OPS signal은 CEO를 통해 CTO/CQO/OPS로 라우팅된다. CTO는 복구, CQO는 회귀 검증, OPS는 증거와 close criteria를 책임진다.
186
198
  10. **Implementation Notes는 같은 보고서 하단에 작성** — `ceo.md`, 모든 `{cxx}.md`, 모든 worker report는 하나의 English `## Implementation Notes` 섹션으로 끝나야 한다. 별도 sidecar notes 파일을 만들지 않는다. 결정/증거를 만든 동일한 role 또는 worker report 하단에 `Design Decisions`, `Deviations`, `Tradeoffs`, `Open Questions`를 작성하고 빈 항목은 `None`을 사용한다.
199
+ 11. **Playwright는 visible이 기본값이다** — 모든 Playwright/browser automation은 headed/visible mode(`headless: false` 또는 동등한 설정)를 사용한다. Headless Playwright는 mission에 기록된 Owner의 명시적 승인이 필요하다.
187
200
 
188
201
  ---
189
202
 
190
- ## 11. 프로젝트 컨텍스트
203
+ ## 12. 프로젝트 컨텍스트
191
204
 
192
205
  - **기술 스택**: {{TECH_STACK}}
193
206
  - **프로젝트 구조**: {{PROJECT_STRUCTURE}}
@@ -141,7 +141,21 @@ Note: A docmeta skip decision on harness documents (ceo.md, cto.md, cqo.md, work
141
141
 
142
142
  ---
143
143
 
144
- ## 7. Hard Rules
144
+ ## 7. Browser Automation
145
+
146
+ All Playwright usage by CEO, CXX, and hired workers must run with a visible real browser window.
147
+
148
+ - Use `headless: false` in Playwright launch/config code.
149
+ - Use headed mode for Playwright test runs (`--headed`, `PWDEBUG=1`, or equivalent config).
150
+ - Prefer `channel: 'chrome'` when the installed Chrome browser is available.
151
+ - Do not add, recommend, or rely on headless Playwright execution unless the Owner explicitly approves an exception.
152
+ - CTO and OPS must explicitly inject the `headless: false` requirement into every worker brief that may involve Playwright, browser automation, E2E, visual checks, or browser-based monitoring.
153
+ - When browser actions should be observable, add a reasonable `slowMo` value or equivalent step pacing.
154
+ - CQO evaluator evidence must note that the Playwright/browser run was headed or visible.
155
+
156
+ ---
157
+
158
+ ## 8. Hard Rules
145
159
 
146
160
  1. **No source edit without `{mission}/cto.md`** — CTO scope sign-off is required before any source file is modified.
147
161
  2. **No CXX impersonation** — The active model must not act as CEO/CTO/CQO inline. Use installed harness skills in fresh sessions.
@@ -160,10 +174,11 @@ Note: A docmeta skip decision on harness documents (ceo.md, cto.md, cqo.md, work
160
174
  15. **Owner is final acceptance only** — Owner is not a tester or QA substitute. CEO/CXX must not report "done, please check" until worker-backed verification proves the goal can be completed. Use unit tests, E2E, Playwright, test accounts, seeded data, build/run checks, logs, and CQO evidence before requesting Owner acceptance.
161
175
  16. **OPS watches CQO verification** — For runnable products, CQO PASS is invalid unless OPS has monitored the verification runtime or documented why OPS watch is not applicable. Open OPS incidents, missing runtime mapping, required log gaps, service down, health mismatch, or an unmonitored tested service block Owner acceptance.
162
176
  17. **Production incidents are company events** — After launch, user-impacting OPS signals route through CEO to CTO/CQO/OPS. CTO owns recovery, CQO owns regression confirmation, and OPS owns evidence plus close criteria.
177
+ 18. **Playwright is visible by default** — All Playwright/browser automation must use headed/visible mode (`headless: false` or equivalent). Headless Playwright requires explicit Owner approval recorded in the mission.
163
178
 
164
179
  ---
165
180
 
166
- ## 8. Project Context
181
+ ## 9. Project Context
167
182
 
168
183
  - **Tech Stack**: {{TECH_STACK}}
169
184
  - **Structure**: {{PROJECT_STRUCTURE}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@walwal-harness/cli",
3
- "version": "7.1.38",
3
+ "version": "7.1.39",
4
4
  "description": "Company-style AI agent harness for Claude and Codex. Installs commands, CXX agents, skills, HR-Resource hiring pool, and project-local .harness runtime state.",
5
5
  "bin": {
6
6
  "walwal-harness": "bin/init.js"