@@ -25,8 +25,8 @@ escalation. The bundled `cua-computer` plugin maps this contract to CUA and
2525provides CUA-derived model guidance. On macOS, ` OpenClaw.app ` directly starts
2626CUA embedded mode and the app-owned TypeScript node worker runs the same plugin
2727adapter used by Windows and Linux. CUA remains replaceable by another node-local
28- fulfiller such as Peekaboo. The original native MCP projection proposal is
29- preserved as an [ alternative ] ( 0025/alternative-node-mcp-approach.md ) .
28+ fulfiller such as Peekaboo. The earlier native- MCP projection is rejected; its
29+ tradeoffs are recorded below, but it is not a second design or delivery plan .
3030
3131## Design constraints and requirements
3232
@@ -141,6 +141,11 @@ The original design remains useful when native provider fidelity is more
141141important than a stable cross-provider action contract. It is no longer the
142142recommended OpenClaw architecture.
143143
144+ The comparison above is the complete decision record for that rejected design.
145+ This RFC keeps one normative architecture and one implementation plan; it does
146+ not retain a parallel native-MCP plan that future work could accidentally
147+ maintain or revive.
148+
144149## Goals
145150
146151- Ship CUA as the default ready Computer Use provider on supported macOS,
@@ -310,15 +315,40 @@ their own trusted services into the selected bundled provider. External plugins
310315can fulfill the interface only with authority already available to their node
311316runtime.
312317
313- The existing ` registerNodeHostCommand ` implementation is sufficient for the
314- current CUA proof and remains available for unrelated commands. The provider
315- API should land only with migration of ` cua-computer ` , so it has a real consumer.
318+ The existing ` registerNodeHostCommand ` implementation remains available for
319+ unrelated commands. The provider API should land only with replacement of the
320+ experimental CUA proof's direct command path, so it has a real consumer and no
321+ legacy CUA registration path remains.
316322[ openclaw/openclaw #110293 ] ( https://github.com/openclaw/openclaw/pull/110293 )
317323may supply the ` {id, label} ` identity portion if it lands first, but this RFC
318324does not depend on it. The transport- and permission-specific metadata proposed
319325by [ openclaw/openclaw #101564 ] ( https://github.com/openclaw/openclaw/pull/101564 )
320326is unnecessary for execution.
321327
328+ ### CUA cutover and removal
329+
330+ Compatibility is deliberately narrow. OpenClaw retains the shipped v1
331+ ` computer.act ` wire contract and its existing generic node and Peekaboo behavior
332+ for old nodes. The experimental CUA plugin is not a separate compatibility
333+ target: its direct command registration, pre-provider lifecycle, and narrow
334+ eight-tool adapter are replaced in place by the provider execution path.
335+
336+ The replacement must provide the v1 coordinate action subset through the
337+ canonical provider while v2 action families roll out. It must not leave a
338+ legacy CUA adapter, plugin mode, fallback, config reader, or duplicate test
339+ suite beside that path. Any useful driver transport, frame authorization, or
340+ refusal logic moves into the canonical provider implementation; unused
341+ interfaces and tests are deleted.
342+
343+ The pre-release ` driverPath ` and ambient-` PATH ` setup are not upgrade contracts.
344+ Managed artifacts become the production path. If a developer override remains
345+ useful, it is one explicitly developer-only current configuration surface, not
346+ a compatibility reader for the old plugin configuration.
347+
348+ The CUA compatibility bundle names one accepted CUA manifest/version at a time.
349+ An unknown or skewed driver fails closed; OpenClaw does not carry multiple
350+ version-specific mappings or adapters to preserve experimental behavior.
351+
322352### Versioned node capability declaration
323353
324354Command-name presence remains the v1 eligibility test. A v2 node additionally
@@ -988,16 +1018,19 @@ route, complicate host selection, and make Peekaboo or another provider expose
9881018a fundamentally different tool set. It also makes CUA's CLI/MCP skill tempting
9891019as a bypass around ` computer.act ` .
9901020
991- The preserved [ node-MCP alternative] ( 0025/alternative-node-mcp-approach.md )
992- documents that approach and its stronger native-fidelity tradeoff.
1021+ The decision table above records the native-projection alternative and its
1022+ stronger native-fidelity tradeoff. It is deliberately not kept as a competing
1023+ implementation plan.
9931024
9941025### Why not keep the current eight-tool CUA mapping
9951026
996- The existing mapping is a useful compatibility slice but reduces CUA to global
1027+ The experimental mapping is a useful bootstrap slice but reduces CUA to global
9971028foreground desktop input. It loses background window operation, semantic
9981029targets, exact browser binding, verification, sessions, recording, and the
9991030fallback strategy that makes CUA effective. Expanding the action contract is
10001031necessary for CUA to be the default rather than merely another mouse backend.
1032+ The replacement retains the portable v1 coordinate behavior through the
1033+ canonical provider; it does not preserve the bootstrap adapter as a second path.
10011034
10021035### Why not add all 49 tools one-for-one
10031036
0 commit comments