Skip to content

[Bug]: computer-use permissions reports accessibility granted while all get-app-state window reads fail permission_denied #9159

Closed

Description

@tomdebres

orca computer permissions reports accessibility: granted while every real orca computer window action fails permission_denied. The command you'd run to diagnose broken computer-use tells you it's healthy.

Verified facts (no root-cause claim — see note)

Captured back-to-back on one machine, same moment:

  1. orca computer permissions --json → accessibility: granted, screenshots: granted.
  2. orca computer list-apps → works (enumerates running apps) — so some AX access is live.
  3. orca computer get-app-state --app <any windowed app> → permission_denied for every app tried (Finder, TextEdit) — universal, not app-specific. Error text: "…has visible windows but no accessibility window. …may need Orca Computer Use toggled off and on again in System Settings."
  4. A direct-exec of the helper binary in --permission-status-file mode also reports granted (attached and detached/setsid both).
  5. Toggling the helper off/on in System Settings restored full function (previous session); it later regressed.

So: permissions and the helper's own status check agree on granted, list-apps confirms AX is partly live, yet reading any app's AX window tree is denied — and the diagnostic surfaces none of that.

Note on root cause — I could not determine it, and retract an earlier guess

An earlier revision of this issue asserted the cause was the status probe launching the helper via open -n (LaunchServices) vs the runtime direct-exec'ing it, giving different TCC responsible-process attribution. I tested that and it's wrong — a direct-exec of the binary's status mode (attached and detached) also reports granted, so launch method is not the differentiator. I don't have a verified mechanism for why list-apps/AXIsProcessTrusted succeed while get-app-state window reads are universally denied; pinning it down needs instrumenting the live --agent process's AX calls at denial time and the Orca app's helper-spawn/entitlements design, which I can't do from outside. Leaving diagnosis to maintainers with that context.

The user-facing ask (independent of mechanism)

Whatever the cause, orca computer permissions should reflect real runtime capability, not just the TCC-granted row: when the agent can enumerate apps but cannot read any AX window tree, permissions should report a degraded/actionable state (e.g. granted_but_runtime_unavailable with the "toggle off/on" hint the get-app-state error already emits) rather than a flat granted. Separately, the get-app-state "no accessibility window" → permission_denied mapping may be over-broad (it fires universally here) and could be worth distinguishing a true permission failure from a window-match failure.

Environment

  • Orca 1.4.143 (CLI orca → /Applications/Orca.app/Contents/Resources/bin/orca; production Orca.app running)
  • macOS 26.3.1
  • Helper: /Applications/Orca.app/Contents/Resources/Orca Computer Use.app
  • Both accessibility and screenshots TCC rows show granted.

Impact

orca computer agents/workflows are unusable (every window read denied) while permissions claims health and the one diagnostic command points the wrong way. Hit repeatedly during real multi-step automation.

Activity

  1. changed the title [-]computer-use: `permissions` reports accessibility granted while runtime AX calls fail (stale grant undiagnosable, recurs after updates)[/-] [+][Bug]: computer-use `permissions` reports accessibility granted while runtime AX calls fail (stale grant undiagnosable, recurs after updates)[/+] on Jul 17, 2026
  2. changed the title [-][Bug]: computer-use `permissions` reports accessibility granted while runtime AX calls fail (stale grant undiagnosable, recurs after updates)[/-] [+][Bug]: computer-use `permissions` reports accessibility granted while all `get-app-state` window reads fail permission_denied[/+] on Jul 17, 2026
  3. AmethystLiang commented on Jul 19, 2026

    @AmethystLiang
    Contributor

    Duplicate of #9458

    Same bug: computer-use reports Accessibility granted while window actions (get-app-state, etc.) fail with permission_denied.

    Consolidating into #9458, which includes the preflight-unknown / fresh-helper-process root-cause analysis. Please continue discussion there.

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