codex icon indicating copy to clipboard operation
codex copied to clipboard

[macOS] Computer Use captures Stage Manager thumbnail, poisons ScreenCaptureKit stream (-3811/-3812)

Open AryanRG opened this issue 3 months ago • 17 comments

Summary

With macOS Stage Manager enabled, Codex Computer Use can select an inactive app's Stage Manager thumbnail instead of its real window. The thumbnail has off-screen/negative window coordinates, so ScreenCaptureKit fails its display lookup. That failed capture can then poison the shared capture service: subsequent captures of unrelated, valid on-screen apps also return SCStreamErrorDomain errors until the service is restarted.

Disabling Stage Manager resolves the issue.

Environment

  • macOS: 27.0 (26A5378n), Apple Silicon / arm64
  • ChatGPT/Codex Desktop: 26.803.61601 (build 6396)
  • Computer Use plugin/runtime: 1.0.1000633
  • Displays: one active built-in display
  • Stage Manager: enabled when reproducing
  • Screen Recording and Accessibility permissions: enabled for ChatGPT and Codex Computer Use
  • Feedback session: 019ffaa1-04c8-7f82-a598-5ffa29e6aa2d

Actual behavior

Computer Use initially returned a screenshot for TextEdit, but it was a distorted Stage Manager thumbnail rather than the full application window.

Unified ScreenCaptureKit logs showed the selected thumbnail outside the active display:

SCContentFilter setContentsAndStreamTypeMacOS:
failed display lookup for windowBounds=<private> cgError=0 found=0

contentRect=[x=-271.000000 y=701.000000 width=154.000000 height=122.000000]

Computer Use then returned:

Computer Use server error -10005:
Error Domain=com.apple.ScreenCaptureKit.SCStreamErrorDomain Code=-3811
"Failed to start stream due to audio/video capture failure"

and later:

Computer Use server error -10005:
Error Domain=com.apple.ScreenCaptureKit.SCStreamErrorDomain Code=-3812
"Failed due to an invalid parameter"

After the TextEdit failure, a previously working Calculator capture also failed with -3812, showing that one invalid Stage Manager target can leave the shared capture service in a bad state.

Restarting only SkyComputerUseService did not reliably recover while Stage Manager remained enabled; the next target capture could immediately fail again.

Reproduction

  1. Enable macOS Stage Manager and leave its recent-app strip visible.
  2. Open TextEdit and Calculator.
  3. Switch away from TextEdit so it appears in the Stage Manager strip.
  4. Ask Codex Computer Use to inspect TextEdit with get_app_state.
  5. Observe either:
    • a distorted/perspective Stage Manager thumbnail screenshot, or
    • SCStreamErrorDomain -3811 / -3812.
  6. Ask Computer Use to inspect Calculator.
  7. Observe that Calculator can now fail with the same capture error even though its window geometry is valid.

Expected behavior

  • Computer Use should activate and capture the real application window, not a Stage Manager thumbnail.
  • Off-screen/thumbnail windows should be rejected before constructing the ScreenCaptureKit content filter.
  • A failed window capture should not corrupt later captures for other applications.
  • On -3811 or -3812, the service should discard the invalid filter/stream state and recover automatically.

Workaround and validation

  1. Disable Stage Manager in System Settings > Desktop & Dock.
  2. Restart the dedicated Computer Use capture service.
  3. Re-run captures.

After disabling Stage Manager:

  • TextEdit changed from the distorted thumbnail to a normal full-window screenshot.
  • Six alternating get_app_state calls across TextEdit and Calculator all succeeded.
  • No new failed display lookup or SCStreamErrorDomain messages appeared in the verification window.

Suggested guards

  • Exclude Stage Manager strip thumbnails from candidate target windows.
  • Validate that a target window intersects an active SCDisplay before creating SCContentFilter.
  • Prefer an actual on-screen standard window over off-screen/transformed representations of the same app.
  • Recreate SCShareableContent, SCContentFilter, and stream state after -3811 / -3812.
  • Add a regression test where an app is in the Stage Manager recent-app strip, followed by a capture of a separate on-screen app.

