Skip to content

Clarify shell sandbox unavailability and recovery - #257

Merged
qduc merged 1 commit into
mainfrom
codex/sandbox-availability-guidance
Nov 12, 2026
Merged

qduc merged 1 commit into
mainfrom
codex/sandbox-availability-guidance

Conversation

@qduc

@qduc qduc commented Nov 12, 2026 •

Copy link
Copy Markdown
Owner

When the shell sandbox cannot start because a dependency or initialization is unavailable, Term2 currently says the sandbox blocked the command. That suggests a policy denial even though the command never ran, and encourages retries that cannot fix the runtime.

Report that the command was not run and that the sandbox issue needs to be resolved before a sandboxed retry. Keep the optional one-shot unsandboxed request explicitly conditional on policy and interactive user approval. Actual command-denial guidance and all approval and execution checks remain unchanged.

Validation: focused run_code shell integration (15 passed), typecheck, lint (40 existing warnings), provider black-box suite (270 passed, 5 skipped), and independent verification of unavailable-dependency, unsupported-platform and initialization-failure refusal/recovery, approved and denied escape, and actual-denial guidance. The independent failure and recovery probes inject sandbox conditions rather than reproducing an OS outage. This is a task-independent diagnostic fix; no end-to-end token or cost improvement is claimed.

@qduc
qduc force-pushed the codex/sandbox-availability-guidance branch from ecc0cea to b0c48ee Compare November 12, 2026 01:05
@qduc
qduc changed the base branch from codex/sonnet-adaptive-thinking to main November 12, 2026 01:05
@qduc
qduc merged commit 30af646 into main Nov 12, 2026
8 checks passed
@qduc
qduc deleted the codex/sandbox-availability-guidance branch November 12, 2026 01:15
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.

1 participant