codex icon indicating copy to clipboard operation
codex copied to clipboard

Locked Use: French AZERTY relock exposure and automatic-unlock failure before display-off

Open benperry6 opened this issue 1 month ago • 14 comments

Current status — 20 October 2026

This investigation found two distinct problems, not one proven common cause:

  1. Historical relock/exposure defect: on build 20586 with French AZERTY, the user saw the authenticated desktop after a Remote turn ended. A temporary ABC comparison and static key-code inspection support a layout-sensitive relock defect.
  2. Still-reproducible automatic-unlock failure: on current build 20770, the first Remote request after a clean, natural screen-saver lock fails before display-off. A separate natural-inactivity trial after display-off succeeded.

Current French-layout tests with the retained native Lock Screen shortcut include three successful direct-lock/relock cycles and one successful natural-inactivity-plus-display-off cycle. In the later observed cycles, the user confirmed protection on every monitor and the password-required lock screen afterward. These successes do not erase the original exposure or establish the shortcut as the sole cause of improvement.

Environment and retained settings

  • macOS 27.0.1, build 26A434, Apple silicon; logged-in console session.
  • Current desktop: 26.1013.40934 / build 20770; earlier exposure tests: 26.1013.31256 / build 20586.
  • Computer Use service and Guardian: 1001501.
  • Installed authorization plug-in: 1001425; bundled copy: 1001501. Their 21 compared file-backed code/data sections match; whole signed-file hashes differ. A version-label mismatch alone is not an established cause.
  • French input retained; temporary ABC source disabled. Global native shortcut: Lock Screen → Ctrl+Cmd+A.
  • Screen saver 120 s; password grace 300 s; display-off 5 min battery / 10 min AC.
  • Tests ran on AC, lid closed, two external displays. Accessibility and ScreenCapture grants were found during the read-only audit.

All automatic-lock settings were restored to their actual pre-test values. Only the approved shortcut remains customized. A further display-only/grace-300 configuration was considered but never applied or tested; the user ended further configuration experiments and requested this consolidated report.

Clean natural-lock reproduction on current build

  1. Unlock the Mac normally by the human route; return to iPhone Remote and leave keyboard/mouse untouched.
  2. Make no Computer Use request during the idle preparation.
  3. Let the 120-second screen saver start naturally, then let the 300-second password grace expire.
  4. Confirm both OS lock indicators are true, before the 10-minute AC display-off deadline.
  5. Make the first ordinary Computer Use request for Calculator.

Observed on 20 October: natural ScreenSaverIdleLaunch (3); both lock indicators became true after about seven minutes of inactivity. The first Calculator acquisition failed after 20.2039 s with “The Mac is locked and automatic unlock could not unlock it.” The controller's traversed collection repeatedly contained two elements and did not yield its sought UserPasswordTextField; two internal sequences ended with counter 37. No authorization-plugin ALLOW appeared in that bounded failure window. The sampled HID inactivity counter did not reset after human preparation. This was one external request, not two manual retries.

Successful comparison: in a separate human-origin trial with unchanged settings and the same service/Guardian generation, natural screen saver was followed by normal display-off. The first Remote acquisition then succeeded in 4.7764 s, the plug-in returned ALLOW, Calculator returned 71 × 67 = 4757, all monitors were physically confirmed protected, and ordinary turn completion produced DirectLock (8) and the password-required screen. The native prior state at that request was DisplayDim (5), so this is not an isolated screen-saver-only success.

Historical relock/exposure evidence

On the earlier build, guarded Calculator operations succeeded, but after a turn the user reported seeing actual desktop/browser/windows without entering a password; OS observations also showed unlocked state. Guardian recorded cleanup error 124879a027d53ed81ed6.

The shipped locking routine inspected read-only uses fixed virtual key codes 0x37, 0x3b and 0x0c (Command, Control, US-Q position), with modifier flags 0x100000/0x140000. The actual French mapping resolves 0x0c to A and 0x00 to Q, including Command. Physical French Ctrl+Cmd+A initially did not lock; Ctrl+Cmd+Q did. One supervised temporary ABC cycle restored covered displays and genuine locking, then French was restored. This strongly supports layout sensitivity; it does not prove the cause of every unlock failure.

Later input-tool spelling must be distinguished from physical French keys: the CUA chord spelled “q” produced DirectLock, whereas a preceding chord spelled “a” had no matching observed lock. Current successful cycles establish behavior in the retained configuration, not isolated shortcut causality.

Interpretation, controls and investigation request

  • Generic automatic-unlock tool failures are confirmed as early as 7 September, before the 5 October plug-in version and before this Mac's macOS 27 installation. Historical Locked Use settings are not known for every incident.
  • Setting password grace to zero did not fix a reproduced natural-lock failure. A newly started native service also failed in another trial.
  • A session's locked marker can precede actual password-required console locking during grace. That distinction is real, but does not explain away the clean first-request failure after both indicators were true.
  • The newer desktop package's service/Guardian executables matched the earlier copies; frontend and lifecycle conditions changed, so a version-only explanation has not been isolated.
  • Current ordinary turn-end relocking is genuinely observed; earlier limited observations must not be generalized into an always-broken cleanup path.

Please investigate both layout-aware relocking/overlay retention and the natural-lock password-field preparation/discovery path. Regress screen-saver-only versus display-off states, first requests after ordinary human use, password-grace boundaries, frontend turn completion and recovery after a failed episode. Keep the protective overlay until actual OS locking is confirmed.

The chronological comments below contain the controls, corrections and additional diagnostic observations. The issue remains open; no permanent source-level repair or universal workaround is claimed.

Related reports, without asserting identical root cause: #37231, #37946, #26415, #32913.

Only sanitized technical findings are published: no credentials, personal paths, account/session/device identifiers, screenshots, window contents or raw log bundles.

benperry6 avatar Oct 18 '26 01:10 benperry6

Follow-up: configured AZERTY workaround is not yet validated; idle-unlock failure persists

The native global App Shortcut Lock Screen → Ctrl+Cmd+A is now configured and was read back. The input source remains com.apple.keylayout.French; the temporary ABC source is disabled.

A new locked-start Computer Use trial successfully unlocked the Mac and operated Calculator: 97 × 31 = 3007. However, the subsequent OS-locked state must not be counted as proof that the shortcut fixed native cleanup:

  • The trial included a tool JavaScript-kernel reset and a menu-focus key attempt, so it was not an isolated ordinary turn-end test. Neither action produced a verified lock at that point.
  • At 02:04:28 UTC, loginwindow explicitly recorded ScreenSaverDaemon screenSaverDidFade followed by kLWLockFromScreenSaverIdleLaunch (3). This idle lock happened before the response ended and before the passive lock-state observer started. The observer then found the Mac already locked.
  • Guardian/service activity after that idle lock attempted automatic unlock. The service repeatedly recorded the password-field observation as [0]=2 [1]=false, reaching 37 polls and an unlock failure at 02:04:49 UTC.
  • On the next user-triggered turn, a single fresh cua.getApp('Calculator') returned immediately: The Mac is locked and automatic unlock could not unlock it. Ask the user to unlock the Mac manually before continuing. macOS still reports the session locked.

Therefore the relock workaround remains configured, not validated. The observed idle-lock/automatic-unlock failure persists and should be investigated separately from the layout-sensitive relock finding. These observations do not establish the underlying reason the password-field lookup fails, nor establish physical-display masking throughout this trial. No raw logs, screenshots, personal paths or account/session identifiers are attached.

benperry6 avatar Oct 18 '26 02:10 benperry6

Additional native test results: no reliable workaround validated

The additional diagnostic tests have stopped with no validated end-to-end repair. The following separates reproduced failures from successful controls and inconclusive trials.

Successful direct-lock control (18 October): with the French input source and the temporary native Lock Screen app shortcut set to Ctrl+Cmd+A, loginwindow recorded kLWLockFromDirectLock (8). The same running Computer Use service then found the password field (15 AX nodes), the authorization plugin returned ALLOW, and a fresh Calculator operation succeeded (79 × 61 = 4819). This proves that direct-lock recovery worked in that test; it does not prove that the shortcut fixes automatic turn-end cleanup.

Zero password grace did not fix idle recovery: the actual native password delay was initially 300 seconds. With Require password changed through System Settings to Immediately, both OS lock indicators became true on natural idle screen-saver activation, but the service still found only two AX nodes and no password field through its repeated lookup attempts. The next foreground CUA request failed. The earlier password-free grace interval is therefore not a sufficient explanation or fix.

A newly started service can also fail: after a later natural idle lock, the old service was no longer running. A normal CUA request started the official native service without a forced restart. Its first result was cgWindowNotFound; a subsequent request after initialization failed after about 20.6 seconds with the automatic-unlock error and the same missing-field observations. A fresh process is not a reliable remedy.

Turn-end evidence remains limited: after successful direct-lock recovery, passive OS observations showed no relock during the sampled ordinary turn-end window. A subsequent lock was explicitly recorded as ScreenSaverIdleLaunch (3), rather than an immediate cleanup lock. The user was away from the screens during that observation, so it cannot establish physical desktop exposure or absence of the protective overlay in that particular test.

Display-off-only candidate remains inconclusive: a temporary native configuration used two-minute display-off timers on both power sources with automatic screen saver disabled and immediate password retained. One attempted idle trial was invalid because the user confirmed using the Mac; another contained a new keyboard activity indication of unestablished origin. Neither interval should be cited as proof of a broken protection deadline or of successful display-off recovery. No validated two-cycle result exists. The screen-saver and display timers were restored and read back to their pre-test values.

No private unlock calls, password extraction, binary patch, keep-awake helper, persistent watchdog, or repeated forced helper restart was used. The current installed host app is build 20770 (the earlier tests used 20586); these observations do not isolate a frontend-version effect or establish a fix in the newer build. The temporary shortcut remains configured, not certified as an end-to-end workaround.

benperry6 avatar Oct 20 '26 09:10 benperry6

Controlled iPhone Remote test: two complete guarded cycles now pass; initial idle-unlock fault remains separate

Two complete direct-lock/relock Remote cycles now pass on the installed host build 20770/helper 1001501, with French input and the temporary global Lock Screen shortcut Ctrl+Cmd+A retained. This establishes behavior in that configuration, not isolated causality of the shortcut. All automatic-lock preferences have been restored to their actual pre-test values: password grace 300 seconds, screen saver 120 seconds, display-off 5 minutes on battery / 10 minutes on AC.

Two real Remote cycles were observed without a manual unlock between them:

Cycle Native guarded unlock New Calculator result Ordinary turn-end relock
1 Authorization plugin ALLOW, 10:16:48 UTC 61 × 53 = 3233 DirectLock (8) at 10:17:27 UTC; both OS lock flags true
2 After about twelve minutes still locked, plugin ALLOW, 10:30:03 UTC 57 × 43 = 2451 DirectLock (8) at 10:31:16 UTC; both flags true and still true at 10:38:40 UTC

These locks occurred before the screen-saver deadline. They finally establish successful native relocking in these controlled ordinary turn-end trials. A JavaScript-runtime reset was not used as their cleanup action. The passive finite observer ran independently of the completed tool invocation; it injected no input and changed no settings.

Correction to interpretation: the earlier sampled absence of relocking must not be generalized into a universal turn-end cleanup failure. Its lifecycle/measurement conditions differed, and the host app version changed during the broader investigation. These successes do not isolate every causal variable or demonstrate universal reliability.

The native tool's key spelling must also be distinguished from the physical French shortcut. In the latest isolated control, pressKey(ctrl+super+q) produced the actual DirectLock event and subsequent guarded unlock; the preceding tool attempt spelling a did not produce a matching observed lock. No additional keyboard-layout change was made.

The initial idle/screen-saver failure is not demonstrated fixed. Earlier the same day, an actual iPhone-only attempt from an already OS-locked Mac still returned the automatic-unlock error; a manual unlock was needed to establish the clean direct-lock baseline. A later locally detected physical-input suspension was distinguished from that failure, rather than blamed for all Remote failures.

Additional user-observed Remote trial, 20 October: the user was on their iPhone, in front of all Mac displays, and did not use the Mac keyboard or mouse. Both OS lock indicators were true before the normal Computer Use request. The authorization plugin returned ALLOW at 11:22:47.477 UTC, the OS recorded unlock at 11:22:47.794 UTC, and a fresh Calculator operation visibly returned 83 × 29 = 2407. The user confirmed a Codex protective screen on all monitors during the intervention. After the ordinary final response, loginwindow recorded DirectLock (8) at 11:23:53.119 UTC; both OS lock flags were true from 11:23:54 UTC, and the user confirmed the password-required lock screen. No screen-saver-triggered lock was substituted for that cleanup event.

This establishes physical masking and ordinary relocking for this additional observed direct-lock trial. It does not establish masking in earlier trials or repair the initial natural idle-lock failure. The shortcut remains a temporary configuration change whose isolated causal effect is not established. The initial idle-lock failure remains unresolved.

benperry6 avatar Oct 20 '26 10:10 benperry6

Consolidated findings — 20 October 2026

The issue body has been consolidated to distinguish the historical relock/exposure observation from the current natural-lock failure. Earlier dated comments remain historical evidence. This update adds the previously unpublished findings and their limits. All times below are UTC.

1. Two clean natural-inactivity workflows now discriminate the failure

Both started with a normal human unlock, then iPhone Remote and no Computer Use request until the genuinely password-locked state. French, the retained shortcut, original timers, and the service/Guardian generation were unchanged between these trials.

Event Natural screen saver, then display-off: success Natural screen saver, before display-off: failure
Normal human unlock 11:42:55.209 12:00:28.690
Natural ScreenSaverIdleLaunch (3) 11:44:55.273 12:02:28.705
Password-required lock before request Both indicators true at 11:55:04; HID inactivity about 730 s First sampled both-true state at 12:07:28.898; HID inactivity 421.434 s
State at first request Native oldValue DisplayDim (5), after normal display-off; exact intermediate display-off timestamp was not recovered Screen-saver-only window, before 600 s AC display-off
First ordinary Calculator acquisition Success, 4.7764 s Generic automatic-unlock failure, 20.2039 s
Authorization / controller lookup ALLOW at 11:55:22.753; OS unlock at 11:55:22.880 Persistent collection length 2 / field not found; two internal counter-37 endings; no ALLOW in the captured failure window
Functional result and cleanup 71 × 67 = 4757; human confirmed Codex protection on every monitor; ordinary end DirectLock (8) at 11:56:30.323, both flags true at 11:56:30.453; human confirmed password screen No successful app control; no second external request in that episode

In the failure trial, the sampled HID counter did not reset after human preparation. No controller password-field lookup matching the targeted log labels was observed between that preparation and the first foreground request. This prevents dismissing this reproduction as merely an earlier attempted unlock during grace or a CUA operation left running throughout the wait. It does not prove the absence of every internal state or every possible event.

The failure log contains 76 length-2/field-false observations and two counter-37 endings. Those are internal native sequences within one CUA invocation; they are not two user retries or a mathematically inferred 74 observations.

The successful trial's finite initial observer expired before the exact console-lock transition. Later OS state, native events and HID age established its password-locked starting condition; continuous observation of that whole grace interval is not claimed. Its display-off component must not be omitted when interpreting the success.

2. What the existing successful controls already establish

The preceding controlled-cycle update documents two consecutive direct-lock Remote cycles without an intervening manual unlock, plus a third physically observed direct-lock trial. Their fresh results were 3233, 2451 and 2407, with native ALLOW and ordinary end-turn DirectLock events. The third trial confirmed protection on all monitors and the final password-required screen.

These observations supersede a blanket claim that cleanup always fails or physical protection remains wholly unobserved. They do not invalidate the original desktop-exposure observation on build 20586, nor establish that only the shortcut caused the later recovery.

3. Older onset and distinct error classes

Real tool outputs on 7 September at 12:25:45, 13:08:40 and 13:42:06 contain the same generic automatic-unlock error. The human explicitly described using iPhone Remote without access to the Mac. An August-context rehydrated archive contains earlier such outputs, but its original incident times are not established; it is not used as an exact onset date.

