Skip to content

macOS: terminal daemon loses TCC access after two updates — the severed check inspects spawnerExecPath, which the update recreates #20007

Description

@giprime

Environment

  • Orca 1.4.199 (app bundle); terminal daemon still running 1.4.197
  • macOS 26.6.2 (25G83), Apple Silicon
  • Electron 43.6.0 on disk; processes left from the previous launch still report 43.4.1

Related issues

Symptom

In any Orca terminal:

$ cd ~/Documents/<any-project>
$ ls
ls: .: Operation not permitted
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Operation not permitted
job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: Operation not permitted

Only TCC-protected locations are affected (~/Documents, ~/Desktop, ~/Downloads).
Work under ~/orca/workspaces keeps working, which makes the failure look arbitrary.

Orca itself holds the grant, so this is not a missing permission:

$ sqlite3 ~/Library/Application\ Support/com.apple.TCC/TCC.db \
    "select service,client,auth_value from access where client='com.stablyai.orca';"
kTCCServiceSystemPolicyDocumentsFolder|com.stablyai.orca|2
kTCCServiceSystemPolicyDesktopFolder|com.stablyai.orca|2
kTCCServiceSystemPolicyDownloadsFolder|com.stablyai.orca|2

Root cause

The terminal daemon outlives the app bundle it was exec'd from.

1. The daemon is designed to survive app restarts.

/Applications/Orca.app/Contents/Frameworks/Orca Helper.app/Contents/MacOS/Orca Helper
  .../out/main/daemon-entry.js
  --socket .../daemon/daemon-v36.sock
  --app-version 1.4.197
  --spawner-exec-path /Applications/Orca.app/Contents/MacOS/Orca
  --login-session-watch

2. ShipIt installs an update by renaming the running bundle out of /Applications.

2026-09-09 13:25:36  Moving bundle from file:///Applications/Orca.app/
                     to file:///var/folders/.../T/com.stablyai.orca.ShipIt.wvfvUsm4/Orca.app

3. The rename alone is harmless. tccd can still read and validate the bundle at its new
location, so the daemon kept working for another day. Verified from session transcripts:
terminal sessions read ~/Documents successfully at 09-09 19:22, 09-09 20:07 and 09-10 10:07,
all after the rename.

4. The next update removes the previously parked copy, and the daemon's executable
becomes unlinked:

$ lsof -p 3337 | awk '$4=="txt"'
.../T/com.stablyai.orca.ShipIt.wvfvUsm4/Orca.app/Contents/Frameworks/Orca Helper.app/Contents/MacOS/Orca Helper

$ ls -d /private/var/folders/.../T/com.stablyai.orca.ShipIt.*
...ShipIt.BlUZRM0f   ...ShipIt.eiX9vreI        # wvfvUsm4 is gone

$ codesign -vvv +3337
+3337: host has no guest with the requested attributes

5. tccd can no longer resolve the daemon's code identity, so the accessor falls back to
the shell binary itself:

tccd: Platform binary prompting is 'Deny' because: is Platform Binary

/bin/zsh is an Apple platform binary, so the request is denied without a prompt. Every
shell spawned by the daemon loses access, including ones spawned through orca-tcc-login.

Why the existing guards did not catch it

The main bundle already contains replaceSeveredMacTccDaemonBeforeNewPty() and
replaceStaleBundleDaemonOnce(), with reason codes severed_tcc_attribution,
stale_bundle and different_app_path. None of them fired. The daemon's own identity
record shows why:

// ~/Library/Application Support/orca/daemon/daemon-v36.pid
{
  "pid": 3337,
  "appVersion": "1.4.197",
  "entryPath": "/Applications/Orca.app/Contents/Resources/app.asar.unpacked/out/main/daemon-entry.js",
  "spawnerExecPath": "/Applications/Orca.app/Contents/MacOS/Orca"
}

(a) The severed check inspects the wrong path.

i.spawnerExecPath ? (existsSync(i.spawnerExecPath) ? `intact` : `severed`) : `unknown`

spawnerExecPath is /Applications/Orca.app/Contents/MacOS/Orca. An in-place update
removes and recreates that path, so existsSync is true and the check returns intact.
The path that actually got severed is the daemon's own executable, which is never
inspected.

(b) The entryPath check compares strings that never change. entryPath is identical
across versions, so the comparison returns match.

(c) The appVersion check is correct but suppressed. The comparison of 1.4.197 against
1.4.199 correctly returns true, but replacement is then abandoned:

let n = await this.getDaemonLiveSessionCount(),
    r = Math.max(this.activeSessionIds.size, n ?? 0);
if (n === null || r > 0) {
  console.warn(`[daemon] Packaged daemon is stale - preserving it because live…`);
  return;
}

Replacement only proceeds when the live session count is zero. On a machine that keeps
agents running this is effectively never true. In this instance the daemon owned 123
descendant processes: 43 login sessions, 45 shells and 20 live claude sessions, four
of which have their working directory inside ~/Documents and are therefore unusable.
The daemon is preserved in a permanently broken state.

(d) Nothing tells the user. The warning is console.warn only. It appears in neither
~/Library/Application Support/orca/logs/daemon.log nor main.trace.ndjson (grep for
severed, stale and attribution returns zero hits in both), and there is no UI
indication. From the user's side the terminal simply stops being able to read
~/Documents, with nothing pointing at the daemon.

