Skip to content

fix(cua-computer): ignore retired driver path - #120502

Merged
RomneyDa merged 1 commit into
mainfrom
orclaw/cu-4-docs-current-contract
Aug 9, 2026
Merged

RomneyDa merged 1 commit into
mainfrom
orclaw/cu-4-docs-current-contract

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Aug 8, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Accepts the shipped plugins.entries.cua-computer.config.driverPath string as a named legacy no-op.
  • Keeps strict rejection for every other unknown CUA plugin config key and never routes a binary path into the direct CUA Driver SDK runtime.
  • Removes the unshipped Doctor-only deletion contract and its bundled public-artifact expectation.

The generic external cua-driver MCP documentation/configuration remains unchanged.

Validation

  • pnpm format and pnpm format:check -- extensions/cua-computer/index.ts extensions/cua-computer/index.test.ts extensions/cua-computer/openclaw.plugin.json src/plugins/bundled-plugin-metadata.test.ts
  • Focused CUA manifest/runtime and bundled-metadata Vitest coverage
  • git diff --check
  • pnpm build
  • Fresh autoreview --mode branch --base origin/main (clean)

node scripts/check-changed.mjs -- … selected remote CI, but Testbox was unauthenticated and the AWS Crabbox broker required login; this remains the only validation gap.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation size: XS maintainer Maintainer-authored PR labels Aug 8, 2026
@RomneyDa
RomneyDa marked this pull request as ready for review August 8, 2026 06:52
@RomneyDa

RomneyDa commented Aug 8, 2026

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 8, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. labels Aug 8, 2026
@clawsweeper

clawsweeper Bot commented Aug 8, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 8, 2026, 4:48 AM ET / 08:48 UTC.

ClawSweeper review

What this changes

This PR adds Computer Use guide instructions to remove the retired CUA plugin driverPath setting with openclaw doctor --fix while preserving separate generic MCP configuration.

Merge readiness

⚠️ Ready for maintainer review - 2 items remain

No blocking finding: the guide accurately documents the plugin-owned migration. This maintainer-labeled PR remains open for an explicit maintainer merge decision and resolution of the prior rank-up move.

Priority: P3
Reviewed head: a87eecfdc81001fd4da100f9ac2c2f3beceac6b0
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, source-accurate documentation patch with no correctness or security finding.
Proof confidence 🌊 off-meta tidepool Not applicable: Real behavior proof is not required because this PR only changes files under docs/.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: Real behavior proof is not required because this PR only changes files under docs/.
Evidence reviewed 5 items Plugin migration contract: The CUA plugin recognizes only the retired nested driverPath key, tells operators to run Doctor, and deletes only that property.
Migration behavior coverage: Tests cover removal while preserving the plugin entry, non-mutating input, and idempotence.
Separate MCP surface: The generic cua-driver MCP registration is documented independently, so the added warning not to alter it is accurate.
Findings None None.
Security None None.

How this fits together

The Computer Use guide directs operators configuring the bundled CUA plugin. Doctor invokes plugin compatibility contracts to remove retired configuration before the plugin starts with its supported Driver SDK path.

flowchart LR
  A[Existing CUA plugin config] --> B[Computer Use guide]
  B --> C[Doctor fix command]
  C --> D[Plugin migration contract]
  D --> E[Clean plugin config]
  E --> F[Configured CUA driver]
Loading

Decision needed

Question Recommendation
Should the maintainer waive the earlier rebase request because current-base changes do not affect the CUA documentation or migration contract, or request a refreshed exact-head docs check before merging? Waive unrelated drift and merge: Record that the clean three-way merge has no relevant CUA or documentation-base change, then merge the focused docs update.

Why: The protected maintainer label and prior rank-up move require an explicit human merge decision even though the documentation claim is source-backed.

Before merge

  • Resolve merge risk (P1) - The branch is cleanly mergeable, but the previous review's request to rebase and refresh exact-head documentation checks should be explicitly resolved before merge; current-base changes do not touch this documentation or CUA migration surface.
Agent review details

Security

None.

PR surface

Docs +15. Total +15 across 1 file.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 0 0 0 0
Docs 1 15 0 +15
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 1 15 0 +15

Review metrics

Metric Value Why it matters
Surface delta runtime +0/-0; tests +0/-0; documentation +15/-0 The branch is a narrowly scoped operator-facing docs addition with no runtime or test behavior change.

Stored data model

Persistent data-model change detected: migration/backfill/repair: docs/nodes/computer-use.md. Confirm migration or upgrade compatibility proof before merge.

Merge-risk options

Maintainer options:

  1. Decide the mitigation before merge
    Keep the focused guidance and merge it once a maintainer records that the prior rebase request is waived for unrelated base drift, or refreshes the branch and documentation validation.
  2. Pause or close
    Do not merge this PR until maintainers decide whether the risk is worth taking.

Technical review

Best possible solution:

Keep the focused guidance and merge it once a maintainer records that the prior rebase request is waived for unrelated base drift, or refreshes the branch and documentation validation.

Do we have a high-confidence way to reproduce the issue?

Not applicable: the patch changes only documentation; current source and tests establish the documented migration behavior.

Is this the best way to solve the issue?

Yes: documenting Doctor beside the hard-replacement explanation is the narrowest maintainable solution, and it correctly avoids conflating plugin cleanup with generic MCP setup.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against c5d00cb47ddb.

Labels

Label justifications:

  • P3: This is a small documentation improvement for an existing upgrade path.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: Real behavior proof is not required because this PR only changes files under docs/.

Evidence

What I checked:

Likely related people:

  • steipete: Current blame and the introducing commit connect this person to the CUA guide, Doctor contract, tests, and runtime transition. (role: recent feature and migration-contract author; confidence: high; commits: fa9626c4e100; files: docs/nodes/computer-use.md, extensions/cua-computer/doctor-contract-api.ts, extensions/cua-computer/doctor-contract-api.test.ts)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Resolve the prior rank-up move by documenting the clean-drift waiver or refreshing exact-head documentation validation.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (1 earlier review cycle)
  • reviewed 2026-08-08T07:43:46.033Z sha a87eecf :: needs maintainer review before merge. :: none

@RomneyDa RomneyDa self-assigned this Aug 9, 2026
@RomneyDa
RomneyDa force-pushed the orclaw/cu-4-docs-current-contract branch from a87eecf to 76515ec Compare August 9, 2026 06:54
@RomneyDa RomneyDa changed the title docs(cua): explain retired driverPath migration fix(cua-computer): ignore retired driver path Aug 9, 2026
@RomneyDa
RomneyDa force-pushed the orclaw/cu-4-docs-current-contract branch from 76515ec to e2864ff Compare August 9, 2026 06:55
@openclaw-barnacle openclaw-barnacle Bot added plugin: cua-computer size: S and removed docs Improvements or additions to documentation size: XS labels Aug 9, 2026
@RomneyDa
RomneyDa force-pushed the orclaw/cu-4-docs-current-contract branch from e2864ff to 1d2d106 Compare August 9, 2026 07:16
@RomneyDa

RomneyDa commented Aug 9, 2026

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Command router queued. I will update this comment with the next step.

@RomneyDa
RomneyDa merged commit 4847655 into main Aug 9, 2026
117 checks passed
@RomneyDa
RomneyDa deleted the orclaw/cu-4-docs-current-contract branch August 9, 2026 07:34
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer Maintainer-authored PR P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. plugin: cua-computer rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: S status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant