Skip to content

Schedule opt-in Codex OAuth credentials for GPT-6 Luna Decisions - #229

Open
Aleksey512 wants to merge 3 commits into
router-for-me:devfrom
Aleksey512:feat/codex-oauth-decisions
Open

Aleksey512 wants to merge 3 commits into
router-for-me:devfrom
Aleksey512:feat/codex-oauth-decisions

Conversation

@Aleksey512

@Aleksey512 Aleksey512 commented Dec 3, 2026 •

Copy link
Copy Markdown

Refs router-for-me/CLIProxyAPI#6586. Companion: router-for-me/CLIProxyAPI.

Publish Decisions support for the registered gpt-6-luna route and its aliases only when the selected Codex OAuth credential explicitly sets the JSON boolean decisions_enabled: true. Preserve the opt-in in the minimal auth index so the capability is available after loading credentials from the database. Reuse the existing openai-decisions dispatch protocol, capability field, caller permissions and pinned-credential rules. Decisions dispatch carries the outer OAuth token that Home can refresh and fingerprint, without the nested SIWC credential. No schema or wire-format change is required.

Tests cover eligible and ineligible routes, caller restrictions, cold loading legacy OAuth records from the database, RPOP dispatch, removal of the opt-in even with stale model publication, and credential refresh. Use alongside a CPA build that supports native Codex OAuth Decisions.

@Aleksey512 Aleksey512 changed the title Feat/codex oauth decisions Schedule opt-in Codex OAuth credentials for GPT-6 Luna Decisions Dec 3, 2026
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