This Mac's macOS 27.0 installation was on 16 September and 27.0.1 on 16 October. The longstanding symptom therefore predates those installations and the October plug-in labels. This does not exclude an additional current OS-specific defect. The historic enabled/configuration state of Locked Use is unverified at each old occurrence.

A separate 13 September tool output explicitly reported automatic unlock paused because physical input was detected. A 20 October pause also occurred while the human was using the Mac directly. That is a different error from the clean iPhone generic failure; it cannot explain every Remote failure. No false attribution to the service's own input has been proved.

4. Installation, authorization and native-state findings

  • The read-only audit found a logged-in console session, awake/on-AC host, online external displays, granted ordinary Accessibility/ScreenCapture permissions, no MDM enrollment, and an associated Remote thread. These findings weaken simple missing-session/ordinary-permission/permanent-installation explanations for the measured cases; they do not establish every historical state.
  • Installed authorization plug-in 1001425 and bundled 1001501 had 21 identical compared file-backed code/data sections, identical compared dependencies and SDK build commands, but different whole signed-file hashes. Valid OpenAI signatures and real plug-in load/reply events were observed. This is a different comparison from the already reported identical service/Guardian executables in desktop builds 20586/20770. Neither comparison proves registration state or frontend behavior identical.
  • Native authorization DENY events were observed outside a request-correlated trusted Computer Use window, including during normal human unlock. Such refusals can be expected and are not, by themselves, evidence of a broken plug-in or IPC path. The successful ALLOW controls show that loading and communication can work.
  • On 17 October an instrumented request errored while login-UI preparation continued. No plug-in-subsystem event was found in the bounded 17:40:22–17:40:30 window. This is compatible with an earlier failure stage, not proof that the plug-in never ran or that a particular race caused it.
  • During the 300 s grace interval, CGSSessionScreenIsLocked can be true while IOConsoleLocked remains false and loginwindow hides the password field. A bounded static getter reads the session marker. This identifies a potential premature-attempt condition, not the whole cause: zero grace still failed, and the new clean failure occurred after both indicators were true.
  • Bounded static lookup inspection shows a depth-eight traversal and a search for UserPasswordTextField. The diagnostic's first value is the controller's traversed collection length, not a proved exhaustive global AX-tree size. Brief 2/false observations can occur before success; persistence through native failure is the relevant finding. Repeated loginwindow PID resolution was observed, but neither a selector/depth bug nor the field's absence from every process has been proved.
  • Shipped symbols include active-thread, proactive-task, locked-episode-attempt and suppression state. Their names do not establish an exact suppression cap or that it explains every immediate retry failure. No safeguard was disabled to test that hypothesis.

5. Other negative or inconclusive controls

The earlier control update already records that zero password grace did not fix natural recovery, a new native service can also fail, and old display-only/immediate-password idle tests were confounded by human or newly indicated keyboard activity.

Two additional controls had not been published:

  • One native display-sleep trigger produced DisplayDim (5) at 09:49:26.649, while root was not password-locked during the 300 s grace. Native lookup observations included 1022/false then 0/false with internal error 23; the session exited via UserActive (9) at 09:49:30.859 without ALLOW. A later Calculator result (2747) occurred after that exit and is not proof of guarded unlock. This is not evidence that every display-off state works.
  • One documented JavaScript-runtime reset was followed by 49.939 s of sampled unlocked state, with no OS relock in that observation. This does not establish XPC disconnection or release of a native lease, and is not ordinary turn completion. Static inspection of the installed app shows a separate turn/completed handler invoking native completeRemoteHostedPIPContentThread. It was inspected, not invoked privately. The later successful ordinary-final tests remain the actual cleanup proof.

6. Current disposition and what remains unproved

Password grace 300 s, screen saver 120 s, battery display-off 5 min and AC display-off 10 min were restored and reread on 20 October. French remains selected and the added ABC source disabled; only the approved Lock Screen shortcut is retained.