Related issues

  • #30846 reports the same generic -3811 wrapper, but with a different suspected trigger (audio entitlement/helper lifecycle). This report includes a deterministic Stage Manager/off-screen-window trigger and the additional -3812 poisoned-stream behavior.
  • #37115 covers a separate Computer Use PiP/Stage Manager focus-stealing interaction.

AryanRG avatar Aug 13 '26 10:08 AryanRG

Additional macOS 27 reproduction showing failed display lookup is not limited to Stage Manager.

Environment:

  • macOS 27.0 beta, build 26A5416b, Apple silicon
  • ChatGPT/Codex Desktop 26.818.41509, build 6962
  • Computer Use helper 26.819.1000816
  • Stage Manager was not the triggering condition
  • ScreenCapture and Accessibility are allowed for com.openai.sky.CUAService (system TCC auth_value=2)

Same helper/session comparison:

  • get_app_state(Finder) succeeded with screenshot and AX data.
  • get_app_state(Calculator), whose window was not mappable to the current active display/Space, failed with SCStreamErrorDomain -3811.
  • Targeted unified logging at the failure recorded: ScreenCaptureKit: failed display lookup for windowBounds= cgError=0 found=0 replayd: Failed to start stream due to audio/video capture failure

Because Finder succeeded immediately in the same process and TCC state was allowed, this is not a global Screen Recording permission failure. The target-window/display association appears stale or invalid across Spaces/background window state even without Stage Manager.

Suggested guard: validate target-window intersection with an active SCDisplay, refresh SCShareableContent before building the filter, reject stale/off-Space candidates, and retry once with a new stream after -3811.

No private window contents or full system logs are included.

noahhhi avatar Aug 22 '26 23:08 noahhhi

I can reproduce this on macOS 26.5.1 Apple silicon without Stage Manager.

In a fresh Computer Use session, Finder inspection succeeds. A menu-bar-only TypeWhisper app fails when its Settings window is on another Space, or when no standard window is open:

Computer Use server error -10005: SCStreamErrorDomain Code=-3811 “Failed to start stream due to audio/video capture failure”

The unified log records:

ScreenCaptureKit: failed display lookup for windowBounds= cgError=0 found=0

Moving the Settings window onto the active Space makes capture succeed and returns the normal accessibility tree. Closing that window then produced SCStreamErrorDomain -3812 (“Failed due to an invalid parameter”). Restarting the capture service alone did not make the off-Space/no-window target captureable.

This suggests the issue also affects stale or off-Space window candidates and menu-bar-only apps with no captureable standard window. The service should validate that the selected window intersects an active display, refresh shareable content, reject off-Space/no-window targets, and return an actionable diagnostic instead of the generic -10005 error. An explicit launch/open path should also be separate from screenshot capture for status-item-only apps.

Kombuchameister avatar Sep 08 '26 04:09 Kombuchameister

Also affected by this bug, had 6 Sol diagnose and fix:

Fresh test on macOS 27.0, ChatGPT/Codex 26.924.22138 (build 11645), Computer Use helper 26.923.1001242, one built-in display. Stage Manager stayed on throughout; "Show recent apps" stayed off. No Screen Recording or Accessibility permission changes were needed.

I tested a focus-first workaround: activate the target app with AppleScript (tell application id "com.apple.Safari" to activate, with the corresponding bundle ID for each other app), then call Computer Use getApp/getScreenshot. In alternating tests, Safari, Brave, and System Settings all returned their real full windows, not Stage Manager thumbnails: Safari 1472 x 1846, Brave 2498 x 1846, System Settings 1480 x 1846. Each app captured twice after switching away and back. A Safari scroll also worked; its accessibility scroll-bar value changed from 0.452 to 0.274.

