<!-- task=m-iop-hot-path-one-shot-execution/07+02,04,06_route_selector_direct plan=4 tag=REVIEW_API milestone-task=route-selector,direct-flow -->

# Complete - m-iop-hot-path-one-shot-execution/07+02,04,06_route_selector_direct

## Completed At

2026-08-03

## Summary

Closed the integrated provider-identity and transport-correlation evidence gap after five plan/review loops; final verdict: PASS.

## Loop History

| Plan | Review | Verdict | Notes |
|------|--------|---------|-------|
| `plan_local_G07_0.log` | `code_review_cloud_G08_0.log` | FAIL | Production handlers did not yet execute the selector/direct path, structural gates were incomplete, and response metadata was synthetic. |
| `plan_cloud_G10_1.log` | `code_review_cloud_G10_1.log` | FAIL | Direct-only preset admission, exact mapped control paths, and provider-owned public metadata still required correction. |
| `plan_cloud_G08_2.log` | `code_review_cloud_G08_2.log` | FAIL | Contracts and integrated regressions still described or exercised stale virtual-preset behavior. |
| `plan_cloud_G08_3.log` | `code_review_cloud_G08_3.log` | FAIL | Integrated success and missing-ID cases did not yet prove exact provider IDs and all transport-correlation isolation. |
| `plan_cloud_G03_4.log` | `code_review_cloud_G03_4.log` | PASS | Exact fixture identities and run/frame sentinel isolation are asserted across the required endpoint variants. |

## Implemented and Finalized

- Added exact `chatcmpl-public` assertions for Chat JSON and the Anthropic Chat bridge.
- Added the exact `msg-public` assertion for native Messages non-stream JSON.
- Strengthened the missing-provider-metadata Chat/Messages JSON/SSE matrix to reject the run ID and frame timestamp in raw nanosecond and normalized second forms.

## Final Verification

- Dependency `complete.log` checks for subtasks 02, 04, and 06 - PASS.
- `go test -count=1 ./apps/edge/internal/openai -run 'Test(AnthropicNativeVirtualPresetPreservesPublicModelIdentity|VirtualPresetModelHandlersPreservePublicIdentity|HotPathPresetHandlersDirect)'` - PASS (`0.121s`).
- `go test -count=1 ./apps/edge/internal/openai -run 'TestHotPath(SelectorDecisionMatrix|PresetHandlersDirect|Direct)'` - PASS (`0.158s`).
- `go test -race -count=1 ./packages/go/streamgate ./packages/go/config ./apps/edge/internal/openai ./apps/edge/internal/service` - PASS for all four packages.
- `go test -count=1 ./apps/edge/internal/bootstrap -run '^TestRefreshConfigApplySkipsDisconnectedConfiguredNode$'` - PASS (`0.086s`) after diagnosing a transient shared-host port collision.
- `TMPDIR=<isolated-temp-dir> go test -count=1 ./apps/edge/...` - PASS for every Edge package on immediate rerun; the first attempt was interrupted only by transient contention on local port `18092`.
- `go vet ./apps/edge/...` - PASS with no output.
- `gofmt -d apps/edge/internal/openai/anthropic_native_test.go apps/edge/internal/openai/principal_routes_test.go apps/edge/internal/openai/hot_path_direct_test.go` - PASS with no output.
- `git diff --check` - PASS with no output.
- Repository Edge-Node diagnostics, supplemental E2E smoke, full-cycle live execution, and credentialed provider smoke - not run; this follow-up changes deterministic assertions only, while SDD S16 owns live Hot Path smoke.

## Remaining Nits

- None.

## Follow-up Work

- None.
