Repository navigation
Respect approval policies in temporary structured threads - #49912
Merged
copyberry[bot] merged 1 commit intoOct 1, 2026
Conversation
## Why Forcing `approval_policy` to `never` on temporary structured threads can trigger configuration warnings when managed requirements allow only `on-request`. These hidden threads also need to reject unexpected interaction requests without prompting the user. ## What changed Inherit the app server's approval policy when starting temporary structured threads. Reject their server requests before dynamic tool handling or interactive TUI routing. ## Testing Extend regression tests to verify inherited `on-request` approval without approval-policy warnings, and error responses for recap-thread approval and user-input requests even when the thread is marked active and primary. GitOrigin-RevId: 2d0a071d3687742c83ba933a7ef1357feea53403
copyberry
Bot
force-pushed
the
copyberry/codex-internal-to-codex-oss/2d0a071d3687742c83ba933a7ef1357feea53403
branch
from
October 1, 2026 07:08
db03ccd to
444da31
Compare
copyberry
Bot
deleted the
copyberry/codex-internal-to-codex-oss/2d0a071d3687742c83ba933a7ef1357feea53403
branch
October 1, 2026 07:08
DoraemonXia
temporarily deployed
to
issue-triage
October 1, 2026 07:22 — with
GitHub Actions
Inactive
DoraemonXia
temporarily deployed
to
issue-triage
October 1, 2026 07:22 — with
GitHub Actions
Inactive
DoraemonXia
temporarily deployed
to
issue-triage
October 1, 2026 07:22 — with
GitHub Actions
Inactive
hanjin8387-alt
temporarily deployed
to
issue-triage
October 1, 2026 07:26 — with
GitHub Actions
Inactive
hanjin8387-alt
temporarily deployed
to
issue-triage
October 1, 2026 07:26 — with
GitHub Actions
Inactive
hanjin8387-alt
temporarily deployed
to
issue-triage
October 1, 2026 07:26 — with
GitHub Actions
Inactive
hanjin8387-alt
temporarily deployed
to
issue-triage
October 1, 2026 07:27 — with
GitHub Actions
Inactive
Skyline-23
temporarily deployed
to
issue-triage
October 1, 2026 07:40 — with
GitHub Actions
Inactive
Skyline-23
temporarily deployed
to
issue-triage
October 1, 2026 07:40 — with
GitHub Actions
Inactive
Skyline-23
temporarily deployed
to
issue-triage
October 1, 2026 07:40 — with
GitHub Actions
Inactive
Rawalanche
temporarily deployed
to
issue-triage
October 1, 2026 08:05 — with
GitHub Actions
Inactive
Rawalanche
temporarily deployed
to
issue-triage
October 1, 2026 08:05 — with
GitHub Actions
Inactive
Rawalanche
temporarily deployed
to
issue-triage
October 1, 2026 08:05 — with
GitHub Actions
Inactive
2209143992-cmd
temporarily deployed
to
issue-triage
October 1, 2026 08:12 — with
GitHub Actions
Inactive
2209143992-cmd
temporarily deployed
to
issue-triage
October 1, 2026 08:12 — with
GitHub Actions
Inactive
2209143992-cmd
temporarily deployed
to
issue-triage
October 1, 2026 08:12 — 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.
Respect approval policies in temporary structured threads
Why
Forcing
approval_policytoneveron temporary structured threads can trigger configuration warnings when managed requirements allow onlyon-request. These hidden threads also need to reject unexpected interaction requests without prompting the user.What changed
Inherit the app server's approval policy when starting temporary structured threads. Reject their server requests before dynamic tool handling or interactive TUI routing.
Testing
Extend regression tests to verify inherited
on-requestapproval without approval-policy warnings, and error responses for recap-thread approval and user-input requests even when the thread is marked active and primary.