fix(harness): allow explicit Codex tool directories

This commit is contained in:
KOKO\Mimi
2026-07-29 23:57:46 +09:00
parent b0ab8e77d5
commit 026c9eea7c
3 changed files with 251 additions and 18 deletions
+14
View File
@@ -20,6 +20,20 @@ python scripts/execute.py <phase-name>
python scripts/execute.py <phase-name> --push
```
Codex의 `workspace-write` sandbox 밖에 설치된 실행 도구나 runtime이 필요한 경우에만
`--codex-add-dir`를 반복 지정한다. 경로는 존재하는 절대 디렉터리여야 하며, Codex
CLI의 추가 writable directory와 child PATH 끝에 함께 전달된다.
```powershell
python scripts/execute.py <phase-name> `
--codex-add-dir "C:\path\to\tool-bin" `
--codex-add-dir "C:\path\to\runtime"
```
이 옵션은 지정한 디렉터리에 child agent의 쓰기 권한도 부여하므로, 사용자 프로필이나
드라이브 루트처럼 넓은 경로를 지정하지 말고 실행에 필요한 최소 설치 디렉터리만
허용한다.
## Harness Python 검증
이 저장소의 테스트와 최종 acceptance 검증은 pytest를 시스템 Python에 설치하지 않고