Skip to content

[macOS 26.1029.61003] Existing chat loses CUA tools after app startup/resume; browser mention restores access #59609

Open

Description

@RainYutian-5

CUA tool disappears when resuming an existing desktop chat

Environment and observed behavior

  • macOS arm64 desktop app 26.1029.61003, bundle build 24614.
  • An existing chat previously completed native CUA calls.
  • After desktop application startup and chat resume, its next tool update removed the CUA namespace.
  • Re-selecting the browser through the official mention flow restored browser access. The chat successfully used browser.user.openTabs() and returned seven real tab titles.

Timeline (2026-11-05, UTC+8)

  • 11:40:47: desktop app starts.
  • 11:41:11: existing chat resumes and initializes MCP connections.
  • 11:41:16.673: installed CUA manifest is rewritten, enabled for browser and computer surfaces.
  • 11:41:23: the chat receives removal of its CUA tool namespace.

These observations identify a startup/resume transition to investigate. The recorded logs do not contain the exact initialization state, eligibility inputs, or effective per-chat configuration snapshot used to generate that removal.

Relevant implementation

The browser runtime configuration builder waits for currently registered plugin reconciliation and browser synchronization promises. It returns a configuration explicitly disabling CUA when the synchronization result does not indicate CUA is enabled. Missing state and explicit ineligibility converge on the disabled configuration path.

Existing safeguards include stable-generation promise waiting, serialized browser configuration synchronization, atomic manifest replacement, and per-operation browser authorization scoped to the executor, account, session, and turn. Preserve these protections.

Requested engineering change

  1. Record explicit initialization states: unregistered, pending, ready, explicitly disabled, failed. Include safe generation and eligibility diagnostics.
  2. Register the initialization barrier before existing-chat resume can build its runtime configuration.
  3. Preserve explicit disabled decisions. Await pending initialization with bounded, actionable failure handling.
  4. Coordinate retry, cancellation, and shared initialization flights; prevent permanently hung flights from poisoning subsequent retries and prevent stale completion from writing configuration after cancellation.
  5. Refresh affected chat tool catalogs once initialization completes, coordinating with in-flight tool calls and preserving current authorization checks.

Local investigation and regression checks

An isolated copy of the actual compiled configuration function reproduces missing state becoming a disabled override. A prototype readiness helper passed controlled branch, explicit-disable, identity propagation, timeout, failure, and same-connection concurrency fixtures.

Review found the prototype is not ready to ship: its shared initialization flight can remain hung after waiter timeout; it does not address stale non-null disabled state; one isolation fixture used separate VMs instead of a shared module; dependency injection and late writes still require production lifecycle integration. This report does not claim the prototype fixes the observed production incident.

Required acceptance

  • Resume a chat immediately during deliberately delayed initialization.
  • Verify no unintended CUA removal and confirm a real read of an existing browser tab.
  • Test explicit disable, revoked access, initialization failure, cancellation, timeout followed by successful retry, two connections in one process, concurrent windows, and active tool calls during refresh.
  • Verify normal application code signature and archive integrity after installation.

The installed application was left unchanged. It has a vendor signature and sealed archive; the local machine reports zero valid signing identities. A distributable fix requires the maintained client source/build pipeline or a vendor-signed update.

This report omits account identifiers, chat identifiers, document URLs, page titles, credentials, and raw private logs.

Related maintainer report

Related: #49307 describes the same initialization-result-to-disabled-override propagation on an earlier macOS build. This report adds an observed startup/resume transition on 26.1029.61003 and successful recovery through the official browser mention flow. Please correlate the runtime eligibility/state-generation snapshot with the per-chat tool catalog update.

Activity

  1. added
    bug
    app
    session
    on Nov 5, 2026
  2. github-actions commented on Nov 5, 2026

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appbrowserbugcomputer-usesession

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions