# Complete - m-control-plane-separation-migration/04+02_bootstrap_command

## 완료 일시

2026-06-05

## 요약

Exclude legacy iop smoke from agent-smoke, fix Dart analyzer warnings, and verify runner bootstrap command under Go server. 4 loops, final verdict: PASS.

## 루프 이력

| Plan | Review | Verdict | 메모 |
|------|--------|---------|------|
| `plan_cloud_G07_0.log` | `code_review_cloud_G07_0.log` | FAIL | proto/oto/runner.proto token 필드 추가 및 Go/Dart 코드 생성 완료 |
| `plan_cloud_G07_1.log` | `code_review_cloud_G07_1.log` | FAIL | POSIX shellEscape 및 r.Host 화이트리스트 검증 구현 |
| `plan_cloud_G07_2.log` | `code_review_cloud_G07_2.log` | FAIL | iop 컴파일 에러 발생으로 USER_REVIEW 진입 |
| `plan_cloud_G07_3.log` | `code_review_cloud_G07_3.log` | PASS | agent-smoke 테스트 계약 제외, gitignore 설정, analyzer info 정리 완료 |

## 구현/정리 내용

- `agent-test/local/agent-smoke.md` unit 테스트 목록에서 `test/oto_iop_connection_smoke_test.dart` 제거.
- `agent-test/local/rules.md` 라우팅 가이드에서 iop 관련 설명 정리.
- `.gitignore` 파일에 `agent-test/local/`, `agent-test/runs/` 추가.
- `apps/runner/test/oto_server_connection_smoke_test.dart`의 `Prefer interpolation to compose strings` 및 unnecessary escape (`\#` -> `\$#`) analyzer warnings 제거.

## 최종 검증

- `cd services/core && go test ./...` - PASS; 모든 단위 테스트 통과
- `cd apps/runner && dart analyze` - PASS; No issues found!
- `cd apps/runner && dart test test/oto_agent_migration_plan_test.dart test/oto_agent_bootstrap_script_test.dart test/oto_agent_cli_test.dart test/oto_agent_config_test.dart test/oto_agent_registration_test.dart test/oto_server_connection_smoke_test.dart` - PASS; All tests passed!

## Roadmap Completion

- Milestone: `agent-roadmap/phase/independent-control-plane/milestones/control-plane-separation-migration.md`
- Completed task ids:
  - `bootstrap-command`: PASS; evidence=`plan_cloud_G07_3.log`, `code_review_cloud_G07_3.log`; verification=`cd apps/runner && dart test test/oto_agent_migration_plan_test.dart test/oto_agent_bootstrap_script_test.dart test/oto_agent_cli_test.dart test/oto_agent_config_test.dart test/oto_agent_registration_test.dart test/oto_server_connection_smoke_test.dart`
- Not completed task ids: 없음

## 잔여 Nit

- 없음

## 후속 작업

- 없음
