Skip to content

Own browser service M4: MAWS client mode and Linux runners (#113) - #128

Merged
SSFSKIM merged 8 commits into
mainfrom
feat/own-browser-service-m4
Oct 14, 2026
Merged

SSFSKIM merged 8 commits into
mainfrom
feat/own-browser-service-m4

Conversation

@SSFSKIM

@SSFSKIM SSFSKIM commented Oct 14, 2026

Copy link
Copy Markdown
Owner

M4 of the own browser service (#113, child 1 of #114): proof under MAWS's client mode and on the Linux route. Spec: docs/doperpowers/specs/2026-10-13-own-browser-service-design.md (Plan of Work M4; Acceptance 8 as amended 2026-10-14, and 9). The default stays vendor.

What changed

  • The live runners (scripts/accept/linux-chrome*.mjs and the MAWS probe) attest which browser service answered — the documentation's cua browser service marker against what CUA_BROWSER_SERVICE selects — so a cua pass cannot be the vendor's; with tests.
  • docs/evidence/2026-10-13-own-browser-service-parity/m4/: the Linux reports and a live MAWS client-mode probe (maws-live/run.mjs with verdict.mjs) that runs MAWS's own serve-plain.cjs from a MAWS worktree (no MAWS change), computes a verdict over every required check, exits 0 only on PASS, and cleans up its MAWS process and scratch state on normal end, errors and SIGINT/SIGTERM/SIGHUP; test/maws-live-probe.test.mjs covers the verdict and the shutdown offline.
  • Spec: acceptance 8 amended — MAWS's e2e:browser-cua drives MAWS's fake host and an engine stub and never starts cua, so the probe is the proof of the service and the e2e group stays MAWS's regression check.

Validation Evidence

  • At 874e59a (re-run by the executor session): HOME=/tmp/cua-scratch-home npm test → # pass 1653, # fail 0, # skipped 8; npm run test:mods → 32 pass; claude plugin validate . → ✔ Validation passed with warnings (the known warning).
  • Acceptance 9 (Linux, cua-linux VM, branch at ~/cua-m4, profile me): CUA_BROWSER_SERVICE=cua … node scripts/accept/linux-chrome.mjs me and linux-chrome-features.mjs → "status": "PASS", exit 0; the same under vendor (control). Chrome there needs --disable-extensions-file-access-check for the file-chooser step on both services.
  • Acceptance 8 (MAWS, a worktree from origin/master): the live probe → verdict PASS, exit 0 under cua (profileName MAWS, the popup as one adopted tab, cursor messages 0 → 4, during a human takeover the default-budget click fails at 3,078 ms and click({timeoutMs: 15000}) succeeds at 3,251 ms just after the hand-back) and PASS under vendor (both clicks fail at its 3 s cap); MAWS_E2E_QUIET=1 /tmp/maws-review/waitload20.sh && /tmp/maws-review/with-slot.sh pnpm -C <worktree> e2e:browser-cua → 7/7 with cua and 7/7 unset.
  • Reviews: whole-branch doperpowers:reviewer-high: two P2 in the probe (no verdict or failing exit code; no signal cleanup), fixed in 874e59a; re-review "correct", no material findings.

Confusions

  • MAWS's client mode announces only viewport, so raw CDP, WebMCP, auth handoff and history still have no live host anywhere; their parity rests on unit doubles. M5 assesses a corpus group against a test backend that announces them.

Residue

  • none

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant