Repository navigation
Own browser service M0: parity harness, inventory and corpus, host trace, vendor baselines (#113) - #121
Merged
Conversation
…ependence composite #114; the standalone spec's Decision Log names the composite and the readable vendor tree as the primary reference
…reviews (REPL contract without a recovery envelope, trust root for the module, two-pin version guard, no-replay evaluate, scenario-based parity harness with the mini topology and host trace, inventory from Rf+zN, Linux runners, M1 cut into M1a/M1b/M1c, corrected vendor anchors)
… into three tasks, the session's ruling on the cua route) and the execution report
…nchmark is task 3
…tManualHandoff disabled, getAXState's client-side fallback, history present but unavailable)
…, wall time reported
…e 3 rewritten), dialog_open kept as an expected difference, the colour JPEG decoder fix
…e inventory gate reads; no-op scenarios fail by construction
…nchmark recorder's journal
… journaled runs, ssfs profile, cua route) and three pilot runs set aside
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.
M0 of the own browser service (#113, child 1 of #114): the measuring instruments, before any service code. Spec:
docs/doperpowers/specs/2026-10-13-own-browser-service-design.md(Plan of Work M0; execution decisions in its Decision Log and Surprises dated 2026-10-13).What changed
src/chrome/host.mjs,src/chrome/trace.mjs): file-activated by$CUA_HOME/state/host-trace.json, read once at session start; one line per backend request and notification, identifiers only (safe-integer tab ids, bounded opaque session/target ids; malformed values omitted), never a parameter value. The only product-code change.scripts/browser-parity.mjs,scripts/browser-parity/):prepare,run,diff; an MCP stdio client ofcua serve, locally or over ssh to the mini's parity clone~/Developer/GitHub/cua-parity; attestation, fixture lifecycle, normalisation (ids by creation order, screenshot average hash), cardinality and semantic comparison, trace as diagnostic; comparator self-tests.test/browser-parity/):inventory.json(88 rows: the 87-type union ofRf,zNand the capability fallbacks, plustab_content_export),inventory.test.mjs(handler gate reads the futureCOMMAND_HANDLERSregistry; our-service assertions skip visibly until M1a), 40 scenarios tagged M1a–M3, fixture server on 48732, a no-op self-test that requires every mutation/wait case to fail against inert and selectively inert service doubles, delayed-POST acknowledgment regressions.scripts/bench-summary.mjs(verdict on per-task tool-call time median within max(10 %, 500 ms), wall time reported; per-task success count cua >= vendor),test/browser-parity/bench-recorder.js(journals every call on the device),test/browser-parity/bench-controller-brief.md.test/chrome-client-mode.test.mjspolled for the connector result file's existence and parsed it before the JSON landed.Validation Evidence
HOME=/tmp/cua-scratch-home npm test→# pass 1184,# fail 0,# skipped 34npm run test:mods→32 pass,0 failclaude plugin validate .→✔ Validation passed with warnings(the known CLAUDE.md warning)ssfs, cua route, corpus c6b7805), no allowance file:node scripts/browser-parity.mjs diff docs/evidence/2026-10-13-own-browser-service-parity/vendor-1 docs/evidence/2026-10-13-own-browser-service-parity/vendor-2→0 differences (40 cases, 106 cells)(38 executable cases, 2 documented exclusions: Chrome's person-operated "Ask where to save" dialog; authenticated/external exports).ssfs): every task ok in every run (8/8 fixture, 15/15 MiniWoB);node scripts/bench-summary.mjs docs/evidence/2026-10-13-own-browser-service-benchmark→verdict: cua runs: none; per-task tool-time medians insummary-vendor.txt(T1 1063 ms … T6 1520 ms; MiniWoB 695–1055 ms).doperpowers:reviewer-high: 4 P2 then 1 P2 introduced by the fix, all fixed; final verdict "correct", no material findings.Confusions
ssfs(Decision Log 2026-10-13). The mini's host is the resident checkout's (main), so live traces are empty until M5 updates it; the diff treats an empty trace as unavailable.Residue