Skip to content

test(cua-computer): freeze computer-use provider parity matrix fixtures (W0-FIX) - #123469

Merged
steipete merged 3 commits into
mainfrom
steipete/cu-parity-fixtures
Aug 14, 2026
Merged

steipete merged 3 commits into
mainfrom
steipete/cu-parity-fixtures

Conversation

@steipete

Copy link
Copy Markdown
Contributor

Related: #123464

What Problem This Solves

The computer-use campaign needs a committed provider-parity contract before W1 types computer.act v2. The planning docs cite 49 CUA tools and 25 Peekaboo tools, but the pinned source inventories have moved: CUA exposes 58 unique MCP names across its three platform registries, and Peekaboo's canonical catalog contains 26 tools.

Campaign context: docs/plan/computer-use.md in #123464.

Why This Change Was Made

This freezes the 40-name v2 action union, the exact pinned CUA and Peekaboo MCP inventories, an exact-once classification for every tool, and per-action provider/delivery-mode support. It is design fixture data only: no runtime behavior, dependency, package, or lockfile changes.

The fixtures preserve CUA's platform-specific counts (53 macOS / 54 Windows / 57 Linux / 58-name union) and distinguish its 23-entry generated portable manifest from the complete runtime catalogs. Peekaboo is pinned to the canonical 26-entry MCP catalog inspected for tool names and parameters.

User Impact

No runtime impact. W1 gets a reviewable, tested provider contract instead of inheriting stale documentation counts or guessed mappings.

Evidence

  • CI=1 node scripts/run-vitest.mjs extensions/cua-computer: 5 files passed, 53 tests passed.
  • pnpm format extensions/cua-computer/src/computer-use-provider-parity.test-fixtures.ts extensions/cua-computer/src/computer-use-provider-parity.test.ts
  • git diff --check
  • Autoreview clean with no accepted/actionable findings.
  • CUA source: immutable cua-driver-rs-v0.19.3 tag at a1672e7b11951275ecfba3384264d4530185d0db.
  • Peekaboo source: MCPToolCatalog.swift at f8f5cbc0cf75d7a39c53c23fea897f0f9a2d93a0.

@clawsweeper

clawsweeper Bot commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@steipete
steipete marked this pull request as ready for review August 14, 2026 04:59
@clawsweeper clawsweeper Bot added merge-risk: 🚨 other 🚨 Merging this PR has meaningful risk outside the owned taxonomy. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Aug 14, 2026
@clawsweeper

clawsweeper Bot commented Aug 14, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 14, 2026, 1:33 AM ET / 05:33 UTC.

ClawSweeper review

What this changes

The PR adds frozen CUA and Peekaboo provider-inventory fixtures plus Vitest checks that classify their tools against a planned computer-use v2 action set.

Merge readiness

⚠️ Ready for maintainer review - 3 items remain

Keep this maintainer-owned PR open. It is a test-only design baseline, but its claimed parity with pinned external CUA and Peekaboo catalogs still needs independently readable source verification before it becomes the contract for later computer-use work.

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

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The fixture structure and self-consistency checks are coherent, but confidence remains limited until the external source inventories are independently verified.
Proof confidence 🌊 off-meta tidepool Not applicable: This maintainer-authored PR changes test-only fixture data rather than a user-visible runtime path; the material merge gate is independent verification of the pinned catalog data.
Patch quality 🦐 gold shrimp (3/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: This maintainer-authored PR changes test-only fixture data rather than a user-visible runtime path; the material merge gate is independent verification of the pinned catalog data.
Evidence reviewed 4 items Declared PR scope: The supplied PR body and three-file diff describe only two test-fixture files and one Vitest suite; they add no runtime, package, or lockfile changes.
External-contract dependency signal: The fixture declarations pin a CUA release commit and a Peekaboo catalog commit, and the PR claims exact provider inventory counts; those external catalogs are therefore the authoritative parity oracle rather than the fixtures' self-consistency checks.
Prior review remains applicable: The prior ClawSweeper review identified the same gap: fixture tests prove internal consistency but not correspondence to the pinned upstream catalogs. The supplied context contains no independently inspectable upstream extraction or after-fix parity proof.
Findings None None.
Security None None.

How this fits together

Computer-use providers expose platform-specific MCP tool catalogs that will feed a portable action contract. These fixtures turn those external inventories into a checked-in baseline for later provider and delivery-mode implementation work.

flowchart LR
  A[CUA platform registries] --> C[Pinned inventory fixtures]
  B[Peekaboo MCP catalog] --> C
  C --> D[Provider parity classifications]
  D --> E[Vitest contract checks]
  E --> F[Future computer-use v2 work]
Loading

Decision needed

Question Recommendation
Has a maintainer independently verified that the committed CUA and Peekaboo inventories exactly match the pinned upstream catalogs and are the intended W0 contract for computer-use v2? Verify and accept the baseline: Compare the fixtures with the pinned upstream catalogs, record concise parity evidence, and proceed with the PR.

Why: The fixture data is a design boundary for subsequent work, while this review environment could not inspect the claimed upstream sources or the checkout to establish that parity independently.

Before merge

  • Resolve merge risk (P1) - An incorrect frozen external inventory would give later computer-use work a passing but inaccurate provider contract; the current tests only validate the checked-in constants against themselves.
  • Complete next step (P2) - A maintainer must validate the external parity baseline and accept it as the intended pre-v2 design contract; this is not a mechanical repair task.
Agent review details

Security

None.

PR surface

Source +996, Tests +98. Total +1094 across 3 files.

View PR surface stats
Area Files Added Removed Net
Source 2 996 0 +996
Tests 1 98 0 +98
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 3 1094 0 +1094

Review metrics

Metric Value Why it matters
Production vs test LOC production +0, tests/fixtures +1,094 The added surface is test-only, but its large static catalog becomes a semantic contract for future implementation rather than ordinary isolated test data.

Merge-risk options

Maintainer options:

  1. Prove the pinned inventories before merge (recommended)
    Compare each fixture inventory and stated count with its immutable upstream catalog, then retain the frozen baseline only if the mappings match.
  2. Pause the baseline
    Hold this PR if maintainers do not yet want these provider classifications to define the W0 contract for later computer-use work.

Technical review

Best possible solution:

Keep the fixtures only after a reviewer can compare the listed inventories and counts with the immutable CUA and Peekaboo sources and record that parity evidence in the PR.

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

Not applicable to a runtime defect: the PR adds test fixtures, and the relevant check is source parity against the two pinned upstream catalogs.

Is this the best way to solve the issue?

Unclear. Frozen fixtures are a reasonable contract mechanism, but this PR needs independent confirmation that their inventories and classifications match the declared immutable external sources.

AGENTS.md: unclear because the file could not be read completely.

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

Labels

Label justifications:

  • P3: This is non-runtime fixture and planning-contract work with no reported current user impact.
  • merge-risk: 🚨 other: Incorrect external catalog snapshots could silently steer later computer-use implementation despite self-consistent fixture tests.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🌊 off-meta tidepool and patch quality is 🦐 gold shrimp.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: This maintainer-authored PR changes test-only fixture data rather than a user-visible runtime path; the material merge gate is independent verification of the pinned catalog data.

Evidence

What I checked:

  • Declared PR scope: The supplied PR body and three-file diff describe only two test-fixture files and one Vitest suite; they add no runtime, package, or lockfile changes. (extensions/cua-computer/src/computer-use-provider-parity.test.ts, c5908bdb82b0)
  • External-contract dependency signal: The fixture declarations pin a CUA release commit and a Peekaboo catalog commit, and the PR claims exact provider inventory counts; those external catalogs are therefore the authoritative parity oracle rather than the fixtures' self-consistency checks. (extensions/cua-computer/src/computer-use-provider-parity.test-fixtures.ts, c5908bdb82b0)
  • Prior review remains applicable: The prior ClawSweeper review identified the same gap: fixture tests prove internal consistency but not correspondence to the pinned upstream catalogs. The supplied context contains no independently inspectable upstream extraction or after-fix parity proof. (d66a9dcda520)
  • Local inspection unavailable: The read-only command wrapper failed before executing repository reads with bwrap: loopback: Failed RTM_NEWADDR: Operation not permitted; current-main source, scoped policy, history, and upstream catalog contents could not be independently inspected.

Likely related people:

  • steipete: The supplied context attributes all three fixture commits and the linked computer-use campaign plan to steipete; current-main feature-history ownership could not be inspected. (role: related campaign author and current fixture author; confidence: low; commits: 2343bc480b64, d66a9dcda520, c5908bdb82b0; files: extensions/cua-computer/src/computer-use-provider-parity.test-fixtures.ts, extensions/cua-computer/src/computer-use-peekaboo-parity.test-fixtures.ts, extensions/cua-computer/src/computer-use-provider-parity.test.ts)

Rank-up moves

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

  • Add concise, redactable parity evidence from the immutable CUA and Peekaboo source catalogs.
  • Refresh against current main and rely on exact-head CI before merge.

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-14T05:08:36.548Z sha d66a9dc :: needs maintainer review before merge. :: none

@steipete
steipete merged commit d9646ad into main Aug 14, 2026
92 checks passed
@steipete
steipete deleted the steipete/cu-parity-fixtures branch August 14, 2026 05:42
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

steipete added a commit that referenced this pull request Aug 14, 2026
…r.act v2) (#123464)

* docs(plan): computer-use campaign plan — two-provider background computer use (CUA + Peekaboo) behind computer.act v2

* docs(plan): resolve W0-PIN — pinned 0.19.3 already contains inherited IPC and consent adapter

* docs(plan): W0 complete — parity fixtures landed (#123469)

* docs(plan): W1-SEAM landed (#123509)

* docs(plan): W1 complete — v2 contract landed (#123544)

* docs(plan): W2-CUA landed (#123604)

* docs(plan): W2-MAC landed (#123635)

* docs(plan): note picker screenshot evidence belongs to W2-UX

* docs(plan): avoid inline-html placeholder in tracker note
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 15, 2026
…es (W0-FIX) (openclaw#123469)

* test(cua-computer): freeze provider parity fixtures

* test(cua-computer): keep parity fixture type aliases file-local until a consumer exists

* test(cua-computer): split parity fixtures under the line cap and fix strict test types
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 15, 2026
…r.act v2) (openclaw#123464)

* docs(plan): computer-use campaign plan — two-provider background computer use (CUA + Peekaboo) behind computer.act v2

* docs(plan): resolve W0-PIN — pinned 0.19.3 already contains inherited IPC and consent adapter

* docs(plan): W0 complete — parity fixtures landed (openclaw#123469)

* docs(plan): W1-SEAM landed (openclaw#123509)

* docs(plan): W1 complete — v2 contract landed (openclaw#123544)

* docs(plan): W2-CUA landed (openclaw#123604)

* docs(plan): W2-MAC landed (openclaw#123635)

* docs(plan): note picker screenshot evidence belongs to W2-UX

* docs(plan): avoid inline-html placeholder in tracker note
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer Maintainer-authored PR merge-risk: 🚨 other 🚨 Merging this PR has meaningful risk outside the owned taxonomy. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. plugin: cua-computer rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. size: XL 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