Explain unavailable bash sandbox recovery / 说明 bash 沙箱不可用时的恢复方式#5983
Merged
SivanCola merged 1 commit intoJul 5, 2026
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
bash = "enforce"refuses execution when no OS sandbox backend is present.doctor, CLI/sandbox, generated config comments, desktop settings copy, and docs.Root cause
Reasonix 1.16 intentionally fails closed when
bash = "enforce"cannot wrap commands in an OS sandbox. Earlier versions could run unconfined on hosts without the backend, so users saw a sudden full bash refusal after upgrading.Cache review
Cache-impact: low - touches cache-sensitive files, but does not change the stable system prompt, provider request serialization, tool schema bytes/order, MCP registration, compaction, or memory injection; only stderr/tool-error diagnostics and documentation/settings copy change.
Cache-guard: reviewed against
references/cache-first.md; focused tests cover the changed packages andscripts/check-cache-impact.shpasses with these notes.System-prompt-review: reviewed
internal/boot/boot.go; the change only reuses the shared sandbox-unavailable stderr warning before tool registration and does not altersysPromptconstruction or provider-visible prefix ordering.Validation
go test ./internal/sandbox ./internal/tool/builtin ./internal/doctor ./internal/bootgo test ./internal/configgo test ./internal/clipnpm --dir desktop/frontend typecheck