Commit Graph
3 Commits
Author SHA1 Message Date
DottaandClaude Opus 5.5 a3d43b7bfd test(runner-e2e): count only a file-named filesystem denial as a refused planning write
A bubblewrap startup failure now fails the cell as 'sandbox failed to start' instead of passing as a refusal.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 09:19:47 -06:00
DottaandClaude Opus 5.5 f30aeb3e72 fix(runner): keep the controller's network decision for external-sandbox planning
Planning in an external sandbox keeps full-disk read so Codex skips its network-isolated filesystem helper, but its network now follows PAPERCLIP_RUNNER_NETWORK_ACCESS. The session context reports the real root access, and the e2e grader only accepts a sandbox refusal of the requested write, checked before the UI step.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 08:26:45 -06:00
DottaandClaude Opus 5.5 d221501fb5 fix(runner): keep Codex planning read-only inside Daytona without network namespaces
Codex planning runs use the paperclip-runner-workspace-read-only profile.
Its restricted reads made Codex load AGENTS.md through the filesystem
helper, which always runs bubblewrap with --unshare-net. Daytona has no
CAP_NET_ADMIN, so thread creation failed with "bwrap: loopback: Failed
RTM_NEWADDR". Inside an external sandbox the planning profile now reads the
whole filesystem, writes nowhere and enables network, so Codex reads files
directly and runs commands without a new network namespace while still
refusing writes. Adds a manual codex-planning-read-only e2e suite that
proves a planning write attempt is refused.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 07:41:36 -06:00