codex-exec 모드를 명시적으로 지정하기 위해 CLIProfileConf에 mode와 resume_args 필드를 추가한다. 기존 isCodexExecProfile()의 명명 기반 판별을 삭제하고 설정 기반으로 전환한다. 주요 변경사항: - CLIProfileConf에 mode, resume_args 필드 추가 - codex_exec.go에서 isCodexExecProfile(), codexResumeOptions() 삭제 - resume_args를 사용하여 resume 명령어 구성 - edge.yaml에 codex 프로필 mode와 resume_args 설정 추가 - codex-exec 모드 전용 테스트 케이스 추가
24 lines
1.3 KiB
Text
24 lines
1.3 KiB
Text
완료 일시: 2026-05-04
|
|
|
|
요약: codex exec 분기를 명시적 `mode`/`resume_args` 필드로 전환하는 작업을 4회 루프 끝에 완료했다.
|
|
|
|
루프 이력:
|
|
|
|
| plan log | code review log | verdict |
|
|
|----------|------------------|---------|
|
|
| `plan_local_G06_0.log` | `code_review_cloud_G07_0.log` | FAIL |
|
|
| `plan_local_G06_1.log` | `code_review_cloud_G07_1.log` | FAIL |
|
|
| `plan_local_G06_2.log` | `code_review_cloud_G07_2.log` | FAIL |
|
|
| `plan_local_G06_3.log` | `code_review_cloud_G07_3.log` | PASS |
|
|
|
|
최종 리뷰 요약:
|
|
|
|
- `CLIProfileConf`에 `Mode`, `ResumeArgs`를 추가해 codex exec 동작을 설정으로 명시했다.
|
|
- CLI adapter의 `Start`/`Execute`/`TerminateSession` 분기를 `profile.Mode == "codex-exec"` 기준으로 정리하고, command sniffing과 resume option filtering을 제거했다.
|
|
- `executeCodexExec`에 `resume_args` 누락 가드를 추가하고, resume 인자 구성 로직을 단순화했다.
|
|
- `configs/edge.yaml`의 codex profile을 `persistent: false`, `mode: "codex-exec"`, `resume_args` 조합으로 갱신했다.
|
|
- 설정 로딩 테스트와 codex exec 관련 회귀 테스트를 추가/보강해 새 분기를 검증했다.
|
|
|
|
잔여 Nit:
|
|
|
|
- 마지막 active review 스텁에는 `주요 설계 결정` placeholder가 남아 있었지만, 기능/테스트/계획 충족과 무관해 후속 루프 없이 종료했다.
|