Repository navigation
Description
Before submitting
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area
apps/desktop
Steps to reproduce
- Run T3 Code Nightly on macOS with Codex and the Computer Use integration configured. Permit Computer Use to interact with an app.
- Perform a Computer Use action and let the Codex turn finish. The local Codex
notifyconfiguration invokesSkyComputerUseClient turn-ended. - Observe that the agent cursor remains visible after completion.
- Inspect macOS unified logs for
tccdandSkyComputerUseClient. TCC attributes the notification subprocess to T3 Code and rejects Apple Events because T3's hardened-runtime signature lackscom.apple.security.automation.apple-events.
This was also reproduced by invoking the native cleanup client once directly from a shell tool under T3, so duplicate notification wiring is not required for the failure. The client returned exit code 0 after about 5.3 seconds while logging the transport error below.
Expected behavior
Computer Use cleanup can finish when Codex is hosted by T3, and the agent cursor disappears after the turn. If this integration requires Apple Events, T3's signed macOS app should declare com.apple.security.automation.apple-events and NSAppleEventsUsageDescription so macOS can offer the appropriate Automation permission.
Actual behavior
The cleanup client's Apple Events bootstrap is rejected and its XPC connection fails. T3 does not appear in System Settings → Privacy & Security → Automation, so the user cannot resolve this by enabling a permission there. T3's Screen & System Audio Recording and Device Control and Data Access permissions are already enabled.
Impact
Minor bug or occasional failure
Version or commit
T3 Code Nightly 0.1.1-nightly.20261018.3315
Environment
macOS 27.0.1 (26A434), Apple Silicon. Codex app-server with Computer Use helper 26.1013.1001501 and unified-computer-use plugin 26.1013.40934.
The local ChatGPT/Computer Use service is patched and re-signed for a local development team; the nested SkyComputerUseClient remains OpenAI-signed. This is a non-stock Computer Use installation, disclosed as a possible additional variable. The quoted TCC denial specifically identifies the official T3 Nightly app as the responsible process and its missing entitlement; codesign -d --entitlements :- independently confirms that entitlement is absent. No T3 app modifications were made.
Logs or stack traces
tccd: Prompting policy for hardened runtime; service: kTCCServiceAppleEvents requires entitlement com.apple.security.automation.apple-events but it is missing for responsible={identifier=com.t3tools.t3code, responsible_path=/Applications/T3 Code (Nightly).app/Contents/MacOS/T3 Code (Nightly)}, accessing={identifier=com.openai.sky.CUAService.cli}
tccd: AccessRequestIndirect: Policy disallows prompt for com.t3tools.t3code; access to kTCCServiceAppleEvents denied
SkyComputerUseClient: Error Domain=ComputerUseClient.ComputerUseIPCXPCTransport.Error Code=2
Workaround
Quitting the Computer Use helper clears the existing overlay, but restarting it does not repair subsequent native cleanup calls. A local custom notifier using the helper's authenticated Unix socket successfully delivered ComputerUseIPCCodexTurnEndedRequest with threadID and turnID; the helper then rejected further UI calls with "Computer Use is unavailable because the current turn ended," and the user confirmed the cursor disappeared. A fresh Codex completion also exercised this notifier successfully. This changes only local notification configuration, not either app bundle or macOS permissions. It is a workaround using the current helper protocol, not a replacement for the missing macOS declarations. A separate local duplicate-notification configuration was found, but a single direct native call reproduces the original failure independently.
Activity
cornishandy commentedon Oct 20, 2026
Independent reproduction and verification on a stock, unmodified, OpenAI-signed Computer Use installation, plus window-server evidence showing why the cursor even survives stopping screen sharing from the macOS menu bar.
Environment (100% stock helper signature verified)
0.1.1-nightly.20261019.3373(commit300a35670abc0f73662e17c9ce909bcc106be70f)27.2(26B118, Apple Silicon)0.163.0(nested bundled CLI:0.162.0-alpha.17.2)26.1007.71326(build20398)SkyComputerUseService/com.openai.sky.CUAService):26.1005.1001425(build1001425) — stock OpenAI signature verified (codesign --verifypasses; executable is byte-identical to the copy inside/Applications/ChatGPT.app)@oai/sky0.7.7,@oai/cua-repl0.1.0,unified-computer-useplugin26.1007.71326What we verified
Stock helper reproduces the exact
tccdApple Events entitlement denial &SkyComputerUseClienttransport failure:T3 Code (Nightly).appsignature andInfo.plistconfirms bothcom.apple.security.automation.apple-events(scripts/build-desktop-artifact.ts:1373) andNSAppleEventsUsageDescriptionare absent.tccddenial withresponsible: com.t3tools.t3codeaccessingcom.openai.sky.CUAService.cli, followed bySkyComputerUseClientfailing ~5 seconds after invocation at turn end:Why
cua_repl.turn_endedalone doesn't clear the macOS cursor:@oai/cua-replmapsStop,Interrupt, andSubagentStopin.codex-plugin/plugin.jsonto the hiddencua_repl.turn_endedtool and forwards it totrusted-worker.js, the macOS@oai/skyJS client only registers handlers for browser/app/screenshot/action/audio calls and does not register aturn_endedhandler or sendComputerUseIPCCodexTurnEndedRequest.notify = [<SkyComputerUseClient>, "turn-ended"]hook—which is the exact path blocked by T3's missingcom.apple.security.automation.apple-eventsentitlement.Window-server state (
CGWindowListCopyWindowInfo) & why stopping macOS screen sharing via the menu bar doesn't remove the arrow:CGWindowListCopyWindowInfoshowedSkyComputerUseService(PID4214, parented byChatGPT.app) still displaying the cursor overlay window on full-screen spaces:ScreenCaptureKitcapture stream (movingRecord & Replay Recording ControlstoOnscreen=0), butSkyComputerUseServicekeeps its separateSoftware Cursor(CGWindowLayer = 102) window visible because theturn-endednotification from T3 failed.SkyComputerUseServiceis parented byChatGPT.app(not T3'scodex app-server), even quitting T3 or killingcodex app-serverwill not necessarily remove theSoftware Cursorwindow onceturn-endedhas been dropped;SkyComputerUseServiceitself must receiveturn-endedor be terminated.Cross-referencing #11875 (original symptom report) and #21354 (subagent thread/MCP retention).
Verified via T3 Code orchestration with GPT-6.1-Sol (
xhigh), GPT-6-Astra (xhigh), and Gemini 4 Argon High.juliusmarminge commentedon Oct 22, 2026
Checked current main 8acbefefc5: the generated macOS signing plist still omits
com.apple.security.automation.apple-events, and the app Info.plist configuration omitsNSAppleEventsUsageDescription. No matching open packaging fix was found. This triage host is Linux; the macOS app,codesign, and TCC runtime are unavailable here, so the reported signed-app cleanup sequence could not be repeated on this host.adrazz-cyber commentedon Oct 22, 2026
Further reproduction: this also blocks Codex Computer History MCP, beyond the cursor-cleanup symptom. Verified on 22 October 2026 with a current OpenAI-signed client and recorder.
Environment
arm64).2DC432GLL2). Neither OpenAI app was re-signed during this investigation.Computer History reproduction
computer_history_statusin a T3 thread.isError: truewith the textbootstrapTimedOutafter approximately five seconds.This reproduced in separate T3 threads. A fresh
SkyComputerUseClient computer-history mcpsubprocess successfully completed MCPinitializeandtools/list, but its status call still failed after 5.015 seconds. This rules out stale helper processes as the sole explanation. The recorder continued writing new events during the check.T3's Device Control and Data Access permission was explicitly enabled in System Settings and verified ON before the fresh-client test. The failure persisted.
Matching macOS runtime evidence
At 08:17:36 BST,
tccdexplicitly rejected the fresh helper's bootstrap. The following excerpts are shortened to remove local paths and process metadata:Independent signature inspection of the installed T3 app confirms Hardened Runtime is enabled and
com.apple.security.automation.apple-eventsis absent. Its top-level Info.plist also lacksNSAppleEventsUsageDescription.Latest nightly artifact also inspected
I downloaded the official Apple Silicon desktop ZIP from v0.1.2-nightly.20261022.3512, commit
3b95e7831b11b17627dff16843bc087bfca397ec, and inspected the signed main executable and top-level Info.plist without installing or launching it.T3-Code-0.1.2-nightly.20261022.3512-arm64.zip.940788b022e5e7aed8be4034a92a8165b12000b2441893828422330311e2c5e1, matching the GitHub release API digest.ARK85ZXQ4Z),com.t3tools.t3code, with Hardened Runtime enabled.This is artifact inspection only; I have not run that nightly end to end. The published artifact therefore still omits these signing declarations.
Impact and requested fix
Computer History MCP status is unusable from the affected T3-hosted Codex sessions even while the recorder itself remains active. Please include this history-access failure in the scope of the macOS signing fix, and retest
computer_history_statusas well asturn-endedafter rebuilding.No service restart, observation-setting change, permission-database edit or local app re-signing was used as a workaround. No working runtime workaround is established here.
Apple's entitlement documentation describes the required capability.
qriosdev commentedon Oct 28, 2026
Still reproduces on the latest Nightly, with a stock (unmodified, OpenAI-signed) Computer Use install.
Environment
0.1.4-nightly.20261028.38240.165.0(T3 host)26.1023.51421com.openai.sky.CUAService)26.1022.1001641unified-computer-use@openai-bundled26.1023.51421What I verified
codesign -d --entitlements :- "/Applications/T3 Code (Nightly).app"has nocom.apple.security.automation.apple-events.notifycorrectly under T3. I wrapped thenotifycommand in a logging script. At the end of each turn,codex app-servercalled it once with a correctagent-turn-completepayload (thread-id,turn-id,client). So the failure happens after Codex runs the cleanup client, which fits the Apple Events denial described above. I couldn't capture thetccdlog line on this machine.CGWindowListCopyWindowInfoevery second. The cursor window appeared on the first click. It stayed for the full 90 s afterturn/completedand disappeared within a second of the app-server exiting. T3 keeps the app-server alive between turns, so the cursor lingers indefinitely.ChatGPT.app), cursors from T3-hosted turns survive even after the Codex process exits. They pile up until the helper is quit.turn_endedhook isn't a workaround.unified-computer-usedeclaresStop/Interrupthooks that callcua_repl.turn_ended, buthooks/liston the T3-hosted app-server returns no plugin hooks. I added the same hook to~/.codex/[config.toml](https://github.com/Users/bt/.codex/config.toml)and trusted it. It fired onStopand completed, but the cursor stayed.Workaround
Quitting "ChatGPT Computer Use" (
com.openai.sky.CUAService) clears all leftover cursors. The helper relaunches on the next Computer Use action.bheemreddy-samsara commentedon Oct 29, 2026
Additional reproduction on macOS 26.6.2, Apple Silicon, with T3 Code Nightly
0.1.4-nightly.20261029.3853and Codex Computer Use helper26.1022.1001641.Both
list_appsandget_app_statethrough the configured native Computer Use MCP returnbootstrapTimedOut. Accessibility is enabled for both T3 Code (Nightly) and Codex Computer Use.The macOS unified log attributes the blocked bootstrap to T3. This excerpt omits local paths and process IDs:
Independent inspection of the installed nightly confirms that both
com.apple.security.automation.apple-eventsin its signing entitlements andNSAppleEventsUsageDescriptionin its top-levelInfo.plistare absent.I also downloaded the official stable v0.1.5 release, asset
T3-Code-0.1.5-arm64.zip, and inspected the extractedT3 Code (Beta).appwithout installing or launching it:0.1.5; bundle identifier:com.t3tools.t3code.codesign --verify --deep --strictpasses.The runtime failure above is from the installed nightly. The stable result is artifact inspection only, not an end-to-end reproduction. No app signatures or macOS permissions were modified during these checks.
cmdl-dev commentedon Nov 1, 2026
Additional affected workflow on T3 Code Desktop 0.1.6: REA's Hopper launcher is blocked by the same missing Apple Events entitlement.
Environment: macOS 26.6.1 (25G76), Apple Silicon; signed T3 Code (Alpha) app 0.1.6, bundle ID com.t3tools.t3code; Hopper 6.6.1; REA 6.5.0 in the original reproduction. Only one Hopper installation remains active. The installed T3 app passes codesign --verify --strict.
Fresh reproduction on 1 November 2026, without REA or MCP involved:
Cannot launch Hopper!
Not authorized to send Apple events to Hopper Disassembler.
At the same time, tccd identifies accessing=hopper and responsible=com.t3tools.t3code, reports the missing com.apple.security.automation.apple-events entitlement, and logs:
Policy disallows prompt for com.t3tools.t3code; access to kTCCServiceAppleEvents denied
Independent inspection confirms that the installed T3 app lacks both that entitlement and NSAppleEventsUsageDescription. The v0.1.6 packaging source and current main 37d7615 omit both declarations too. PR #23254 remains open and adds both.
Please include this Hopper launcher case in the signed-build validation for #23254. A separate osascript query of Hopper's version succeeds here, so that query alone is not an adequate regression check. No fixed signed build or Terminal-hosted workaround was tested. No installed app, permission setting, or configuration was modified.
Investigated by GPT-6.1-Sol through Codex in T3 Code.
cmcgrabby-hue commentedon Nov 3, 2026
Additional reproduction on 2026-11-03, Mac Studio (Apple Silicon), fresh Codex thread in T3 Code:
Environment
com.t3tools.t3code, TeamIdentifierARK85ZXQ4Z, hardened runtime flags0x10000(runtime))codex-cli 0.166.0-alpha.5.126.1022.1001641(stock OpenAI install at~/.codex/computer-use/Codex Computer Use.app)Steps / observed
list_apps,get_app_state,click,type_text,press_key,scroll,drag,set_value,select_text,perform_secondary_action).list_apps→ verbatim error:bootstrapTimedOut. No app state could be read.SkyComputerUseServiceis running, and T3's codex app-server spawns theSkyComputerUseClient mcpsubprocess for the thread. The failure is at bootstrap/handshake, before any app interaction.Entitlement verification (same as the maintainer's check on
main)codesign -d --entitlements -on the installed app:com.apple.security.automation.apple-eventsis not present (present keys includeallow-jit,allow-unsigned-executable-memory,disable-library-validation,device.audio-input,device.camera, associated-domains, keychain-access-groups — no automation entitlement).Info.plist:NSAppleEventsUsageDescriptiondoes not exist.So on the current stable desktop build this isn't limited to the post-turn cursor cleanup — the first Computer Use call in a T3-hosted Codex thread times out at bootstrap.
YashDayani commentedon Nov 4, 2026
Another affected case, unrelated to Computer Use: any tool run from a T3 Code session that sends Apple Events to a third-party app is silently blocked, and T3 Code never appears under System Settings → Privacy & Security → Automation.
Environment
NSAppleScriptEnabled), driven by a reverse-engineering MCP server started from a T3 Code sessionWhat I saw
codesign -d --entitlements -on the app shows nocom.apple.security.automation.apple-events, andInfo.plisthas noNSAppleEventsUsageDescription. This matches the findings above.With the hardened runtime and no Apple Events entitlement, the system refuses the events without showing a consent prompt. No prompt means no Automation entry, so users can't fix it from Settings.
Workaround that confirmed the cause
I made a local copy of the app, added
com.apple.security.automation.apple-eventsandNSAppleEventsUsageDescription, and re-signed it ad hoc. With that build, macOS showed the Automation consent prompt on first use. After I allowed it, T3 Code appeared in the Automation list and the tool could control Hopper. Nothing else changed, so the missing entitlement is the cause.Side effect of the ad-hoc re-sign: it drops the team-restricted entitlements (application identifier, associated domains, keychain group), so this is a local workaround only.
This looks like the same root cause that #23254 addresses. It affects any scriptable target app, not only the Computer Use helper, so it may be worth mentioning in that PR's description.
loia5tqd001 commentedon Nov 10, 2026
Confirmed on the stock, official T3 Code
0.1.8macOS build atbf469bb.The signed app still lacks
com.apple.security.automation.apple-events, and itsInfo.plistlacksNSAppleEventsUsageDescription. macOS logs:A fresh diagnostic identity without the entitlement receives the same denial. An authorized test launched through the bundled signed Codex app-server, using the same native
turn-endedpath as T3, removed the visibleSoftware Cursorwindow. The helper returns exit code0even when transport fails, so I checked service contact, native errors, and the actual window state.PR #2796 proposed the missing declarations, but it was closed as fixed by #2745. #2745 changed Tailscale and filesystem TCC behavior. It did not add these macOS declarations. The current stable
0.1.8app still reproduces the original entitlement denial and transport error.I prepared a focused fix on current
mainwith the entitlement, usage text, and focused assertions. The focused packaging checks pass and the change adds no runtime workflow.giuem commentedon Nov 12, 2026
Another symptom of the same root cause: in a Codex session driven remotely through T3 Code (Beta), Computer Use fails outright with
Computer Use server error -10005: cgWindowNotFoundwhen it tries to read an app, rather than only leaving the cursor behind.The unified log shows the same denial. T3 is the responsible process, and the stock Computer Use client's Apple Events request is rejected without a prompt. The denial repeats on each retry:
A locally built app launched from the same T3 session hits the identical Apple Events denial, because T3 is attributed as its responsible process too:
thomaswillner commentedon Nov 14, 2026
Confirmed on the stable T3 Code (Beta) 0.1.9 build (signed 2026-11-11, team
ARK85ZXQ4Z, hardened runtime), macOS 26.6.2 (25G83), Apple Silicon:codesign -d --entitlements - "/Applications/T3 Code (Beta).app"has nocom.apple.security.automation.apple-events.Info.plisthas noNSAppleEventsUsageDescription.Open PR #33869 would fix both.
One finding that may save triagers time: an Automation grant that already exists for
com.t3tools.t3codestill works on 0.1.9. After the fix below,osascriptrun from a T3-hosted agent drove Google Chrome and System Events, both previously allowed. The missing entitlement stops T3 from asking about new targets. It doesn't revoke approved ones.Before that I had a lookalike:
-1743for those already-approved targets too. It wasn't this bug. The per-usertccdhad wedged after a SQLite fault (unable to close due to unfinalized statements or unfinished backups). From then on it loggedDatabase failed to open during _doEvalandQuery for current DB state returns error: 1for every request and denied everything.launchctl kickstart -k gui/$(id -u)/com.apple.tccdcleared it. If a grant that existed before is being denied, check the tccd log for that line before blaming the entitlement:AdityaAmitK commentedon Nov 16, 2026
Still reproduces on the latest Nightly
0.1.10-nightly.20261116.4774(desktop app, macOS 27.2 (Darwin 27.2.0), Apple Silicon), Codex Computer Use helper26.1013.1001501(stock install).codesign -d --entitlements -onT3 Code (Nightly).app: hardened runtime (flags=0x10000(runtime)), nocom.apple.security.automation.apple-events;Info.plisthas noNSAppleEventsUsageDescription.list_appsand app-open calls returnbootstrapTimedOuton every attempt.Fix still pending in #33869.
AmirTheGhodrati commentedon Nov 17, 2026
I encountered the same visible symptom on T3 Code Desktop 0.1.10 (stable), macOS 27.2, using Codex CLI 0.169.0.
Steps observed:
cua_replJavaScript kernel was attempted; I have not verified whether that removed the overlay.Expected: the agent pointer disappears when Computer Use finishes. Actual: it remained visible after at least two turns. I have not collected TCC logs, so I cannot confirm that the entitlement issue described above is the cause in this installation. A screenshot exists but contains private thread names and has not been uploaded.
fix(desktop): allow signed agents to send Apple Events