Skip to content

Fix Codex subscription standalone search routing - #3

Closed
dimakis wants to merge 1 commit into
codex/mitzo-oauth-v0.0.116from
fix/subscription-standalone-search
Closed

dimakis wants to merge 1 commit into
codex/mitzo-oauth-v0.0.116from
fix/subscription-standalone-search

Conversation

@dimakis

@dimakis dimakis commented Oct 16, 2026

Copy link
Copy Markdown
Owner

Summary

Codex standalone search posts to /v1/alpha/search, which the subscription inference interceptor previously denied even when Responses inference worked. Route that exact POST as buffered JSON through the selected attached subscription provider to the pinned Codex /alpha/search upstream.

Preserve the provider search-context model identity and settings, gateway-owned authorization/account headers, attachment requirements and route expiry checks. Responses keep their existing path and parameter rewrite.

Related Issue

No issue required: this is a localized compatibility repair to the existing Codex subscription route, directly requested by the repository owner. Companion application fix: dimakis/mitzo#980.

Changes

  • Advertise openai_standalone_search for the attachment-scoped Codex OAuth profile; recognise only its exact POST endpoint.
  • Separate its upstream URL and body handling from Responses and frame its response as one bounded JSON document.
  • Reject wrong methods and routes without the advertised capability; retain gateway-owned headers over hostile caller values.
  • Update the provider/architecture documentation and inference-debugging skill to avoid unchanged retries or broader-network workarounds.

Testing

  • Regression first failed with the old /responses upstream URL.
  • Core suite: 436 passed, 6 ignored; core doctest passed.
  • Final router suite: 74 unit tests and 20 mock-upstream integration tests passed.
  • Supervisor inference regressions: 29 passed, including standalone search framing and exact-path detection (the exact-path test also passed separately).
  • Focused Clippy (openshell-router, openshell-supervisor-network, all targets, warnings denied), Rust formatting, SPDX headers and diff checks passed. Skill inventory is consistent.
  • All tests were offline or used local mocks. Full mise run ci/container E2E matrix was not run locally; no live model or new gateway deployment was used to test this patch.

Checklist

  • Conventional commit and DCO sign-off
  • Relevant unit/mock integration coverage and architecture/provider docs updated
  • Focused format/lint/license checks passed
  • Full hosted CI / container E2E acceptance

This PR targets the patched codex/mitzo-oauth-v0.0.116 maintenance branch. It does not publish a release, change deployment locks, restart production, or activate staging. A separately reviewed matched gateway/supervisor build and explicit production deployment remain required. Canonical Mitzo staging and its pipeline remain stood down.

Signed-off-by: dimakis <dimitri.saridakis@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant