Skip to content

Independence 3: cua's own REPL host and a vendor-compatible cua JS API (replace @oai/cua, cua-repl, node_repl) #116

Closed
1 of 2 issues completed

Description

@SSFSKIM

Purpose

Child 3 of the independence composite. The JS API the model learns from the first-call document, the REPL and the trusted-service delegation are the vendor's (@oai/cua, @oai/cua-repl, the node_repl binary and the vendor Node). The owner's ruling (2026-10-13, #113 round 1) keeps the API vendor-compatible so the first-call document, the plugin's skills, MAWS's adapter and remote devices move unchanged; this child makes the implementation cua's.

Goal

cua's own REPL host (a Node process cua ships or the user's Node, under child 2's sandbox) exposing a compatible cua API: the same methods, documents and error shapes as today where the model relies on them, with cua's extensions (the limits #113 lifts, where their enforcement turns out to be client-side; anything else the owner approves). The first-call API document becomes cua's text. The trusted services (sky, browser) are called through cua's own delegation, not NODE_REPL_TRUSTED_SERVICES.

Acceptance

The existing suites and the native and browser acceptance scripts pass against the new REPL; a compatibility fixture replays the vendor API's documented calls and compares results; MAWS e2e browser suites and the cua-remote acceptance pass unchanged; the browser benchmark and the native baseline show no regression; README, spec Decision Log, plugin minor bump.

Open

Ordered after #113 (the service contract is what the REPL side must keep); the exact compatible subset is derived from the first-call document and the skills' usage, listed in the design.

Sub-issues

Sub-issues

1 of 2 Issues completed
Loading 2 sub-issues

Activity

  1. added
    enhancement
    status:ready-for-architect
    priority:P1
    on Oct 13, 2026
  2. added
    status:in-design
    and removed
    status:ready-for-architect
    on Oct 14, 2026
  3. SSFSKIM commented on Oct 14, 2026

    @SSFSKIM
    OwnerAuthor

    [board] in-design: Opened 2026-10-14 after #113 landed (owner's choice). Research passes on the readable tree (@oai/cua + cua-repl; node_repl host and its wire with cua's MCP server) running; design through brainstorming next, same method as #113: port in the vendor's shape from readable chatgpt-26.928.40906, differential parity harness as the oracle.

  4. added
    status:in-progress
    and removed
    status:in-design
    on Oct 14, 2026
  5. SSFSKIM commented on Oct 14, 2026

    @SSFSKIM
    OwnerAuthor

    [board] in-progress: Spec committed and reviewed (design: adversarial P1+P2 fixed; execution section: adversarial 3×P2 fixed; session fix: explicit CUA_REPL_HOST=cua on an implicit vendor route refuses). Plan-executor dispatched for M0–M5 on the same cadence as #113.

  6. added 4 commits that reference this issue on Oct 14, 2026
  7. 187 remaining items

  8. added 10 commits that reference this issue on Oct 17, 2026
  9. added a commit that references this issue on Oct 17, 2026
  10. SSFSKIM commented on Oct 17, 2026

    @SSFSKIM
    OwnerAuthor

    M5 merged: PR #149 at 8c3392d. #116 is complete.

  11. removed
    status:in-progress
    on Oct 17, 2026
  12. SSFSKIM commented on Oct 17, 2026

    @SSFSKIM
    OwnerAuthor

    [board] done: M5 merged at 8c3392d (PR #149); all milestones M0–M5 complete.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions