# Complete - m-openai-compatible-provider-passthrough-contract-sync

## 완료 일시

2026-07-14

## 요약

OpenAI-compatible provider passthrough 계약 동기화 Milestone의 남은 `devcorp-smoke` task를 2회 리뷰 루프 끝에 PASS로 종료했다. 이전 FAIL 원인이던 public Edge stale runtime을 `217930f` Edge binary redeploy로 해소했고, dev-corp Ornith think-off smoke가 direct Spark01/02와 IOP public Edge 모두에서 통과했다.

## 루프 이력

| Plan | Review | Verdict | 메모 |
|------|--------|---------|------|
| `plan_cloud_G07_0.log` | `code_review_cloud_G07_0.log` | FAIL | direct Spark01/02는 통과했지만 `iop_public_ornith`가 stale public Edge에서 `chat_template_kwargs is not supported for /v1/chat/completions` 400으로 실패했다. |
| `plan_cloud_G07_1.log` | `code_review_cloud_G07_1.log` | PASS | runner clean sync, source/build/deploy parity, public Edge redeploy, TEST-2 smoke 재실행으로 세 case 모두 `ok:true`를 확인했다. |

## 구현/정리 내용

- mac-mini runner checkout을 `217930f`로 clean sync하고 `5cd7aea`, `33f8f5e` passthrough 커밋 포함 여부를 확인했다.
- `217930f` 기준 Edge/Node binaries를 staging build하고, public Edge host `iop.ai.kr`에 Edge binary를 배포해 stale 400을 해소했다.
- provider direct preflight와 public Edge post-deploy provider snapshot에서 Spark01/02 Ornith 및 Mac Studio provider가 healthy 상태임을 확인했다.
- source 파일 변경 없이 task artifacts만 review protocol에 맞춰 정리했다.

## 최종 검증

- `go test ./apps/edge/internal/openai ./apps/edge/internal/service ./apps/node/internal/adapters/openai_compat` - PASS; reviewer rerun에서 세 패키지 모두 통과했다.
- `ssh fe@172.24.63.178 ... TEST-2 think-off smoke` - PASS; `direct_spark01=ok:true(200,0.086s)`, `direct_spark02=ok:true(200,0.082s)`, `iop_public_ornith=ok:true(200,0.242s)`, `reasoning_seen:false`.
- 구현 기록의 final TEST-2 smoke - PASS; redeploy 후 `direct_spark01=ok:true(200,0.085s)`, `direct_spark02=ok:true(200,0.116s)`, `iop_public_ornith=ok:true(200,0.214s)`, exit 0.

## Roadmap Completion

- Milestone: `agent-roadmap/phase/routing-policy-model-orchestration/milestones/openai-compatible-provider-passthrough-contract-sync.md`
- Milestone link: [Milestone 문서](agent-roadmap/phase/routing-policy-model-orchestration/milestones/openai-compatible-provider-passthrough-contract-sync.md)
- Completed task ids:
  - `devcorp-smoke`: PASS; evidence=`agent-task/archive/2026/07/m-openai-compatible-provider-passthrough-contract-sync_1/plan_cloud_G07_1.log`, `agent-task/archive/2026/07/m-openai-compatible-provider-passthrough-contract-sync_1/code_review_cloud_G07_1.log`; verification=`TEST-2 think-off smoke via ssh fe@172.24.63.178, all three cases ok:true with first_content_sec and reasoning_seen:false`
- Not completed task ids: 없음

## 잔여 Nit

- 없음

## 후속 작업

- 없음
