Skip to content

Propagate workspace roots to exec-server sandboxes - #32214

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/6684c8f7de50970b45a29e2a6323df954c96f9f6
Jul 10, 2026
Merged

Propagate workspace roots to exec-server sandboxes#32214
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/6684c8f7de50970b45a29e2a6323df954c96f9f6

Conversation

@copyberry

@copyberry copyberry Bot commented Jul 10, 2026

Copy link
Copy Markdown

Propagate workspace roots to exec-server sandboxes

What changed

  • Pass configured workspace roots from core to the exec server so filesystem and process sandbox permissions are materialized against the intended roots.
  • Preserve an explicitly empty workspace-root list instead of treating the sandbox working directory as an implicit root.
  • Initialize filesystem sandbox contexts with their working directory as the default workspace root.

Testing

  • Add end-to-end coverage for patch and command writes inside and outside workspace roots.
  • Verify remote filesystem and process sandboxes do not grant access through an empty workspace-root list.

## What changed

- Pass configured workspace roots from core to the exec server so filesystem and process sandbox permissions are materialized against the intended roots.
- Preserve an explicitly empty workspace-root list instead of treating the sandbox working directory as an implicit root.
- Initialize filesystem sandbox contexts with their working directory as the default workspace root.

## Testing

- Add end-to-end coverage for patch and command writes inside and outside workspace roots.
- Verify remote filesystem and process sandboxes do not grant access through an empty workspace-root list.

GitOrigin-RevId: 6684c8f7de50970b45a29e2a6323df954c96f9f6
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/6684c8f7de50970b45a29e2a6323df954c96f9f6 branch from cbf91c3 to c8dc8e5 Compare July 10, 2026 16:56
@copyberry
copyberry Bot merged commit c8dc8e5 into main Jul 10, 2026
14 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/6684c8f7de50970b45a29e2a6323df954c96f9f6 branch July 10, 2026 16:57
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 10, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.