A proposed display-off-120 / saver-disabled / grace-300 configuration was reviewed as a possible mitigation but never applied or tested. No 420 s deadline or two-cycle success is claimed for that candidate. The human stopped further configuration experiments and requested this complete public report. No new implementation, permanent workaround or vendor correction is being represented as delivered.

Please investigate:

  • Why a clean first request in the genuine screen-saver-only password-locked state cannot find the required field, while direct-lock requests and the observed later display-off path can succeed.
  • Readiness/presentation, grace-boundary handling, active trusted-turn authorization, failure-episode eligibility and actionable error reporting, without removing their safeguards.
  • Layout-aware native locking and retention of display protection through confirmed OS relock.
  • Regression coverage for first Remote use after normal human activity, both screen-saver/display-off states, multiple displays and non-US input layouts.

A unique root cause, a moved cross-process password field, a selector/depth defect, self-generated physical-input detection, isolated shortcut causality, and universal display-off recovery remain unproved. The related public reports are comparators, not proof of a shared cause. No credentials, personal paths, account/session/device identifiers, screenshots, window contents, raw logs or binary payloads are attached.

benperry6 avatar Oct 20 '26 12:10 benperry6

Adding a comparison for the natural-idle/display-off failure discussed here, on the same desktop app build: 26.1013.40934 (20770), with helper/Guardian 1001501 and macOS 27.2 on Apple silicon.

The installed authorization plug-in reports build 1001425 and the bundled plug-in 1001501. Both pass signature verification, and all 21 compared file-backed Mach-O code/data sections match. I therefore do not treat the different version labels alone as evidence that reinstalling would fix this.

In my test, native Calculator control worked before automatic display sleep and failed afterward with the generic automatic-unlock error. Password-on-wake is set to Never; display sleep remains at 2 minutes and system sleep is disabled. At the first failing wake, macOS reported that the keybag was not locked. This observation does not establish that every loginwindow lock marker was clear or identify the failed stage.

The reproduction and eligibility caveat are here: https://github.com/openai/codex/issues/49808#issuecomment-6295432738. I am only reporting a comparison for the idle/wake symptom; I have not established the same keyboard-layout or relock issue described in this thread.

The report has also been escalated privately to an OpenAI support specialist. No reliable fix has been established in my case.

jcastro avatar Oct 20 '26 16:10 jcastro

A version-comparison update for my idle/display-off symptom: I retested on desktop app 26.1016.51333 (21161), helper/Guardian 1001540, macOS 27.2.

The installed and bundled authorization plug-in version labels now both match 26.1015.1001540 / 1001540. Despite that change, native Calculator succeeded initially and failed after the next natural display-off with the same generic automatic-unlock error. Around that wake, macOS again reported that the keybag was not locked. No power or authentication settings were changed for the retest.

This remains a comparison for the idle/wake symptom; I am not claiming the keyboard-layout/relock issue or a shared root cause is established.

Full retest and its eligibility caveat: https://github.com/openai/codex/issues/55615#issuecomment-6314974001

jcastro avatar Oct 21 '26 11:10 jcastro

A further update for my natural-idle/display-off symptom: the failure still reproduced on 23 October 2026 after updating to desktop app 26.1016.62342 (21477). Helper/Guardian and the installed authorization plug-in remain 1001540, on macOS 27.2.

Native Calculator completed a new operation before sleep, then failed after the next natural display-off with the generic automatic-unlock error. The display turned on during the attempt; loginwindow again reported that the keybag was not locked. This does not establish the same keyboard-layout/relock issue or a shared root cause.

Please prioritize investigating and fixing the idle recovery failure. Repeated manual intervention makes the app and service difficult to use for unattended work with normal display sleep enabled.

Full retest: https://github.com/openai/codex/issues/55615#issuecomment-6363486473

jcastro avatar Oct 23 '26 11:10 jcastro

Further update on the idle/display-off symptom: on 24 October 2026, native Computer Use again failed after automatic display sleep on 26.1021.22027 (build 21747) with the generic message that the Mac is locked and needs manual unlocking.

The updater reports 26.1021.31345 (build 21828) available; this test does not determine whether it fixes the symptom. Full sanitized retest details.

jcastro avatar Oct 24 '26 08:10 jcastro

Further update on the natural-idle/display-off symptom: it still reproduces on 24 October 2026 with desktop app 26.1021.31345 (build 21828), up to date according to the updater. Calculator worked before sleep; native Computer Use required manual unlock after automatic display sleep.

Full sanitized test details.

jcastro avatar Oct 24 '26 09:10 jcastro

Follow-up on the natural-idle/display-off symptom: on the same current build 26.1021.31345 (21828), native Computer Use succeeded after more than 20 minutes of automatic display sleep and completed 13 × 73 = 949 without manual unlock. An earlier post-sleep request on this build failed with the generic unlock error.

Results are mixed and do not confirm the symptom fixed. Full test details.

jcastro avatar Oct 24 '26 12:10 jcastro

25 October 2026 update: native Computer Use still returned the manual-unlock error on desktop app 26.1021.31345 (21828) when the Mac was already locked. No individual native app could be selected. AC settings read display sleep 2 minutes and system idle sleep 0. The installed authorization plug-in reports 1001540, while the installed/bundled helper and Guardian report 1001631; this is only a diagnostic lead. Active trusted-turn eligibility was not verified, no settings changed, and no fix is confirmed. Full sanitized details: https://github.com/openai/codex/issues/55615#issuecomment-6391834540

jcastro avatar Oct 25 '26 01:10 jcastro

30 October 2026 update: on current, up-to-date desktop build 26.1027.30824 (22943), native Computer Use is blocked while the Mac is locked by the “automatic unlock paused because physical input was detected” state. This attempt sent no keyboard/pointer input; the source was not identified. Display sleep remains 2 minutes, system sleep 0, and screenLock off. No settings changed and no new sleep/wake cycle was run.

Installed authorization plug-in metadata reports 1001540; helper/Guardian report 1001641. A related report proposes a separate lock-UI readiness/attempt-budget race: https://github.com/openai/codex/issues/32396#issuecomment-6515116073. Full current details and request for a supported fix: https://github.com/openai/codex/issues/55615#issuecomment-6532102756

jcastro avatar Oct 30 '26 19:10 jcastro

31 October 2026 update on the automatic-unlock/display-sleep symptom (separate from the AZERTY relock observation): on build 26.1027.30824 (22943), Calculator succeeded after two natural sleep cycles and Chrome navigation succeeded after another, while a subsequent Font Book access returned the generic manual-unlock error. Full sanitized results: https://github.com/openai/codex/issues/55615#issuecomment-6541109124. This does not confirm the issue fixed and does not test the keyboard-layout symptom.

jcastro avatar Oct 31 '26 08:10 jcastro

Follow-up on November 23, 2026

I was able to resume native Computer Use from my iPhone after the Mac was already locked and the display was off. This worked in two trials on macOS 27.2.1 (26B131), with ChatGPT/Codex 26.1117.41037 (29803) and the installed authorization plug-in at 26.1116.1001980. The Mac used the French keyboard layout and the default Lock Screen shortcut. macOS was already set to require the password immediately.

  1. While the Mac was unlocked, I restarted only the bundled Computer Use service. I then put the display to sleep and verified that macOS reported the session locked before starting a fresh request from the iPhone.
  2. The first native Calculator request woke the display and returned Computer Use server error -10005: cgWindowNotFound. A second request, after the display had woken, unlocked the Mac through the Codex authorization plug-in and reached the Calculator. I verified the result of a new calculation, 73 × 59 = 4,307.
  3. I repeated the test from the iPhone with the Mac already locked and the display off, without manually restarting the service again. The first request again woke the display and returned the same error. The second unlocked the Mac and I verified an actual interaction in the Calculator. macOS then recorded a direct lock immediately after the Codex turn completed.

The helper started during the first request in both trials. These observations establish a repeatable recovery in this setup, but do not establish whether the initial manual service restart was necessary. The first request at display wake still fails.

Thanks to the report in #32396 for the lead.

benperry6 avatar Nov 23 '26 13:11 benperry6