This is only a workaround. It requires bringing each target app to the foreground and does not fix capture of an inactive app. With the same Stage Manager setup, capturing an inactive Safari window had previously failed with -3811; enabling the recent-app strip had allowed a capture of its thumbnail instead of the real window. The current test suggests that explicit activation makes the correct window available before the helper picks a ScreenCaptureKit target.

The native capture-helper implementation does not appear in the public openai/codex source (public code search found no SCContentFilter use), so I cannot make a meaningful PR against it. Please have the helper select an on-screen standard window after activation, reject Stage Manager thumbnails/off-display candidates, and recover with a fresh stream after -3811/-3812. A regression test should alternate foreground and inactive apps with Stage Manager on and verify full-window pixels, not only accessibility output.

joey-david avatar Sep 28 '26 19:09 joey-david

I’m still running into this with Safari on ChatGPT/Codex 26.928.20755 (build 12246), Computer Use helper 26.924.1001281, and macOS 27.0 (26A428, Apple Silicon).

With Stage Manager on, I leave Safari behind the app I’m working in and ask Codex to inspect it. Codex sometimes gets the small tilted Stage Manager preview instead of the full Safari window, or fails with ScreenCaptureKit -3811 / -3812. Restoring Safari from its minimized state didn’t reliably help.

One additional detail from the capture logs may help narrow it down:

failed display lookup for windowBounds
contentRect x=1791, y=449, width=8, height=4
fallback display contentRect x=0, y=0, width=1728, height=1117
validateStreamConfiguration: contentRect does not contain sourceRect

Turning Stage Manager off gave a full 2924 × 2168 capture and working UI actions. Restarting only SkyComputerUseService and resetting the REPL briefly recovered full capture with Stage Manager back on, but the thumbnail problem returned during background use. No Screen Recording or Accessibility permissions were changed during these tests.

I need Codex to keep working in Safari while I use another app. Bringing Safari to the foreground interrupts that workflow. Please test the fix with Safari inactive and Stage Manager on, checking that both full-window capture and input work without taking focus.

dterenyi avatar Sep 30 '26 02:09 dterenyi

@adams-oai — you previously helped with the macOS Computer Use helper issue in #32032. Could you help route this report to the ScreenCaptureKit / Stage Manager owner, and clarify whether a native-helper fix is being tracked?

Fresh retest on October 1, 2026, with Stage Manager enabled:

  • ChatGPT/Codex desktop: 26.928.31416, build 12553. The app's updater reports it is up to date on the configured channel.
  • Computer Use helper: 26.924.1001281, build 1001281.
  • macOS: 27.0.1, build 26A434.

After resetting the Computer Use REPL connection:

  1. cua.getApp('com.apple.systempreferences') failed with SCStreamErrorDomain -3811.
  2. After one explicit AppleScript activation of System Settings, getApp and getAXStateAndScreenshot succeeded and returned an actual full-window screenshot.
  3. After the AppleScript activation, I manually clicked back into the Codex window. System Settings was no longer in the foreground when the later operation failed: the combined call to select General and retrieve the updated state and screenshot returned -3812. The exact failing substep within that combined call is not established.

The corresponding system log again contains:

failed display lookup for windowBounds
contentRect does not contain sourceRect

Correction to my initial description: I had omitted that manual focus change. This retest shows successful capture after activation, followed by failure after I returned focus to Codex. It does not demonstrate that capture spontaneously stopped working while System Settings remained in the foreground. The relevant failure condition is capturing/operating the target after it loses foreground focus with Stage Manager enabled.

Is there an internal fix or a target helper release we can test for this background-window case? A regression test should activate and capture a target, switch focus back to Codex or another app, then verify full-window capture and continued input with Stage Manager still on. Thank you.

lyc280705 avatar Oct 01 '26 06:10 lyc280705

Additional real-user reproduction on macOS 27.0.1 (build 26A434), using Codex desktop Computer Use / unified-computer-use to inspect WPS Office.

Observed sequence:

  1. Computer Use repeatedly failed to capture WPS windows, with wrapper error -10005 and ScreenCaptureKit SCStreamErrorDomain -3811 ("Failed to start stream due to audio/video capture failure").
  2. The user confirmed that Screen Recording permission for Codex Computer Use was already enabled in System Settings.
  3. The user restarted the desktop app and retried; the capture problem persisted.
  4. Stage Manager was enabled during the failures.
  5. The user disabled Stage Manager. After that change, cua.getApp("com.kingsoft.wpsoffice.mac") and app.getScreenshot() successfully returned the WPS home window and, subsequently, an open Word document window. Finder accessibility inspection also worked.

Impact: this blocked an actual WPS page-inspection task and led to repeated permission/restart troubleshooting even though permission was already enabled.

This supports Stage Manager as a relevant trigger in another environment, but we have not established the internal cause: we did not collect off-screen window geometry, did not observe -3812 in this session, and did not re-enable Stage Manager to perform an A/B retest.

Please consider filtering Stage Manager thumbnail windows, automatically recovering failed ScreenCaptureKit streams, and providing a diagnostic that distinguishes capture failures from missing screen-recording permission. No user documents, screenshots, private paths, or full conversation logs are attached.

sparkymossor6589-ux avatar Oct 02 '26 15:10 sparkymossor6589-ux

I can also reproduce this on the following current setup:

  • macOS 27.0.1 (26A434)
  • ChatGPT/Codex desktop app 26.1002.52244 (build 13536), production channel

In the same chat, we tested native Computer Use against Google Chrome and System Settings:

  1. With Stage Manager enabled, both apps failed with Computer Use server error -10005 / com.apple.ScreenCaptureKit.SCStreamErrorDomain Code=-3811 (audio/video capture failure).
  2. After disabling Stage Manager, both apps returned real, readable window screenshots. Chrome showed the actual page and System Settings showed the Desktop & Dock pane.
  3. After re-enabling Stage Manager, both apps immediately failed again with the same -3811 error.

Stage Manager had been enabled during earlier successful Computer Use sessions. Both macOS and the desktop app have been updated since then, so we cannot isolate which update introduced the regression. The toggle comparison above consistently identifies Stage Manager as the trigger on this setup, but does not establish the underlying cause.

Disabling Stage Manager is a working workaround here. Adding this as another reproduction on macOS 27.0.1 and a newer desktop build.

aspatic avatar Oct 08 '26 06:10 aspatic

Sharing a successful workaround on Mac, build 26.1002.52244. Finder worked, but other apps failed with ScreenCaptureKit errors -3811/-3812. After turning off Stage Manager and bringing each target app to the foreground, I successfully tested Mail, Airmail, Reminders, Calendar, WhatsApp, Messages, FaceTime, Notes, Safari, Spotify and ONLYOFFICE. Messages included a confirmed SMS delivery using “Send as Text Message.” I changed both Stage Manager and foreground-window handling, so I haven’t isolated which was necessary. Hopefully this helps others with the same problem and gives your team another successful workaround report.

Bentley4444 avatar Oct 09 '26 00:10 Bentley4444

Additional reproduction on October 9, 2026:

  • ChatGPT desktop version: 26.1007.21159, read from the installed app bundle.
  • macOS: 27.0.1, build 26A434.
  • Stage Manager is enabled: defaults read com.apple.WindowManager GloballyEnabled returned 1.
  • The user's screenshot shows Screen & System Audio Recording enabled for both ChatGPT and Codex Computer Use.
  • cua.getApp("com.netease.163music") failed twice with ScreenCaptureKit SCStreamErrorDomain -3811: "Failed to start stream due to audio/video capture failure".
  • Calculator's first acquisition timed out; a subsequent cua.getApp("com.apple.calculator") returned the same -3811 error.
  • cua.getApp("com.apple.systempreferences") also returned the same -3811 error.
  • Resetting the Computer Use JavaScript session and retesting Calculator still returned -3811. This was a client session reset, not a restart of the native capture helper.

The user reports this is recurring, not their first occurrence.

A later retest was blocked before capture with "Computer Use was not approved to use Calculator"; System Settings was also refused. This is a distinct approval-layer blocker, so that retest cannot establish whether the capture failure persists. Native helper inspection was also blocked by the current session's process-inspection restriction.

The Stage Manager workaround has not yet been applied or validated in this reproduction. Enabled Stage Manager is a correlation; the selected window geometry and exact cause have not been established. Please investigate cross-app capture recovery and provide actionable diagnostics distinguishing capture errors from app-approval refusals.

No private screenshots, account details, or full logs are attached.

mini-1235 avatar Oct 09 '26 13:10 mini-1235

Follow-up to the reproduction above:

  • After the app-approval blocker was cleared, Calculator acquisition succeeded and UI input produced 1 + 1 = 2.
  • A subsequent NetEase acquisition returned ScreenCaptureKit SCStreamErrorDomain -3811. Immediately afterward, Calculator acquisition returned the same -3811, despite its earlier success. This sequence suggests shared capture-service failure state; it does not establish the exact cause.
  • Stage Manager had been turned off by the user before this recurrence, so disabling Stage Manager alone did not prevent it in this session.
  • The user was then advised to quit only SkyComputerUseService and SkyComputerUseClient in Activity Monitor. Their exact intervening actions were not independently verified.
  • On the next retest, both Calculator and NetEase acquisitions succeeded. NetEase returned a real window screenshot, accepted search and playlist input, and showed active playback. No -3811 occurred during these successful calls.

Capture recovered, but a durable fix and root cause remain unverified. Please investigate why a failed acquisition can be followed by failure of a previously working app, and whether the capture service can recover automatically without manual helper cleanup. The separate app-approval refusal should also provide actionable guidance when approval prompts are disabled.

mini-1235 avatar Oct 09 '26 13:10 mini-1235

Adding a recovery observation on a newer desktop build:

  • macOS 27.0.1 (26A434)
  • ChatGPT desktop 26.1007.21159, build 20052

With Stage Manager enabled, two earlier Computer Use attempts to inspect System Settings failed with error -10005 and ScreenCaptureKit SCStreamErrorDomain -3811.

After I turned Stage Manager off, Computer Use successfully captured System Settings > Desktop & Dock on October 9, 2026 at 23:05:44.972 UTC. The captured settings state also confirmed that Stage Manager was off.

Stage Manager was not re-enabled for an ON/OFF/ON comparison. This records a successful capture after disabling it, but does not establish the underlying cause or a durable fix.

No screenshots, personal information, local paths, or session identifiers are included.

NemuKei avatar Oct 09 '26 23:10 NemuKei

P0 escalation requested — October 12, 2026

The user explicitly requests P0, the highest priority, for this issue. This supersedes the earlier P1 request.

The user reports that enabling macOS Stage Manager makes Computer Use unusable, blocking their Computer Use workflow while Stage Manager is enabled.

Please treat this as a P0 escalation request: urgently triage it, route it to the team responsible for native Computer Use/window capture, and prioritize a durable fix. Please acknowledge the escalation and provide the team's priority assessment, current progress, and a target release or ETA when available. The expected behavior is that Computer Use remains functional with Stage Manager enabled; disabling a normal macOS window-management feature should not be the long-term requirement for using it.

This follow-up records the user's current report and requested priority. P0 is the user's request, not a claim that maintainers have assigned that priority. We have not independently reproduced the Stage Manager failure in this reporting session and are not claiming a verified root cause or specific error code. Please use the existing reproductions in this issue to guide investigation, including foreground/background window transitions with Stage Manager enabled.

中文补充:用户明确将优先级要求提升为 P0(最高优先级),取代此前的 P1 请求。开启「台前调度(Stage Manager)」后 Computer Use 无法使用,相关工作流程被阻断。要求立即排查、转交负责团队并优先修复,同时确认收到升级请求,反馈优先级评估、处理进度及可提供的修复版本或时间。P0 是用户提出的要求,并不代表维护团队已经按 P0 定级;本次反馈会话中尚未独立复现。

katashing avatar Oct 12 '26 13:10 katashing

Additional reproduction on October 13, 2026, using WhatsApp through unified Computer Use.

Environment read from the installed system:

  • macOS 27.0.1 (26A434).
  • ChatGPT/Codex desktop 26.1007.30912, build 20156.
  • Computer Use helper 26.1005.1001425.
  • unified-computer-use 26.1007.30912.

Observed during the same chat:

  1. With Stage Manager reported enabled by the user, acquiring/capturing WhatsApp repeatedly failed with ScreenCaptureKit -3811 ("Failed to start stream due to audio/video capture failure") and -3812 ("Failed due to an invalid parameter").
  2. Accessibility text was sometimes readable, while a click followed by an observation left the selected chat unchanged. Resetting the JavaScript session did not resolve the initial capture failure.
  3. After the user disabled Stage Manager, real full-window screenshots and chat navigation worked, and text could be entered and verified in the intended composer.
  4. During a later recurrence, getScreenshot() returned a visibly small, tilted Stage Manager preview rather than the real window. Chat selection did not take effect, and the window's exposed Raise action did not recover it.
  5. After the user again confirmed Stage Manager was disabled, the same app returned a normal full-window screenshot, chat navigation worked, and composer input was verified.

This was an observed workflow, not a controlled ON/OFF/ON test: the Stage Manager setting was reported by the user, and we did not inspect native window geometry or isolate the precise internal cause.

The user wants to keep using Stage Manager. Please prioritize correct selection of the real app window, capture recovery, and a regression test covering inactive apps with Stage Manager enabled.

No private chat text, screenshots, local paths, or full session logs are attached.

josefshamstr avatar Oct 13 '26 10:10 josefshamstr

I filed this to Apple: FB25233089.

AustinConlon avatar Oct 18 '26 06:10 AustinConlon

Adding a related native-app observation to this existing issue to avoid a duplicate report. The thumbnail-like image resembles the reports here and in #53989, but the underlying cause and a Stage Manager relationship have not been established in this case.

Environment

Installed metadata was read on November 3, 2026, 23:47 UTC:

  • macOS 27.0.1, build 26A434; arm64.
  • ChatGPT desktop / Codex surface: 26.1027.61615, build 24141 (bundle ID com.openai.codex).
  • Bundled Computer Use helper: 26.1022.1001641, build 1001641 (bundle ID com.openai.sky.CUAService).
  • Cached plugins: unified-computer-use 26.1027.61615 and computer-use 1.0.1001641.

The helper value is from the bundled application's metadata; plugin values are from installed cache manifests. Their correspondence to the runtime loaded during each earlier trial was not independently verified.

Observed sequence and results

The target is a signed, local arm64 macOS application built with SwiftUI/AppKit, including NSHostingView/NSScrollView. Its private name, code, paths and data are omitted.

  1. Acquire the exact target application through the supported cua.getApp interface, then open its Settings window with Command-comma.
  2. Request the combined accessibility state and screenshot. The accessibility output contains the Settings controls, but the returned image is entirely white, 130 × 194 pixels.
  3. Select another window of the same target through its ordinary Window menu. The image is not all white, but is a 236 × 274 pixel, tilted/deformed thumbnail-like representation. Its controls cannot be read reliably.
  4. The exposed AX Raise action, Window-menu selection and one Command-grave window-cycle trial did not establish a readable target-window image. Bring All to Front and Arrange in Front were disabled in the actual menu.
  5. A separate attempt to reach the target through the Dock failed at cua.getApp('com.apple.dock') with -10005 timeoutReached. One trial after Control-F3 also timed out. No Dock item was selected because the target could not be identified.

