mirror of
https://github.com/openai/codex.git
synced 2026-11-15 21:50:46 +00:00
Use permission profiles in sandbox tests and documentation (#61133)
## What changed - Build and assert `PermissionProfile` values directly in memory consolidation tests using filesystem and network permissions. - Remove the `SandboxPolicy` dependency from rollout trace test fixtures while preserving their `DangerFullAccess` value. - Update sandbox documentation to describe legacy `sandbox_mode` conversion to `PermissionProfile` and nested filesystem rules, and reference `SandboxMode` in the CLI documentation. GitOrigin-RevId: ac1be62625b1bfd98dde5f762b379eb840f9186b
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
//! Standard type to use with the `--sandbox` (`-s`) CLI option.
|
||||
//!
|
||||
//! This mirrors the variants of [`codex_protocol::protocol::SandboxPolicy`], but
|
||||
//! without any of the associated data so it can be expressed as a simple flag
|
||||
//! on the command-line. Users that need to tweak the advanced options for
|
||||
//! This mirrors [`codex_protocol::config_types::SandboxMode`] so built-in modes
|
||||
//! can be expressed as a simple flag on the command line. Users that need to tweak the advanced options for
|
||||
//! `workspace-write` can continue to do so via `-c` overrides or their
|
||||
//! `config.toml`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user