Repository navigation
Description
Problem
A user explicitly requested that Grok workers build a plan and later required
that implementation be performed only by Grok workers. The same-project
coder-threads fork was still rejected because the session approval policy was
never.
The relevant request was equivalent to:
{
"tool": "mcp__coder_threads__thread_fork",
"projectId": "bdfb084e-f13d-4968-83eb-5bc85b5dd515",
"threadId": "15ff9829-4446-44ad-92a2-c4e14e991e05",
"pool": "grok",
"worktree": false,
"prompt": "Read-only planning review for Solenta speech-to-text"
}Result:
MCP tool call requires approval, but approval policy is never
The failure repeated after the user explicitly confirmed the Grok-only
constraint. task_add and hypothesis_record were rejected for the same
reason. thread_fork has no approved argument, so there is no callable
recovery path inside the session.
Fallback evidence
The installed Grok CLI was also tried as a read-only fallback:
grok 1.0.13 (5e9a58528b76) [stable]
Its normal home directory was not writable:
Couldn't create session: Permission denied.
code: FS_PERMISSION_DENIED
detail: Operation not permitted (os error 1)
Pointing GROK_HOME at /private/tmp allowed session creation, while keeping
authentication/config paths read-only. Inference then retried and failed on:
request error: error sending request for url
(https://cli-chat-proxy.grok.com/v1/responses)
This leaves no usable Grok-worker route: the first-party orchestrator requires
an approval the policy cannot provide, and the local CLI cannot reach its
backend from the sandbox.
Impact
- Explicit user requests for orchestration cannot be fulfilled.
- A Grok-only implementation constraint makes the task permanently blocked.
- The agent may waste time retrying tools or building unreliable CLI
workarounds. - The shared task list and hypothesis ledger cannot be maintained even though
the prompt requires them.
Expected behavior
For same-project, non-destructive worker creation, one of these must hold:
- an explicit user request in the current turn authorizes
thread_fork; or - Solenta exposes a user-visible approval action that remains usable when the
general session policy isnever; or - the tool is omitted and the prompt states up front that orchestration is
unavailable.
The system must not advertise a required tool and then reject it through an
approval state that has no transition.
Suggested fix direction
- Classify same-project
thread_forkas an in-scope operation when the current
user turn explicitly asks for Grok workers. - Keep cross-project guards and merge/PR approval requirements unchanged.
- If policy still blocks the fork, return an actionable error naming the
exact UI/session change required. - Apply the same capability check to crew task and hypothesis tools so the
prompt does not require unreachable bookkeeping.
Acceptance criteria
- With
approval policy = never, an unrequested worker fork remains denied. - With the same policy and an explicit current-turn request to use Grok
workers, a same-projectthread_fork(pool="grok")starts successfully, or
Solenta presents a usable user approval action. - The worker is created in the supplied project and cannot cross the
projectIdboundary. task_addandhypothesis_recordare usable whenever the orchestrated run
they describe is usable.- A blocked fork fails immediately with one actionable resolution; it does not
invite retries that can never succeed.
Found while planning live speech-to-text in thread 15ff9829-4446-44ad-92a2-c4e14e991e05 on 2026-09-03. Draft: docs/issue-drafts/2026-09-03-solenta-session-blockers.md.
Activity
currentbits commentedon Sep 3, 2026
Implemented on this branch: first-party Codex MCP servers (
coder-memory,coder-threads) now pass-c mcp_servers.<name>.default_tools_approval_mode="approve", matching Claude's--allowedTools=mcp__<name>__*. User-registered MCP servers stay gated.codex exechas no approval UI, soapproval_policy=neverwas rejectingthread_fork/task_add/hypothesis_recordwith no recovery path. Same-project andapproved:trueguards on merge/PR are unchanged.See
electron/memory-sup.jsgetCodexMcpArgs.Land leftover open worktrees onto origin/main (#870)
currentbits commentedon Sep 6, 2026
Shipped on origin/main via leftover land #870. First-party coder-memory/coder-threads MCP servers pass mcp_servers..default_tools_approval_mode="approve" (electron/memory-sup.js), so explicit Grok/Codex forks work under approval_policy=never.