# Complete - m-node-provider-first-config-surface/06+04,05_full_cycle_smoke

## 완료 일시

2026-06-30

## 요약

Node Provider-First Config Surface의 `full-cycle-smoke` dev-runtime provider pool evidence를 2회 리뷰 루프로 완료했다. 최종 판정은 PASS다.

## 루프 이력

| Plan | Review | Verdict | 메모 |
|------|--------|---------|------|
| `plan_cloud_G07_0.log` | `code_review_cloud_G07_0.log` | FAIL | Mac MLX provider가 disabled/capacity 0이고 endpoint down이라 S07 total capacity 10 smoke가 미충족됐다. |
| `plan_cloud_G07_1.log` | `code_review_cloud_G07_1.log` | PASS | Mac MLX provider config/endpoint를 dispatchable 상태로 회복하고 3-provider total capacity 10 smoke가 통과했다. |

## 구현/정리 내용

- 원격 dev-runtime checkout은 `main...origin/main` aligned 상태이며, 남은 untracked `apps/node/internal/bootstrap/iop.db`는 Node bootstrap runtime SQLite DB로 source 검증과 분리했다.
- `mac-mlx-vllm` provider를 provider-first config 기준 `enabled=true`, `capacity=3` dispatchable 상태로 맞추고 `config check`, `config refresh --mode dry-run`, `config refresh --mode apply` evidence를 남겼다.
- Mac MLX `vllm-mlx` endpoint `127.0.0.1:8002`를 기동하고 served model `mlx-community/Qwen3.6-35B-A3B-4bit` readiness를 확인했다.
- Edge OpenAI-compatible `/healthz`, `/v1/models`, `/v1/responses`, `/v1/chat/completions` 경로와 Control Plane provider accounting evidence를 S07 기준으로 정리했다.

## 최종 검증

- `ssh toki@toki-labs.com 'cd /Users/toki/agent-work/iop-dev && build/dev-runtime/bin/edge --config build/dev-runtime/edge.yaml config check'` - PASS; `OK build/dev-runtime/edge.yaml`.
- `ssh toki@toki-labs.com 'cd /Users/toki/agent-work/iop-dev && build/dev-runtime/bin/edge --config build/dev-runtime/edge.yaml config refresh --mode dry-run --addr 127.0.0.1:19093'` - PASS; `no changes detected`, restart-required 없음.
- `ssh toki@toki-labs.com 'curl -fsS http://toki-labs.com:18083/healthz && curl -fsS -H "Authorization: Bearer <redacted-edge-token>" http://toki-labs.com:18083/v1/models'` - PASS; health OK, model catalog에 `qwen3.6:35b` 표시.
- `/v1/chat/completions` capacity smoke (`python3 /tmp/cap_smoke.py`, concurrency 11, token redacted) - PASS; `ok=11 fail=0`, peak `in_flight=10`, `queued=3`, per-provider peak `mac-mlx-vllm=3/3`, `gx10-vllm=4/4`, `onexplayer-lemonade=3/3`, final `in_flight=0`, `queued=0`.
- `/v1/responses` review capacity check (concurrency 11, token redacted) - PASS; `ok=11 fail=0`, peak `in_flight=10`, `queued=3`, same 3-provider capacity distribution, final `in_flight=0`, `queued=0`.
- `ssh toki@toki-labs.com 'curl -fsS -H "Authorization: Bearer <redacted-provider-token>" http://127.0.0.1:8002/v1/models'` - PASS; provider readiness에서 `mlx-community/Qwen3.6-35B-A3B-4bit` 확인.

## Roadmap Completion

- Milestone: `agent-roadmap/phase/operational-observability-provider-management/milestones/node-provider-first-config-surface.md`
- Completed task ids:
  - `full-cycle-smoke`: PASS; evidence=`agent-task/archive/2026/06/m-node-provider-first-config-surface/06+04,05_full_cycle_smoke/plan_cloud_G07_1.log`, `agent-task/archive/2026/06/m-node-provider-first-config-surface/06+04,05_full_cycle_smoke/code_review_cloud_G07_1.log`; verification=`config check`, `config refresh --mode dry-run`, `/v1/models`, `/v1/responses` capacity check, `/v1/chat/completions` capacity smoke, Control Plane provider accounting
- Not completed task ids: 없음

## 잔여 Nit

- 없음

## 후속 작업

- 없음
