macOS Locked Computer Use exits before password field appears after display-sleep lock
Summary
Locked Computer Use intermittently cannot unlock macOS after a display-sleep lock, although automatic unlocking works when the session was locked directly.
The lock-screen guardian checks the accessibility tree and exits with didUnlock=false immediately before loginwindow exposes the password field.
Environment
- ChatGPT desktop app: 26.730.61639 (6234)
- Computer Use service: 26.803.1000621 (1000621)
- macOS: 27.0 (26A5388g)
- Architecture: arm64
- Hardware: Mac mini
- Computer Use service remained running throughout the incident
Steps to reproduce
- Enable Locked Computer Use.
- Leave macOS awake while allowing the display to sleep naturally.
- Let loginwindow create a display-dim lock.
- Start a Computer Use request remotely.
- Computer Use wakes the logical display but reports that automatic unlock failed and asks for a manual unlock.
Expected behavior
After waking the display, Locked Computer Use should wait for loginwindow to finish presenting the password field and then perform its normal authorized unlock flow.
Actual behavior
The guardian finishes before the password field becomes available. It does not submit Return and the authorization plugin is never invoked.
A fresh observed sequence was:
- 14:36:11.313 — display wake begins
- 14:36:11.320 — guardian begins accessibility/UI collection
- 14:36:11.349 — guardian exits normally with
didUnlock=false - 14:36:11.369 — loginwindow exposes the usable password field
The password field appeared approximately 20 ms after the guardian exited.
The same behavior occurred on multiple attempts. There was no credential rejection: no key submission occurred and the SecurityAgent authorization mechanism was not invoked.
Lock-state difference
Successful automatic unlocks woke from:
kLWLockFromDirectLock (8)
Failures woke from:
kLWLockFromDisplayDim (5)
This explains why Locked Computer Use worked earlier while the physical monitor was off, but later stopped working after natural display sleep created a different loginwindow transition.
Additional diagnostic evidence
The bundled SystemLockScreenController is constructed with:
- Overall timeout: 10 seconds
- Poll interval: 250 ms
- Submit delay: 500 ms
- Verification delay: 2 seconds
The lock monitor has 1.5-second settle and 3-second fallback delays.
However, the failing path exits after roughly 29 ms, so it appears to return before those retry/settle timings are applied.
Suggested fix
When macOS is locked but UserPasswordTextField is temporarily absent, treat that state as transitional rather than as a completed unlock failure:
- Wait up to 1–2 seconds for the password field.
- Poll every 50–100 ms or observe the appropriate accessibility notification.
- Continue with the authorized unlock after the field appears.
- Do not count an attempt until a key submission/authentication attempt actually occurs.
The observed case would have succeeded with even one short retry because the field appeared only 20 ms after the guardian exited.
I can confirm the same issue on a newer Computer Use build and on macOS 26.6.1 stable.
Environment:
- Mac mini M4 (Mac16,10), arm64
- macOS 26.6.1 (25G76)
- Codex App 26.803.61601 (6396)
- Computer Use 26.804.1000633 (1000633)
The same lock-state distinction is reproducible:
- Manual/direct lock: Locked Computer Use works.
- Idle display lock (
kLWLockFromDisplayDim (5)): automatic unlock fails and requires a manual unlock.
In my reproduction, Computer Use was already active and working when the idle lock occurred. The relevant timing was:
- 14:34:32.875 — loginwindow began
kLWLockFromDisplayDim (5). - 14:34:33.046 — lock-screen UI loading completed.
- 14:34:33.067 — CUALockScreenGuardian began the Locked Use attempt.
- 14:34:33.068 — loginwindow began initializing the authentication services, approximately 1 ms after the Guardian attempt began.
- About 20 seconds later, the unlock attempt failed.
- No corresponding
authdauthorization-mechanism or OpenAI authorization-plugin invocation appeared. - Subsequent Computer Use requests failed immediately until I manually unlocked the Mac.
This appears to be the same transitional loginwindow race described here, although the newer build waits about 20 seconds before reporting failure instead of exiting after approximately 29 ms.
Affected session ID / Feedback ID: 019fef6d-8785-7c60-bcdf-6981ea75fbe2
I’m running into this as well. Never had this issue with Claude and it’s extremely frustrating and usage blocking.
Additional reproduction on Codex desktop 26.901.51231 (8109), native helper 26.831.1000926, macOS 26.6.2, Apple silicon, with external displays:
Manual lock with displays awake succeeded. A display-sleep lock followed by a native read roughly 8 seconds later also succeeded. A second display-sleep lock left for 45 seconds failed, including a delayed retry. System sleep was disabled on AC; one desktop-managed helper owned both UI and authorization sockets throughout.
The important new detail is that background unlock work had already failed before the foreground request:
- 11:36:59: coordinator activity with attempt-count log 1, immediately after display lock.
- 11:37:09: failed result, then attempt-count log 2.
- 11:37:39: failure emitted by the coordinator.
- 11:37:49: foreground request wakes the display, then returns the same failure immediately.
- 11:38:02: retry fails immediately again.
The shipped native coordinator contains proactiveUnlockTask, maxAttemptsPerLockedEpisode, attemptsInCurrentLockedEpisode, and suppressedUntilManualUnlock; its disassembly contains the count comparison/failure branch. This suggests proactive attempts may exhaust the episode while the display is asleep, preventing a later foreground request from recovering. It is not yet proof of the exact suppression-state transition.
Please investigate display wake/UI readiness before proactive attempts consume the allowance, and bounded retry after a genuine display-ready transition when the failure was transient. Physical-input suppression and authorization protections should remain intact.
This is distinct from duplicate-helper/socket ownership failure. A temporary no-lock workaround is keeping work operational but is undesirable. Local timestamped logs are available for a private support exchange after redaction.
Further detail from the first failed background attempt: loginwindow reports its lock window loaded and makePasswordFieldFirstResponder called at 11:36:59.367, but this does not establish Accessibility visibility to Codex. The helper records UIElementError Code 0 at 11:36:59.133 and returns false about 10 seconds later. No authorization-plugin event is captured in that minute. A diagnostic reason distinguishing Accessibility discovery, interaction, broker authorization, and verification would help localize the fault.
Additional controlled reproduction on September 29, 2026: manual lock succeeds, but a natural screen-saver idle lock fails after refreshing the authorization plug-in. This is a related trigger worth distinguishing from the original display-dim case: the failing lock reason here is kLWLockFromScreenSaverIdleLaunch (3).
Environment
- macOS 26.6.2 (25G83)
- Desktop app 26.928.20755
- Computer Use helper and installed authorization plug-in: build 1001281
- Installed and bundled plug-in executable hashes match; installed code-signature verification passes.
- Locked use enabled through the supported app setup. Native accessibility and screen capture work while unlocked.
Paired test results (all times America/Los_Angeles)
- Manual lock — passed: Control–Command–Q produced
kLWLockFromDirectLock (8)at 20:43:35. At 20:44:00, macOS successfully authorizedsystem.login.screensaverthroughCodexComputerUseAuthorizationPlugin:allow. The protection guardian was running. Computer Use opened and closed a temporary Finder window and accessed Messages. I left the Mac untouched, used my phone, and confirmed the physical screen remained protected. - Natural idle lock — failed: Temporarily reduced the screen-saver interval from 20 minutes to 1 minute, retaining the immediate password requirement. At 20:47:30, macOS logged
kLWLockFromScreenSaverIdleLaunch (3). A subsequent native Finder request failed after approximately 16 seconds:The Mac is locked and automatic unlock could not unlock it. Ask the user to unlock the Mac manually before continuing.
- Manually unlocking restored native Computer Use access. The original screen-saver interval was restored after testing.
Selected sanitized log evidence
20:43:35.470 loginwindow: startScreenLock: entered kLWLockFromDirectLock (8)
20:43:59.795 SecurityAgent: Considering helper for unprivileged plugin CodexComputerUseAuthorizationPlugin:allow
20:44:00.104 authd: running mechanism CodexComputerUseAuthorizationPlugin:allow (1 of 1)
20:44:00.105 authd: Succeeded authorizing right 'system.login.screensaver'
20:47:30.434 loginwindow: startScreenLock: entered kLWLockFromScreenSaverIdleLaunch (3)
The collected idle-failure window did not show an equivalent successful authorization-mechanism invocation. This reproduces the manual-versus-idle difference with matching current components, but does not establish the precise internal cause or prove the same timing race described above.
For now I have disabled automatic screen-saver activation and am manually locking the Mac as a workaround. Is this screen-saver idle variant covered by the same investigation?
Additional Mac mini reproduction: saver-only state fails; direct-lock results are inconsistent
Adding related observations from Codex Desktop on a Mac mini. One direct-lock failure showed the tool returning before macOS logged showing its password field, which seems relevant to this issue. A separate screen-saver-only failure behaved differently. These observations do not establish that both failures have this issue's root cause.
Tested environment
- Apple Silicon Mac mini; macOS 27.0, build 26A428.
- Codex Desktop 26.930.51102, build 13100.
- Locked Use enabled. Installed and bundled authorization helper build 1001365 matched by hash and passed signature checks after a supported refresh.
- Automatic password locking reported off. Screen saver normally starts after 20 minutes. Temporary shorter diagnostic timers were restored to 20 minutes.
Failure and recovery
Native Finder Computer Use requests repeatedly failed while the saver was active, including fresh requests from an iPhone connected to the same chat, after saver startup and without touching the Mini's keyboard or mouse:
The Mac is locked and automatic unlock could not unlock it. Ask the user to unlock the Mac manually before continuing.
In that state, read-only OS checks showed IOConsoleLocked=No and CGSSessionScreenIsLocked=Yes. Normal saver dismissal cleared the session marker and restored native access. This is an observed difference between OS indicators; we have not proved which indicator Codex uses or that macOS is misreporting its state.
Natural idle saver startup was observed setting the marker. The tightly bounded saver test below instead explicitly launched the system ScreenSaverEngine app; its log identifies kLWLockFromScreenSaverOtherLaunch (4). Do not treat that as a verified display-dim reproduction.
Separate bounded observations
| Starting state | Native request result | Relevant evidence |
|---|---|---|
| Confirmed active saver; OS console-lock flag No, session-lock marker Yes | Finder failed in about 0.09 seconds | No new unlock-interface start, password-field-show event, marker clear, or Codex authorization mechanism entry appeared in the sampled window extending more than a minute after the request. |
| Manual direct lock held for approximately 29 minutes | Finder returned the generic failure about 3.30 seconds after submission | macOS first logged showing the password field about 5.55 seconds after submission: 2.248 seconds after the tool had already returned its failure. No matching Codex authorization mechanism entry appeared in the bounded request window. |
| Separate manual direct-lock control | Finder accessibility tree eventually returned successfully | Codex authorization explicitly succeeded and the OS recorded unlock about 11.88 seconds after submission. The Finder result took about 112.25 seconds in total; the remaining delay is unexplained. |
These are different requests. The password-field event is an OS log observation, not proof of the exact instant the field became visibly usable. Missing log entries are not proof that the helper was never invoked. One successful direct-lock request is not a reliable pre-lock workaround; another direct-lock request failed.
The proposal to start the saver and then use keyboard input to convert it into a direct-lock state did not establish a useful conversion: the operator reports that the input simply dismisses the saver, and a sampled OS window showed saver stop and marker clear without a direct-lock event. We are not continuing that repeated manual sequence.
Refreshing the authorization helper through vendor Settings and restarting Codex did not resolve the active-saver failure. No automatic workaround retaining the normal saver has been verified.
Request
Could maintainers confirm whether Locked Use supports this saver-only state with automatic password locking disabled, and whether the immediate saver failure belongs to this issue or needs a separate report? We need a supported fix or workaround that retains the automatic screen saver and existing password-lock configuration.
No forced saver termination, session-marker modifications, private unlock calls, or security-setting changes were used as workarounds. Raw logs and private feedback/session identifiers are omitted from this public comment.
Computer Use fails after screensaver lock despite current authorization plug-in
Observed 12 October 2026; all times Africa/Johannesburg (UTC+02:00). Environment: macOS 27.0 (26A428); desktop app 26.1007.21159 (20052); Computer Use 26.1005.1001425; authorization plug-in 1001425.
Problem Unattended Computer Use fails after the normal five-minute screensaver lock. The user reports months of recurrence. User observed the "this Mac is being used by ChatGPT" protection screen, then the screensaver taking over without local interaction. Physical-input classification may be a separate problem; the clean reproduction below returned the generic unlock failure.
Steps and observed result
- Locked Use enabled; macOS lock/password protections were not disabled by this troubleshooting task.
- User manually unlocked at 16:39:19 to clear a prior physical-input pause.
- Calculator screenshot through supported Computer Use succeeded at 16:39:49.
- Leave Mac untouched; send no Computer Use UI input during the wait.
- At 16:44:19 macOS logged actualUserIdle 300.3 seconds, screensaverDidFade calling lockScreen, and kLWLockFromScreenSaverIdleLaunch.
- At 16:45:28 request Calculator accessibility state and screenshot.
- Request fails: "The Mac is locked and automatic unlock could not unlock it. Ask the user to unlock the Mac manually before continuing."
Expected An active approved Computer Use turn resumes through supported guarded unlock while preserving local lock protections.
Troubleshooting already completed Installed authorization plug-in had been 1001093 while both current shipped copies were 1001425. Vendor installer status had said "OK: installed". Used supported installer install command to refresh it to 1001425. Installed and shipped bundles now match; strict signature verification passed. Two direct-lock guarded unlocks passed afterward, with authd invoking CodexComputerUseAuthorizationPlugin:allow and loginwindow logging success. The clean unattended screensaver reproduction above still failed afterward. No main-app reinstall/restart, credential access, forced unlock, security weakening, or direct authorization-database mutation was performed.
Narrow diagnostic anchors for vendor investigation 16:45:28.109 SkyComputerUseService error hash 34f610ab61c02cb35735. 16:45:28.142 guardian hash 7a5fb69f13a6c0e11675 with false,true,0. Both match earlier failed episode labels. Their full meanings remain uncertain. No plug-in invocation found in the narrow authd/SecurityAgent failure query. Remote authorization rule correctly names CodexComputerUseAuthorizationPlugin:allow. Guardian and service remained running; no matching user crash report found.
Please investigate the protected-session/screensaver lifecycle and decode these internal labels. Current package alignment did not resolve the failure. Manual unlock is not an acceptable recurring unattended-use workaround.
Additional untouched test and decoded event At 16:57:39 the existing ScreenSaverEngine was launched through supported Computer Use, preserving all existing lock settings. At 16:57:42 authd ran the Codex plug-in; at 16:57:45 loginwindow reported successful unlock. The guardian connection then failed. A subsequent app-capture request reported automatic unlock paused because physical input was detected. User explicitly confirms no keyboard, trackpad, or mouse input during 16:57:39-16:57:46. Guardian log at 16:57:44.449: 71a2a09e5bce6d76af5b with values 5,0. Read-only executable inspection identifies these fields as CGEventType and CGEventField.eventSourceUnixProcessID (field 41). Apple's SDK defines event type 5 as mouseMoved. Thus the physical-input monitor logged a mouse-movement event with source PID 0 in this test. PID 0 does not identify a named app or prove hardware input. Investigate possible false takeover classification and interaction with screensaver or service-generated events. Mapped executables match on-disk inodes; the authorization socket is present and held by the current service. No binary or protection has been modified.
Fresh service and fresh guardian also fail At 17:43, with normal user unlock confirmed, restarted only the Computer Use service and reconnected through the app's normal startup route. Baseline Calculator access passed. Main desktop app remained running. User agreed to a five-minute untouched test; unrelated builds stayed running. At 17:50:35 macOS recorded the normal 300-second screensaver lock. A new guardian started then. At 17:51:08 Calculator access again returned the original generic automatic-unlock failure, without physical-input pause. Error labels 34f610ab61c02cb35735 and 7a5fb69f13a6c0e11675 false,true,0 recurred; controller error label 1fde71b2d08982b1b528 appeared with value 37. No plug-in invocation found in the narrow failure-window query. Thus stale service/guardian instances alone do not explain the failure. Concurrent project tasks were preserved and have not been excluded as a contributing factor. No additional supported local repair has been validated.
Current settings, distinct from the earlier reproduction The user subsequently selected a 20-minute screensaver interval and an immediate password requirement. Native settings read-back verified both. No unattended lock test has been performed after that final settings change, so it is not a verified repair of the failure above.
Contains sanitized observations only and no credentials, screenshots, session transcripts, prompts, or reasoning.
macOS: Computer Use fails after natural screen saver activation despite an updated Locked use plug-in
Additional sanitized reproduction for this issue. This is a natural screen-saver case with a matching build 1001425 plug-in and helper. The captured error is cgWindowNotFound, so a shared root cause with the original report is not assumed.
Observed on 2026-10-13. Log times below are relative to screen saver activation; personal identifiers and local paths have been removed.
Summary and impact
Computer Use cannot read Finder after macOS naturally starts its screen saver, even though Locked use is enabled and the installed authorization plug-in matches the current Computer Use helper. In the captured failure, the console-lock flag was false while the session-lock marker was true. A supported Finder request failed with:
Computer Use server error -10005: cgWindowNotFound
This prevents unattended tasks from completing desktop UI steps. Shell and file operations can continue; this is not evidence that all Codex processing stops.
The user reports that earlier Codex versions supported their unattended workflow. The exact last working build and first failing build have not been isolated. This report documents one captured natural screen saver failure after the plug-in update, followed by one successful idle test with automatic screen saver activation disabled.
Environment
| Component | Version / state |
|---|---|
| macOS | 27.0.1, build 26A434 |
| Architecture | arm64 |
| Codex desktop app | 26.1007.30912, build 20156 |
| Computer Use helper | 26.1005.1001425, build 1001425 |
| Installed authorization plug-in | 26.1005.1001425, build 1001425 |
| Bundled authorization plug-in | 26.1005.1001425, build 1001425 |
| Previous installed plug-in, before the update | 26.929.1001365, build 1001365 |
| Locked use | Enabled; vendor installer status returns OK: installed |
Configuration during the failing test:
- Wallpaper → Screen Saver → Start Screen Saver: After 20 minutes.
- Require password after screen saver begins or display is turned off: Never.
- Turn display off when inactive: Never, on both battery and power adapter.
pmsetreportedsleep = 0anddisplaysleep = 0on both power sources.
The password and power settings above were pre-existing settings, not changes introduced for this reproduction. Other tasks were left running.
Steps to reproduce the captured case
-
With the configuration above, enable Locked use through the supported setup and refresh the authorization plug-in using the signed vendor installer.
-
Verify that native Computer Use can read Finder while the desktop is accessible. This baseline succeeded after the update.
-
Leave the Mac unattended until the screen saver starts naturally. The diagnostic watcher only read OS state; it sent no keyboard or pointer input and did not force a lock.
-
Confirm the screen saver transition in
loginwindowlogs. In this test, its idle timer reached 1,200 seconds and reportedkLWLockFromScreenSaverIdleLaunch (3). -
While the session-lock marker is still true, request Finder through the supported Computer Use interface:
await cua.getApp('com.apple.finder') -
Observe
cgWindowNotFound, then check OS lock state again. The session-lock marker remained true.
The helper activity associated with the request begins approximately 158 seconds after screen saver activation. The tool reported a duration of 1.0375 seconds. The exact request submission timestamp was not independently recorded; its timing is bounded by the state snapshots and native service logs.
Expected behavior
An approved, active Computer Use task should regain access to desktop applications through the supported Locked use flow, preserving its protection and authorization checks. If this password-free screen saver state is unsupported, the app should explain that limitation clearly rather than leaving the task with an unexplained window-not-found error.
Observed state and log evidence
Both the pre-request and post-request snapshots showed:
IOConsoleLocked = false
CGSSessionScreenIsLocked = true
Selected log excerpts and observations are normalized below. T+0 is the natural screen saver start. Process IDs, user/session/turn identifiers, paths, memory addresses, and unrelated content are omitted. The opaque error labels are retained because they may help OpenAI identify the failing code paths.
| Relative time | Evidence |
|---|---|
| T+0.000 s | loginwindow: actualUserIdle = 1200.0, targetUserIdle = 1200.0; starting screen saver due to user idle. |
| T+0.004 s | Lock reason: kLWLockFromScreenSaverIdleLaunch (3). |
| T+0.104 s | loginwindow: hide password field. |
| T+0.113 s | loginwindow: _preferredScreenLockDelay == INT_MAX; the session lock notification is set to 1. |
| T+1.851 s | Passive snapshot confirms console-lock false and session-lock true. |
| T+152.090 s | Before-request snapshot still shows the same two flag values. |
| T+158.355 s | A new Computer Use service process starts. It subsequently reports lifecycle mode standalone. |
| T+158.734 s | The service records the relevant task turn as inProgress. |
| T+158.759 s | The TCC Accessibility request returns result=true. |
| T+158.788 s | ApplicationUIElement: log[0c7557376b344d669166]. |
| T+158.789 s | ApplicationUIElement: log[8ec5a7039d47aad94076] [0]=<private>. |
| T+195.615 s | After-request snapshot still shows console-lock false and session-lock true. |
The native log query interval was approximately T−62 to T+238 seconds; the returned events span T−60.607 to T+190.781 seconds. The returned logs contain no observed invocation or rejection of CodexComputerUseAuthorizationPlugin:allow, no successful unlock event, and no CUALockScreenGuardian entries. Missing log entries do not prove those components were never invoked, but there is no evidence here of the updated plug-in rejecting authorization.
No separate ScreenSaverEngine process was detected even though loginwindow confirmed the screen saver was running. That process check alone is therefore not a reliable indicator on this system. The IOHID idle counter also differed from loginwindow's idle counter; the 20-minute trigger above is established by the latter.
Checks already completed
- Refreshed the plug-in with the signed vendor installer; the installation completed successfully.
- Compared all three files in the installed and bundled plug-in bundles: their SHA-256 hashes match.
- Verified the desktop app, helper, and installed plug-in with
codesign --verify --deep --strict; all passed. - Confirmed that
system.login.screensaverincludes the Codex authorization rule and the normaluse-login-window-uifallback. The Codex rule referencesCodexComputerUseAuthorizationPlugin:allow. - Confirmed successful Accessibility authorization for the failing Finder request.
- Read the shipped desktop settings implementation: its Locked use
enabledvalue is derived from whether installerstatusreturnsOK: installed. This checks installation state, not successful recovery from a screen saver transition.
No binaries were patched and no authorization rules were manually edited; the signed vendor installer updated the authorization plug-in. The failed recovery test used no private unlock API and entered no password. No application or service was deliberately stopped or restarted. The main desktop app remained running. The helper process did change before the failing request; the reason the previous helper exited was not established, so continuous helper uptime is not claimed.
Workaround and comparison test
After preserving the failure evidence, Start Screen Saver was changed from After 20 minutes to Never through System Settings. Password requirements and power settings were unchanged. loginwindow acknowledged idleTime: 0 and targetUserIdle = 0.0.
A subsequent passive observation collected 474 samples over 40 minutes 6.4 seconds with no lock flags or sampling errors. The initial portion included idle-counter resets; the final portion reached 25 minutes of continuous IOHID idle time. Before a supported Finder read, the idle counter was 1,538.3 seconds and both lock flags were false. The Finder read succeeded in 1.0597 seconds; afterward both flags remained false and the idle counter was 1,564.7 seconds.
This workaround avoided the observed trigger. It does not demonstrate that automatic unlocking from an actual locked state has been repaired.
Interpretation and investigation request
The evidence points toward handling of the screen saver/session state and restoration of a usable application window, rather than an on-disk plug-in version mismatch or a denied Accessibility permission. The precise internal cause remains unverified. The different OS lock indicators do not by themselves prove a macOS error or establish which indicator Codex used.
Earlier occurrences in this user's workflow returned the generic automatic-unlock-failed message. The captured post-update failure above returned cgWindowNotFound; these should not be treated as identical outcomes without further investigation. Other tasks continued running, so concurrent activity was not isolated as a possible contributing factor.
Please investigate:
- Whether Locked use supports the natural screen saver state with
IOConsoleLocked=false,CGSSessionScreenIsLocked=true, and no password requirement. - Why the supported Finder request reaches an application-window error without an observable guarded recovery/authorization sequence in this case.
- The meaning of error labels
0c7557376b344d669166and8ec5a7039d47aad94076, and whether helper startup while the session is already in this state affects recovery. - Whether diagnostics can distinguish installed/enabled status from the actual recovery failure stage.
Potentially related reports: #37231, particularly the screen-saver-only observation and the build 1001425 reproduction. These are comparisons, not proof of the same root cause.
Privacy
This report contains only technical versions, configuration, relative timing, and sanitized diagnostic observations. It excludes account details, usernames, home/workspace paths, device identifiers, process/session/thread/turn IDs, file and window contents, screenshots, credentials, and raw log attachments. Original evidence remains local and is not included in this report.
Adding a related reproduction; I have not verified whether it shares the original report’s underlying cause.
Mac mini M4; macOS 27.0.1 (26A434); ChatGPT 26.1007.71326 (20398); helper build 1001425, recorded October 14–16. Locked use and keep awake are enabled, and the app was updated before testing. Helper reinstall, toggling Locked use, and restarting did not provide sustained recovery.
Computer Use works while unlocked but fails after manual or natural locking, including after the password grace period expires. Connected status can remain visible while actual desktop inspection fails. On October 14 at 7:55 p.m. PDT, the read-only request cua.getApp("Finder") failed after approximately 22 seconds with:
The Mac is locked and automatic unlock could not unlock it. Ask the user to unlock the Mac manually before continuing.
This recurred October 17 at 12:50 p.m. PDT and required manual unlock.
Prior feedback reference: 01a142ee-a944-7101-9ce6-599df764f914. Is there a known fix or build addressing this, or specific diagnostics that would help investigate?
Follow-up to my earlier report, feedback reference 01a142ee-a944-7101-9ce6-599df764f914: we reproduced first-read failures after display wake even with the password requirement set to Never.
Mac mini M4; Dell S2425HS over HDMI, 1080p at 100 Hz. During these tests: password requirement Never, screen saver Never, display-off timer 1 hour. All timestamps below are UTC.
- October 17: 23:29:25 display off; 23:34:55 SkyComputerUseService wake assertion/display on; 23:34:59 supported read-only Music accessibility request failed with the same “The Mac is locked and automatic unlock could not unlock it. Ask the user to unlock the Mac manually before continuing.” message; 23:39:39 read succeeded without local input.
- October 18: 01:25:01 display off; 01:31:13 service wake and first read failed; 01:36:23 display off again after the five-minute wake hold; 01:50:00 another access attempt woke the display and failed; 01:51:44–01:51:58 reads succeeded. I confirmed that I had not touched the Mac.
The 01:50 failure followed a new standby episode, not a failed retry while continuously awake. These observations show a repeatable first-read failure on wake followed by successful reads while awake, with no password requirement. They do not establish the root cause or demonstrate a fix for the actual password-locked case, which remains unresolved.
Could maintainers inspect the timing of display wake/readiness and session-lock classification?
Additional intermittent reproduction on a Mac mini, macOS 26.7.1 (25G241), desktop app 26.1013.40934 (20770), and Computer Use helper 26.1013.1001501 (1001501). The desktop updater reports up to date. This may be related to this issue; an identical root cause is not established.
Native WhatsApp and native Outlook have both failed at automatic unlock before application state was returned. A bounded observation on the same helper build recorded two unsuccessful internal attempts after natural display-off while a native context remained active, followed by an exhausted guard without another outer app request. Matched-build error review points to failure to obtain loginwindow's UserPasswordTextField by the deadline. Other manual-lock and one genuinely scheduled natural-idle acquisition have succeeded, so the failure is intermittent.
Read-only installation/configuration audit:
- Locked Use enabled, no setup warning or repair action visible; WhatsApp always allowed.
- Installed authorization plugin build 1000451 versus bundled build 1001501. Inspected executable/data sections match, although signed files and version metadata differ.
- Installed plugin, bundled plugin and host app pass strict signature verification. The documented authorization-policy read shows the OpenAI mechanism registered.
- System sleep disabled; display-off after 10 minutes; screensaver after 20 minutes, with macOS explicitly warning the display sleeps first; password required immediately.
A separate measurement-script error prevented one scheduled attempt before native acquisition; that instrumentation is repaired and is not counted as another unlock failure.
Could OpenAI confirm whether the older installed authorization-bundle label is expected, provide a supported refresh procedure for already-enabled Locked Use, and identify a supported way to verify native-session release after an ordinary turn? Our bounded post-turn helper log read exposes no mapped release marker; that is an observability gap, not proof of a cleanup failure.
No credentials, private message content, account identifiers, local paths, session transcripts or raw logs are included.
This issue describes acquisition ending before a password field appears. Here the owner observed no password or lock screen at all: the display woke by itself, while the first Computer Use request reported a locked Mac. Locked use was OFF and the lock-screen password requirement was Never. This is a related variant on a current build; a shared cause is not established.
Environment
- macOS 27.0.1 (26A434), Apple silicon Mac Studio.
- ChatGPT desktop 26.1013.40934 (20770); Computer Use 26.1013.1001501.
- System sleep disabled, display timeout 10 minutes, screen lock status off, screensaver idleTime 0.
- Locked use was turned off through the supported setting, as confirmed by the owner. Effective internal runtime policy was not independently read.
Reproduction (one quiet run, October 19, 2026)
- Leave the Mac untouched until its display sleeps naturally.
- Make one native app acquisition for an already-running third-party app:
await cua.getApp("com.autodesk.fusion360"). - The call returns: “The Mac is locked and automatic unlock could not unlock it. Ask the user to unlock the Mac manually before continuing.” No accessibility tree is returned. No screenshot, input or immediate retry follows.
Observed sequence (UTC)
- 18:38:04.289661: loginwindow lock request, numeric reason 5 (not interpreted here).
- 18:38:04.392386: screen-locked notification.
- 18:38:18.342: public CoreGraphics reports the single display asleep; HID idle is 624.413 seconds. IOConsoleLocked reads false, so that scalar did not establish native-tool access.
- 18:38:29.853: the app acquisition starts; the complete tool operation reports about 0.439 seconds wall time and returns the refusal above.
- 18:38:30.288491: unlock request; 18:38:30.321791: screen-unlocked notification.
- 18:38:41.776: display is awake, IOConsoleLocked false, HID idle 647.847 seconds (still rising).
The owner watched the physical monitor go black and come back on its own, without a visible lock screen, password or click. Their observation has no independently recorded exact panel timestamp.
The timing is consistent with a request being refused while a no-password wake/unlock transition is finishing, but there is no request-correlated trace establishing that race or identifying who initiated the wake. No guardian-message content or authentication details were collected. A later ordinary app read and screenshot succeeded; intervening input was not excluded, so that is current health, not proof of recovery within seconds.
Could the team check whether acquisition waits for this no-password transition to finish, and whether the generic automatic-unlock message is appropriate when Locked use is off? I have not tested an immediate second read, and this does not establish persistent blocking.
Temporary workaround: the owner chose the normal macOS display timeout Never (pmset -c displaysleep 0). Only that AC setting changed; no app/helper source patch, guardian restart, permission change, forced sleep, lock or reboot was used for this workaround. Long-term effectiveness remains unverified.
Related: #36776 concerns a later direct password lock after a task. This reproduction observed no such post-task password lock, so it is not asserted to be the same failure. Raw logs, transcripts, screenshots, credentials, account identifiers and private paths are omitted.
Adding a related display-wake reproduction from October 19, 2026, on ChatGPT desktop 26.1007.71326 (build 20398), Computer Use helper build 1001425, and installed authorization plug-in build 1000926.
In two display-sleep tests, the first native read returned cgWindowNotFound before the normal unlock transition completed. A passive wait for readiness followed by one read retry succeeded. The test window recorded three normal helper exits and no new helper crash. No app update or settings change was made for these tests.
This supports a transient acquisition/readiness problem in this configuration. It does not establish that the internal cause is identical to the original issue, or that retrying is a durable fix for unattended operation. The plug-in version difference alone does not establish an authorization failure.
A separate historical helper crash is being reported under #52716; no common cause is established. Raw logs and private identifiers are omitted.
Adding a reproduction on desktop app 26.1021.31345 (21828), macOS 26.6 (25G72), with Computer Use service and authorisation plug-in 26.1021.1001631.
The official plug-in reinstall completed. Installed and bundled plug-in executable hashes match and signature verification passes. Native access works while unlocked. Locked use still fails after natural screen-saver locking, and direct locking has both passed and failed.
The failure asks for a manual unlock. This prevents unattended work.
Observed sequence — 25 October 2026, UTC+7
- 03:21: A direct-lock test passed. The Codex authorisation mechanism ran and macOS reported unlock success.
- 03:56:19.230: macOS locked through
ScreenSaverIdleLaunch (3). - 03:56:30.168 and 03:56:40.322: Two internal accessibility polling waits ended without a result.
- 03:56:40.324: The service reached its attempt limit.
- 03:56:41.394: The first explicit native app request began. It hit that exhausted limit and failed in about 0.34 seconds.
- 10:53: A later direct-lock request also hit the limit on initial loop entry. macOS had recorded intervening unlock notifications. The precise reason the allowance was exhausted again is unresolved.
Diagnostic finding
Read-only analysis of the matching shipped service maps log[34f610ab61c02cb35735] to the exhausted-attempt branch. The production constructor sets the limit to two. log[1fde71b2d08982b1b528] counts inner accessibility polls, not outer unlock attempts.
The code also contains a possible missed-reset path: monitoring can stop when no task is active and suppression is inactive, while retaining the attempt count. If manual unlock and relock happen during that gap, restarting monitoring samples the locked state without invoking the reset callback. This path has not been established as the cause of the morning failure.
Could the team investigate the initial accessibility lookup failures and whether an exhausted allowance can survive into a later lock episode? A distinct error for an exhausted allowance would also help. No reliable repair has been verified after the plug-in refresh.
Found a setting that may explain some reproductions: System Settings → Lock Screen → Show user name and photo.
This was OFF on my Mac. Locked Use repeatedly failed with “The Mac is locked and automatic unlock could not unlock it.”
Local logs, a read-only accessibility probe, and Hopper inspection showed that the helper’s password-field reveal logic searches for an accessibility element identified as FocusedUser. With the profile hidden, that element was absent, and the helper couldn’t reveal/find UserPasswordTextField. Two failed searches then exhausted its retry budget.
Turning Show user name and photo ON restored the reveal path. After also resolving a separate duplicate-helper issue introduced during diagnosis, I verified a complete native operation: the Codex authorization plug-in returned ALLOW, the helper confirmed automatic unlock. The successful interval showed the Codex authorization path.
Environment: macOS 27.2 (26B123), desktop app 26.1027.61615 (24141), Computer Use helper/authorization plug-in 1001641.
I reproduced the same failure stages on macOS 27.2 (26B123), Apple Silicon, with ChatGPT Desktop running Codex 26.1103.60933 (25894) and Computer Use helper 26.1102.1001824. Locked Use was enabled. All times below are local on 2026-11-09 (UTC+08:00). The excerpts retain timestamps and diagnostic markers.
1. Hot Corner → Start Screen Saver → automatic unlock times out. Starting from an unlocked Mac, I triggered the screen saver with a Hot Corner. Once locked, I requested the accessibility state of an already-approved native app from the connected device. A single request ran two internal unlock attempts and failed after about 20 seconds with The Mac is locked and automatic unlock could not unlock it. The password-field lookup was false in all 37 observations in each attempt. No Codex authorization plug-in invocation was observed during the request.
17:13:53.199 loginwindow: entered kLWLockFromScreenSaverHotCornerActivation (2)
17:14:19.809 SkyComputerUseService: log[fad93a68ad8b9342ce90] [0]=1
17:14:29.840 SkyComputerUseService: log[1fde71b2d08982b1b528] [0]=36
17:14:29.841 SkyComputerUseService: log[fad93a68ad8b9342ce90] [0]=2
17:14:39.864 SkyComputerUseService: log[1fde71b2d08982b1b528] [0]=36
17:14:39.866 SkyComputerUseService: log[34f610ab61c02cb35735]
2. Manual unlock → immediately relock → next request still hits the exhausted-attempt branch. After that turn ended, I manually unlocked with my password and relocked without making a Computer Use request while unlocked. I reproduced the immediate failure after both a Hot Corner lock and a direct Control–Command–Q lock. The direct-lock sequence below shows macOS issuing the unlock notification, then the same service process reporting the exhaustion marker without logging a new unlock attempt.
17:15:52.553 loginwindow: Screen unlock succeeded using password
17:15:52.639 loginwindow: sendDistributedNotification: com.apple.screenIsUnlocked
17:15:54.124 loginwindow: entered kLWLockFromDirectLock (8)
17:16:08.217 SkyComputerUseService: log[af160884ebcbfc586ae2] [0]=1
17:16:08.234 SkyComputerUseService: log[34f610ab61c02cb35735]
3. Manual unlock → one successful Computer Use read while unlocked → Control–Command–Q → success. I repeated the direct-lock test with one change: after manually unlocking, I let Computer Use successfully read the app before locking again. The same service process then started at attempt 1, found the password field, received ALLOW from the authorization plug-in, and read the app window. I verified input by opening and cancelling a dialog.
17:17:06 Computer Use: app accessibility read succeeds while manually unlocked
17:17:17.969 loginwindow: entered kLWLockFromDirectLock (8)
17:17:29.789 SkyComputerUseService: log[fad93a68ad8b9342ce90] [0]=1
17:17:29.804 SkyComputerUseService: log[d76fdc6f08ef96a8250f] [0]=15 [1]=true
17:17:30.565 Codex authorization plug-in: Login authorization socket response=ALLOW
17:17:30.570 loginwindow: Screen unlock succeeded using password
The immediate failure after manual unlock/relock is consistent with the missed-reset path described above. The comparison shows that the old attempt budget carried over and that an unlocked read restored the next attempt, but it does not establish why the Hot Corner path fails to surface a matching UserPasswordTextField. The Hot Corner trigger also differs from this issue's original display-sleep trigger.
Additional confirmed reproduction — same app/helper builds, macOS 26.7.1
I can confirm recurring Locked Computer Use failures on a Mac with the exact same ChatGPT and Computer Use builds reported in the November 9 reproduction, but running macOS 26.7.1 instead of 27.2.
Environment
- macOS 26.7.1 (25G241), Apple silicon
- ChatGPT/Codex 26.1103.60933 (25894)
- SkyComputerUseService / CUALockScreenGuardian 26.1102.1001824
- Installed authorization plugin 1001824
The application, helper and plugin pass strict signature validation. The installed and bundled plugin executables have identical SHA-256 hashes. The OpenAI authorization mechanism is registered, and Accessibility and Screen Recording permissions are granted.
Observed failure, November 9 (CET, UTC+01:00)
- 20:11:36 — natural idle lock (kLWLockFromScreenSaverIdleLaunch).
- 20:11:47 and 20:11:57 — marker 1fde71b2d08982b1b528, values 35 and 37.
- 20:11:57 — marker 34f610ab61c02cb35735.
- 22:01:52 — the same service process (PID 28008) again emits the terminal marker, followed by the automatic-unlock failure.
- 22:01:52.286 — loginwindow records showScreenLock, approximately 67 ms after the terminal marker.
- A later idle lock again produces two approximately 10-second attempts followed by the terminal marker.
The pattern is consistent with exhausted unlock attempts and potentially persistent retry state. However, the internal counter and exact initial failure stage have not been independently confirmed.
The system has also intermittently reported physical-input suppression when no one was using the Mac. Available Guardian logs do not establish the CGEvent type or source for those incidents, so this remains a separate unresolved symptom.
Both manual locking and natural idle locking can fail. Other attempts have succeeded with authorization ALLOW.
Request to maintainers
Could the team investigate the retry-budget reset lifecycle and loginwindow password-field readiness on build 1001824, including whether an exhausted state can persist across lock sessions?
Please also clarify how to collect diagnostic information about physical-input suppression, and whether an upcoming build addresses these failures.
The intended workflow is unattended Computer Use on a securely locked Mac. Manual unlocking between tasks is not an acceptable recurring workaround.
All local investigation was read-only. No security settings were weakened, and no components were modified. Sanitized additional diagnostics can be provided privately if helpful.
Additional controlled reproduction on 2026-11-11, JST (UTC+09:00).
Environment:
- ChatGPT desktop 26.1103.60933 (25894).
- CUA helper and installed authorization plug-in 26.1102.1001824; matching versions and strict signature verification pass.
- macOS 27.2 (26B123), then 27.2.1 (26B131) after a full Mac restart.
- Locked Use enabled. Trials used the standard automatic screen saver with a five-minute start; the existing five-second password requirement was retained.
Normal System Settings reads and navigation succeed after ordinary owner authentication. Five controlled comparisons then failed after OS-recorded screen-saver starts and independent console-lock=true observations:
| Local time | Comparison | Locked workflow |
|---|---|---|
| 13:22 | After standard Locked Use off/on refresh | Failed before app capture |
| 13:40 | After graceful CUA helper restart while unlocked | Failed before app capture |
| 13:56 | Apple standard Message screen saver | Failed before app capture |
| 14:47 | After full ChatGPT app restart | Failed before app capture |
| 15:34 | After macOS 27.2.1 update and full Mac restart | Failed before app capture |
Latest sequence: screen-saver start at 15:34:00; console locked=true at 15:34:01; unlock attempts start at 15:34:01 and 15:34:11; control-search timeouts at 15:34:11 and 15:34:21; attempt cap at 15:34:21. After another independent locked=true observation at 15:34:42, the supported System Settings acquisition returns the automatic-unlock failure. Capture, pane navigation and return are all unachieved.
The pre-trial settings show Show user name and photo already ON. A later read-only check finds one CUA helper, one loginwindow process, and the shared authorization-socket parent owned by the current user. These observations do not establish the complete locked AX hierarchy or a unique root cause.
Trial preparation included successful ordinary unlocked Computer Use reads, so the fresh lookup failures were not solely requests encountering the old exhausted allowance. A clean comparison with a newly started scheduled turn only after natural locking is still pending.
Please investigate password-field presentation/discovery and attempt-state lifecycle on this build. No durable fix has been verified. The original 20-minute screen-saver timer has been restored in stored preferences. No authorization database edits, component patches, socket permission changes, safeguard bypass, raw logs, screenshots, credentials or private account/session identifiers are included in this report.
Additional local evidence for this issue: idle-lock failure followed by a successful direct-lock control, without restarting the native helper.
Environment at the time of testing
- macOS 26.4 (25E246), Apple Silicon.
- Desktop app: 26.1103.32239 (build 25471).
- SkyComputerUseService / CUALockScreenGuardian / installed authorization plugin: 26.1102.1001824 (1001824).
- Locked Use was enabled. The installed authorization plugin passed strict signature verification and matched the bundled plugin; the native service also matched its bundled version.
- The screensaver authorization rule included the remote rule and
CodexComputerUseAuthorizationPlugin:allow. - “Show username and photo” was enabled.
Observed idle-lock failure
The OS independently reported that the session was locked. Sanitized relative unified-log timeline:
t+0.000s loginwindow: entered kLWLockFromScreenSaverIdleLaunch (3)
t+10.646s native service: log[1fde71b2d08982b1b528] [0]=38
t+20.872s native service: log[1fde71b2d08982b1b528] [0]=39
t+20.872s native service: log[34f610ab61c02cb35735]
Native requests subsequently returned:
The Mac is locked and automatic unlock could not unlock it. Ask the user to unlock the Mac manually before continuing.
Repeated requests failed during the same locked episode. Two later, fresh user-requested native calls returned the refusal in approximately 0.7 and 0.6 seconds, rather than repeating the roughly 20-second sequence. The guardian entered and ended its protection flow without returning the requested application accessibility state.
A scoped search of authd/SecurityAgent logs did not find a corresponding Codex authorization-mechanism invocation during the failed attempts. This is an observation about the collected logs, not proof that no authorization activity occurred.
The Chrome extension channel could still navigate, click, and read a public page during the native-channel failure.
Successful recovery/control sequence
The user normally unlocked the Mac. A native Chrome read then succeeded, followed by native screenshot, URL entry, and an actual link click on public IANA pages.
We then used normal Control–Command–Q direct lock:
t+0.000s loginwindow: entered kLWLockFromDirectLock (8)
t+0.461s native service: log[fad93a68ad8b9342ce90] [0]=1
t+3.145s authd: running mechanism CodexComputerUseAuthorizationPlugin:allow (1 of 1)
t+3.273s loginwindow: screenIsUnlocked notification
t+3.438s native service: log[7e1bbe3c1f34acbcf23d] [0]=1 [1]=true [2]=false
There was one transient cgWindowNotFound during the transition. Reacquiring the app/window allowed native accessibility reads and an actual link click. The OS recorded relocking after the task ended.
The native service and guardian remained the same processes across failure and recovery. No app/helper restart, reinstall, permission reset, authorization-database edit, or disabling of lock protection was used.
Limits and questions
This does not establish a durable fix: the successful control used direct lock, whereas the failure followed idle/screensaver lock. A new controlled natural-idle test was not completed. Manual unlock and the subsequent successful unlocked native read were not isolated as separate recovery factors.
The fast subsequent refusals suggest persistent state within the locked episode, but we did not inspect an internal retry counter and cannot establish the initial control-discovery failure's cause.
Could maintainers investigate loginwindow readiness and retry-state recovery for this path, and distinguish readiness timeout, exhausted attempts, authorization denial, and physical-input pauses in the user-facing error? A documented supported recovery or fixed version would help, while preserving the existing authorization and relock safeguards.
Codex Computer Use cannot access native apps while the macOS idle screen is visible
This is a reproduction for openai/codex#37231.
Environment
- Apple Silicon Mac Studio with macOS 27.2.1 (26B131)
- ChatGPT desktop 26.1120.50957, using Codex Computer Use
- The Mac displays an idle screen. The owner reports that dismissing it does not normally require a password.
- macOS power settings report sleep = 0 and displaysleep = 0 on AC power.
Reproduction
- Leave the Mac idle until the idle screen is visible.
- From an active Codex task, request access to Safari or System Settings through Computer Use.
- Send a temporary macOS display wake assertion and retry Safari.
Observed behavior
Computer Use refuses native app access before returning any app state. A display wake assertion did not restore access. Shell commands continued to work. Read-only diagnostics reported the following values during the failure.