Skip to content

Spike: can the vendor's Linux code paths of cua_repl be used? #12

Closed

Description

@SSFSKIM

Question (logged 2026-10-05, owner's question; not addressed now)

The vendor's cua_repl carries Linux code paths. Is a Linux node_repl and computer-control service shipped in any obtainable archive, under what pin, and could cua's installer verify and run it? The current pin is darwin-arm64 only.

Deliverable when taken up

A findings comment: which archives exist, what the Linux branch needs at runtime (display server, permissions), and whether a Linux pin is feasible.

Activity

  1. added
    status:deferred
    priority:P3
    on Oct 5, 2026
  2. SSFSKIM commented on Oct 5, 2026

    @SSFSKIM
    OwnerAuthor

    [board] deferred: Logged 2026-10-05 as a later-phase candidate at the owner's request; not addressed now (Phase C report residue 8).

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

    @SSFSKIM
    OwnerAuthor

    [board] ready-for-implementer: Taken up 2026-10-06 as a research spike

  7. added
    status:in-progress
    and removed
    status:ready-for-implementer
    status:in-progress
    on Oct 6, 2026
  8. SSFSKIM commented on Oct 6, 2026

    @SSFSKIM
    OwnerAuthor

    [board] done: Findings posted: official Linux deb at the pinned release carries node_repl, sky_linux, Chrome host and codex; X11+AT-SPI required; feasible with one milestone (evidence doc on main)

  9. SSFSKIM commented on Oct 6, 2026

    @SSFSKIM
    OwnerAuthor

    Findings (2026-10-06)

    Full report: docs/evidence/2026-10-06-spike-12-linux-runtime.md.

    • An official Linux build exists at the pinned release. OpenAI's signed APT repo (https://persistent.oaistatic.com/codex-app-prod/linux/deb) still serves chatgpt_26.928.40906_amd64.deb (474898954 bytes, sha256 8094004f1cbccf35deefded15961aa42b4db889121a5d952c5f30cf82bd8ad30); _arm64.deb is present but not inspected. Packages lists only the latest version, so the pin relies on the pool keeping old files.
    • Contents: a linux-x64 cua_node (runtime 0.0.27, node 24.21.0-cua.1, same as darwin), an ELF node_repl, the native helper @oai/sky/bin/linux/sky_linux_x64, the Linux Chrome host plugins/chrome/extension-host/linux/x64/extension-host, and a Linux codex. All @oai/* JavaScript is byte-identical to darwin.
    • Runtime needs: X11 only (XTEST, Composite, XFIXES, an EWMH window manager, DISPLAY/XAUTHORITY); AT-SPI over the session D-Bus with an X11 fallback; .desktop files for app discovery; sandbox via codex with bubblewrap/Landlock. No TCC, no launchd, no per-app approval on Linux.
    • The cua API differs on Linux: getApp({windowId}), listWindows, no setValue/selectText, paste becomes typing.
    • Chrome host: the same extension-host-config.json keys; manifest path ~/.config/google-chrome/NativeMessagingHosts/com.openai.codexextension.json. Use deb/rpm Chrome, not Flatpak.
    • Verdict: feasible with one focused, mostly mechanical milestone (platform-branched pin schema without codesign, deb extraction, XDG home, Linux launch environment and doctor checks, Linux registration paths, secrets unavailable on Linux) followed by acceptance on a real Linux VM. Unverified: arm64 deb contents, bubblewrap/userns on the target distro, helper reaching D-Bus/X from inside the node_repl sandbox, Chrome exposing AT-SPI trees without a flag. Multi-user on one VM is risky (/tmp/codex-browser-use is shared); one VM per user avoids it.
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

    priority:P3spike

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions