[Windows][Computer Use] @oai/sky returns accessibility:null for Notepad and Calculator in a local task despite successful window discovery
Summary
In a genuine Windows hostId=local Codex task, the documented @oai/sky text-only window-state call succeeds for two separate native Windows apps (Notepad and Calculator) but returns accessibility: null for both. Window enumeration and selection succeed. As a result, the agent cannot identify the Notepad editor or Calculator's number buttons using the documented accessibility output.
This is not established as a product defect: the API return type permits AccessibilityState | null, and the documented meaning of null is unclear. Please clarify expected behavior and any supported diagnostics for missing accessibility data.
Environment (observed 2026-10-09 JST)
- Windows, build reported by the local task:
10.0.26300. - A new dot-created task was independently verified as
hostId=local,codex / projectless; it was not the cloud-manageddurablediagnostic task. node_replexposed and working;@oai/skyimported successfully.- Computer Use plugin version shown in bundled manifest:
26.1002.52244. - Codex execution-runtime metadata:
0.162.0-alpha.2. - Installed Codex Desktop package version: unverified (package metadata inspection returned Access Denied).
- Independent
@oai/skypackage version: unverified.
Minimal observed reproduction
-
Open an ordinary, non-sensitive native Windows Notepad window.
-
In the authorized local task, initialize the officially bundled
@oai/skymodule vianode_repland callsky.list_windows(). -
Select the uniquely identified Notepad window returned by discovery.
-
Call the documented API with no screenshot:
const state = await sky.get_window_state({ window, include_screenshot: false, include_text: true }); -
The call completes successfully, returns zero screenshots, but
state.accessibility === null. No element index, focus, or editor/document text can be identified through the returned accessibility state. -
Independently open native Windows Calculator and repeat discovery/selection and the same text-only state call. Calculator is correctly discovered, and the request succeeds with zero screenshots, but
state.accessibility === nullagain. No numeric button element can be identified.
Both apps were discovered as distinct native windows. The calls did not throw exceptions. The failure to obtain accessible elements is reproducible across these two app targets, but no wider app matrix has been tested.
Expected behavior / questions
- When
include_text: trueis requested for an ordinary, visible native Windows app, return available accessibility text/elements, or an actionable explanation for a null result. - Is
accessibility: nullexpected for Notepad and Calculator under some supported app/window, focus, session, permissions, or runtime conditions? If so, please document those conditions. - Is there a supported, read-only diagnostic indicating whether UI Automation collection was attempted, failed, was suppressed, or returned no tree?
- Are any further documented initialization or permission steps required? The installed API documentation inspected for this task specifies module import, a returned window, and
include_text: true, but no separate accessibility initialization/admin requirement.
This should be evaluated independently of the browser-only cua_repl surface: in this local task, cua_repl reports native APIs disabled, whereas node_repl + @oai/sky actually enumerates native windows and completes state requests.
Related observations / issues
- #44050 records
accessibility:nullfor Calculator in an older Windows Computer Use runtime, although its primary issue concerns click/key input. - #47991 records
accessibility:nullfor Notepad in a separate one-off diagnostic, although its primary issue concerns screenshot-ID clicks. - Other reports (e.g. #50749) show that Windows Notepad accessibility can work in some environments; this report does not claim universal failure or a confirmed regression.
Scope and privacy
This was a read-only test: no clicks, typing, window changes, file edits, permissions changes, app reinstall, or privilege escalation. Screenshots were expressly disabled in these two tests. A separate window-capture scoping concern remains unconfirmed and is not attributed to the accessibility issue.
No private window IDs, thread IDs, usernames, local paths, screenshots, file contents, or raw logs are included.
Independent native Windows confirmation (tests on 2026-10-13 UTC / 2026-10-14 Asia/Taipei).
Environment:
- Codex MSIX: 26.1007.2314.0.
- Desktop updater previously reported 26.1007.21434, build 13901, prod, up_to_date.
- Installed @oai/sky package: 0.7.6.
Observed through the documented node_repl + @oai/sky API:
- Each test started with no existing window for that app.
- A new Calculator window and a new blank Notepad window were separately selected from returned windows, rebound with get_window, and activated.
- get_window_state({window, include_screenshot:false, include_text:true}) completed with accessibility:null and zero screenshots for both apps.
- Separate screenshot requests showed the correct app. Earlier, a separate Calculator test successfully clicked 2 and entered +3=, visibly producing 5. Native screenshot/input success therefore does not establish accessibility success.
- Both new test windows were normally closed. No document was typed or saved.
Read-only inspection of the installed JavaScript adapter found that it explicitly forwards the supplied include_text value. The Windows accessibility mapping preserves a valid provided tree and maps null/absent accessibility to null. This is installed-source evidence, not a raw trace of the active service/helper response.
No runtime/helper patches, custom UIA/input, permission changes, reinstall, or security-check bypass were used.
Could maintainers clarify when null is expected for these Windows apps and provide a supported read-only diagnostic distinguishing collection not attempted, suppressed, empty, and failed? If a fixed runtime applies, please identify its signed version and normal update route.
No account identifiers, local paths, window/session IDs, screenshots, private contents, signed URLs, tokens, or full logs are included.
Additional reproduction on 2026-10-22 with a newer Windows desktop package.
Environment verified locally:
- Windows NT 10.0.22631.0, x64.
- OpenAI.Codex MSIX package: 26.1016.8120.0.
- Bundled @oai/sky: 0.7.12; Computer Use skill bundle: 26.1016.61520.
- The official distribution package's AppxManifest.xml also reported 26.1016.8120.0 when checked on the test date.
Observed via the documented node_repl + @oai/sky API:
- Import sky, discover the target with list_windows(), require one matching returned window, rebind using get_window({id, app}), and activate it.
- On a blank Notepad editor:
const state = await sky.get_window_state({ window, include_text: true, include_screenshot: false }); // accessibility: null, screenshots: [] - On Windows Calculator:
const state = await sky.get_window_state({ window, include_text: true, include_screenshot: true }); // Screenshot correctly shows Calculator; accessibility: null. - Earlier screenshot-backed Notepad observation and a click in its blank editor also succeeded, but refreshing with include_text:true still returned accessibility:null.
- Resetting the official JS session and restarting the desktop app did not restore accessibility. Restarting did resolve a separate app-approval rejection; the successful post-restart state requests still returned null.
No text was entered and no calculations were performed during this reproduction. Missing focus observations prevented a verified text-entry/readback test.
Read-only inspection of the installed JavaScript adapter and desktop bridge found that the reviewed request path preserves include_text/params. This is static source evidence, not a raw native-service response trace or proof of the internal cause. The active native component was codex-computer-use-swift.exe and its Authenticode signature validated. The specific native UIA collection/response failure remains undetermined.
Could maintainers confirm whether null is expected in this configuration, and provide a supported diagnostic distinguishing collection not attempted, suppressed, empty, and failed? If a fix exists, please identify the supported signed version and normal update route.
Submitted at the user's explicit request. No private screenshots, application contents, account identifiers, machine names, personal filesystem paths, window/session IDs, full logs, configuration files, or extracted application source are attached. No permission bypass or native-component patch was used.
Additional reproduction on 2026-11-03, with @oai/sky 0.7.13, including a successful classic Windows app control test.
Environment
- ChatGPT/Codex desktop MSIX: 26.1027.6604.0
- Computer Use skill bundle: 26.1027.51404
- Bundled
@oai/sky: 0.7.13 - Windows DisplayVersion: 26H2, build 26300.9818
- Notepad: 11.2607.14.0 (WinUI 3 / Windows App Runtime 2.6.5.0)
- Calculator: 11.2607.0.0 (UWP / Microsoft.UI.Xaml 2.8)
Observed results
Using the documented node_repl + @oai/sky API, selecting returned windows and requesting include_screenshot: false, include_text: true:
| Target / condition | Result | Measured call duration |
|---|---|---|
| Blank Notepad, after resetting the JS session and rebinding the window | accessibility: null |
3052 ms |
| Calculator, after closing and reopening the app with a new window | accessibility: null |
3068 ms |
| Calculator, after activating keyboard focus | accessibility: null |
3059 ms |
Character Map (charmap.exe, Dutch UI: “Speciale tekens”) |
Populated accessibility tree, including text fields, buttons and focus | 35 ms |
Character Map returned structured accessibility text (for example the font field with value Arial, and Select/Copy controls); this was not OCR. Thus accessibility collection is not failing for every Windows app in this environment.
Window discovery, activation, foreground screenshots and keyboard input worked for the affected apps. The documented state call completed without throwing but returned null accessibility.
Recovery attempts and diagnostics
- Fully restarted the desktop app before retesting.
- Reset the official JS session, re-imported
@oai/sky, rediscovered and rebound the windows. - Retested with target windows in the foreground.
- Separately closed/reopened Calculator and tested keyboard focus.
- None restored Notepad/Calculator accessibility.
Read-only inspection of the installed JavaScript adapter shows that it forwards include_text: true. This is static source evidence, not a raw trace of the native response. No corresponding UIA/Computer Use crash or actionable error was found in the inspected desktop logs and Windows Application events. Individual Windows Error Reporting files were not all readable, so that check was incomplete.
The three tested apps loaded the same UIAutomationCore.dll version 7.2.26100.9949. Both affected app packages reported status Ok.
The roughly three-second delay is an observation, not proof of a timeout or its cause. The successful Character Map test does not distinguish an issue with modern UIA providers from the handling of packaged apps. No confirmed root cause is claimed.
Could maintainers provide a supported diagnostic that explains this null result, or identify a fixed version and the normal update route? The successful Character Map control may help narrow the investigation.
Additional reproduction on Windows with Codex Computer Use.
Versions:
- Codex desktop: 26.1103.3517.0
- Computer Use bundle: 26.1103.31037
- @oai/sky: 0.7.17
Using the documented @oai/sky API with include_screenshot: false and include_text: true:
- Windows Settings returned accessibility: null after 3,236 ms.
- Character Map returned a populated UIA tree after 38 ms.
- Inspect.exe exposed the “Sistema” UIA_ListItem in Settings. A separate read-only, medium-integrity UIA probe returned 140 elements for the Settings frame and 132 for its XAML CoreWindow.
This suggests that Windows exposes the controls but the native Computer Use helper returns null for this Settings window. The delay may indicate a timeout, but the cause is not confirmed. Please investigate UIA collection and window-candidate handling, and return an actionable error instead of null when collection fails.
No Windows security or privacy settings were changed.
Additional Windows reproduction with Computer Use 26.1103.31037
I reproduced the accessibility: null result with Windows Notepad and Calculator using Computer Use plugin 26.1103.31037. Computer Use found both windows and completed the accessibility requests without reporting an error. In the same environment, Computer Use returned populated accessibility trees for ChatGPT and File Explorer.
| Window | Computer Use accessibility result | Independent Windows UI Automation check |
|---|---|---|
| Notepad | accessibility: null |
45 controls enumerated |
| Calculator | accessibility: null |
58 controls enumerated |
The independent UI Automation check ran from non-elevated PowerShell. I also verified that Computer Use and Notepad were in the same Windows session and that both were running without elevation. Windows UI Automation exposed controls for both affected apps during the separate check. The reason Computer Use returned null remains unknown.
Separate observations
- The Notepad screenshot showed the correct window only when Notepad was in the foreground. Direct keyboard input reached Notepad even though the accessibility-based focus check returned
null. - After I moved the ChatGPT installation from
D:toC:, the previously missing Any Apps plugin appeared. Computer Use still returnedaccessibility: nullfor Notepad and Calculator.
Is there a supported read-only diagnostic that can show whether Computer Use attempted UI Automation collection for the selected window and whether it returned no elements or encountered an error? That would help explain the difference between the Computer Use result and the independent UI Automation check.
Additional Windows reproduction with a same-window UI Automation comparison:
- Codex MSIX package:
OpenAI.Codex_26.1103.7773.0 - Computer Use plugin:
26.1103.60933 - Bundled
@oai/sky:0.7.17
Calculator: Computer Use discovered the window but returned Accessibility state unavailable when selecting it. Immediately before that, PowerShell UI Automation successfully read the same top-level ApplicationFrameWindow with AutomationElement.FromHandle() and enumerated 33 descendants. The top-level window handle and process ID, as well as the inner Windows.UI.Core.CoreWindow handle and process ID, were unchanged after the test.
Character Map control: Computer Use successfully returned an accessibility tree with 27 indexed nodes for a charmap.exe window (#32770). PowerShell UI Automation also read the same window and returned 13 descendants. The counts are not directly comparable because the returned tree representations differ.
Notepad: Computer Use also reported that accessibility state was unavailable. An independent same-window PowerShell comparison was not completed for Notepad.
The Codex main process, Sky helpers, and Calculator’s ApplicationFrameHost were running at Medium integrity. The Calculator app process was at Low integrity. This observation alone does not establish a permissions cause.
These results suggest that accessibility collection is working for at least some Windows windows, while it fails for the tested Calculator window despite Windows UI Automation exposing its controls. They do not establish whether the cause is window selection, ApplicationFrameWindow/CoreWindow handling, the UI Automation provider, or another part of Sky’s collection path.
Could maintainers provide a supported diagnostic to distinguish the selected native window, UIA collection failure, an empty result, and permission-related failure? If a fix is available, please identify the version and normal update path.
Maintainer clarification requested: Windows accessibility extraction
We have encountered the same accessibility: null behaviour while verifying NetworkTrainer, a packaged WinUI 3 desktop application.
Environment
- Computer Use plugin:
26.1103.60933 - API:
sky.get_window_state() - Parameters:
include_screenshot: false,include_text: true
Observed results
- Three consecutive calls returned
accessibility: null. - Acquisition times were approximately 3.04–3.06 seconds.
- Target window and process identity were verified.
- No usable accessibility tree or playback-state information was returned.
The independent reproductions already documented in this issue show similar behaviour across other Windows applications. However, these observations do not establish a common root cause.
Questions for maintainers
-
Is accessibility-tree extraction from packaged WinUI 3 applications supported? Which Computer Use and
@oai/skyversions are covered? -
What documented conditions cause
accessibility: nullwheninclude_text: trueis requested? -
Is there a supported, read-only diagnostic procedure that distinguishes provider failures, client-side failures, unsupported windows, and collection timeouts?
-
Is the approximately three-second latency associated with a known timeout or fallback mechanism?
-
Does Computer Use provide a supported low-latency or event-driven method for observing native UI state transitions?
Our verification requires evidence that an automatic playback event has advanced while playback remains active, before a Restart action.
We are specifically requesting an authoritative diagnostic procedure and its applicable tooling versions, rather than undocumented workarounds or speculative application changes.
Current status: The text-only observation method is NOT QUALIFIED. N06 remains OPEN, and the overall HOLD remains unchanged pending tooling clarification. No application defect has been established.
I am experiencing a similar Windows Computer Use issue with both Notepad and Calculator.
Environment
- Windows 11
- ChatGPT Windows desktop app, powered by Codex & OWL
- Version: 26.117.41037
- Released: November 20, 2026
- Two monitors
Observed behavior
Computer Use recognizes the applications but cannot reliably read or interact with their windows.
The following errors occurred:
window is minimized; call activate_window, refresh with get_window, then retry get_window_stateAccessibility state unavailable for window 852268
Troubleshooting performed
- Manually opened and maximized the applications.
- Restarted the ChatGPT desktop app.
- Tested in new Work conversations.
- Granted the requested Computer Use permissions.
- Confirmed that the desktop app is up to date.
Neither application could be successfully controlled.
Diagnostic Feedback ID:
0fb2a7c5-a8d7-4bfd-930c-5ad8b05c88ed
I have already submitted diagnostic feedback containing the affected conversation and logs.
The underlying cause has not been established. I would appreciate confirmation of whether this relates to the accessibility issue described here and whether a fix is being investigated.