Skip to content

[Bug]: Claude Code Look around cannot save Suggestions when its Bash sandbox blocks the Orca runtime #46064

Open

Description

@suetake6183

Where were you using Orca?

Desktop only

Operating system

macOS 27.2

Orca version

1.4.265

Details

A Claude Code bot can read GitHub pull requests during Look around, but it cannot add the resulting cards to Suggestions when Claude Code's Bash sandbox blocks access to Orca's local runtime.

Steps to reproduce

  1. On macOS, create a bot that uses Claude Code and enable Look around.
  2. Enable Claude Code's Bash sandbox and deny read access to Orca's local runtime metadata file (orca-runtime.json). Keep read-only GitHub CLI access available.
  3. Run Look around for a GitHub repository with a pull request that needs review. Inspect the run and the Suggestions list.

Observed behavior

The run successfully reads the pull request with gh. Look around allows the orca bot suggest command, but the CLI reports that it could not read the runtime metadata and then prints Orca is not running. Orca is running, and Suggestions remains empty. A command routed through a local wrapper is rejected by the Look around command policy.

Expected behavior

Look around can add a card with the pull request link while the existing Bash sandbox remains in effect. Could Orca provide a session-scoped tool for recording a suggestion that uses the existing Look around session checks? This would let the run save a card while keeping its shell restrictions in place.

Activity

  1. AmethystLiang commented on Nov 21, 2026

    @AmethystLiang
    Contributor

    Thanks for the feedback. We're looking into it.

  2. suetake6183 commented on Nov 23, 2026

    @suetake6183
    Author

    I ran a follow-up test with a Claude Code bot on macOS. I temporarily allowed the test bot to read Orca's local connection metadata and connect to its local socket. A single Look around run added three Suggestions with GitHub pull request links. The cards remained visible after I restored the original sandbox settings. The run's completion indicator did not update during the observation window.

    Could Orca expose a suggestion-saving action scoped to the active Look around run, so the bot can save Suggestions under its existing Bash sandbox policy?

  3. jezeklu commented on Nov 25, 2026

    @jezeklu

    Same on Linux (Fedora, kernel 7.3), Orca 1.4.272, Claude Code with the Bash sandbox (bubblewrap): here it's EPERM on the Orca socket rather than "Orca is not running". Every orca call in Look around fails, including bot suggest, and the run ends silently with NO_REPLY.
    sandbox.excludedCommands (incl. "${ORCA_CLI_COMMAND:-orca}" *) doesn't help; only allowing unix sockets would.

    +1 for a session-scoped suggestion tool, so a fix doesn't depend on the platform.

  4. ZhaoqianXue commented on Nov 30, 2026

    @ZhaoqianXue

    Same problem on macOS (Orca 1.4.282), and it isn't limited to Look around: every Claude Code bot that Orca launches with the Bash sandbox on gets Permission denied connecting to Orca (EPERM) for any orca command. Over the past week, 7 of my bots hit it across 13 sessions. Each one had to rerun the whole command outside the sandbox, and several wrote the same workaround into their own memory.

    Allowing the socket in the profile's sandbox.network.allowUnixSockets works. I tested it, and sandboxed orca bot list connects. The problem is keeping it working:

    • The runtime socket is named per launch (o-<pid>-<random>.sock in Orca's user data folder), so the entry goes stale the next time Orca restarts.
    • On macOS, Claude Code turns each allowUnixSockets entry into a Seatbelt subpath rule with no globs. The only stable entry is therefore the whole user data folder, which also covers the terminal daemon sockets under daemon/. That grants a lot more than the CLI needs.

    Could Orca do one of these?

    1. Allow its own runtime socket by default in the Claude Code sessions it launches. Orca already passes --settings to those sessions, so it knows the path at launch.
    2. Or put the runtime socket at a stable path in a folder of its own (for example <user data>/runtime/orca.sock), so a user can allow exactly that one socket and nothing else.

    +1 to the session-scoped tool idea as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions