From e7e158b11351331fc998abc67e7f3b49174a19c6 Mon Sep 17 00:00:00 2001 From: toki Date: Wed, 20 May 2026 07:27:46 +0900 Subject: [PATCH] =?UTF-8?q?=EC=A0=95=EB=A6=AC:=20=ED=94=84=EB=A1=9C?= =?UTF-8?q?=EC=A0=9D=ED=8A=B8=20=EC=9D=B4=EB=A6=84=20=EC=B0=B8=EC=A1=B0?= =?UTF-8?q?=EB=A5=BC=20iop=EB=A1=9C=20=EB=A7=9E=EC=B6=98=EB=8B=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 저장소 디렉터리명이 iop로 정리된 상태와 문서, Docker 빌드 경로, 테스트 fixture의 워크스페이스 표기가 어긋나지 않도록 맞춘다. --- README.md | 2 +- agent-ops/rules/project/rules.md | 2 +- apps/control-plane/Dockerfile | 8 ++++---- apps/edge/internal/opsconsole/events_test.go | 4 ++-- apps/node/internal/adapters/cli/status/parser_test.go | 4 ++-- apps/node/internal/transport/heartbeat_test.go | 2 +- docker-compose.yml | 2 +- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 6a9d1dc..5a4f457 100644 --- a/README.md +++ b/README.md @@ -190,7 +190,7 @@ NomadCode ## Current Status -현재 go-iop는 스켈레톤 단계다. +현재 iop는 스켈레톤 단계다. - Edge-Node 소켓 기반 구조를 우선 검증 중이다. - Node 등록, 설정 전달, 실행 요청, 스트리밍 이벤트 흐름이 점진적으로 정리되고 있다. diff --git a/agent-ops/rules/project/rules.md b/agent-ops/rules/project/rules.md index 31b2217..529fcc2 100644 --- a/agent-ops/rules/project/rules.md +++ b/agent-ops/rules/project/rules.md @@ -1,4 +1,4 @@ -# go-iop 프로젝트 규칙 +# iop 프로젝트 규칙 ## 응답 언어 diff --git a/apps/control-plane/Dockerfile b/apps/control-plane/Dockerfile index 6fce846..97e14e8 100644 --- a/apps/control-plane/Dockerfile +++ b/apps/control-plane/Dockerfile @@ -2,16 +2,16 @@ FROM golang:1.24-alpine AS builder -WORKDIR /workspace/go-iop +WORKDIR /workspace/iop RUN apk add --no-cache git # docker-compose builds this Dockerfile with /config/workspace as context so # the local ../proto-socket/go replace in go.mod is available. -COPY go-iop/go.mod go-iop/go.sum ./ +COPY iop/go.mod iop/go.sum ./ COPY proto-socket/go /workspace/proto-socket/go RUN go mod download -COPY go-iop/ ./ +COPY iop/ ./ RUN CGO_ENABLED=0 GOFLAGS=-trimpath go build -o /out/control-plane ./apps/control-plane/cmd/control-plane FROM alpine:3.22 @@ -20,7 +20,7 @@ RUN addgroup -S iop && adduser -S iop -G iop WORKDIR /app COPY --from=builder /out/control-plane /usr/local/bin/control-plane -COPY --from=builder /workspace/go-iop/configs/control-plane.yaml /app/configs/control-plane.yaml +COPY --from=builder /workspace/iop/configs/control-plane.yaml /app/configs/control-plane.yaml EXPOSE 9080 19080 diff --git a/apps/edge/internal/opsconsole/events_test.go b/apps/edge/internal/opsconsole/events_test.go index 5db78cd..56ab76a 100644 --- a/apps/edge/internal/opsconsole/events_test.go +++ b/apps/edge/internal/opsconsole/events_test.go @@ -365,7 +365,7 @@ func TestFormatUsageStatus_PrintsClaudeStatusMetadata(t *testing.T) { "claude_status_version": "2.1.144", "claude_status_login_method": "Claude Pro account", "claude_status_model": "opus (claude-opus-4-7)", - "claude_status_cwd": "/config/workspace/go-iop", + "claude_status_cwd": "/config/workspace/iop", "claude_status_session_id": "e26e764d", "claude_status_email": "hidden@example.com", "claude_status_organization": "hidden org", @@ -379,7 +379,7 @@ func TestFormatUsageStatus_PrintsClaudeStatusMetadata(t *testing.T) { " version = 2.1.144", " login_method = Claude Pro account", " model = opus (claude-opus-4-7)", - " cwd = /config/workspace/go-iop", + " cwd = /config/workspace/iop", " session_id = e26e764d", } { if !strings.Contains(got, want) { diff --git a/apps/node/internal/adapters/cli/status/parser_test.go b/apps/node/internal/adapters/cli/status/parser_test.go index 318c0b1..e975006 100644 --- a/apps/node/internal/adapters/cli/status/parser_test.go +++ b/apps/node/internal/adapters/cli/status/parser_test.go @@ -60,7 +60,7 @@ func TestParseStatusOutput_ClaudeStatusPanel(t *testing.T) { rawOutput := "ClaudeCode v2.1.144\n\n" + "Version: 2.1.144\n" + "SessionID: e26e764d-dd46-4c7e-9509-5a9b964ce993\n" + - "cwd: /config/workspace/go-iop\n" + + "cwd: /config/workspace/iop\n" + "Loginmethod: Claude Pro account\n" + "Model: opus (claude-opus-4-7)\n" @@ -378,7 +378,7 @@ func TestParseStatusOutput_GeminiLimitReached(t *testing.T) { func TestParseStatusOutput_GeminiScreenReaderQuotaWithoutReset(t *testing.T) { rawOutput := "workspace (/directory)\n" + - "~/workspace/go-iop branch\n" + + "~/workspace/iop branch\n" + "main sandbox\n" + "no sandbox /model\n" + "Auto (Gemini 3) quota\n" + diff --git a/apps/node/internal/transport/heartbeat_test.go b/apps/node/internal/transport/heartbeat_test.go index 2701c29..6e0808e 100644 --- a/apps/node/internal/transport/heartbeat_test.go +++ b/apps/node/internal/transport/heartbeat_test.go @@ -22,7 +22,7 @@ func TestHeartbeatSurvivesIdleAfterNodeCommand(t *testing.T) { // 1s interval, 2s wait — wait > interval mirrors the production ratio // (interval 30s, wait 45s) at a faster test timescale. The library-level // wait-timer state check (proto-socket base_client.go) is the primary - // defence against false heartbeat_timeout; this go-iop test exercises the + // defence against false heartbeat_timeout; this iop test exercises the // idle path end-to-end through DialTcp + NodeCommandRequest round-trip. const ( intervalSec = 1 diff --git a/docker-compose.yml b/docker-compose.yml index 74b5973..ff7690d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -35,7 +35,7 @@ services: control-plane: build: context: .. - dockerfile: go-iop/apps/control-plane/Dockerfile + dockerfile: iop/apps/control-plane/Dockerfile restart: unless-stopped environment: IOP_DATABASE_URL: "postgres://${IOP_POSTGRES_USER:-iop}:${IOP_POSTGRES_PASSWORD:-iop_dev_password}@postgres:5432/${IOP_POSTGRES_DB:-iop-control-plane-dev}?sslmode=disable"