Skip to content

Independence 4b: cua's own Linux native engine (replace sky_linux), after #117's macOS engine #171

Done
2 of 2 issues completed

Description

@SSFSKIM

Purpose

Child of the independence composite #114, split from #117 by the owner's ruling of 2026-10-18: Linux is in scope, macOS goes first. The Linux native engine (sky_linux, the vendor's Rust helper behind @oai/sky's Linux client) is the last vendor binary on Linux once #117 lands on macOS. cua's own REPL host already serves Linux (#116) and the sandbox is cua's own (#115).

Goal

cua's own Linux engine behind the same service contract #117 defines: the window-bound API (list_apps, list_windows, get_window_state with the AT-SPI tree, click, press_key, type_text, scroll, drag, launch_app, activate_window, get_screenshot, and the rest of the advertised set), the JS-side indexed text renderer unchanged (src/cua-api/linux-accessibility-tree.mjs), X11 first (the owner's VM: Ubuntu 24.04, X11, arm64), with a backend capability contract that leaves Wayland as a later, explicitly consented backend. Text entry must not use AT-SPI EditableText.PasteText on GTK3 (the gedit and mousepad crash). Measured against the Linux native baseline (docs/evidence/2026-10-14-own-repl-host-native/) and the #116 parity suite's native cases, with the same engine-axis harness and no-regression rule as #117.

Acceptance

Engine-axis comparison on cua-linux: no regression per operation (the #117 rule); the 19 native parity cases equal or strictly better (the GTK3 paste crash fixed counts as better); the Linux acceptance runner passes; the pinned sky_linux and its JS client leave the layout; README, spec, plugin bump.

Open (to design when opened)

Language and dependencies (the research recommends one Rust helper per architecture; the owner's no-unvetted-third-party rule applies to crates too, so the dependency set is a design question), the glibc floor, x64 coverage, the Wayland scope. Research: ~/.claude/jobs/1ea561bc/tmp/117/C-linux.md, local to the coordinating session; summarize it into the spec when this opens.

Order

After #117's macOS engine and its verification system land; this ticket reuses both.

Sub-issues

Sub-issues

2 of 2 Issues completed
Loading 2 sub-issues

Activity

  1. added
    enhancement
    status:deferred
    priority:P2
    on Oct 18, 2026
  2. SSFSKIM commented on Oct 18, 2026

    @SSFSKIM
    OwnerAuthor

    [board] deferred: Split from #117 (owner 2026-10-18): Linux is in scope, macOS first. Opens after #117's macOS engine and verification system land.

  3. added a commit that references this issue on Oct 22, 2026
  4. added
    status:ready-for-architect
    and removed
    status:deferred
    on Oct 28, 2026
  5. SSFSKIM commented on Oct 28, 2026

    @SSFSKIM
    OwnerAuthor

    [board] ready-for-architect: Opened by the owner 2026-10-28 (Linux work while the mini is busy)

  6. added
    status:in-design
    and removed
    status:ready-for-architect
    on Oct 28, 2026
  7. SSFSKIM commented on Oct 28, 2026

    @SSFSKIM
    OwnerAuthor

    [board] in-design: Design session cua_repl#1ea561bc

  8. added
    status:in-progress
    and removed
    status:in-design
    on Oct 28, 2026
  9. 291 remaining items

  10. added 10 commits that reference this issue on Nov 2, 2026
  11. SSFSKIM commented on Nov 14, 2026

    @SSFSKIM
    OwnerAuthor

    M4 landed: PR #380, squash 78b4959, cua 0.28.0. It ships linux-engine-v0.4.0 (release run 43637317960 on c55c8e0; the x64 asset is byte-identical to the gated candidate 3, sha256 751ec9be…) and closes #250, #264, #265, #353 and #363. The release gate passed on candidate 3's composite record, with the ruled steps and declared gaps listed in the gate README (docs/evidence/2026-10-28-own-linux-engine/m4/gate/). M5, M6a and M6b remain. An installed 0.3.0 engine is refused under the merged code until cua install --engine is run.

  12. SSFSKIM commented on Nov 27, 2026

    @SSFSKIM
    OwnerAuthor

    [board-epic] ready-for-architect: recomposition-due: all children terminal

  13. SSFSKIM commented on Nov 27, 2026

    @SSFSKIM
    OwnerAuthor

    [recomposition] #171's acceptance holds, so the epic closes. M6b landed in PR #594 (main 1610082, cua 0.30.0).

    All 13 acceptance items are witnessed in the spec's Outcomes table (docs/doperpowers/specs/2026-10-28-own-linux-engine-design.md, Outcomes & Retrospective), with the evidence under docs/evidence/2026-10-28-own-linux-engine/:

    • Rerun at H = 3722f28 on engine 0.4.5: items 1, 9, 10 (cua lane, R3, R4, ci-gate 46052942014, engine-linux 46056294731) and 13 (E0–E3, U0–U5 on x64, hosted arm64 and hosted x64, run 46052854181).
    • Rerun in part: item 4 (FB on x64 at H; arm64 FB at 854103a) and items 6–8 (E1, U3, R4, R1's minimized case).
    • Cited from M5, bridged to H by the credit check: items 2, 3, 5 and 11. Item 12 is cited from M6a, and its sessions reran.

    The ten open children (#365, #370–#373, #497, #575, #580, #581, #586) are residue: declared limits, harness improvements and follow-ups, none of them blocking an acceptance item. They now sit under #114, the independence composite.

  14. SSFSKIM commented on Nov 27, 2026

    @SSFSKIM
    OwnerAuthor

    [board] in-design: Recomposing after M6b (PR #594)

  15. SSFSKIM commented on Nov 27, 2026

    @SSFSKIM
    OwnerAuthor

    [board] done: Recomposed: all 13 acceptance items witnessed (Outcomes table); M6b landed via PR #594 (cua 0.30.0); ten residue children moved to #114

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:P2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions