# Complete - m-oto-specific-iop-removal/01_config_cli_cleanup

## 완료 일시

2026-06-05

## 요약

Config/CLI cleanup subtask completed after 2 review loops; final verdict PASS.

## 루프 이력

| Plan | Review | Verdict | 메모 |
|------|--------|---------|------|
| `plan_local_G06_0.log` | `code_review_local_G06_0.log` | FAIL | config exported OTO kind, deleted CLI flag global, adapterless generic-node test gap, and gofmt drift required follow-up. |
| `plan_local_G07_1.log` | `code_review_local_G07_1.log` | PASS | Follow-up removed config/CLI OTO residue and refreshed focused tests, search verification, formatting, and Go regression evidence. |

## 구현/정리 내용

- Removed `AgentKindOTOAgent` and OTO bootstrap/release config fields from the config contract.
- Removed the `iop-edge agent register` command surface, deleted OTO flag globals, and kept `node register` as the default bootstrap path.
- Updated Edge config validation/tests so adapterless generic nodes are rejected.
- Removed OTO bootstrap/release fields from `configs/edge.yaml` and the OTO registration smoke target from `Makefile`.
- Converted compile-time Edge node/service/transport references from OTO-specific kind/lifecycle/capability behavior to generic node behavior.

## 최종 검증

- `gofmt -l packages/go/config/config.go packages/go/config/config_test.go apps/edge/cmd/edge/main.go apps/edge/cmd/edge/main_test.go` - PASS; no output.
- `rg --sort path -n "regAllowInsecureBootstrapURL|regOTOBootstrapScriptURL|regOTOReleaseBaseURL|allow-insecure-bootstrap-url|bootstrap-script-url|release-base-url" apps/edge/cmd/edge` - PASS; no matches.
- `rg --sort path -n "AgentKindOTOAgent|OTOBootstrap|OTORelease|oto_bootstrap|oto_release|regAllowInsecureBootstrapURL|regOTOBootstrapScriptURL|regOTOReleaseBaseURL|test-oto-registration-online-smoke|OTO_REPO" packages/go/config configs/edge.yaml apps/edge/cmd/edge Makefile apps/edge/internal/node apps/edge/internal/service apps/edge/internal/transport` - PASS; no matches.
- `go test -count=1 ./packages/go/config ./apps/edge/cmd/edge ./apps/edge/internal/node ./apps/edge/internal/service ./apps/edge/internal/transport` - PASS; all selected packages passed.
- `go test ./...` - PASS; all Go packages passed.

## Roadmap Completion

- Milestone: `agent-roadmap/phase/automation-runtime-bridge/milestones/oto-specific-iop-removal.md`
- Completed task ids:
  - `inventory`: PASS; evidence=`agent-task/archive/2026/06/m-oto-specific-iop-removal/01_config_cli_cleanup/plan_local_G07_1.log`, `agent-task/archive/2026/06/m-oto-specific-iop-removal/01_config_cli_cleanup/code_review_local_G07_1.log`; verification=`rg --sort path -n "AgentKindOTOAgent|OTOBootstrap|OTORelease|oto_bootstrap|oto_release|regAllowInsecureBootstrapURL|regOTOBootstrapScriptURL|regOTOReleaseBaseURL|test-oto-registration-online-smoke|OTO_REPO" packages/go/config configs/edge.yaml apps/edge/cmd/edge Makefile apps/edge/internal/node apps/edge/internal/service apps/edge/internal/transport`
  - `config-cleanup`: PASS; evidence=`agent-task/archive/2026/06/m-oto-specific-iop-removal/01_config_cli_cleanup/plan_local_G07_1.log`, `agent-task/archive/2026/06/m-oto-specific-iop-removal/01_config_cli_cleanup/code_review_local_G07_1.log`; verification=`go test -count=1 ./packages/go/config ./apps/edge/cmd/edge ./apps/edge/internal/node ./apps/edge/internal/service ./apps/edge/internal/transport`
- Not completed task ids: 없음

## 잔여 Nit

- 없음

## 후속 작업

- 없음
