Conversation
Under a sandboxed Codex parent on macOS, Grok either cannot reach its API and reports only built-in models, or refuses to start because its own sandbox profile cannot nest inside Codex's. Name both failure signatures and the parent profile a Grok-routing Codex setup needs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Tick the box to add this pull request to the merge queue (same as
|
|
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.
What changed
provider-dispatch.mdalready says the parent's tool sandbox controls whether a child CLI can reach its credentials and network. This adds the Grok-specific case, which fails in two ways that don't look like a sandbox problem from the receipt alone. On macOS, a Codex parent running any sandbox cannot host a Grok lane:read-only, orworkspace-writewithout network.grok modelscannot reach the API and falls back to its built-in model list. The preflight then recordsunavailable-modelfor a current model such asgrok-4.7, which reads like an account or model problem.workspace-writewith network. Grok exits with "could not apply the 'workspace' sandbox profile ... Refusing to start with its protections missing", because macOS sandboxes do not nest. The receipt recordschild-failed.The note says a Codex parent that routes roles to
grok:*must run withdanger-full-access, chosen deliberately in the user's profile. Grok's own sandbox still confines the lane. The note keeps the existing rule that a blocked CLI is a dropout, never a reason for the parent to escalate itself.Docs only. No runner or skill behavior changes. Found while verifying #81.
Verification
git diff --checkpass. No code or manifest changed.Live evidence (macOS, codex-cli 0.155.1, grok CLI 1.0.34,
grok:grok-4.7@xhighisolated-writelane launched by acodex execsession through the installedpstack-runner):workspace-write, no networkunavailable-modelgrok-4.6,grok-4.5, plus "HTTP export failed: network error"workspace-write, network on,~/.grokwritablechild-faileddanger-full-accesscomplete,grok-4.7-buildverifiedGIT_STATUS: ## HEAD (no branch)🤖 Generated with Claude Code