Repository navigation
Own browser service M4: MAWS client mode and Linux runners (#113) - #128
Merged
Merged
Conversation
…'s cua marker against CUA_BROWSER_SERVICE (M4)
…eatures, profileName, cursor.move, tabs.adopted, the takeover hold) and on the Linux route, each against the vendor control
…ode, one shutdown path for signals; offline tests with a fake Electron; live reports re-run on both services
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 staysvendor.What changed
scripts/accept/linux-chrome*.mjsand the MAWS probe) attest which browser service answered — the documentation'scua browser servicemarker against whatCUA_BROWSER_SERVICEselects — so acuapass 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.mjswithverdict.mjs) that runs MAWS's ownserve-plain.cjsfrom 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.mjscovers the verdict and the shutdown offline.e2e:browser-cuadrives 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
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).~/cua-m4, profileme):CUA_BROWSER_SERVICE=cua … node scripts/accept/linux-chrome.mjs meandlinux-chrome-features.mjs→"status": "PASS", exit 0; the same undervendor(control). Chrome there needs--disable-extensions-file-access-checkfor the file-chooser step on both services.cua(profileNameMAWS, the popup as one adopted tab, cursor messages 0 → 4, during a human takeover the default-budget click fails at 3,078 ms andclick({timeoutMs: 15000})succeeds at 3,251 ms just after the hand-back) and PASS undervendor(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 withcuaand 7/7 unset.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
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