1.9 KiB
1.9 KiB
M03 CLI Automation Runtime Stabilization
Goal
CLI Agent와 도구 실행을 안정적인 Automation runtime으로 정리한다. 현재 구현된 CLI adapter baseline을 바탕으로 one-shot, persistent terminal, opencode SSE, codex exec 같은 실행 모드를 같은 adapter execution 모델 안에서 안정화한다.
Phase
Phase 2. Automation Runtime and Bridge Expansion
Status
Planned
Scope
- CLI profile 설정과 output format 처리 안정화
- persistent logical session lifecycle 관리
- command/status/capability/session list 응답 정리
- usage/status parser와 terminal screen parser 신뢰성 강화
- Node local execution history와 Edge event aggregation 경계 정리
- 이미 동작하는 CLI adapter 기능을 재구현하지 않고 hardening, 경계 정리, 검증 기준 보강에 집중
Required Features
- CLI adapter는 profile별 실행 모드를
node.Node분기 없이 adapter 내부에서 처리한다. - output format별 파싱은
lineEmitter또는 모드별 구현으로 분리한다. - persistent terminal profile은 idle timeout, completion marker, cancel drain 기준을 명확히 가진다.
NodeCommandRequest경로는 실행 요청과 분리된 조회/제어 명령으로 유지한다.
Success Criteria
- 주요 CLI profile이 동일한
RunRequest/RunEvent흐름으로 실행된다. - session list, usage status, transport status가 운영자가 이해할 수 있는 응답을 제공한다.
- CLI adapter 변경 시 대상 패키지 테스트와 field smoke 기준이 함께 맞는다.
Non-Goals
- 모든 외부 자동화 도구를
iop-node하위 프로세스로 흡수 - OTO 같은 specialized domain agent를 CLI adapter profile로 대체
- CLI adapter 내부에 Control Plane 책임 추가
Context for Work
- 관련 앱:
apps/node - 관련 패키지:
apps/node/internal/adapters/cli,apps/node/internal/runtime,apps/node/internal/node - 관련 문서:
apps/node/README.md