Skip to content

macOS engine: an engine killed with SIGKILL or crashed leaves Chrome's AXEnhancedUserInterface on; the next engine restores it #293

Closed

Description

@SSFSKIM

Problem

#292 makes cua's macOS engine release what it turned on in Chrome: AXEnhancedUserInterface (EUI), which puts Chrome in its complete accessibility mode. The release fires at end_task, at engine shutdown, or 30 s after cua's last action on that Chrome, per the design session's ruling 1ea561bc ecc2143d and the owner's "while cua drives it, released when done". An engine killed with SIGKILL, or one that crashes, runs no release. The Chrome process then keeps EUI for its whole life:

Intent

Restore any EUI the engine left on, on the next engine start or connection. Two paths:

  • a small persisted record of the pids, with their process start times, that the engine turned EUI on for;
  • or a launchd-supervised watchdog.

The next engine reads the record. For each process still running at the same generation and no longer driven, it writes EUI false. It never touches a process whose EUI read true before cua's first write, which A3 forbids.

Constraints

Success criteria

  • Unit tests for the record's write, read, generation match and cleanup.
  • A hosted check: a SIGKILLed engine leaves EUI true; the next engine start writes it false and Chrome leaves complete mode.

Activity

  1. added
    enhancement
    status:ready-for-implementer
    priority:P3
    status:in-progress
    and removed
    status:ready-for-implementer
    on Nov 6, 2026
  2. added
    status:in-review
    and removed
    status:in-progress
    on Nov 8, 2026
  3. SSFSKIM commented on Nov 8, 2026

    @SSFSKIM
    OwnerAuthor

    [board] in-review: PR #333: record + restore at start; hosted check passed every cell (run 42520338893); reviewer-high CORRECT after 3 rounds; ci-gate GREEN

  4. removed
    status:in-review
    on Nov 8, 2026
  5. SSFSKIM commented on Nov 8, 2026

    @SSFSKIM
    OwnerAuthor

    [board] done: Landed via PR #333 (0.27.10)

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

    enhancementpriority:P3

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions