Skip to content

fix(agent): allow approved web requests in sandboxed sessions - #6914

Merged
M4n5ter merged 1 commit into
rust-previewfrom
codex/sandbox-web-permissions
Nov 14, 2026
Merged

M4n5ter merged 1 commit into
rust-previewfrom
codex/sandbox-web-permissions

Conversation

@M4n5ter

@M4n5ter M4n5ter commented Nov 14, 2026

Copy link
Copy Markdown
Member

Summary

  • Let WebSearch and WebFetch request permission for a host and port in a sandboxed conversation. The local process sandbox continues to block network access by default.
  • Capture the inherited network ceiling on the Run when it differs from the process sandbox. The existing Web service applies the installation ceiling, checks the destination grant, and handles the permission interaction. Earlier Runs retain their captured boundary.

Refs #6913

Verification

  • The default Workspace Write session completed an actual HTTP search against a loopback endpoint after Allow once. The endpoint received zero requests when approval was declined or permission requests were disabled.
  • The existing direct tool and code mode acceptance suites exercise configured search with permission requests enabled and disabled.
  • The Agent Facts, State, Engine, and Web tests pass. Format and diff checks pass.

AI use

  • No generative tool made a substantive contribution
  • Generative tooling made a substantive contribution

OpenAI Codex authored and verified the change.

Checklist

  • Tests cover the change and fail without it
  • Format, typecheck and the affected suites pass locally

Does this PR entail a change in behavior?

  • Yes
  • No

@M4n5ter
M4n5ter merged commit 45d6da3 into rust-preview Nov 14, 2026
9 checks passed
@M4n5ter
M4n5ter deleted the codex/sandbox-web-permissions branch November 14, 2026 15:49
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