Commit graph

22 commits

Author SHA1 Message Date
cb96fb58eb refactor: remove redundant internal test functions from cli_internal_test.go
- Remove cancel reason tests (covered by blackbox tests)
- Remove codex exec args tests (covered by blackbox tests)
- Update emitter test comment for clarity
2026-05-05 07:21:44 +09:00
af0da6b822 refactor: reorganize cli adapters test structure
- Remove redundant test files (cancel_reason_test, cli_test, codex_exec_args_test, emitters_internal_test, factory_test, registry_test)
- Consolidate adapter tests into adapters_blackbox_test.go
- Add cli_internal_test.go for internal CLI tests
- Update lifecycle_blackbox_test.go
2026-05-05 07:12:47 +09:00
0fb7c67b18 feat: cli emitter interface refactoring and edge routing config update
- Refactor CLI emitters interface and internal test cases
- Update node.go to use new emitter patterns
- Add sink tests for node persistence validation
- Update edge.yaml for multi-point routing configuration
2026-05-05 06:38:07 +09:00
86ceabadc3 기능: CLI 프로필에 mode와 resume_args 설정을 추가한다
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 모드 전용 테스트 케이스 추가
2026-05-04 22:20:53 +09:00
c9dbe4b9ce chore: apply 05_cli_persistent_explicit_complete changes 2026-05-04 21:27:11 +09:00
161055ed8b feat: CLI persistent cancel reason implementation and tests 2026-05-04 20:45:00 +09:00
4369dc6975 refactor(cli): extract lineEmitter interface and common scanner driver
- Define lineEmitter interface with Name()/Emit() methods
- Add driveJSONLines() shared scanner loop for all JSONL emitters
- Implement 5 format-specific emitters (stream, claude, codex, opencode, cline)
- Replace executeCommand switch with jsonEmitters registry lookup
- Reduce oneshot.go from 481 to 160 lines (-67%)
- Add 20+ unit tests for emitters and driveJSONLines
2026-05-04 17:43:18 +09:00
17840ac38d fix: clean up CLI test layout and add blackbox test logs 2026-05-04 17:21:02 +09:00
6079f26118 chore: update cli adapter and sync agent-task logs 2026-05-04 17:10:34 +09:00
a20c6cbbd5 edge/node: console events, cli status parser, transport updates, proto runtime updates 2026-05-04 16:49:13 +09:00
e81bc94dd6 feat: add cli/status adapter and run_codex.py script 2026-05-04 14:54:57 +09:00
224b649d23 node adapter CLI 수정 및 edge.yaml 설정 업데이트 2026-05-04 11:43:56 +09:00
428ac8b04c update: oneshot adapter, cli test, edge config & opencode_json_stream task 2026-05-04 11:21:33 +09:00
03c02d738a feat: enhance CLI adapters with oneshot mode, update edge/node configs and add tests 2026-05-04 09:17:24 +09:00
157a8a7076 feat: add console events, codex execution support and update config
- add console_events.go for edge console event handling
- add codex_exec.go for CLI codex execution
- add codex_exec_test.go for persistent CLI tests
- update console.go and oneshot.go with new features
- update config and edge.yaml for new settings
- update README files for edge and node apps
2026-05-04 07:55:08 +09:00
96f79fcd08 feat: unbounded CLI sessions support and related improvements
- Add unbounded CLI sessions agent-task with plan and code review logs
- Add edge console with tests
- Add node run manager for session lifecycle management
- Add router and store tests
- Update transport session handling
- Add runtime proto definitions
- Update configurations and packages
2026-05-03 20:07:09 +09:00
0988942b07 refactor: reorganize CLI adapter into subpackages
- Move cli_test.go to internal/, lifecycle/, onshot/, persistent/
- Restructure CLI adapter modules into organized subdirectories
2026-05-03 18:19:00 +09:00
24789c398b feat: CLI adapter with onshot/persistent mode support
- Add onshot.go and persistent.go for distinct CLI modes
- Update cli.go, factory_internal_test.go, cli_test.go
- Update configs/edge.yaml and packages/config
- Update READMEs for edge and node apps
2026-05-03 18:09:56 +09:00
1176ed844f fix(cli): add START_MARKER assertion and fix Stop comment (REVIEW_REVIEW_API_FOLLOWUP_4)
- Add START_MARKER verification in TestCLIStartPartialRollbackWithMarkers
- Add requireEventually and readMarker helper functions
- Update CLI.Stop comment to match actual implementation
- Fix all gofmt issues
- SIGKILL cannot trigger trap EXIT, so verify START_MARKER instead
2026-05-03 16:02:37 +09:00
4bece3fb2d fix(cli): mutex unlock and session cleanup for persistent Execute (REVIEW_REVIEW_API_FOLLOWUP_2)
- [2-1] executePersistent: add defer sess.mu.Unlock() so all return paths
  release the session mutex. Remove explicit unlock calls.
- [2-2] Protect c.sessions map access in Execute with c.mu. Replace
  c.Stop() in timeout/cancel path with per-session close/kill/delete so
  only the affected profile session is cleaned up.
- [2-3] Add TestCLIExecutePersistentConsecutiveExecutes to verify the
  same persistent profile can be executed consecutively without blocking.
  Apply gofmt to all adapter files.
2026-05-03 15:01:57 +09:00
7b16b3243c 수정: CLI timeout/cancel 후 session 오염과 Registry stop error 처리 개선
- CLI persistent 실행 중 ctx.Done() 발생 시 session을 정리하여 늦은 출력이
  다음 run에 섞이는 문제 해결
- CLI Execute에서 mutex lock/unlock 구조를 개선하여 race condition 방지
- Registry.Stop이 모든 lifecycle adapter의 Stop을 시도하고, errors.Join 대신
  first error 패턴으로 변경하여 한 adapter의 실패가 다른 adapter 정리를 막지 않도록 수정
- timeout 후 session 오염 방지 회귀 테스트 추가
- registry stop failure 후에도 preceding adapter stop이 호출되는 테스트 추가
- CLI partial profile rollback 테스트 강화
2026-05-03 14:45:18 +09:00
2d6fde0876 기능: IOP 모노레포 스캐폴드 초기 구현
apps/node 중심 구현 — TCP+JSON transport, Hexagonal Architecture,
mock/cli adapter, fx DI, SQLite 실행 이력 저장.
edge/control-plane/worker는 cobra placeholder.
유닛 테스트 및 통합 테스트 클라이언트 계획서 추가.
2026-05-02 13:20:35 +09:00