Skip to content

UX wave · U12, first landing (U12a): the in-app browser as the agent's browser, device sizes, and computer use in the session - #634

Merged
SSFSKIM merged 61 commits into
masterfrom
ux-wave/U12a
Nov 13, 2026
Merged

SSFSKIM merged 61 commits into
masterfrom
ux-wave/U12a

Conversation

@SSFSKIM

@SSFSKIM SSFSKIM commented Nov 13, 2026

Copy link
Copy Markdown
Owner

Root: docs/doperpowers/specs/2026-11-12-ux-wave-design.md · child U12 (docs/doperpowers/specs/2026-11-12-ux-wave/U12-browser-computer-use-delivery.md), first landing · parent pin 510a6d15e · execution document docs/doperpowers/plans/2026-11-12-ux-wave-U12a-browser-computer-use-delivery.md. Items: l9-browser-delivery-01 (with the agent's tab, A9), -02, -06, -07. Board #584, under epic #573.

What it does

Until now an agent asked to test a page "in the app's browser" opened it with MAWS's pane tool, tested it somewhere else and asked the person to click. A page it had just fixed stayed stale until the person reloaded it; a Browser that opened by itself showed whatever tab was selected before, not the agent's. While an agent drove the Mac through computer use, nothing in the session said so, and the call's row read the plugin's id.

  • The agent is told the Browser is its browser. A session MAWS launches with its in-app browser as a backend gets a second paragraph in the maws server's instructions: "This session has MAWS's in-app browser: the Browser pane, which the user watches and can take over. It is your browser too. …" (343 characters; 1,044 in all). A session without a backend gets the first paragraph alone.
  • show_pane on a page already open reloads it, unless the person is using that tab (input in it within the last three seconds, or it reads "You have the page"), and its answer says which happened (page: opened, reloaded or kept, with a note in a session with a browser backend). The reload is not counted as the person's input. A page the person typed in earlier and has left is reloaded like any other, what they typed included (the architect's ruling; the execution document's §B). A link and the address bar reload nothing. An open main refuses is answered as a refusal ("MAWS could not open …"), not as shown.
  • The agent's tab comes forward. When the Browser opens by itself because the agent started acting in a page, it shows the agent's tab, unless the person is using the selected tab or a panel in any window shows a tab of that session (the owner's answer: "Yes, unless I use mine"). A Browser already open is not moved, and nothing is selected at an acting command.
  • Device sizes and Copy screenshot. The Browser's options menu gains Viewport (Responsive, Mobile, Tablet; Tablet is disabled with "Wider than this pane" in a narrow pane) and Copy screenshot ("Screenshot copied to clipboard", or the warning "Couldn’t copy a screenshot of this page"). A size draws the page at that width, centred, with a chip (Viewport: 375 × 812 in a pane at least 812 points tall) that opens the same three choices. The size lives in main for that tab only and is never stored. Site permissions are unchanged.
  • Computer use in the session. While a computer-use call runs, the top of the session reads "Computer use running" with Stop (not while a permission answer is awaited; it appears 250 ms after the call starts). The plugin does not stop a running cell when its call is withdrawn, so after a Stop that withdrew a running call the line reads "Computer use may still be finishing a step" with Dismiss. It stays, with no timer, until a later computer-use call shows its cell ran, the engine process exits, the plugin's server is gone, or the person dismisses it. Stop is drawn disabled with its sentence where the session cannot be interrupted, and is absent only without a controls port. The call's row reads "Used computer use", and the plugin's on-screen cursor carries the session's title (CUA_CURSOR_LABEL, set at launch).

What is stored or sent, and what build f1852de3a does with it (the execution document's §H has the detail):

  • maws.pane.answer gains the optional page, an additive change within major 3, so the wire's minor moves. Master is at 37 since the requests landing (UX wave · U1, first landing (U1a): an answered request stops waiting, and the request cards are redrawn #631: laneA.accepted, a remote lane A state's accepted, and a plan answer's mode); this landing's page takes 38, and WIRE_MINOR's history note names both. f1852de3a (minor 33) reads the command's input tolerantly: it drops page, logs it once, and answers the agent with its own result (no page, no note); the tab was still reloaded or kept by this build's main. A window of f1852de3a sends no page, and this build's host answers it without one.
  • show_pane's result text, which lands in the transcript and the journal, can carry page and note. f1852de3a does not parse a result with the new keys, so its row names the pane without what was opened; the journaled maws.pane.shown event keeps its shape.
  • The cursor's label is stored with the launch's settings (extraSettings in the session's state file, and the journal's spawn row). f1852de3a reads such a launch spec as before (a test holds the round trip); a session it resumes loses the label for that launch.
  • browser.agent.show, browser.tabs.setViewport, browser.view.copyScreenshot, a tab's viewport, and reload and page on browser.tabs.open are local IPC between main and the windows of one build: not on the wire to a host, not in tabs.json (a test pins that file's keys). f1852de3a has none of them, and they move no minor. browser.agent.show is new in this landing; the fix wave changed its answer from a boolean to { selected: BrowserTab | null }, which adds one session-id path to src/shared/machine/address-paths.json: commands.browser.agent.show.output .selected.appSessionId. No session of another machine reaches that answer: the command's input names only a tab, its one caller passes no machine, so the call goes to this Mac's main; and the window asks only after browser.agent.acting, which only this Mac's computer-use connections send, each on a socket for a session this Mac's spine records, and which no other machine passes on to this app. The id is a bare local id that the renderer's client lifts to this machine, as for the neighbouring browser.* paths. The handler returns the stored tab as it is, without the bare-id step browser.tabs.open uses; if browser.agent.show ever serves another machine's sessions it needs that step.
  • No layout key, settings key or tab kind is written, so no cross-build scene is added. No key changed: the branch's own change has no diff in src/shared/keymap/actions.ts (the chain head's change to it is the requests landing's, the permission card's buttons and keys).

The record. X9 is amended where it stands (the end of the charter's §13 X9 paragraph, and row A-54 of docs/doperpowers/plans/2026-10-05-p1-extension.md), and row A-54's choice of 2026-10-08, that the agent's tab is not selected, is reversed there with the owner's answer of 2026-11-12. The charter's §19 has a dated entry naming both.

Verification

  • The head and its merges. The pull request's head is f950baeb0aec3da6f0c563f8f46e6ff5fd8e10a4: 7b01976bda0f6af873c7fdd58dd403d99d584099 plus two merges of master (36674790f68b720ba22a36243127a40e14c15b86 with master 1157a39b6, then f950baeb0 with master 310417fc6), both described below. 7b01976bd is d0c30c3a3 plus the second merge of the chain, also below. The eleven groups' runs of record are on ec73a220e9f24248d0e0067cb2857d8b70095ad4: the branch's own last commit 3ab845328912d72666c5ea839ec46a8c4fa40cd0, the merge 74866d867 of the chain head 90a91001e (branch ux-wave/U7: master 9df6b4493 with the one-strip landing UX wave · U13, first landing (U13a): one strip for everything open #623, the moved-transcript landing's branch at d4ab1ff17 (UX wave · U8, a repair ahead of the live working folder (U8c-1): a moved transcript keeps its readers #626), the requests landing U1a (UX wave U1a: one definition of a waiting request, and the request work outside the transcript (UC-1) #577) and the sidebar landing U7a (UX wave U7a: six-word titles, reconnecting, the chip, a listed session in a new tab, Hide #591)), then 747a82d5d (the wire manifest and fingerprint regenerated at minor 38) and ec73a220e (the computer-use permission scene presses U1a's single "Allow once" button, as the merged helper allowNext does; it had used the old radio and Allow). d0c30c3a3 is one commit over ec73a220e that changes the execution document only (git diff --stat ec73a220e d0c30c3a3: 1 file, 14 insertions).

    • The requests landing (UX wave · U1, first landing (U1a): an answered request stops waiting, and the request cards are redrawn #631) and the sidebar landing (UX wave · U7, first landing (U7a): hide a session and get it back, six-word names, a listed row opens in its own tab #632) are on master, and this branch holds master 310417fc6: the diff against master is this landing's change alone (87 files changed, 5378 insertions, 218 deletions).
    • The merge had four conflicts, each where both sides added, resolved by keeping both with the chain head's first: the charter's §19 entries; the tracker's last rows; WIRE_MINOR (37 is U1a's, 38 this landing's); the wire fingerprint. The auto-merged manifest held both sides' additions at 37, and the wire test refuses a minor bump when nothing changed since the manifest's minor, so 747a82d5d regenerated the manifest and the fingerprint from the chain head's, and 38 records what this landing adds. address-paths.json needed no rewrite: the merged file lists both sides' paths, and the one new against the chain head is this landing's browser.agent.show path above.
    • What the first merge brought in (git diff --stat 3ab845328 74866d867 | tail -1): 277 files changed, 17191 insertions, 2877 deletions (225 under src/, 156 of them under src/renderer); with the two commits after it (git diff --stat 3ab845328 ec73a220e | tail -1), 278 files changed, 17193 insertions, 2880 deletions. The branch's own change (c0e7b2ae8..3ab845328) is 87 files. The three tests of the session that keeps master: (a) the two share ten files: docs/charter.md, docs/tech-debt-tracker.md, e2e/support/maws-tools.ts, src/renderer/src/session/SessionPane.test.tsx, src/renderer/src/tools/browser/Pane.test.tsx, and in src/shared/ipc/ routes.json, schema.test.ts, wire-fingerprint.json, wire-manifest.json and wire.ts: fails; (b) the incoming change touches e2e/ (scene files and two support files) and test/support/ (fake-bridge.ts, spine-lists.ts): fails; (c) three directories two levels under src/ hold changes from both, src/renderer/src, src/services/sessions and src/shared/ipc: fails. So class 1a, the eleven Mac groups and the macOS-only unit files were all run again on ec73a220e; the runs on earlier heads are the first pass.
  • The second merge of the chain: 7b01976bd merges the chain head d49aa6911 (the sidebar landing's head, which holds the requests landing's final head 7b2d9931d: its two fixes found on the Mac, its record, and master 7b9ef8291 with the gate's change gate: e2e:default may run in the guest, on e2e-build's plain out/ #624 and the CPU bound's test change sessions.test: the 4,000-upsert CPU bound is the least of three runs #628) into d0c30c3a3, with no conflict.

    • What it brought in (git diff --stat d0c30c3a3 7b01976bd | tail -1): 29 files changed, 482 insertions, 205 deletions: 17 documents (the wave's spec batches, the requests landing's execution document, the tracker), four files under .github/, scripts/ci-gate-alerts.test.mjs, e2e/requests.spec.ts, src/renderer/src/harness/composer/ComposerHarness.tsx, src/renderer/src/composer/docked/DockedCardFrame.tsx, and three unit test files (DockedCardFrame.test.tsx, Composer.test.tsx, src/services/index/sessions.test.ts). The merge commit's own diff against its first parent is exactly this.
    • The three tests on it: (a) shared files: two, docs/tech-debt-tracker.md (a document) and .github/scripts/e2e-default-specs.test.mjs (the gate's own test: this landing's line is the count of 109 default spec files, master's gate: e2e:default may run in the guest, on e2e-build's plain out/ #624 adds a case in other hunks; class 1a's static-local job runs it on the merged head); (b) it touches e2e/requests.spec.ts, nothing under test/support/ and no build or configuration file; (c) no directory two levels under src/ holds changes from both: this landing changes nothing under src/renderer/src/composer, src/renderer/src/harness or src/services/index. Each part is counted by the reading that fits it:
      • e2e/requests.spec.ts, the spec-only reading: it counts for the groups whose script lists it, e2e:requests and e2e:c7 (package.json:38 and :40), neither in this landing's set. No file imports it: git grep -n -E "requests\.spec" 7b01976bd -- e2e src test scripts .github package.json prints those two script lines and four comments (e2e/composer-live.spec.ts:241, e2e/remote-latency.spec.ts:324, e2e/support/request-keys.ts:3, src/main/sessions/spine-mirror.test.ts:309).
      • ComposerHarness.tsx, the harness-page reading: it counts for the groups whose scene files open that page's route (e2e/requests.spec.ts, e2e/composer.spec.ts, e2e/voice.spec.ts, e2e/c7-shots.spec.ts), none in this landing's set. Its only importer is src/renderer/src/harness/main.tsx:13; a plain build holds no harness entry (electron.vite.config.ts:56-61); the change is described in the requests landing's pull request. App.tsx is not in the incoming change.
      • The unit test files, the test-file reading: they count for class 1a and unit:darwin only. Nothing imports them (git grep -n -E "sessions\.test|Composer\.test|DockedCardFrame\.test" 7b01976bd -- src e2e test scripts .github prints nothing).
      • DockedCardFrame.tsx is the one product file: the docked request card's focus hand-over, exercised by e2e:requests. The computer-use permission scene of this landing presses a card's "Allow once" in e2e:default, which runs again.
    • So on 7b01976bd these ran: class 1a, unit:darwin --affected, e2e:default, and the round trip with build f1852de3a (this landing raises the wire's minor, and that run is made once, on the final head). The other ten groups stand from ec73a220e.
  • The first merge of master: 36674790f merges master 1157a39b6 (the requests landing UX wave · U1, first landing (U1a): an answered request stops waiting, and the request cards are redrawn #631 and the sidebar landing UX wave · U7, first landing (U7a): hide a session and get it back, six-word names, a listed row opens in its own tab #632, with the gate's changes gate: a bare e2e:default keeps the exclusive instance #629 and gate: HOSTED_MAC_JOBS admits unit:darwin on the direct route (macos-26) #630) into 7b01976bd. No conflict. What it brought in (git diff --stat 7b01976bd 36674790f | tail -1): 3 files changed, 61 insertions, 6 deletions, all under .github/ (scripts/gate-plan.mjs, scripts/gate-plan.test.mjs, workflows/gate.yml); both landings' code was already in this branch through the chain. The three tests on it: (a) no shared file; (b) nothing under e2e/ or test/support/ and no build or configuration file (a change under .github/ alone does not count); (c) no directory under src/. So the Electron runs on 7b01976bd stand, the round trip with build f1852de3a included, and class 1a (which runs the gate's own script tests) and unit:darwin --affected ran again on 36674790f.

  • The second merge of master: f950baeb0 merges master 310417fc6 (engine-host binary.test: the otool case takes the file's LONG timeout #633: the case in src/engine-host/holder/binary.test.ts that reads the holder binary's linked libraries takes the file's long timeout, after it timed out on a fresh hosted Mac) into 36674790f. No conflict. What it brought in (git diff --stat 36674790f f950baeb0 | tail -1): 1 file changed, 4 insertions, 2 deletions, that one unit test file. The three tests on it: (a) no shared file; (b) nothing under e2e/ or test/support/ and no build or configuration file; a unit test file under src/ counts for class 1a and unit:darwin only (the test-file reading), and nothing imports it (git grep -n -E "binary\.test" f950baeb0 -- src e2e test scripts .github package.json prints one line, a property read binary.testedVersion in src/renderer/src/settings-tab/EngineSection.tsx:69, which is no import); (c) this landing changes nothing under src/engine-host/holder (its ten files under src/engine-host/ are in the folder itself, store/ and tool-server/). So the Electron runs on 7b01976bd still stand, and class 1a and unit:darwin --affected ran again on f950baeb0.

  • Runs on the head f950baeb0:

  • Earlier runs on 36674790f (the head before the second merge of master):

  • Runs on 7b01976bd (they stand: the two merges over it changed files under .github/ and one unit test file only):

    • Class 1a: run 43435238535 (static,unit,probes): green (static, static-local, unit 1/4 to 4/4, probes, and its own two-build job).
    • Electron e2e, the default group, on the Mac lane: run 43435261103: green; 533 scenes, 235 passed, 298 skipped, none failed (the Playwright report of artifact e2e-default). It ran alone, so it collected the whole default set, on the Mac mini's host.
    • macOS-only unit cases: run 43435285983 (--gates unit:darwin --affected): green (the selection counted 285 paths from the merge base, above its bound of 200, so the whole macOS-only set ran).
    • The round trip with build f1852de3a: run 43435310339 (--gates e2e:cross-build --peer-exact f1852de3a): green, 14 scenes, 7 passed and 7 skipped.
  • Class 1a on ec73a220e: run 43420481989 (static,unit,probes): green (static, static-local, unit 1/4 to 4/4, probes, and its own two-build job). The run plans the e2e:cross-build job with master b865c90e7 (wire 3.36) as the peer against this tree's 3.38. First pass:

    • run 43404914399 on c6d4b03dd: red, with three faults, none in product behaviour, each fixed as the architect ruled. (1) unit 1/4: src/shared/machine/coverage.test.ts ("addresses exactly the committed paths") met the new path commands.browser.agent.show.output.selected.appSessionId; it was reviewed (the reasoning above) and address-paths.json was rewritten (80653df37). (2) static-local, the gate scripts' tests at .github/scripts/e2e-default-specs.test.mjs:70 and :133: the default set holds 109 spec files where the test pinned 108, since the branch added e2e/computer-use.spec.ts, which e2e:default collects; the count was updated (e67008215). (3) static-local, .github/scripts/gate-plan.test.mjs:1115 ("outside a measured job no raw time bound runs"): the (reload) scene asserted that its typing landed inside the product's three-second window with no margin, so a loaded Mac could fail it for a reason that is not the product's. The scene now stages that premise in a bounded retry: each try times from just before its first key to main's answer, only a try under three seconds asserts kept, a try outside waits out the window and the product's own reload gives the next a clean state, and after three tries with none inside the case is skipped with a reason that names the runner's load (2e4ee4f64, 0c5eea5b1). The gate scripts' tests read 553 passed, 3 failed. probes, unit 2/4 to 4/4 and the e2e:cross-build job (peer c0e7b2ae8, wire 3.36 against 3.37) were green.
    • run 43412451712 on 3ab845328, after the fixes: green (static, static-local, unit 1/4 to 4/4, probes, e2e:cross-build).
  • Review: the doperpowers:review-code xhigh panel (run wf_35b914cc-695) on c0e7b2ae8..03805fc20: seven findings, all P2, confirmed by the panel's verifier; one refuted (a withdrawal and a new turn's start in one event batch leave no lingering line, an accepted limit in the document). Two lenses clean (show_pane's reload across windows; the device-size layout through zoom, resize and placement transfers). The architect ruled that where the evidence can be read two ways the line stays. All seven were fixed in one wave (9265acbf0 failing tests first, 31 failing; cb181f6a6 and 677a74208 the fixes; 70ad30f89 item 3 as ruled, after the wave's task review sent its first version back):

    1. A later call's answer counted as evidence that a withdrawn cell had ended, though the plugin answers some calls without running a cell. Only a later call whose result is not an error counts now; the reading gains a failed state. At the plugin's pin 9020bb18 every answer given without running a cell is an error result.
    2. An interruption marker withdrew every earlier error result of the turn, so an ordinary execution error lingered. A marker now withdraws only the unbroken run of tool results right before it (in a subagent's list, its trailing run); checked against queue-and-interrupt.jsonl and pass3/p1-maws-ask-interrupt.jsonl.
    3. A result seen once settled a withdrawn call for good, even if it was later read differently. Each withdrawn call the line showed stays unresolved until its own evidence, refreshed at each look; only an exited process, a gone server and Dismiss settle for good.
    4. A failed turn with a live process cleared the line. The process counts as gone only when the engine status says it exited (processGoneOf).
    5. The agent's tab could be selected over another window's Browser in the moment a selection was moving. agentTabComesForward also answers no while a panel in any window shows any tab of the session.
    6. An opening that waited for main's answer reopened a Browser the person had opened and closed meanwhile. The window watches its layout while the answer is out and drops the opening on any change.
    7. The Browser could mount on the old selection before the window's tab list caught up, taking a main tab's page. browser.agent.show answers the selected tab, and the window writes it into its own list before it opens the tool.

    The fix wave's delta 03805fc20..c6d4b03dd: doperpowers:reviewer-medium, verdict "correct". Each milestone was reviewed clean at its boundary; the two Important findings there were fixed by the milestone (M4: a queued prompt dropped behind a running call was read as the engine's turn, which took Stop away while the call ran; M5: the copy-screenshot scene did not restore the clipboard when an assertion failed).

  • Electron e2e, on the Mac lane: run 43420474760 on ec73a220e, the eleven groups default (which collects computer-use.spec.ts), browser, browser-cua, browser-chrome, browser-comment, tools, agents, deliverables, transcript, render-host and remote: green, all eleven. First pass:

    • run 43393240279 at 03805fc20: browser-cua green; browser red in the (device sizes) scene, which asserted 375 × 812 at 125% zoom where the pane cannot hold it; default red in two computer-use.spec.ts scenes, which took a screenshot of a display: contents element. The product was right in all three; the scenes were fixed at c015f1c6e.
    • run 43404939296 at c6d4b03dd: browser (the (reload), (device sizes) and (copy screenshot) scenes) and browser-cua (A9's reworked scene) green.
    • run 43405940041 at c6d4b03dd: cancelled before default and render-host ran; agents, browser-chrome, browser-comment, deliverables, remote, tools and transcript green.
    • run 43412443252 at 3ab845328 (e2e:browser, for the reworked (reload) scene): green, 14 of 14 scenes passed, none skipped.
    • The (copy screenshot) scene works on the Mac's real pasteboard, so it puts back what the pasteboard held before it. It records the pasteboard before the click and, when the case is done, writes that back in one call into main whether or not the copy happened, but only while the pasteboard still holds the image the case copied: a copy by anything else meanwhile is left alone. It reads its image off the pasteboard without waiting for the notice, and a failure of that cleanup cannot hide the case's own first failure (M5's review fixes d91a43b8f and e7b4c7f79).
  • macOS-only unit tests: run 43420507070 (unit:darwin) on ec73a220e: the --affected selection counted 285 paths from the merge base, above its bound of 200, so the run takes the whole macOS-only set: failed, 1 of 513 tests (503 passed, 9 skipped), and the same in a second run on the same tree, 43427405095. The one failure both times is the CPU-time bound in src/services/index/sessions.test.ts ("upserts 4,000 synthetic summaries inside one transaction in under 500 ms of CPU time"), at 519.529 ms and 518.378 ms. This landing changes nothing under src/services/index. The same bound failed that hour on the requests landing's head at 512.397 ms and passed in two control runs, on master b865c90e7 (run 43430939751) and on the sidebar landing's head 90a91001e (run 43427440994), so the spread between runs on that machine is larger than any cost of the chain. Master's sessions.test: the 4,000-upsert CPU bound is the least of three runs #628 has since made the bound the least of three runs, with a ceiling for a loaded machine; the run of record is the one on 7b01976bd above. First pass: run 43405940790 at c6d4b03dd (selection by the 85 paths changed since the merge base): green; run 43393210814 at 03805fc20: green.

  • On the build VM (Linux): the whole unit suite once, at 77bfcba2c (2,524 files; the 6 failures are exactly the VM's known set). After the merge of master at 41a095e99: the full typecheck and lint exit 0, and the landing's folders pass (452 files, 7,015 tests). After the panel's fix wave: 4,000 tests over the touched folders and their importers pass (one known VM failure, which passes alone); e2e tsc and eslint exit 0. After the class 1a fixes: the gate scripts' tests 556 of 556; vitest run src/shared/machine 12 of 13 files (the one failure, git-reads.test.ts, is in the VM's known set); the e2e project's tsc and eslint on e2e/browser.spec.ts exit 0. At ec73a220e: the node, web and e2e typechecks pass; eslint on the files both sides changed passes; vitest over src/renderer/src/session, src/renderer/src/tools/browser, src/shared/ipc and src/shared/machine 126 of 127 files (1,987 of 1,989 tests; the two failures are in git-reads.test.ts); the gate scripts' tests 556 of 556, so the default set's count holds on the merged tree.

As built, beyond the document's first text (its Decision Log has each)

  • The reload's protection is personUses only. Revision 2 also kept a page the person had typed in since it loaded; the architect withdrew that the same day, since it made the item false in its main case (a person who tested a page and asked for a fix).
  • A9's clause "or showing a tab the person is not using" is not built: a Browser already open is not moved, and main selects nothing at a lease's acting command (the section's mechanism, narrowed to the owner's question).
  • The lingering line has no deadline: a call's timeout_ms is a budget the plugin suspends around approvals, not a time a host can count.
  • The chip opens the three choices; "returns to Responsive in one click" is not built.
  • src/engine-host/tool-server/server.ts takes the instructions as a dependency (an insertion the architect added to UC-8); src/engine-host/ops.ts is not touched.
  • Copy screenshot writes one image/png item through clipboard.write, since Electron 44 has no writeImage.
  • The engine's cap on a server's instructions is 4,096 characters, not the 2,048 the plugin's source records; MAWS keeps to its own 2,048 budget.
  • browser.agent.show's answer is { selected: BrowserTab | null } (review item 7), not the boolean M2 built.

Residue

  • Two tickets on the computer-use plugin's board, for what only the plugin can change: SSFSKIM/cua#368 (name the in-app browser in the js tool's search hint, its rules and the host notes) and SSFSKIM/cua#369 (tell the host what computer use is doing; stop a cancelled cell, or say when it has ended; read the cursor's label at a task's start).
  • Five rows in docs/tech-debt-tracker.md, source UX wave U12a, and one clause in the row of 2026-10-27 (P4-R7z, the probe's snapshot now carries this landing's show_pane description by hand): the lingering line cannot tell when a cancelled cell ended (SSFSKIM/cua#369); the strip cannot see an approval that carries no tool-use id (SSFSKIM/cua#369); a second window whose Browser is open but not in view follows the agent's tab; a device size applies only where a pane holds the tab's view (a tab no pane shows is parked at 1280 × 800); the cursor's label does not follow a rename until the next launch and is stored with the launch's settings (SSFSKIM/cua#369, point 3).
  • Not run, and only a person at the app can do it:
    • probe 1: Stop pressed five seconds into a cell that types one character a second for thirty seconds into a scratch document, the characters counted at forty; the count goes onto SSFSKIM/cua#369;
    • probe 6 (A1): in a new session on this branch's build, "open <a local page> in the app's browser and test the button", which names no tool; whether the agent drives the Browser itself. If not, SSFSKIM/cua#368 is the next lever, and nothing more goes into MAWS's instructions without the owner;
    • the cursor's label: whether the plugin's cursor pill reads the session's title (the plugin cuts it at 24 characters);
    • the pasted screenshot: Copy screenshot pasted into a composer, and into another app, as an image (the scene reads the clipboard back as a PNG; the paste itself is not proved);
    • the owner's look, at the sitting: the lingering line with Dismiss, the one form the owner has not seen in words, and the texts beyond the section's (the refusal, Dismiss, the two screenshot notices).
  • No cross-build run with f1852de3a as the peer: the landing stores nothing new and adds no scene, and the execution document leaves that run to the architect.
  • Unit suites print output from cases this landing did not change ([browser] warnings from src/main/browser/index.test.ts, and concurrent-rendering errors naming a missing terminal token, which master prints too): for the test-hygiene ticket, not this landing.
  • Not in this landing: UX: show_pane from a session on another machine opens on the device that sent the turn #435, a pane the agent opens appearing on the device that sent the turn (A5 and probe 5; this landing's reload and page are what it forwards); Send to Drive, deferred by the owner on 2026-11-12, is Send to Drive through a Drive MCP connector, no gws CLI #400.

Closes #584

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)

…ent's browser, device sizes and computer use in the session (U12, first landing)

Five milestones against master 6e8c727 and the child's file at 510a6d1: the instructions paragraph and show_pane's reload and answer; the agent's tab coming forward (the owner's answer of 2026-11-12); device sizes and Copy screenshot; the computer-use strip, the row's title and the cursor's label; the e2e scenes and the record. #435 is left to its later landing and the Drive item is deferred (#603). Nine points are reported for a ruling, each with a default; probe 3 is answered by reading; the two tickets for the computer-use plugin's board are given as final texts.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
… R9) and the adversarial review's five findings

The agent's tab is selected only with a window's own opening of the Browser (a command the window sends, main's guard; nothing at an acting command). show_pane's reload goes through a reload that is not the person's input, keeps a page the person has typed in since it loaded, and a refused open is a refusal. The lingering line after a withdrawn computer-use call has no deadline: evidence or Dismiss. Stop is enabled or disabled from the helper's sentence and the port's capability. A device size's room belongs to the pane that holds the view. The cursor label's places are listed as they are. Ticket 2 is amended; the Drive sentences cite #400; six debt rows are named for the tracker.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…chitect's amendment to revision 2)

show_pane on an address already open reloads the tab unless the person is using it (input within three seconds, or "You have the page"); a page the person typed in earlier is reloaded like any other, and the limit is stated where the rule is. Removed: the table's fifth row, the third note, `held` beside `page`, the input seam's field and personTyped, the second debt row and their tests. The wire's one minor carries one optional key, `page`. Everything else of revision 2 stands.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…xecution begins

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ow_pane's reload and its page and note, the agent's reload

The cases M1's "What it proves" lists, written before the code: mawsServerInstructions and the second
paragraph, the initialize answer by launch spec, the store's four outcomes with personUses, reloadForAgent
leaving the person's input alone, the window's held open, the bridge's notes, the refusal, and the wire's
page against build F's tolerant reader.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…how_pane on a page already open reloads it

A session launched with a browser backend is told, after the artifact paragraph, that the Browser pane is its
browser (mawsServerInstructions; the server takes its instructions as a dependency, EngineSession reads the
backend from the spec). show_pane's window opens the page through main first, with reload and the request id,
then opens the Browser tool: main reloads the session's tab at the address unless the person is using it
(personUses: "You have the page", or personHolds) and answers opened, reloaded or kept; the reload is
Navigator.reloadForAgent, the reload's body without the person's stamp. The bridge adds the matching note
in a session with a backend; a refused open is the new browserOpenFailed refusal. maws.pane.answer gains page
(WIRE_MINOR 37); the probe's snapshot carries the new description, edited by hand.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…swer's page)

Regenerated on the VM by pnpm wire:manifest: the minor and one added optional property under
commands.maws.pane.answer, and the fingerprint.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
… the closure over the navigator

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…tes it, indented

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…e runs at M5 only (the build rule of 11-13); the wire recipe cleans the VM checkout

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…abComesForward, browser.agent.show, the window's ask before its opening)

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
… by itself

The window about to open the Browser by itself asks main first (browser.agent.show, with the acting tab), waits for the answer and then opens the tool as before. Main selects the tab in its own session unless the person uses the selected tab or a panel shows it (agentTabComesForward, beside personUses). cua's acting command still selects nothing.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…tab's viewport, setViewport, copyScreenshot, pageBox, the page box, the menu and the chip, two mounts at unequal widths)

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
… in main, never persisted; browser.tabs.setViewport and browser.view.copyScreenshot; the page box, the Viewport submenu and the chip)

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…tem itself, and read Reset zoom disabled at 100%

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…4's clipboard.write (there is no writeImage)

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ectron 44

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…anding of U1, U2 or U3)

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ng, the strip's states with no clock on the lingering line, Stop, the row's title, the cursor's label, the stored spec, the mount)

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
… the lingering line, its reading of the transcript, "Used computer use", CUA_CURSOR_LABEL at a resume)

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…a running computer-use call (the reading keeps the call in flight; the strip keeps running with Stop)

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
… took, so the computer-use call running before it stays in flight (reading.ts reads accepted turns only)

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…r for the runs an executor does not start, Outcomes & Retrospective

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…hitect's rulings

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ew's seven findings

The computer-use line: a later call's error result (the plugin's answer before it
queues a cell, and a call that ran and threw) is no evidence; an interruption marker
withdraws only the error results it wrote, in the turn's list and a subagent's, checked
against two recorded interruptions; a later result read done and then withdrawn brings
the line back; a failed turn with a live process leaves the line, and the process's exit
is read from the session's status or digest.

The agent's Browser tab: a panel showing any tab of the session holds the selection; an
opening waiting for main's answer is dropped when the person adds or removes the
session's Browser tool or the shown session changes; browser.agent.show answers with the
session's selected tab, and the window lists it before the tool opens.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…e strictly, and the person's act wins over the agent's tab

The reading: an error result is `failed`, apart from `done`; every answer the pinned
plugin gives before it queues a cell is an error result, so a later call's `done` alone
shows that the withdrawn cell is over. An interruption marker withdraws only the error
results that stand right before it (a subagent's list: its trailing ones when the turn
holds a marker). The tracker reads a later call's result again at each look; only the
process's exit (its status `exited`, or its digest's phase `exited`), the server's
absence and Dismiss settle a call for good, and a failed turn with a live process
leaves the line.

The agent's tab: agentTabComesForward also answers no while a panel shows any tab of
the session; an opening waiting for main's answer is dropped when this window adds or
removes the session's Browser tool or changes the session it shows; browser.agent.show
answers with the session's selected tab, whole, and the window lists it selected
before the tool opens.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…arrives is failed, not done

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
… the page, and the computer-use scenes picture a pane body that has a box

The Mac run at 03805fc: at 125% the chip reads the page's real size, whose height
is the room's on a window shorter than Mobile's zoomed 1,015 points, so the scene
compares the chip with the page's own innerWidth x innerHeight there, and keeps the
fixed 375 x 812 only at 100%, where it has made the room that tall. The computer-use
scenes' pictures took the pane element, which is display: contents and has no box;
they now take its tab panel, once it is visible.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ays unresolved until its own evidence

The task review's point on item 3: a later shown call's withdrawal settled the earlier
withdrawn calls for good, a fourth thing kept beyond the ruling's three. The tracker now
keeps every withdrawn call the line showed, each with the calls after it as last read;
the line names the latest one no evidence resolves and leaves when none is left; only
the process's exit, the server's absence and Dismiss settle them, all at once.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
… ruled

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…t.show's answer

The answer's selected tab names its session (.selected.appSessionId). It is
reached only for a tab of this machine's session (cua's connections are this
machine's sessions, keyed by the bare id; no other machine relays
browser.agent.acting), and the renderer lifts it with the local machine, as
it lifts browser.tabs.open's tab. No translation beyond the codec's lift.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…omputer-use.spec.ts default's own

No group's script names the new spec, and its header says the default group
collects it, so default's own list gains it beside the pinned count.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…in a bounded retry

The kept step's raw bound on the 3 s window goes: a try inside the window
(under 3 s from before the first key to main's answer) asserts the product's
kept page; a try outside asserts nothing, the page is reloaded past the
window and the try made again, three in all; with none inside, the case is
skipped as the runner's load. The step that waits out the window is as it was.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…op always replaces (no-useless-assignment)

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ult group's count, the reload scene's staged window)

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
The wave's landings reach master as a chain, each branch holding the ones before it; 90a9100 holds master (with the one-strip landing U13a and the moved-transcript landing), the requests landing (U1a) and the sidebar landing (U7a), and U12a's class 1a and Mac set run once on this merged tree.

Conflicts, each resolved by keeping both sides:
- docs/charter.md, §19's last entries: the chain head's (U13a's two, S-11's) first, then U12a's.
- docs/tech-debt-tracker.md, the table's end: the chain head's rows (U1a, U13a, U7a) first, then U12a's five.
- src/shared/ipc/wire.ts, WIRE_MINOR: the chain head's 37 is U1a's (laneA.accepted, a remote lane A state's accepted, a plan answer's mode); U12a's maws.pane.answer page becomes 38, and the history note names both.
- src/shared/ipc/wire-fingerprint.json: taken from the chain head here; the manifest and the fingerprint are regenerated for the union in the next commit, with address-paths.json.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
… at minor 38 (U1a's 37 and U12a's maws.pane.answer page)

The merged manifest held the union at 37, which the wire test refuses (the wire had not changed since its minor); regenerated from the chain head's manifest, so 38 records what U12a adds. address-paths.json needed no rewrite: the union already lists both sides' paths, and the one path new against the chain head is U12a's browser.agent.show answer, reviewed in its fix wave (only this machine's sessions reach it).

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
… answers with U1a's Allow once button

U1a redrew the request card: a button per scope in place of the radio and Allow. The merged helper allowNext (e2e/support/maws-tools.ts) already presses it; this scene answered its card itself with the old gesture.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
… permission scene's gesture

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Incoming over 90a9100: the requests landing's fix round (the harness page's hosts connection, the held-chord scene, the docked frame's focus hand-over with its tests), master 7b9ef82 (the spec's batch 8 documents, the gate's default-on-guest change #624, the CPU bound's test change #628) and tracker rows. No conflict; two files changed on both sides merged by git: docs/tech-debt-tracker.md and .github/scripts/e2e-default-specs.test.mjs.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…and #630) into ux-wave/U12a

The incoming change is three files under .github/ (+61/-6); U1a's and U7a's code was already in this branch through the chain merges.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…-wave/U12a

Incoming change: one unit test file, src/engine-host/holder/binary.test.ts (+4/-2).
The branch's own change shares no file with it.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-13T16:57:31.718449Z f950bae PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@SSFSKIM
SSFSKIM merged commit 60a2196 into master Nov 13, 2026
SSFSKIM added a commit that referenced this pull request Nov 13, 2026
…o ux-wave/U11a

The branch already held the browser landing's code through the chain and master
310417f through the merge before this one: this merge changes no file
(git diff 517c5b0 HEAD prints nothing).

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
@SSFSKIM
SSFSKIM deleted the ux-wave/U12a branch November 13, 2026 16:57
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.

UX wave U12: the in-app browser, computer use and delivery

1 participant