Repository navigation
Use thread runtime auth for Guardian Decisions and memory quota checks - #60064
Merged
copyberry[bot] merged 1 commit intoNov 7, 2026
Conversation
#60064) ## Why Guardian Decisions requests used bearer keys directly, bypassing runtime authentication. Memory startup quota checks used the app-level auth manager instead of the thread's provider auth context. ## What changed - Bind Decisions credentials to runtime authentication and use route-aware HTTP clients with sensitive header protection. Preserve workload identity credentials, reuse the saved-login runtime binding, and isolate explicit API key bindings. - Select the staging Decisions endpoint when the ChatGPT environment is staging. - Use the thread's `ProviderAuthContext` for memory startup and quota checks, preserving account-bound network policy and applying runtime authentication. - Keep custom destinations independent of runtime assertions. ## Testing Add regression tests for dual-header and assertion-only authentication, fresh Decisions assertions, saved versus explicit credential isolation, workload identity, staging routing, redirect header protection, and memory quota authentication with custom destinations. GitOrigin-RevId: 27bc7821a1cad1f5d1d2a71680527ea91ace95db
copyberry
Bot
force-pushed
the
copyberry/codex-internal-to-codex-oss/27bc7821a1cad1f5d1d2a71680527ea91ace95db
branch
from
November 7, 2026 05:50
c7e1bfc to
1c414e0
Compare
Ethan-Ceng
temporarily deployed
to
issue-triage
November 7, 2026 05:50 — with
GitHub Actions
Inactive
Ethan-Ceng
temporarily deployed
to
issue-triage
November 7, 2026 05:50 — with
GitHub Actions
Inactive
Ethan-Ceng
temporarily deployed
to
issue-triage
November 7, 2026 05:50 — with
GitHub Actions
Inactive
Contributor
Codex Review Summary: 🔄 RunningThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
copyberry
Bot
deleted the
copyberry/codex-internal-to-codex-oss/27bc7821a1cad1f5d1d2a71680527ea91ace95db
branch
November 7, 2026 05:50
Ethan-Ceng
temporarily deployed
to
issue-triage
November 7, 2026 05:51 — with
GitHub Actions
Inactive
colahappy
temporarily deployed
to
issue-triage
November 7, 2026 05:55 — with
GitHub Actions
Inactive
colahappy
temporarily deployed
to
issue-triage
November 7, 2026 05:55 — with
GitHub Actions
Inactive
colahappy
temporarily deployed
to
issue-triage
November 7, 2026 05:55 — with
GitHub Actions
Inactive
colahappy
temporarily deployed
to
issue-triage
November 7, 2026 05:56 — with
GitHub Actions
Inactive
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Use thread runtime auth for Guardian Decisions and memory quota checks
Why
Guardian Decisions requests used bearer keys directly, bypassing runtime authentication. Memory startup quota checks used the app-level auth manager instead of the thread's provider auth context.
What changed
ProviderAuthContextfor memory startup and quota checks, preserving account-bound network policy and applying runtime authentication.Testing
Add regression tests for dual-header and assertion-only authentication, fresh Decisions assertions, saved versus explicit credential isolation, workload identity, staging routing, redirect header protection, and memory quota authentication with custom destinations.