The Dock failure occurs at an API boundary that combines acquisition and initial observation; the failing internal stage is unknown. It is not evidence of an approval refusal or proof that Dock is unsupported. This report does not claim that the Dock timeout is the same failure as the ScreenCaptureKit -3811/-3812 errors in earlier reports.

Expected result and impact

The official capture should return the readable, actual window corresponding to the accessibility state, or explain why it cannot. This blocks verification of a Settings UI-scale change and subsequent real mouse editing. Accessibility text alone is insufficient to verify the visual layout and mouse targeting.

No blind coordinate input was sent. The test application was quit normally, the application and its worker were confirmed absent, settings were restored, and the Computer Use JavaScript session was reset. No OS/security settings or production data were changed for these trials.

Requested investigation

Please inspect the selected native window ID, capture input rectangle/output scale, standard-window versus thumbnail selection, and the ordering of window activation and capture. The available macOS public interface did not expose those target details for this investigation.

The current evidence does not establish a Stage Manager setting, an on/off comparison, a root cause, or a durable recovery. A supported diagnostic or recovery path that preserves normal OS settings would help us complete the blocked GUI verification.

No screenshots, source files, personal details, local paths, raw logs, or session transcripts are included in this comment.

xiroqs avatar Nov 04 '26 00:11 xiroqs

I'm reproducing a closely related issue in the new ChatGPT desktop app on macOS, specifically with Appshots in Work/Codex conversations.

With Stage Manager enabled, capturing Google Chrome sometimes produces the small, transformed Stage Manager window preview instead of the actual full application window. The resulting attachment is too small to read properly.

With Stage Manager disabled, the same application can be captured normally.

Appshots should identify and capture the real application window, even when Stage Manager is enabled, rather than capturing its preview thumbnail.

Please include Appshots in the Stage Manager capture regression tests. Users shouldn't have to disable a macOS window-management feature to take readable screenshots.

Screenshot 2026-11-14 at 22 35 44

techbantu avatar Nov 15 '26 06:11 techbantu

Codex Computer Use on macOS: Stage Manager thumbnails fail with -3811, and the capture stream stays open afterwards

Versions: ChatGPT desktop 26.1111.21308 → 26.1120.50957 (same behavior on both), Codex Computer Use 26.1111.1001923 → 26.1119.1002056, Codex CLI 0.172.0, macOS 27.2.1 (26B131), Apple Silicon. Stage Manager on.

1. Window in the Stage Manager strip → SCStreamErrorDomain -3811 (adds data to #38348)

sky.get_app_state({app:"com.apple.finder"}) failed every time with Computer Use server error -10005: ... SCStreamErrorDomain Code=-3811 while Finder's only window sat in the Stage Manager strip (window bounds about 171×129 at x≈-266). After open -a Finder brought the same window to center stage (1155×512), the same call returned the window title at once. Updating the app and restarting the Computer Use service didn't change it; approval and Screen Recording were in place.

Ask: bring the target window to the stage (or capture the real window, not the thumbnail) before capturing, or return a clear "window is a Stage Manager thumbnail" error instead of a generic -10005.

2. The capture stream stayed open after the call

After the successful read, macOS kept showing "ChatGPT — currently sharing" with a live preview of that Finder window (file names visible) until the user clicked Stop Sharing, minutes later. While it was open, another tool's full-display capture on the same Mac (Claude Code's computer-use screenshot) kept timing out; after stopping the share it still timed out, and only a reboot fixed it. After the reboot the other tool captured fine, with and without a Sidecar display attached.

Ask: end the ScreenCaptureKit stream when the call finishes, so the share indicator goes away and other capture clients are not affected.

3. Smaller

  • "Always allow" for Finder was asked again later in the same session (the second request came after an interrupt).
  • After the ChatGPT app updated itself, a Codex session started before the update failed with Sky Computer Use native pipe startup failed; a new session worked. A clearer "restart the session after an update" error would help.

WangAxerold avatar Nov 25 '26 13:11 WangAxerold