Skip to content

fix(provider): allow overriding Codex sandbox - #66

Merged
steipete merged 2 commits into
openclaw:mainfrom
IAMSamuelRodda:fix/codex-sandbox-override
May 18, 2026
Merged

fix(provider): allow overriding Codex sandbox#66
steipete merged 2 commits into
openclaw:mainfrom
IAMSamuelRodda:fix/codex-sandbox-override

Conversation

@IAMSamuelRodda

Copy link
Copy Markdown
Contributor

Summary

  • add CLAWPATCH_CODEX_SANDBOX for Codex provider calls
  • keep existing default sandbox behavior unchanged
  • support bypass/none for externally sandboxed environments where Codex sandbox setup fails before local reads

Context

In an externally sandboxed agent runtime, Clawpatch revalidation could start Codex but every model-requested local shell read failed with:

bwrap: loopback: Failed RTM_NEWADDR: Operation not permitted

That made revalidation return uncertain even when the repo and tests were locally readable. This gives operators an explicit escape hatch without changing defaults.

Verification

  • corepack pnpm -s test src/provider.test.ts
  • corepack pnpm -s test
  • corepack pnpm -s typecheck
  • corepack pnpm -s lint
  • corepack pnpm -s format:check

@steipete
steipete merged commit 09ce939 into openclaw:main May 18, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants