You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Phase D of the standalone cua design: the MAWS in-app browser adapter. MAWS owns the browser UI and the import of user Chrome cookies, credentials and extensions; cua provides the adapter the vendor browser service speaks to.
Timing
Waits on MAWS: its charter (docs/charter.md, the deferred computer-use note from the peer study) defers computer use and bundles cua-shim.mjs when it returns. Take this up when MAWS reopens that child; design it with doperpowers:brainstorming against the spec's Phase D section.
[board] deferred: Waits on MAWS reopening its deferred computer-use child (charter, peer-study note); design with brainstorming against the spec's Phase D section.
Owner requirements relayed by the MAWS session (maws-fe, 2026-10-08), grounded in /Users/new/Developer/GitHub/MAWS/docs/doperpowers/evidence/p1-e11/owner-notes/00-consolidated-plan.txt §4b and the 3.E lines (MAWS master ef368272): (1) the in-app browser tab needs Chrome-like top chrome — bookmarks bar, an extensions bar with each loaded extension's action, popup and options page, and the profile avatar on the tab pill; (2) bookmarks are not imported today (E4b imports History, Cookies, Extensions; Bookmarks JSON and the avatar deferred) and should become a fourth consent category with re-sync; (3) taste: a profile click must not open Settings in the main tab — a floating widget or sidebar tab, choice open; (4) planning directive only (not build authorization): the next wave's goal is an in-app browser that cua_repl can drive; today MAWS's sitting agent uses browser_tabs/browser_snapshot/browser_act and the outer GUI assistant uses cua_repl separately; replacement vs integration undecided. E4b import design: MAWS docs/doperpowers/plans/2026-10-06-e4b-profile-import.md.
Owner decision relayed by the MAWS session (2026-10-08, MAWS master d46a035b, same plan file), verbatim: "대체하는게 결정이다. cua_repl이 인앱 브라우저를 바로 사용하는것" — replacement, not coexistence: MAWS's agent browser-tool route (browser_tabs, browser_snapshot, browser_act) is replaced by cua_repl driving the in-app browser directly. Planning-only; no build authorization yet; the technical design is this ticket's.
Readiness research (2026-10-08, this session; two read-only surveys, MAWS master 3a9e6d1e, cua main eb692a8, vendor BS = chatgpt-26.928.40906 browser-service.mjs). Facts the design builds on:
Vendor service (BS). Backends are discovered only as Unix sockets speaking u32-framed JSON-RPC (BROWSER_USE_BACKEND_PATHS replaces the /tmp/codex-browser-use scan; BS:67722-67753). Kinds: extension / iab / cdp / mcpapps (BS:18347-18379); the cdp kind is also a socket backend, not a Chromium remote-debugging URL — there is no zero-adapter "expose a CDP port" route. Discovery scope defaults to session for iab (metadata.codexSessionId must equal the BS session id, BS:67482-67494) and global for extension. Default preference iab → preferred extension instance → any extension (BS:68229-68330). The Codex-login header check runs only for type==='extension' with agentRequestHeaderEnabled (BS:68066-68092); iab has no account/desktop gate in BS. allowDownload is asked only of iab/cdp (BS:61001-61010); dialogs, file chooser and screenshots are pure CDP (Page.handleJavaScriptDialog, Page.setInterceptFileChooserDialog + DOM.setFileInputFiles, Page.captureScreenshot). cua today sets BROWSER_USE_AVAILABLE_BACKENDS='chrome' (src/runtime/launch.mjs:114-117) and builds BROWSER_USE_BACKEND_PATHS itself (src/chrome/discovery.mjs), so a MAWS socket needs an explicit cua-side discovery change.
Codex app's iab (reference implementation). Main-process socket server under /tmp/codex-browser-use/.sock, one per conversation session (main-BvBtZhys.js:107660-107702, 111311-111357); webContents.debugger 1.3 with reference-counted leases (108562-108643, 90707-90773); Target.* emulated and restricted to the session's tabs (109271-109307); agent tabs created inactive and deferred until the panel is visible (112176-112212); turnEnded closes temporary tabs unless marked handoff/deliverable (108087-108115); downloads via allowDownload grant + session.on('will-download') + onDownloadChange (107825-107843, 99746-99834); "agent is driving" UI state browser-sidebar-browser-use-state (108645-108658). Its pages are Owl-specific <webview> adoptions — the boundary is reusable, the calls are not.
MAWS today. One WebContentsView per tab in persist:maws-browser or persist:maws-chrome-<profileDir> (src/main/browser/view.ts:36-60, partition.ts:35-43); TabStore owns create/list/close/select (tabs.ts:170-310); one shared TabDebugger attachment per view, which is also the agent-input attribution choke point (debugger.ts:1-14,151-165; input.ts:1-23); E4c drives Playwright through an in-process ConnectOverCDPTransport with privileged-domain and Target filters (agent/bridge.ts:1-41). Six engine-facing tools (browser_tabs/navigate/snapshot/act/eval/screenshot, src/shared/maws/browser.ts:59-99) are served by the SDK-hosted maws MCP server (initialize sdkMcpServers:['maws']). Plugin MCP servers already load in MAWS-hosted engine runs (--setting-sources user,project,local, no --strict-mcp-config; fixtures pass2/real-settings.jsonl:15). The engine env is an allowlist (engine-host/launch.ts:80-125): CUA_*/BROWSER_USE_* do not propagate from the shell; extraSettings.env exists. Profile import copies History (own index), Cookies (session + CHIPS via CDP), Extensions (ses.extensions.loadExtension, no chrome.debugger/nativeMessaging — so the cua Chrome extension cannot run inside MAWS). Bookmarks and avatar not imported; the profile pill opens Settings in the main tab (PartitionPill.tsx:14-29). Dialogs: Electron's native dialog is not closed by Page.handleJavaScriptDialog; MAWS wraps the internal -run-dialog (agent/dialogs.ts). Downloads under agent control are cancelled (downloads.ts:32-55). Bindings to amend: P1 X9 (tool names frozen), A-19 (scoped debugger route; remote-debugging port never ships), A-43 (no listening browser-agent socket), charter line 982 (old "MAWS's own browser tools" choice) and line 614 (deferred cua-shim.mjs bundling plan).
Performance. No recorded blanket "slow driver" finding: raw operations were ms-level (spikes/browser-probe/findings.txt:20-27); the recorded quality issues are large low-yield ARIA snapshots (24k cap kept 19-50% of refs on real pages), eval's fixed 250 ms wait, late download reports, cover races (docs/tech-debt-tracker.md:78-86).
Conclusion: design can start now. Recommended shape: MAWS main implements only the thin browser primitives cua's host already consumes from its Chrome extension (15 requests + 8 notifications, extension/background.js:260-342, host.mjs:538-577) over TabStore/TabDebugger, and cua's host (session/turn/handoff/viewport/downloads logic, tested) serves the vendor protocol unchanged; cua adds a MAWS backend kind to discovery and profile listing. Alternative: a full iab backend inside MAWS (more code, session-scoped discovery, allowDownload). Open owner forks and the UI requirements (bookmarks bar, extensions bar, avatar, settings widget vs sidebar) go to the brainstorming round.
[board] ready-for-architect: MAWS's in-app browser, profile import and agent tools exist (E4a-c); the owner decided replacement by cua_repl; research recorded above.
Spec reviewed (adversarial design review: three rounds, approve at 22a27bc; buildability review: two rounds, resolutions confirmed). Execution dispatched to a plan-executor: M1 in cua-wt-13 (maws-in-app-browser-13), M2-M4 in MAWS-wt-13 (e13-cua-in-app-browser), M5 live.
MAWS PR #1 (SSFSKIM/MAWS#1) merged to master at 1d2111b0 after rebasing on 8f7d1522 (E11 M8 and maws-fe's tracker rows). Gates at the rebased tree: typecheck and lint clean; 9872 unit tests passed (the pause-take-over pty case failed once as the tracker's known flake and passed 6/6 alone); e2e:browser-cua 3/3. The in-app browser driven by cua_repl is now on MAWS master; the owner's local checkout needs a pull.
Activity
SSFSKIM commentedon Oct 5, 2026
[board] deferred: Waits on MAWS reopening its deferred computer-use child (charter, peer-study note); design with brainstorming against the spec's Phase D section.
SSFSKIM commentedon Oct 8, 2026
Owner requirements relayed by the MAWS session (maws-fe, 2026-10-08), grounded in /Users/new/Developer/GitHub/MAWS/docs/doperpowers/evidence/p1-e11/owner-notes/00-consolidated-plan.txt §4b and the 3.E lines (MAWS master ef368272): (1) the in-app browser tab needs Chrome-like top chrome — bookmarks bar, an extensions bar with each loaded extension's action, popup and options page, and the profile avatar on the tab pill; (2) bookmarks are not imported today (E4b imports History, Cookies, Extensions; Bookmarks JSON and the avatar deferred) and should become a fourth consent category with re-sync; (3) taste: a profile click must not open Settings in the main tab — a floating widget or sidebar tab, choice open; (4) planning directive only (not build authorization): the next wave's goal is an in-app browser that cua_repl can drive; today MAWS's sitting agent uses browser_tabs/browser_snapshot/browser_act and the outer GUI assistant uses cua_repl separately; replacement vs integration undecided. E4b import design: MAWS docs/doperpowers/plans/2026-10-06-e4b-profile-import.md.
SSFSKIM commentedon Oct 8, 2026
Owner decision relayed by the MAWS session (2026-10-08, MAWS master d46a035b, same plan file), verbatim: "대체하는게 결정이다. cua_repl이 인앱 브라우저를 바로 사용하는것" — replacement, not coexistence: MAWS's agent browser-tool route (browser_tabs, browser_snapshot, browser_act) is replaced by cua_repl driving the in-app browser directly. Planning-only; no build authorization yet; the technical design is this ticket's.
SSFSKIM commentedon Oct 8, 2026
Readiness research (2026-10-08, this session; two read-only surveys, MAWS master 3a9e6d1e, cua main eb692a8, vendor BS = chatgpt-26.928.40906 browser-service.mjs). Facts the design builds on:
Vendor service (BS). Backends are discovered only as Unix sockets speaking u32-framed JSON-RPC (
BROWSER_USE_BACKEND_PATHSreplaces the /tmp/codex-browser-use scan; BS:67722-67753). Kinds: extension / iab / cdp / mcpapps (BS:18347-18379); thecdpkind is also a socket backend, not a Chromium remote-debugging URL — there is no zero-adapter "expose a CDP port" route. Discovery scope defaults to session for iab (metadata.codexSessionIdmust equal the BS session id, BS:67482-67494) and global for extension. Default preference iab → preferred extension instance → any extension (BS:68229-68330). The Codex-login header check runs only fortype==='extension'withagentRequestHeaderEnabled(BS:68066-68092); iab has no account/desktop gate in BS.allowDownloadis asked only of iab/cdp (BS:61001-61010); dialogs, file chooser and screenshots are pure CDP (Page.handleJavaScriptDialog, Page.setInterceptFileChooserDialog + DOM.setFileInputFiles, Page.captureScreenshot). cua today setsBROWSER_USE_AVAILABLE_BACKENDS='chrome'(src/runtime/launch.mjs:114-117) and buildsBROWSER_USE_BACKEND_PATHSitself (src/chrome/discovery.mjs), so a MAWS socket needs an explicit cua-side discovery change.Codex app's iab (reference implementation). Main-process socket server under /tmp/codex-browser-use/.sock, one per conversation session (main-BvBtZhys.js:107660-107702, 111311-111357);
webContents.debugger1.3 with reference-counted leases (108562-108643, 90707-90773);Target.*emulated and restricted to the session's tabs (109271-109307); agent tabs created inactive and deferred until the panel is visible (112176-112212); turnEnded closes temporary tabs unless marked handoff/deliverable (108087-108115); downloads viaallowDownloadgrant +session.on('will-download')+ onDownloadChange (107825-107843, 99746-99834); "agent is driving" UI statebrowser-sidebar-browser-use-state(108645-108658). Its pages are Owl-specific<webview>adoptions — the boundary is reusable, the calls are not.MAWS today. One
WebContentsViewper tab inpersist:maws-browserorpersist:maws-chrome-<profileDir>(src/main/browser/view.ts:36-60, partition.ts:35-43);TabStoreowns create/list/close/select (tabs.ts:170-310); one sharedTabDebuggerattachment per view, which is also the agent-input attribution choke point (debugger.ts:1-14,151-165; input.ts:1-23); E4c drives Playwright through an in-processConnectOverCDPTransportwith privileged-domain and Target filters (agent/bridge.ts:1-41). Six engine-facing tools (browser_tabs/navigate/snapshot/act/eval/screenshot, src/shared/maws/browser.ts:59-99) are served by the SDK-hostedmawsMCP server (initializesdkMcpServers:['maws']). Plugin MCP servers already load in MAWS-hosted engine runs (--setting-sources user,project,local, no--strict-mcp-config; fixtures pass2/real-settings.jsonl:15). The engine env is an allowlist (engine-host/launch.ts:80-125):CUA_*/BROWSER_USE_*do not propagate from the shell;extraSettings.envexists. Profile import copies History (own index), Cookies (session + CHIPS via CDP), Extensions (ses.extensions.loadExtension, nochrome.debugger/nativeMessaging— so the cua Chrome extension cannot run inside MAWS). Bookmarks and avatar not imported; the profile pill opens Settings in the main tab (PartitionPill.tsx:14-29). Dialogs: Electron's native dialog is not closed byPage.handleJavaScriptDialog; MAWS wraps the internal-run-dialog(agent/dialogs.ts). Downloads under agent control are cancelled (downloads.ts:32-55). Bindings to amend: P1 X9 (tool names frozen), A-19 (scoped debugger route; remote-debugging port never ships), A-43 (no listening browser-agent socket), charter line 982 (old "MAWS's own browser tools" choice) and line 614 (deferredcua-shim.mjsbundling plan).Performance. No recorded blanket "slow driver" finding: raw operations were ms-level (spikes/browser-probe/findings.txt:20-27); the recorded quality issues are large low-yield ARIA snapshots (24k cap kept 19-50% of refs on real pages), eval's fixed 250 ms wait, late download reports, cover races (docs/tech-debt-tracker.md:78-86).
Conclusion: design can start now. Recommended shape: MAWS main implements only the thin browser primitives cua's host already consumes from its Chrome extension (15 requests + 8 notifications, extension/background.js:260-342, host.mjs:538-577) over
TabStore/TabDebugger, and cua's host (session/turn/handoff/viewport/downloads logic, tested) serves the vendor protocol unchanged; cua adds a MAWS backend kind to discovery and profile listing. Alternative: a full iab backend inside MAWS (more code, session-scoped discovery,allowDownload). Open owner forks and the UI requirements (bookmarks bar, extensions bar, avatar, settings widget vs sidebar) go to the brainstorming round.SSFSKIM commentedon Oct 8, 2026
[board] ready-for-architect: MAWS's in-app browser, profile import and agent tools exist (E4a-c); the owner decided replacement by cua_repl; research recorded above.
SSFSKIM commentedon Oct 8, 2026
[board] in-design: Brainstorming the cua_repl-driven in-app browser design with the owner (this session).
SSFSKIM commentedon Oct 8, 2026
[board] in-progress: Spec committed; independent reviews dispatched; execution follows in cua-wt-13 (maws-in-app-browser-13) and MAWS-wt-13 (e13-cua-in-app-browser).
SSFSKIM commentedon Oct 8, 2026
Spec reviewed (adversarial design review: three rounds, approve at 22a27bc; buildability review: two rounds, resolutions confirmed). Execution dispatched to a plan-executor: M1 in cua-wt-13 (maws-in-app-browser-13), M2-M4 in MAWS-wt-13 (e13-cua-in-app-browser), M5 live.
Execution report: MAWS in-app browser (#13)
Merge pull request #91 from SSFSKIM/maws-in-app-browser-13
SSFSKIM commentedon Oct 9, 2026
[board] done: cua PR #91 merged (main d149217). MAWS PR SSFSKIM/MAWS#1 open, MERGEABLE, held until the owner's inside-MAWS sitting (steps S1-S7 in cua docs/evidence/2026-10-08-maws-in-app-browser.md) passes; residue registered as tickets.
Merge pull request #96 from SSFSKIM/docs/sitting-13
SSFSKIM commentedon Oct 9, 2026
MAWS PR #1 (SSFSKIM/MAWS#1) merged to master at 1d2111b0 after rebasing on 8f7d1522 (E11 M8 and maws-fe's tracker rows). Gates at the rebased tree: typecheck and lint clean; 9872 unit tests passed (the pause-take-over pty case failed once as the tracker's known flake and passed 6/6 alone); e2e:browser-cua 3/3. The in-app browser driven by cua_repl is now on MAWS master; the owner's local checkout needs a pull.
#171 task 147: ruling 1140's development runs on arm64 at H9: items 3…
#171: linux-engine 0.4.4 pinned as the Linux default (#487, #488), MI…