Repository navigation
Consolidate Windows filesystem helper sandbox preparation - #61276
Merged
copyberry[bot] merged 1 commit intoNov 13, 2026
Conversation
## What changed Remove `SandboxDirectSpawnTransformRequest` and `transform_for_direct_spawn` in favor of `SandboxManager::for_file_system_helpers().transform()`. Keep Windows wrapper preparation specific to filesystem helpers, and return `SandboxUnavailable` when a Windows token sandbox is requested for a filesystem helper on a non-Windows executor. Record the helper permission entry count during launch policy preparation, before adding runtime read grants. ## Testing Cover Windows helper executable read access and explicit workspace write grants, including empty workspace roots. Verify rejection of non-native policy working directories and Windows token helper sandboxes on Unix. Extend the helper isolation test to exercise sandboxed writes as well as reads. GitOrigin-RevId: f95bb94e12d8d7c6e5c773644abb7b59b47ffc4a
copyberry
Bot
force-pushed
the
copyberry/codex-internal-to-codex-oss/f95bb94e12d8d7c6e5c773644abb7b59b47ffc4a
branch
from
November 13, 2026 06:40
fa3fb15 to
5045589
Compare
Contributor
Codex Review Summary: 🔄 RunningThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
copyberry
Bot
deleted the
copyberry/codex-internal-to-codex-oss/f95bb94e12d8d7c6e5c773644abb7b59b47ffc4a
branch
November 13, 2026 06:40
noone6328
temporarily deployed
to
issue-triage
November 13, 2026 06:54 — with
GitHub Actions
Inactive
noone6328
temporarily deployed
to
issue-triage
November 13, 2026 06:54 — with
GitHub Actions
Inactive
noone6328
temporarily deployed
to
issue-triage
November 13, 2026 06:54 — with
GitHub Actions
Inactive
YulianKuryliak
temporarily deployed
to
issue-triage
November 13, 2026 06:54 — with
GitHub Actions
Inactive
YulianKuryliak
temporarily deployed
to
issue-triage
November 13, 2026 06:54 — with
GitHub Actions
Inactive
YulianKuryliak
temporarily deployed
to
issue-triage
November 13, 2026 06:54 — with
GitHub Actions
Inactive
YulianKuryliak
temporarily deployed
to
issue-triage
November 13, 2026 06:55 — with
GitHub Actions
Inactive
zhangzhen1buct-crypto
temporarily deployed
to
issue-triage
November 13, 2026 07:03 — with
GitHub Actions
Inactive
zhangzhen1buct-crypto
temporarily deployed
to
issue-triage
November 13, 2026 07:03 — with
GitHub Actions
Inactive
zhangzhen1buct-crypto
temporarily deployed
to
issue-triage
November 13, 2026 07:03 — with
GitHub Actions
Inactive
zhangzhen1buct-crypto
temporarily deployed
to
issue-triage
November 13, 2026 07:04 — with
GitHub Actions
Inactive
bbtx2024
temporarily deployed
to
issue-triage
November 13, 2026 07:05 — with
GitHub Actions
Inactive
bbtx2024
temporarily deployed
to
issue-triage
November 13, 2026 07:05 — with
GitHub Actions
Inactive
bbtx2024
temporarily deployed
to
issue-triage
November 13, 2026 07:05 — with
GitHub Actions
Inactive
bbtx2024
temporarily deployed
to
issue-triage
November 13, 2026 07:06 — with
GitHub Actions
Inactive
stupidstudent1145
temporarily deployed
to
issue-triage
November 13, 2026 07:08 — with
GitHub Actions
Inactive
stupidstudent1145
temporarily deployed
to
issue-triage
November 13, 2026 07:08 — with
GitHub Actions
Inactive
stupidstudent1145
temporarily deployed
to
issue-triage
November 13, 2026 07:08 — with
GitHub Actions
Inactive
Bushy007
temporarily deployed
to
issue-triage
November 13, 2026 07:34 — with
GitHub Actions
Inactive
Bushy007
temporarily deployed
to
issue-triage
November 13, 2026 07:34 — with
GitHub Actions
Inactive
Bushy007
temporarily deployed
to
issue-triage
November 13, 2026 07:34 — with
GitHub Actions
Inactive
Bushy007
temporarily deployed
to
issue-triage
November 13, 2026 07:35 — 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.
Consolidate Windows filesystem helper sandbox preparation
What changed
Remove
SandboxDirectSpawnTransformRequestandtransform_for_direct_spawnin favor ofSandboxManager::for_file_system_helpers().transform(). Keep Windows wrapper preparation specific to filesystem helpers, and returnSandboxUnavailablewhen a Windows token sandbox is requested for a filesystem helper on a non-Windows executor.Record the helper permission entry count during launch policy preparation, before adding runtime read grants.
Testing
Cover Windows helper executable read access and explicit workspace write grants, including empty workspace roots. Verify rejection of non-native policy working directories and Windows token helper sandboxes on Unix. Extend the helper isolation test to exercise sandboxed writes as well as reads.