Reproduction

  1. Launch Orca and open terminals; keep at least one session alive.
  2. Let an auto-update install. The running bundle is parked under
    $TMPDIR/com.stablyai.orca.ShipIt.<rand>/.
  3. Let a second auto-update install, which removes the first parked copy.
  4. In any Orca terminal, run ls ~/Documents.

Expected: a directory listing.
Actual: ls: .: Operation not permitted, plus shell-init: error retrieving current directory: getcwd: ... from any bash that starts in that directory.

This is not a one-off. The same failure was recorded on this machine on 2026-08-10
(update at 07:53, first permission errors at 19:03), so it recurs whenever a daemon
spans two updates.

Suggested fixes

1. Base the severed check on the daemon's own executable. Compare
proc_pidpath(daemonPid) against the current bundle and verify that path still exists, or
run a code-signature validity check against the running pid. That is the condition which
actually predicts the TCC failure; spawnerExecPath does not.

2. When automatic replacement is declined, surface it. A banner along the lines of
"The terminal daemon is running from a removed app bundle, so Documents, Desktop and
Downloads are blocked. Restart it?" with a one-click restart would turn a multi-hour
diagnosis into a click. Listing the affected sessions first would let the user save work.

3. Consider preserving sessions across the replacement. Passing the pty master
descriptors to the new daemon over SCM_RIGHTS before the old one exits would keep running
shells alive; they reparent to launchd while the ptys stay open. Node has no built-in API
for this, so it needs a native addon. Note this preserves the processes but not their TCC
attribution, which is fixed at exec time, so only newly spawned terminals would regain
access.

4. Smaller mitigation. Do not let ShipIt remove a parked bundle while a live process
still holds its executable open.

Workaround for affected users

Restart the daemon, accepting the loss of every terminal session:

# identify Orca processes running from a removed bundle
for p in $(pgrep -f Orca); do
  t=$(lsof -p "$p" 2>/dev/null | awk '$4=="txt"{print $NF; exit}')
  case "$t" in *ShipIt*) echo "stale pid=$p  $t";; esac
done

kill <daemon-pid>

Record the working directory and session id of every running agent first, since they have
to be resumed by hand afterwards. Keeping projects outside ~/Documents, ~/Desktop and
~/Downloads avoids the failure entirely.

Activity

  1. tim-brand commented on Sep 11, 2026

    @tim-brand

    Adding a Local Network variant of this, observed on Orca 1.4.200 / macOS 26.5.2 (Apple Silicon).

    Symptom: in an Orca terminal, non-Apple binaries (node, terraform) got EHOSTUNREACH to a LAN host while /usr/bin/curl to the same address returned 200. The kernel's tcp_connection_summary showed the node socket in SYN_SENT with 0 SYNs out. Same as #18900.

    Mechanism matches this issue: the terminal daemon (Orca Helper, ppid 1) had outlived an update and was executing from $TMPDIR/com.stablyai.orca.ShipIt.*/Orca.app/...; the new main app and four fresh helpers were running from /Applications. Sessions under the fresh helpers reached the LAN fine.

    One difference from the TCC case in this report: for Local Network a single update was enough. The parked ShipIt copy still existed and the daemon's executable was intact, so the "rename alone is harmless" observation does not hold for the NECP/Local Network check. /Library/Preferences/com.apple.networkextension.uuidcache.plist only listed the new bundle's Mach-O UUIDs, and the store recorded no Local Network decision for com.stablyai.orca or .helper, so the surviving daemon's identity no longer matched any grant.

    Suggested fix 1 (check the daemon's own executable / code identity) would have caught this too. Restarting the daemon resolved it.

  2. added
    bug
    os:macos
    on Sep 19, 2026
  3. added theissue type on Sep 19, 2026
  4. WeZZard commented on Sep 20, 2026

    @WeZZard

    I encountered this issue today when onboarding. I'm a newcomer to this app.

  5. smabe commented on Sep 26, 2026

    @smabe

    Confirming the Local Network variant on Orca 1.4.212 / macOS 27.0 (26A428), Apple Silicon.

    Symptom: in an Orca terminal, Homebrew Python got [Errno 65] No route to host to a LAN host, while /usr/bin/curl and ssh to the same address worked. This has recurred after several Orca updates.

    Mechanism is the same as described above. The terminal daemon (Orca Helper … daemon-entry.js --socket …/daemon/daemon-v36.sock, ppid 1) started two days before the current app launch, and every terminal shell descends from it. lsof -p <daemon pid> shows its txt images under the parked update copy:

    /private/var/folders/…/T/com.stablyai.orca.ShipIt.nWAGqdUX/Orca.app/Contents/Frameworks/Orca …
    /private/var/folders/…/T/com.stablyai.orca.ShipIt.nWAGqdUX/Orca.app/Contents/Frameworks/Squirrel.framework/…
    

    One difference from the previous comment: that ShipIt.nWAGqdUX directory no longer exists, so the daemon is running from deleted executables. Quitting and relaunching Orca did not help, because the new app reattaches to the surviving daemon. Workarounds that do work are an SSH local forward (ssh is exempt, and loopback is not restricted) or killing daemon-entry.js and relaunching.

    A check of the daemon's own executable or code identity (suggested fix 1) would catch this too.

  6. added a commit that references this issue on Oct 1, 2026
    979d39d
  7. Jinwoo-H commented on Oct 6, 2026

    @Jinwoo-H
    Contributor

    Help us confirm the cause (read-only, no sudo, ~1 minute)

    If your Orca terminals are refused access to Documents, Desktop or Downloads right now, before you restart or toggle anything, could you run these in a normal Terminal.app window (not Orca) and paste the output? Please redact your username if you like.

    1. Is a terminal process still running from the old app the updater moved aside?
      lsof -c Orca -a -d txt 2>/dev/null | grep -i shipit | head -5
      
    2. What macOS's permission service said, run right after a refused command:
      log show --last 15m --style compact --predicate 'process == "tccd"' | grep -i -E "orca|attribution|proc_pidpath" | tail -40
      
    3. Is more than one copy of Orca on this Mac?
      mdfind 'kMDItemCFBundleIdentifier == "com.stablyai.orca"'
      
    4. Roughly: when did Orca last update, did the Mac sleep since then, and your macOS and Orca versions?

    A fix that keeps terminal permissions across updates is in review in #25848. This data tells us whether it covers your case.

  8. RainofTerra commented on Oct 9, 2026

    @RainofTerra

    Data for the request above, captured while the failure was live. This is the
    Local Network variant: no Documents/Desktop denial was observed.

    Versions / timing: macOS 27.0.1 (26A434), Apple Silicon. Orca updated
    1.4.220 → 1.4.223 at 12:08:05 local. The Mac did not sleep between the update
    and the failure; the last sleep/wake was about an hour before the update.

    Notable: one update was enough. The old daemon was launched on Oct 5 at
    16:12 from a freshly installed 1.4.220 (the Mac rebooted after that install),
    and the ShipIt log shows no further install until 12:08 today. That single update
    moved its bundle to ShipIt.QviHWGrU. By 12:10 the directory was gone, with
    the old daemon still running from it.

    1. Old daemon running from the moved-aside bundle

    $ lsof -c Orca -a -d txt | grep -i shipit
    Orca H  2497 …  txt  REG …  $TMPDIR/com.stablyai.orca.ShipIt.QviHWGrU/Orca.app/Contents/Frameworks/Orca Helper.app/Contents/MacOS/Orca Helper
    Orca H  2497 …  txt  REG …  $TMPDIR/com.stablyai.orca.ShipIt.QviHWGrU/Orca.app/Contents/Frameworks/Squirrel.framework/Versions/A/Squirrel
    …
    $ ls -d $TMPDIR/com.stablyai.orca.ShipIt.QviHWGrU
    No such file or directory
    $ codesign -v +2497
    +2497: host has no guest with the requested attributes
    

    Before the update, the old daemon (2497, daemon-v39.sock, --app-version 1.4.220)
    was a child of the 1.4.220 app process (2384). After the update it was
    reparented to launchd and kept all 19 pre-update shells. The new app started a
    second daemon (47772, daemon-v41.sock, 1.4.223, in /Applications,
    codesign -v valid).

    The old daemon's loaded images have the same Mach-O UUIDs as the installed
    1.4.223 bundle (Orca Helper …E512E9BEF537, Electron Framework 43.7.5
    …EA18B13C1415). So this is not the Electron-changing-update case: the code is
    identical, and only the path and the responsible process are gone.

    2. tccd: nothing relevant in the suggested grep. That's expected, because
    Local Network is decided on the network-extension side, not by tccd. These are
    the lines that settle it, logged by UserEventAgent under
    com.apple.networkextension at each refused connect from a shell under the old
    daemon:

    E  UserEventAgent [com.apple.networkextension:] Failed to get the signing identifier for 2384: No such process
    Df UserEventAgent [com.apple.networkextension:] LocalNetwork: found bundle id com.stablyai.orca by UUID 4C4C4494-5555-3144-A16C-D9037FB31F13
    

    2384 is the 1.4.220 Orca main process that spawned the daemon, and it exited
    for the update. launchctl procinfo (as root) doesn't report 2384 for anything
    on the old side. Every process there reports itself as responsible, while the
    new side resolves to the live app:

    process daemon responsible pid responsible unique pid
    2497 (daemon) old 2497 (self) 2497
    5665 (login for a shell) old 5665 (self) 5665
    47772 (daemon) new 47691 (new app) 4386059
    55911 (login for a shell) new 47691 (new app) 4386059

    responsible path is /Applications/Orca.app/Contents/MacOS/Orca in all four.
    On the old side, a unique pid equal to the pid looks like a fallback rather than
    a real value. A shell under the new daemon makes the same connection with no
    UserEventAgent lines logged at all.

    3. Copies of Orca: only /Applications/Orca.app.

    4. Controlled comparison: the same command to the same LAN host, 16 s apart:

    # shell under new daemon 47772, 12:10:06
    $ /usr/bin/python3 -c 'import socket; socket.create_connection(("192.168.136.100",443),3); print("OK")'
    OK
    
    # shell under old daemon 2497, 12:10:22
    OSError: [Errno 65] No route to host
    

    /usr/bin/nc -z to the same address:port succeeded from the old daemon's shell.

    ShipIt log for the update (~/Library/Caches/com.stablyai.orca.ShipIt/ShipIt_stderr.log):

    12:08:05.788  Moving bundle from file:///Applications/Orca.app/ to file://$TMPDIR/com.stablyai.orca.ShipIt.QviHWGrU/Orca.app
    12:08:05.789  Moving bundle from file://$TMPDIR/com.stablyai.orca.ShipIt.mGj4ahcE/Orca.app to file:///Applications/Orca.app/
    12:08:06.106  Couldn't remove owned bundle at location file://$TMPDIR/com.stablyai.orca.ShipIt.mGj4ahcE/Orca.app … "The file doesn't exist."
    

    The log has no line for removing QviHWGrU, so I can't say what deleted it or
    exactly when.

  9. AmethystLiang commented on Oct 9, 2026

    @AmethystLiang
    Contributor

    @Jinwoo-H is looking at this

  10. tim-brand commented on Oct 10, 2026

    @tim-brand

    Let me add the result of the commands on my side as well:

    ❯ lsof -c Orca -a -d txt 2>/dev/null | grep -i shipit | head -5
    Orca\x20H  1415  tim  txt    REG   1,13    223248           287682406 /private/var/folders/mh/rx6n3cyx5rg2vct6shb129k40000gn/T/com.stablyai.orca.ShipIt.DM552VcE/Orca.app/Contents/Frameworks/Orca Helper.app/Contents/MacOS/Orca Helper
    Orca\x20H  1415  tim  txt    REG   1,13    163728           287682371 /private/var/folders/mh/rx6n3cyx5rg2vct6shb129k40000gn/T/com.stablyai.orca.ShipIt.DM552VcE/Orca.app/Contents/Frameworks/Squirrel.framework/Versions/A/Squirrel
    Orca\x20H  1415  tim  txt    REG   1,13    144864           287682381 /private/var/folders/mh/rx6n3cyx5rg2vct6shb129k40000gn/T/com.stablyai.orca.ShipIt.DM552VcE/Orca.app/Contents/Frameworks/Mantle.framework/Versions/A/Mantle
    Orca\x20H  1415  tim  txt    REG   1,13    371184           287682360 /private/var/folders/mh/rx6n3cyx5rg2vct6shb129k40000gn/T/com.stablyai.orca.ShipIt.DM552VcE/Orca.app/Contents/Frameworks/ReactiveObjC.framework/Versions/A/ReactiveObjC
    Orca\x20H  1415  tim  txt    REG   1,13    740048           287682139 /private/var/folders/mh/rx6n3cyx5rg2vct6shb129k40000gn/T/com.stablyai.orca.ShipIt.DM552VcE/Orca.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Resources/v8_context_snapshot.arm64.bin
    ❯ log show --last 15m --style compact --predicate 'process == "tccd"' | grep -i -E "orca|attribution|proc_pidpath" | tail -40
    2026-10-10 09:22:04.346 Df tccd[620:2a64a24] [com.apple.TCC:access] AUTHREQ_SUBJECT: msgID=50849.2, subject=com.stablyai.orca,
    ❯ mdfind 'kMDItemCFBundleIdentifier == "com.stablyai.orca"'
    /Applications/Orca.app

    Running version 1.4.222, not sure from what version I updated.

  11. tim-brand commented on Oct 10, 2026

    @tim-brand

    Tested another update run:

    • With v1.4.222 installed I rebooted my Mac;
    • Then tested a new claude code session with a redis-connection in my internal network, which works;
    • Then Updated to v1.4.224;
    • In that exact same session, without restarting it, I asked to connect the service again, and then it failed;
    • closing and resuming the claude code session didn't solve it;
    • closing the claude code session, closing the tab, creating the tab an resuming the claude code session did work to make it connect again.

    Output of the commands after the failed connection error:

    Last login: Sat Oct 10 09:50:27 on tty??
    ❯ lsof -c Orca -a -d txt 2>/dev/null | grep -i shipit | head -5
    Orca\x20H  2267  tim  txt    REG   1,16    223248           290247524 /private/var/folders/mh/rx6n3cyx5rg2vct6shb129k40000gn/T/com.stablyai.orca.ShipIt.qxl6slWt/Orca.app/Contents/Frameworks/Orca Helper.app/Contents/MacOS/Orca Helper
    Orca\x20H  2267  tim  txt    REG   1,16    163728           290247489 /private/var/folders/mh/rx6n3cyx5rg2vct6shb129k40000gn/T/com.stablyai.orca.ShipIt.qxl6slWt/Orca.app/Contents/Frameworks/Squirrel.framework/Versions/A/Squirrel
    Orca\x20H  2267  tim  txt    REG   1,16    144864           290247499 /private/var/folders/mh/rx6n3cyx5rg2vct6shb129k40000gn/T/com.stablyai.orca.ShipIt.qxl6slWt/Orca.app/Contents/Frameworks/Mantle.framework/Versions/A/Mantle
    Orca\x20H  2267  tim  txt    REG   1,16    371184           290247478 /private/var/folders/mh/rx6n3cyx5rg2vct6shb129k40000gn/T/com.stablyai.orca.ShipIt.qxl6slWt/Orca.app/Contents/Frameworks/ReactiveObjC.framework/Versions/A/ReactiveObjC
    Orca\x20H  2267  tim  txt    REG   1,16    106320           290242919 /private/var/folders/mh/rx6n3cyx5rg2vct6shb129k40000gn/T/com.stablyai.orca.ShipIt.qxl6slWt/Orca.app/Contents/Resources/node_modules/node-pty/build/Release/pty.node
    ❯ log show --last 15m --style compact --predicate 'process == "tccd"' | grep -i -E "orca|attribution|proc_pidpath" | tail -40
    2026-10-10 09:55:07.607 Df tccd[476:10da6] [com.apple.TCC:access] AUTHREQ_SUBJECT: msgID=29299.2, subject=com.stablyai.orca,
    2026-10-10 09:55:07.614 Df tccd[476:101cc] [com.apple.TCC:access] AUTHREQ_SUBJECT: msgID=29299.3, subject=com.stablyai.orca.computer-use,
    2026-10-10 09:55:07.614 Df tccd[476:101cc] [com.apple.TCC:access] -[TCCDAccessIdentity staticCode]: static code for: identifier com.stablyai.orca.computer-use, type: 0: 0x79a324e700 at /Applications/Orca.app/Contents/Resources/Orca Computer Use.app
    2026-10-10 09:55:17.496 Df tccd[476:10d9d] [com.apple.TCC:access] AUTHREQ_ATTRIBUTION: msgID=29519.1, attribution={responsible={TCCDProcess: identifier=com.stablyai.orca, pid=16650, auid=501, euid=501, responsible_path=/Applications/Orca.app/Contents/MacOS/Orca, binary_path=/Applications/Orca.app/Contents/MacOS/Orca}, requesting={TCCDProcess: identifier=orca-keyboard-layout, pid=29519, auid=501, euid=501, binary_path=/Applications/Orca.app/Contents/MacOS/orca-keyboard-layout}, },
    2026-10-10 09:55:17.522 Df tccd[476:10d9d] [com.apple.TCC:access] AUTHREQ_SUBJECT: msgID=29519.1, subject=com.stablyai.orca,
    2026-10-10 09:55:17.523 Df tccd[476:10d9d] [com.apple.TCC:access] -[TCCDAccessIdentity staticCode]: static code for: identifier com.stablyai.orca, type: 0: 0x79a324e700 at /Applications/Orca.app
    2026-10-10 09:55:17.542 Df tccd[476:10fae] [com.apple.TCC:access] AUTHREQ_ATTRIBUTION: msgID=29523.1, attribution={requesting={TCCDProcess: identifier=com.stablyai.orca.computer-use, pid=29523, auid=501, euid=501, binary_path=/Applications/Orca.app/Contents/Resources/Orca Computer Use.app/Contents/MacOS/orca-computer-use-macos}, },
    2026-10-10 09:55:17.542 E  tccd[476:10d9d] [com.apple.TCC:access] TCCDProcess: identifier=com.stablyai.orca.computer-use, pid=29523, auid=501, euid=501, binary_path=/Applications/Orca.app/Contents/Resources/Orca Computer Use.app/Contents/MacOS/orca-computer-use-macos attempted to call TCCAccessRequest for kTCCServiceAccessibility without the recommended com.apple.private.tcc.manager.check-by-audit-token entitlement
    2026-10-10 09:55:17.542 Df tccd[476:10d9d] [com.apple.TCC:access] AUTHREQ_ATTRIBUTION: msgID=29523.2, attribution={accessing={TCCDProcess: identifier=com.stablyai.orca.computer-use, pid=29523, auid=501, euid=501, binary_path=/Applications/Orca.app/Contents/Resources/Orca Computer Use.app/Contents/MacOS/orca-computer-use-macos}, requesting={TCCDProcess: identifier=com.stablyai.orca.computer-use, pid=29523, auid=501, euid=501, binary_path=/Applications/Orca.app/Contents/Resources/Orca Computer Use.app/Contents/MacOS/orca-computer-use-macos}, },
    2026-10-10 09:55:17.544 Df tccd[476:10d9d] [com.apple.TCC:access] AUTHREQ_SUBJECT: msgID=29523.2, subject=com.stablyai.orca.computer-use,
    2026-10-10 09:55:17.546 Df tccd[476:10fc6] [com.apple.TCC:access] AUTHREQ_ATTRIBUTION: msgID=475.189, attribution={responsible={TCCDProcess: identifier=com.stablyai.orca, pid=16650, auid=501, euid=501, responsible_path=/Applications/Orca.app/Contents/MacOS/Orca, binary_path=/Applications/Orca.app/Contents/MacOS/Orca}, accessing={TCCDProcess: identifier=orca-keyboard-layout, pid=29519, auid=501, euid=501, binary_path=/Applications/Orca.app/Contents/MacOS/orca-keyboard-layout}, requesting={TCCDProcess: identifier=com.apple.WindowServer, pid=475, auid=88, euid=88, binary_path=/System/Library/PrivateFrameworks/SkyLight.framework/Versions/A/Resources/WindowServer}, },
    2026-10-10 09:55:17.547 Df tccd[476:10fc6] [com.apple.TCC:access] requestor: TCCDProcess: identifier=com.apple.WindowServer, pid=475, auid=88, euid=88, binary_path=/System/Library/PrivateFrameworks/SkyLight.framework/Versions/A/Resources/WindowServer is checking access for accessor TCCDProcess: identifier=orca-keyboard-layout, pid=29519, auid=501, euid=501, binary_path=/Applications/Orca.app/Contents/MacOS/orca-keyboard-layout
    2026-10-10 09:55:17.548 Df tccd[476:10fc6] [com.apple.TCC:access] AUTHREQ_SUBJECT: msgID=475.189, subject=com.stablyai.orca,
    2026-10-10 09:55:17.549 Df tccd[476:10fc6] [com.apple.TCC:access] -[TCCDAccessIdentity staticCode]: static code for: identifier com.stablyai.orca, type: 0: 0x79a324ed00 at /Applications/Orca.app
    2026-10-10 09:55:17.551 Df tccd[476:10d9d] [com.apple.TCC:access] -[TCCDAccessIdentity staticCode]: static code for: identifier com.stablyai.orca.computer-use, type: 0: 0x79a324e100 at /Applications/Orca.app/Contents/Resources/Orca Computer Use.app
    2026-10-10 09:55:17.553 E  tccd[476:10fc7] [com.apple.TCC:access] TCCDProcess: identifier=com.stablyai.orca.computer-use, pid=29524, auid=501, euid=501, binary_path=/Applications/Orca.app/Contents/Resources/Orca Computer Use.app/Contents/MacOS/orca-computer-use-macos attempted to call TCCAccessRequest for kTCCServiceAccessibility without the recommended com.apple.private.tcc.manager.check-by-audit-token entitlement
    2026-10-10 09:55:17.553 Df tccd[476:10fca] [com.apple.TCC:access] AUTHREQ_ATTRIBUTION: msgID=29524.1, attribution={requesting={TCCDProcess: identifier=com.stablyai.orca.computer-use, pid=29524, auid=501, euid=501, binary_path=/Applications/Orca.app/Contents/Resources/Orca Computer Use.app/Contents/MacOS/orca-computer-use-macos}, },
    2026-10-10 09:55:17.553 Df tccd[476:10fc7] [com.apple.TCC:access] AUTHREQ_ATTRIBUTION: msgID=29524.2, attribution={accessing={TCCDProcess: identifier=com.stablyai.orca.computer-use, pid=29524, auid=501, euid=501, binary_path=/Applications/Orca.app/Contents/Resources/Orca Computer Use.app/Contents/MacOS/orca-computer-use-macos}, requesting={TCCDProcess: identifier=com.stablyai.orca.computer-use, pid=29524, auid=501, euid=501, binary_path=/Applications/Orca.app/Contents/Resources/Orca Computer Use.app/Contents/MacOS/orca-computer-use-macos}, },
    2026-10-10 09:55:17.556 Df tccd[476:10fc7] [com.apple.TCC:access] AUTHREQ_SUBJECT: msgID=29524.2, subject=com.stablyai.orca.computer-use,
    2026-10-10 09:55:17.557 Df tccd[476:10fc7] [com.apple.TCC:access] -[TCCDAccessIdentity staticCode]: static code for: identifier com.stablyai.orca.computer-use, type: 0: 0x79a324fc00 at /Applications/Orca.app/Contents/Resources/Orca Computer Use.app
    2026-10-10 09:55:17.567 E  tccd[476:10fcc] [com.apple.TCC:access] TCCDProcess: identifier=com.stablyai.orca.computer-use, pid=29523, auid=501, euid=501, binary_path=/Applications/Orca.app/Contents/Resources/Orca Computer Use.app/Contents/MacOS/orca-computer-use-macos attempted to call TCCAccessRequest for kTCCServiceAccessibility without the recommended com.apple.private.tcc.manager.check-by-audit-token entitlement
    2026-10-10 09:55:17.567 Df tccd[476:10fcc] [com.apple.TCC:access] AUTHREQ_ATTRIBUTION: msgID=29523.3, attribution={accessing={TCCDProcess: identifier=com.stablyai.orca.computer-use, pid=29523, auid=501, euid=501, binary_path=/Applications/Orca.app/Contents/Resources/Orca Computer Use.app/Contents/MacOS/orca-computer-use-macos}, requesting={TCCDProcess: identifier=com.stablyai.orca.computer-use, pid=29523, auid=501, euid=501, binary_path=/Applications/Orca.app/Contents/Resources/Orca Computer Use.app/Contents/MacOS/orca-computer-use-macos}, },
    2026-10-10 09:55:17.568 Df tccd[476:10fcc] [com.apple.TCC:access] AUTHREQ_SUBJECT: msgID=29523.3, subject=com.stablyai.orca.computer-use,
    2026-10-10 09:55:17.568 E  tccd[476:10d9d] [com.apple.TCC:access] TCCDProcess: identifier=com.stablyai.orca.computer-use, pid=29535, auid=501, euid=501, binary_path=/Applications/Orca.app/Contents/Resources/Orca Computer Use.app/Contents/MacOS/orca-computer-use-macos attempted to call TCCAccessRequest for kTCCServiceAccessibility without the recommended com.apple.private.tcc.manager.check-by-audit-token entitlement
    2026-10-10 09:55:17.568 Df tccd[476:10fcc] [com.apple.TCC:access] -[TCCDAccessIdentity staticCode]: static code for: identifier com.stablyai.orca.computer-use, type: 0: 0x79a324f000 at /Applications/Orca.app/Contents/Resources/Orca Computer Use.app
    2026-10-10 09:55:17.568 Df tccd[476:10fc6] [com.apple.TCC:access] AUTHREQ_ATTRIBUTION: msgID=29535.2, attribution={requesting={TCCDProcess: identifier=com.stablyai.orca.computer-use, pid=29535, auid=501, euid=501, binary_path=/Applications/Orca.app/Contents/Resources/Orca Computer Use.app/Contents/MacOS/orca-computer-use-macos}, },
    2026-10-10 09:55:17.568 Df tccd[476:10d9d] [com.apple.TCC:access] AUTHREQ_ATTRIBUTION: msgID=29535.1, attribution={accessing={TCCDProcess: identifier=com.stablyai.orca.computer-use, pid=29535, auid=501, euid=501, binary_path=/Applications/Orca.app/Contents/Resources/Orca Computer Use.app/Contents/MacOS/orca-computer-use-macos}, requesting={TCCDProcess: identifier=com.stablyai.orca.computer-use, pid=29535, auid=501, euid=501, binary_path=/Applications/Orca.app/Contents/Resources/Orca Computer Use.app/Contents/MacOS/orca-computer-use-macos}, },
    2026-10-10 09:55:17.570 Df tccd[476:10d9d] [com.apple.TCC:access] AUTHREQ_SUBJECT: msgID=29535.1, subject=com.stablyai.orca.computer-use,
    2026-10-10 09:55:17.571 Df tccd[476:10d9d] [com.apple.TCC:access] -[TCCDAccessIdentity staticCode]: static code for: identifier com.stablyai.orca.computer-use, type: 0: 0x79a324ea00 at /Applications/Orca.app/Contents/Resources/Orca Computer Use.app
    2026-10-10 09:55:17.577 E  tccd[476:10fcd] [com.apple.TCC:access] TCCDProcess: identifier=com.stablyai.orca.computer-use, pid=29524, auid=501, euid=501, binary_path=/Applications/Orca.app/Contents/Resources/Orca Computer Use.app/Contents/MacOS/orca-computer-use-macos attempted to call TCCAccessRequest for kTCCServiceAccessibility without the recommended com.apple.private.tcc.manager.check-by-audit-token entitlement
    2026-10-10 09:55:17.577 Df tccd[476:10fcd] [com.apple.TCC:access] AUTHREQ_ATTRIBUTION: msgID=29524.3, attribution={accessing={TCCDProcess: identifier=com.stablyai.orca.computer-use, pid=29524, auid=501, euid=501, binary_path=/Applications/Orca.app/Contents/Resources/Orca Computer Use.app/Contents/MacOS/orca-computer-use-macos}, requesting={TCCDProcess: identifier=com.stablyai.orca.computer-use, pid=29524, auid=501, euid=501, binary_path=/Applications/Orca.app/Contents/Resources/Orca Computer Use.app/Contents/MacOS/orca-computer-use-macos}, },
    2026-10-10 09:55:17.578 Df tccd[476:10fcd] [com.apple.TCC:access] AUTHREQ_SUBJECT: msgID=29524.3, subject=com.stablyai.orca.computer-use,
    2026-10-10 09:55:17.578 Df tccd[476:10fae] [com.apple.TCC:access] AUTHREQ_SUBJECT: msgID=29523.1, subject=com.stablyai.orca,
    2026-10-10 09:55:17.578 Df tccd[476:10fcd] [com.apple.TCC:access] -[TCCDAccessIdentity staticCode]: static code for: identifier com.stablyai.orca.computer-use, type: 0: 0x79a324d200 at /Applications/Orca.app/Contents/Resources/Orca Computer Use.app
    2026-10-10 09:55:17.583 Df tccd[476:10fca] [com.apple.TCC:access] AUTHREQ_SUBJECT: msgID=29524.1, subject=com.stablyai.orca,
    2026-10-10 09:55:17.597 E  tccd[476:10d9d] [com.apple.TCC:access] TCCDProcess: identifier=com.stablyai.orca.computer-use, pid=29535, auid=501, euid=501, binary_path=/Applications/Orca.app/Contents/Resources/Orca Computer Use.app/Contents/MacOS/orca-computer-use-macos attempted to call TCCAccessRequest for kTCCServiceAccessibility without the recommended com.apple.private.tcc.manager.check-by-audit-token entitlement
    2026-10-10 09:55:17.597 Df tccd[476:10d9d] [com.apple.TCC:access] AUTHREQ_ATTRIBUTION: msgID=29535.3, attribution={accessing={TCCDProcess: identifier=com.stablyai.orca.computer-use, pid=29535, auid=501, euid=501, binary_path=/Applications/Orca.app/Contents/Resources/Orca Computer Use.app/Contents/MacOS/orca-computer-use-macos}, requesting={TCCDProcess: identifier=com.stablyai.orca.computer-use, pid=29535, auid=501, euid=501, binary_path=/Applications/Orca.app/Contents/Resources/Orca Computer Use.app/Contents/MacOS/orca-computer-use-macos}, },
    2026-10-10 09:55:17.601 Df tccd[476:10d9d] [com.apple.TCC:access] AUTHREQ_SUBJECT: msgID=29535.3, subject=com.stablyai.orca.computer-use,
    2026-10-10 09:55:17.602 Df tccd[476:10d9d] [com.apple.TCC:access] -[TCCDAccessIdentity staticCode]: static code for: identifier com.stablyai.orca.computer-use, type: 0: 0x79a324fc00 at /Applications/Orca.app/Contents/Resources/Orca Computer Use.app
    2026-10-10 09:55:17.604 Df tccd[476:10fc6] [com.apple.TCC:access] AUTHREQ_SUBJECT: msgID=29535.2, subject=com.stablyai.orca,
    ❯ mdfind 'kMDItemCFBundleIdentifier == "com.stablyai.orca"'
    /Applications/Orca.app
  12. minutimes commented on Oct 18, 2026

    @minutimes

    Additional field evidence on official macOS 1.4.229: the signed host fix is installed, but existing terminals remain on an update-severed legacy host.

    Observed October 18–19 on macOS 26.3, Apple Silicon:

    • App 1.4.229; detached 1.4.224/v43 daemon started October 10 still owns 26 terminal roots. A new signed v48 host owns one migrated terminal.
    • The October 17 ShipIt log identifies the old bundle move. lsof maps the legacy executable to that parked bundle, which no longer exists. codesign --display --verbose=1 +LEGACY_PID cannot resolve its identity.
    • The recorded spawnerExecPath still points to /Applications/Orca.app/Contents/MacOS/Orca. The new app exists there, so v1.4.229 daemon-tcc-attribution.ts:70–71 returns intact. Legacy adapters explicitly never respawn.
    • Actual tool outputs show getcwd/Git access on an external APFS SSD failing with Operation not permitted. Internal worktree reads can succeed while Git metadata is external. Retrying later also succeeded without any permission change.
    • App Full Disk Access remained granted. Settings says terminal-host access needs manual confirmation; Manage Sessions labels every terminal running without its daemon generation.
    • A fresh signed-host terminal passed nine Python/Git checks plus a task-owned SSD write/read/delete. One idle conversation was resumed with the same provider ID, account, cwd and model, preserving repository state.

    Limits: a deleted executable alone does not prove TCC denial, as your signed investigation notes. We did not obtain an exact TCC-request correlation for each failed historical child. The generation split, missing image and false-intact check were verified separately.

    Please address the remaining legacy recovery gap alongside #21826 and #27021: show actual per-host generation/access health and provide preserve-and-resume/drain for old sessions. Updating the app alone leaves them on the old host; a blanket restart risks unrelated live work. Confirm zero required consumers before retiring the old generation.

    This report omits private project paths, account IDs, credentials, raw logs and screenshots.

    Recovery outcome (October 19, after the observations above):

    • Seven existing conversations were resumed with their original provider IDs and runtime settings; one never-started Codex screen was preserved. Eighteen empty legacy shells were closed. No new agent task was submitted.
    • All required consumers were drained before gracefully retiring the old daemon. All ten remaining terminals now belong to the signed native host. No macOS permission changes or computer restart were needed.
    • Eight existing loopback preview servers had returned HTTP 404 for index files that existed on disk under the legacy runtime. After moving the same servers to the native host, all eight return HTTP 200 with body hashes matching the unchanged files; this remains true after old-host retirement.
    • Final checks from a native-host terminal passed with both system and Homebrew Python, nine Git paths, and a task-owned SSD write/read/delete. All eight migrated workspace HEADs and Git status snapshots remained unchanged.

    This strengthens the runtime-specific evidence while retaining the TCC-correlation limits stated above.

  13. saik003 commented on Nov 9, 2026

    @saik003

    Another data point on 1.4.240, macOS 15.7.9 (Intel), without any update in between:

    • App 1.4.240 installed Oct 25; orca-terminal-host (same 1.4.240 bundle, signed 6CX3WHS9HZ) started Oct 26 and stayed detached.
    • Nov 9 12:56 Orca was relaunched; at 12:57 a second host started under the same terminal-host-<hash> dir, whose directory was recreated at that moment, while the Oct 26 host was still alive.
    • New terminals then failed to start Claude Code with can't read the current directory (EPERM) in a worktree under ~/orca/workspaces/... (not ~/Documents). Retiring the old host fixed it.

    So relaunching with the same version is enough to sever the long-lived host. This matters on machines nobody sits in front of: a relaunch silently breaks every terminal-spawned agent until someone kills the old host by hand. A health check on relaunch that drains/retires a host whose bundle was rewritten under it would cover this.

  14. yaohao159123 commented on Nov 29, 2026

    @yaohao159123

    Another data point on 1.4.281, macOS 27.2.1 (26B131), Apple Silicon, always-on machine: each update leaves a new terminal-host-<hash> and macOS asks for permissions again.

    • ~/Library/Application Support/orca/daemon-host/macos/ now has five terminal-host-<hash> dirs, created Nov 19, 20, 22, 23 and 29: one per update. Live agent processes run from the newest one: .../terminal-host-6b92ea…/app.noindex/Orca Agents.app (com.stablyai.orca, team 6CX3WHS9HZ).
    • Nov 29: the new host dir was created at 14:48 local time. The unified log shows a system consent dialog (UserNotificationCenter sendAction:) answered at 14:50, two minutes later. I couldn't tell from the log which service it was for.
    • Later the same day, agents in that host ran osascript → System Events (UI scripting another app). System Events logged TCCAccessRequestIndirect with target Orca Agents.app (19 times between 19:52 and 20:03), and two more consent dialogs were answered at 19:56 and 19:59.

    From the user's side: on a machine that updates Orca often, macOS asks again for permissions it already granted, whenever agents touch anything TCC-protected. A host path that stays the same across updates, or a host whose TCC identity carries over, would stop this. Happy to send more logs.

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

Metadata

Metadata

Assignees

Labels

bugos:macos

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions