Skip to content

A plugin update leaves the home's engine/runtime behind; cua_repl refused until a manual reinstall #579

Done

Description

@SSFSKIM

A plugin update leaves the home's engine and runtime behind, and cua_repl is refused until someone reinstalls by hand

Found live on dc-linux171-1e68 (linux171, 11-24). Claude Code updated the cua plugin to 0.29.20, but the home's engine was still 0.3.0 (installed 11-02), its pointer still named the vendor release, and it had no ModuleTree. Since M6a (0.29.19) that home is refused, so the host's cua_repl MCP connection stopped working, with no sign in the session beyond the refusal. Nothing installs an engine or runtime by itself: not the plugin, not the agent, not the provisioner. Each MIN_ENGINE_VERSION raise (0.4.5 next) repeats this on every plugin machine.

Wanted

  • A plugin machine whose home falls behind the plugin's pins gets back to a working state without a person reading the refusal, or at least is told at session start, in words the model relays, which one command fixes it.
  • Options for design:
    • the plugin's SessionStart hook runs cua install when the home is behind the pins, bounded and only from the pinned, attested assets;
    • the MCP server installs on first use, under the same bounds;
    • a SessionStart notice only.
      Weigh install time, network use, and doing it unasked on someone's machine.
  • Check macOS too: does a plugin update leave a macOS home behind in the same way (engine build approval, runtime)?

Done when

  • A design is chosen and built, and a test simulates a plugin bump over an older home and shows the chosen behaviour.
  • The 0.4.5 PR's homes section points here.

Relates #171, #117, #512.

Activity

  1. added
    bug
    status:ready-for-architect
    priority:P2
    on Nov 24, 2026
  2. SSFSKIM commented on Nov 24, 2026

    @SSFSKIM
    OwnerAuthor

    First live case: dc-linux171-1e68 (devcloud VM, x64), 2026-11-24 (ruling 1200).

    Claude Code had updated the cua plugin on this machine to 0.29.20, but nothing had touched its cua home since 2026-11-02.

    before after node ~/.claude/plugins/cache/cua/cua/0.29.20/bin/cua.mjs install
    pointer (current.json) the vendor release 26.928.40906-linux-x64 cua-linux-x64-e0.4.4-n24.22.0-s0.163.0-mb71dc1f8185d
    engine 0.3.0 (linux-engine-v0.3.0, installed 2026-11-02) 0.4.4 (linux-engine-v0.4.4, sha256 eff8befc…67ca)
    module tree none modules/ in place
    cua doctor --json exit 1; 4 rows failed: runtime.installed (no module tree), repl.host and engine (refused, engine_outdated), display exit 1; 1 row failed: display (DISPLAY deliberately unset for the run, so nothing touched :0)
    • Since M6a (0.29.19) refuses rather than falling back to the vendor engine, this machine's Linux cua_repl had been refusing every computer session. Its MCP connection was also seen dropping in a session on this host that day; that cause is unconfirmed.
    • The install wrote only cua's home. It kept the vendor release, verified, for CUA_NATIVE_ENGINE=vendor, and reported that browser-only and computer sessions now open on cua's engine.
    • Once linux-engine 0.4.5 merges (MIN_ENGINE_VERSION 0.4.5), this home is refused again until install --engine runs. That is the same gap, at the next pin.

    The evidence (both doctor JSONs, the before and after state, and the install log) is in ~/.local/share/cua-171/home-1200/ on the VM.

  3. SSFSKIM commented on Nov 24, 2026

    @SSFSKIM
    OwnerAuthor

    [answers] Owner decision (2026-11-24): engine installs stay manual. cua never updates the engine on its own. When the running cua needs a newer engine than the one installed, the refusal (and doctor) names the one command that fixes it, cua install --engine, in plain text a model and a person both read. #579's design follows this; automatic update is out of scope.

  4. removed
    status:ready-for-architect
    on Nov 24, 2026
  5. SSFSKIM commented on Nov 24, 2026

    @SSFSKIM
    OwnerAuthor

    [board] done: Landed via PR #585 (cua 0.29.21, linux-engine 0.4.5)

  6. SSFSKIM commented on Nov 24, 2026

    @SSFSKIM
    OwnerAuthor

    dc-linux171-1e68, after #585 (0.4.5), 2026-11-24. Before the install, a checkout at main 854103a was refused here with engine_outdated: "…is 0.4.4, older than 0.4.5, which this cua needs: install this cua's engine with node <checkout>/bin/cua.mjs install --engine…". That's the notice this ticket asked for, live. After install --engine (exit 0, engine 0.4.5, sha256 ef714179…119a), both that checkout's doctor and the host's plugin 0.29.20 doctor pass every row but display, which was deliberately unset. Evidence: ~/.local/share/cua-171/home-1200/after-045/ on dc-linux171-1e68.

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

    bugpriority:P2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions