No description
Find a file
toki 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
agent-ops feat: edge/node architecture updates and agent-task integration 2026-05-03 10:51:29 +09:00
agent-task feat: edge/node architecture updates and agent-task integration 2026-05-03 10:51:29 +09:00
apps 수정: CLI timeout/cancel 후 session 오염과 Registry stop error 처리 개선 2026-05-03 14:45:18 +09:00
bin feat: edge/node architecture updates and agent-task integration 2026-05-03 10:51:29 +09:00
configs feat: edge/node architecture updates and agent-task integration 2026-05-03 10:51:29 +09:00
docs feat: edge/node architecture updates and agent-task integration 2026-05-03 10:51:29 +09:00
packages feat: edge/node architecture updates and agent-task integration 2026-05-03 10:51:29 +09:00
proto feat: edge/node architecture updates and agent-task integration 2026-05-03 10:51:29 +09:00
.clinerules 기능: IOP 모노레포 스캐폴드 초기 구현 2026-05-02 13:20:35 +09:00
.cursorrules 기능: IOP 모노레포 스캐폴드 초기 구현 2026-05-02 13:20:35 +09:00
.gitignore 기능: IOP 모노레포 스캐폴드 초기 구현 2026-05-02 13:20:35 +09:00
AGENTS.md 기능: IOP 모노레포 스캐폴드 초기 구현 2026-05-02 13:20:35 +09:00
CLAUDE.md 기능: IOP 모노레포 스캐폴드 초기 구현 2026-05-02 13:20:35 +09:00
GEMINI.md 기능: IOP 모노레포 스캐폴드 초기 구현 2026-05-02 13:20:35 +09:00
go.mod feat: edge node unit tests and related updates 2026-05-02 20:09:55 +09:00
go.sum feat: edge node unit tests and related updates 2026-05-02 20:09:55 +09:00
Makefile feat: edge/node architecture updates and agent-task integration 2026-05-03 10:51:29 +09:00
README.md 정리: 앱 경로와 바이너리 접두어를 제거한다 2026-05-02 21:16:34 +09:00

IOP — Inference Operations Platform

IOP는 단일 서비스가 아닌 플랫폼이다. 여러 앱이 협력하여 AI 모델 추론 워크로드를 처리한다.

앱 구성

설명 상태
apps/node 노드 에이전트. 디바이스당 1개 실행. 실제 추론 어댑터 관리 1차 구현 대상
apps/edge 외부 OpenAI-compatible API 게이트웨이 Placeholder
apps/control-plane 노드 등록/정책/스케줄링 제어 Placeholder
apps/worker 비동기 작업 처리기 Placeholder

내부 통신

  • 프로토콜: TCP + Protobuf + mTLS
  • 프레이밍: 4-byte big-endian length prefix | JSON(Envelope)
  • gRPC 사용 금지
  • WebSocket transport 기본화 금지

외부 API

외부 OpenAI-compatible API는 향후 apps/edge에서 담당한다.

빌드

# 의존성 설치
go mod tidy

# node 빌드
go build -o bin/node ./apps/node/cmd/node

# 실행
./bin/node version
./bin/node config print
./bin/node serve

모노레포 구조

iop/
  apps/
    node/       # Node Agent — 1차 구현
    edge/       # Edge API — placeholder
    control-plane/
    worker/
  packages/
    config/     # 설정 로딩
    protocol/   # 와이어 포맷 타입
    policy/     # 정책 엔진 인터페이스
    auth/       # mTLS 인증
    metadata/   # 메타데이터 타입
    jobs/       # 작업 큐 타입
    observability/ # 로깅/메트릭
    version/    # 버전 상수
  proto/iop/   # Protobuf 스펙 정의
  configs/     # 앱별 설정 파일
  docs/        # 문서