core-agent-ide/codex-rs/common/src
Michael Bolin 92f3566d78
chore: introduce SandboxPolicy::WorkspaceWrite::include_default_writable_roots (#1785)
Without this change, it is challenging to create integration tests to
verify that the folders not included in `writable_roots` in
`SandboxPolicy::WorkspaceWrite` are read-only because, by default,
`get_writable_roots_with_cwd()` includes `TMPDIR`, which is where most
integrationt
tests do their work.

This introduces a `use_exact_writable_roots` option to disable the
default
includes returned by `get_writable_roots_with_cwd()`.




---
[//]: # (BEGIN SAPLING FOOTER)
Stack created with [Sapling](https://sapling-scm.com). Best reviewed
with [ReviewStack](https://reviewstack.dev/openai/codex/pull/1785).
* #1765
* __->__ #1785
2025-08-01 14:15:55 -07:00
..
approval_mode_cli_arg.rs chore: rename AskForApproval::UnlessAllowListed to AskForApproval::UnlessTrusted (#1385) 2025-06-25 12:26:13 -07:00
config_override.rs Add session loading support to Codex (#1602) 2025-07-18 17:04:04 -07:00
elapsed.rs chore(rs): update dependencies (#1494) 2025-07-10 11:08:16 -07:00
lib.rs feat: add support for --sandbox flag (#1476) 2025-07-07 22:31:30 -07:00
sandbox_mode_cli_arg.rs feat: add support for --sandbox flag (#1476) 2025-07-07 22:31:30 -07:00
sandbox_summary.rs chore: introduce SandboxPolicy::WorkspaceWrite::include_default_writable_roots (#1785) 2025-08-01 14:15:55 -07:00