mirror of
https://github.com/openai/codex.git
synced 2026-11-26 07:26:11 +00:00
Preserve executor path conventions in permission summaries (#45852)
## Why Permission summaries must preserve executor paths without interpreting them in the host's filesystem namespace. ## What changed Accept `PathUri` values and summarize permission profiles directly instead of converting them to a legacy sandbox policy. Render additional workspace roots using their inferred native path convention, and update the exec and TUI callers. Keep workspace subpath writes and writes outside the working directory classified as `custom permissions` when the working directory itself is not writable. ## Testing Add coverage for POSIX, Windows drive, and UNC workspace paths, including encoded spaces and case-distinct roots, plus opaque workspace subpath writes. GitOrigin-RevId: ff2c456e2a720e7216f13e0241b3a935cc925d00
This commit is contained in:
1 parent
90f7b37d23
commit
7322c5e790
8 files changed
+216
-63
No files matched your search
Generated
+2
@@ -3210,6 +3210,7 @@ dependencies = [
|
||||
"codex-utils-cargo-bin",
|
||||
"codex-utils-cli",
|
||||
"codex-utils-oss",
|
||||
"codex-utils-path-uri",
|
||||
"codex-utils-sandbox-summary",
|
||||
"codex-worktree",
|
||||
"core_test_support",
|
||||
@@ -5094,6 +5095,7 @@ version = "0.0.0"
|
||||
dependencies = [
|
||||
"codex-protocol",
|
||||
"codex-utils-absolute-path",
|
||||
"codex-utils-path-uri",
|
||||
"pretty_assertions",
|
||||
]
|
||||
|
||||
|
||||
Reference in new issue
Block a user