Repository navigation
Conversation
|
Thanks for the context here. I swept through the related work, and this is now duplicate or superseded. Keep open only because the protected Root-cause cluster Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Canonical path: Close this PR as superseded by #83667. So I’m closing this here and keeping the remaining discussion on #83667. Review detailsBest possible solution: Close this PR as superseded by #83667. Do we have a high-confidence way to reproduce the issue? Yes, at source level for the original regression: current main and v2026.6.10 contain the sandbox aliases and tests that restore the OpenClaw sandbox-routed shell path. I did not run a live SSH sandbox turn during this read-only review, but the merged replacement PR includes live Codex SSH sandbox proof. Is this the best way to solve the issue? No, this stale PR is no longer the best landing path. The best fix is the merged replacement implementation plus current-main hardening, with the separate direct/no-environment gap tracked by #92294. Security review: Security review cleared: No discrete supply-chain or security defect was found in the stale patch; the sandbox shell exposure is tracked as merge risk rather than a line-level security finding. AGENTS.md: found and applied where relevant. What I checked:
Likely related people:
Codex review notes: model internal, reasoning high; reviewed against 6cb82eaab865; fix evidence: release v2026.6.10, commit aa69b12d0086. |
|
tbh, I have my doubts that Codex will reliably work with sandbox_exec and sandbox_process if exec already exists in the tool list. UPD: I used -c features.shell_tool=false to prevent ambiguity, in case that helps: |
|
I took a fresh rebase pass against current main to see whether this draft could be made mergeable. Result: the conflict resolves to an empty branch. Current main already contains the sandbox shell dynamic-tool behavior this PR introduced, including Evidence:
So I do not think a replacement PR is useful here; #80590 looks superseded by current main rather than merely blocked by a mechanical conflict. |
|
Thanks @steipete for the original sandbox shell routing fix in #80590. Clownfish is closing this PR as fixed by the merged PR #83667 because current main already contains the same Credit/attribution stays with @steipete: #80590 is the source PR for this same fix family, and #83667 carried the landed implementation and validation. If there is still a different reproduction path after #83667, please reply here and we can reopen or split follow-up work. |
|
Closing as superseded. #83667 merged and shipped the same Codex |
Summary
sandbox_execandsandbox_processonly for active non-Docker sandbox backends such as SSH.exec/processfiltered from Codex dynamic tools.execandprocessto be available before exposing the sandbox pair, and rewrite yieldedsandbox_execfollow-up guidance to point atsandbox_process.Fixes #80322.
Root Cause
PR #80048 correctly made Codex own native workspace tools by default, but the app-server dynamic-tool filter also removed the only OpenClaw shell path that honored
agents.list[].sandbox.backendfor SSH-backed sandbox sessions. Codex native shell remains the right default shell, but it does not represent OpenClaw's non-Docker sandbox backend routing.Verification
pnpm test extensions/codex/src/app-server/run-attempt.test.tsgit diff --checkpnpm check:changedpnpm check:changedresult: Codex touched lanes passed through typecheck/lint/import-cycle setup, but the delegated Testbox run still fails on an unrelated existing extension-test type error:Latest changed-gate run: https://github.com/openclaw/openclaw/actions/runs/25657229446