Repository navigation
Enforce non-interactive approval policy for Codex delegates - #38205
Merged
copyberry[bot] merged 1 commit intoAug 12, 2026
Conversation
## What changed - Require delegated Codex sessions to use the `never` approval policy and reject delegate creation with any prompt-capable policy. - Stop forwarding delegate approval and permission requests to the parent session. Approval-requiring commands and MCP tool calls are denied within the delegate instead. - Skip prompts for missing skill MCP dependencies when approvals are disabled. ## Testing Add coverage for review and Guardian delegates to verify that command escalations, MCP approvals, and skill dependency installation do not prompt or execute approval-gated actions. GitOrigin-RevId: fee96a97624352cd25c904592ba7eebe2ae3fd63
copyberry
Bot
force-pushed
the
copyberry/codex-internal-to-codex-oss/fee96a97624352cd25c904592ba7eebe2ae3fd63
branch
from
August 12, 2026 15:33
bc1deda to
95aada1
Compare
copyberry
Bot
deleted the
copyberry/codex-internal-to-codex-oss/fee96a97624352cd25c904592ba7eebe2ae3fd63
branch
August 12, 2026 15:34
StarshipSuperjam
temporarily deployed
to
issue-triage
August 12, 2026 15:37 — with
GitHub Actions
Inactive
StarshipSuperjam
temporarily deployed
to
issue-triage
August 12, 2026 15:37 — with
GitHub Actions
Inactive
StarshipSuperjam
temporarily deployed
to
issue-triage
August 12, 2026 15:37 — with
GitHub Actions
Inactive
StarshipSuperjam
temporarily deployed
to
issue-triage
August 12, 2026 15:37 — with
GitHub Actions
Inactive
astradevkin
temporarily deployed
to
issue-triage
August 12, 2026 16:17 — with
GitHub Actions
Inactive
astradevkin
temporarily deployed
to
issue-triage
August 12, 2026 16:17 — with
GitHub Actions
Inactive
astradevkin
temporarily deployed
to
issue-triage
August 12, 2026 16:17 — with
GitHub Actions
Inactive
astradevkin
temporarily deployed
to
issue-triage
August 12, 2026 16:18 — with
GitHub Actions
Inactive
juliuslorr-bot
temporarily deployed
to
issue-triage
August 12, 2026 16:19 — with
GitHub Actions
Inactive
juliuslorr-bot
temporarily deployed
to
issue-triage
August 12, 2026 16:19 — with
GitHub Actions
Inactive
juliuslorr-bot
temporarily deployed
to
issue-triage
August 12, 2026 16:19 — with
GitHub Actions
Inactive
sathvik077
temporarily deployed
to
issue-triage
August 12, 2026 16:29 — with
GitHub Actions
Inactive
sathvik077
temporarily deployed
to
issue-triage
August 12, 2026 16:29 — with
GitHub Actions
Inactive
sathvik077
temporarily deployed
to
issue-triage
August 12, 2026 16:29 — with
GitHub Actions
Inactive
Weicheng0917-creator
temporarily deployed
to
issue-triage
August 12, 2026 16:32 — with
GitHub Actions
Inactive
Weicheng0917-creator
temporarily deployed
to
issue-triage
August 12, 2026 16:32 — with
GitHub Actions
Inactive
Weicheng0917-creator
temporarily deployed
to
issue-triage
August 12, 2026 16:32 — with
GitHub Actions
Inactive
Weicheng0917-creator
temporarily deployed
to
issue-triage
August 12, 2026 16:33 — 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.
Enforce non-interactive approval policy for Codex delegates
What changed
neverapproval policy and rejectdelegate creation with any prompt-capable policy.
session. Approval-requiring commands and MCP tool calls are denied within the
delegate instead.
Testing
Add coverage for review and Guardian delegates to verify that command
escalations, MCP approvals, and skill dependency installation do not prompt or
execute approval-gated actions.