Skip to content

Tool-call permission-confirmation issues in Read Only mode #158

@ryrun

Description

@ryrun

Hi! I’m seeing a permission-confirmation issue with Zed Agent threads using Codex-Cli on Windows 11 (no WSL).

When I run the agent in Read Only mode and it asks for a tool-call permission, clicking Yes or Always seems to do nothing. The agent keeps waiting forever (spinner keeps spinning), and there’s no timeout or error.

This worked fine until around end of last week. There were several Zed updates recently, and Codex was also updated in between.

Environment

  • Zed version: v0.223.5
  • OS: Windows 11
  • Setup: native Windows (no WSL)
  • Context: Agent threads using Codex CLI

Steps to reproduce

  1. Open an Agent thread in Zed.
  2. Use Read Only mode.
  3. Give a more complex task that triggers a tool-call permission prompt.
  4. Click Yes or Always on the permission dialog.
  5. Observe that the agent keeps waiting indefinitely.

Expected behavior

After confirming permission, the tool call should continue and the agent should proceed.

Actual behavior

The approval is not picked up by the agent. It waits forever with spinner animation, no timeout.

Extra notes

  • Normal non-tool-call prompts or tool-calls where no permission is needed works fine.
  • If I stop the run and ask what happened, the model says it was waiting for my confirmation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions