Repository navigation
Description
Summary
After every Orca update, orca computer accessibility (AX) reads start failing with permission_denied, even though System Settings → Privacy & Security → Accessibility shows "Orca Computer Use" as enabled and orca computer permissions --json also reports accessibility: granted. Toggling the switch off→on for "Orca Computer Use" restores it — until the next update, when it breaks again.
This is the same symptom as #9159 (closed as COMPLETED on 2026-07-19), but the recurring trigger here is app updates specifically. It looks like the same underlying root cause as #13921 (TCC grants invalidated after updates → child processes hit EPERM) and #20007 (terminal daemon loses TCC after updates because the update recreates the spawner path).
Repro
- Grant "Orca Computer Use" Accessibility; confirm
orca computer get-app-state --app <any windowed app> --jsonworks. - Let Orca auto-update to a new version.
orca computer permissions --json→accessibility: granted,screenshots: granted.orca computer get-app-state --app <any> --json→ fails:
app '<X>' has visible windows but no accessibility window (AX reads stayed blocked for 1500ms after retries). macOS Accessibility may need Orca Computer Use toggled off and on again in System Settings.- Toggle Accessibility off→on for "Orca Computer Use" → works again, until the next update.
Note: orca computer list-apps keeps working (some AX is live) while every get-app-state window read is denied — matching #9159.
Signing is stable, so the TCC association should survive updates
The helper is properly Developer-ID signed & notarized with a stable identity:
Identifier=com.stablyai.orca.computer-useAuthority=Developer ID Application: Lovecast LLC (6CX3WHS9HZ)TeamIdentifier=6CX3WHS9HZ,flags=0x10000(runtime)(hardened runtime)
Because Team ID + bundle identifier are stable across versions, the TCC Accessibility grant should persist across updates (that's how normal notarized apps behave). It doesn't — which suggests the updater recreates the helper binary/path in a way that breaks TCC's stored association (cdhash/path based) instead of matching by the designated requirement.
Impact
Any headless / agent-driven use of orca computer breaks silently after each update, and because orca computer permissions misreports granted, users (and agents) can't tell why. Every update requires a manual off→on toggle, which is impossible when operating the machine remotely.
Suggested directions
- Store/match the AX grant by designated requirement (Team ID + identifier) so it survives updates, or cleanly re-request on version change instead of leaving a stale grant.
- Make
orca computer permissionsreport the effective AX state (perform a real AX probe) rather than the stored TCC flag, so it stops misreportinggrantedwhile reads fail.
Environment
- macOS (Darwin 25.0.0), Apple Silicon
- Orca 1.4.198
Activity
venkaa28 commentedon Oct 5, 2026
Additional data point: the error itself may be a false positive.
On Orca 1.4.218, macOS on Apple Silicon,
get-app-statereturnspermission_denied("has visible windows but no accessibility window (AX reads stayed blocked for 1500ms)… toggle Orca Computer Use off and on") while Accessibility is demonstrably working.com.stablyai.orca.computer-useallowed for Accessibility. Its stored csreq matches the current designated requirement (identifier + team6CX3WHS9HZ), and there are no stale or duplicate rows.get-app-statereads a normal app's window fine but returns this error for Finder, whose only visible "window" is the desktop.So the helper seems to raise
permission_deniedwhenever the window list shows a window but the AX tree returns none within 1.5 s, for any reason. "Toggle off/on" appears to help only because the window becomes reachable in the meantime.Suggestions:
ax_window_unavailable), and keeppermission_deniedfor whenAXIsProcessTrusted()is false in the worker. Drop the toggle advice from the generic case.orca computer permissionsquery the running--agentworker instead of a separatelyopen -n'd copy of the helper, so the check tests the identity that does the work.com.stablyai.orcahas one.