Skip to content

cua board #98: the person's navigation from MAWS's chrome no longer appears as an agent activity row - #3

Merged
SSFSKIM merged 2 commits into
masterfrom
fix/98-residue
Oct 9, 2026
Merged

SSFSKIM merged 2 commits into
masterfrom
fix/98-residue

Conversation

@SSFSKIM

@SSFSKIM SSFSKIM commented Oct 9, 2026

Copy link
Copy Markdown
Owner

Fixes cua board #98 (P3, finding F2 of the 2026-10-08 sitting): a person's reload of a tab an agent holds through a cua lease (control idle) was told to the session's transcript as the agent's "Navigated to …" row.

Cause

The activity skips a committed navigation while personHolds is true, which reads the tab's input seam (lastHumanAt within 3 s). The seam is fed only by the page view's own input hooks. ⌘R pressed in the page is already counted: keys.ts takes the chord and the seam's before-input-event hook emits it as the person's key. A command from MAWS's own chrome (the nav row's Reload, Back and Forward, the address field, the error and crash pages' buttons, all over browser.tabs.navigate) and the page's context menu reach Navigator.navigate without passing any hook of the page's, so the reload's Page.frameNavigated found no recent human input and became an agent row.

Evidence: a new e2e case on the real app (before the fix) leased an idle tab, pressed ⌘R through sendInputEvent (the path before-input-event hears) and then invoked browser.tabs.navigate reload from the window. After the chord the seam read ["key/human"] and the rows stayed ["tabOpened"]. After the IPC reload the rows read ["tabOpened","navigated"].

Fix

Every caller of Navigator.navigate is the person. An agent navigates only through CDP under its lease and never comes here. So navigate now stamps the tab's input seam with a human emission of a new kind, chrome, marked activation: false. The window.open gate and the clipboard carve-out stay closed to the page. The hand-back and takeover rules treat this command exactly as they treat the person's click in the page: an idle tab stays idle, and on a tab the agent is acting on, it takes the page. A chord's key is now counted twice, once by the Navigator and once by the page's hook. That is harmless.

Tests

  • navigation.test.ts: every command stamps the seam as human input that is not an activation.
  • retained.test.ts: the chrome's Reload on a leased idle tab makes no row, and a later navigation with nobody near still does.
  • e2e/browser-cua.spec.ts: a fourth case covering ⌘R in the page and Reload from the window on a leased idle tab. It failed before the fix and passes after.

Residue

A person's navigation whose commit lands more than 3 s after their command (a slow server) is still read as the agent's. The tracker's #98 row is replaced by that residue row.

…not an agent row — the Navigator stamps every command on the tab's input seam as the person's input (no activation), since its callers are the chrome over IPC, the page's context menu and keys.ts's chords and an agent navigates only through CDP; the chrome's Reload on a leased idle tab passed through no input hook of the page's and was told as "Navigated to …" (the e2e reproduced it; ⌘R in the page was already counted); tracker row replaced by the slow-commit residue
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

… taken, so its commit can never reach the activity as an agent row and the case's baseline holds
@SSFSKIM
SSFSKIM merged commit 0d10818 into master Oct 9, 2026
SSFSKIM added a commit that referenced this pull request Oct 19, 2026
… in the frame of what it wrote, so a refused publish leaves no link behind
SSFSKIM added a commit that referenced this pull request Oct 19, 2026
…es its edited link inside the upload's frame. store.link opened and ended its own savepoint before uploadAsset ran. A refused upload (a name in the query snapshots' namespace, an unusable name, a deleted artifact, too large) still committed a durable edited link, or advanced an existing link's lastAt. The link is now written with store.linkInWrite beside op.record in the upload's in-frame callback, which both of placeUpload's branches run in a frame, so it commits with the asset and op rows or not at all. Regression in artifact-tools.test.ts, red before (a refused upload left an edited link).
SSFSKIM added a commit that referenced this pull request Oct 25, 2026
…uns-code warning follow the chosen route's own revision (the clone's host read before the directory record); a seed's ownership, rank, shelf and publisher only for the seed's own repository; array-valued mcpServers counted, a named configuration file unknown; the external-publisher exclusion judged on the normalised place

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
SSFSKIM added a commit that referenced this pull request Nov 1, 2026
…#2, #3)

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
SSFSKIM added a commit that referenced this pull request Nov 1, 2026
…el-1#2, #3; the app's direct-engine tie from the admitting root)

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
SSFSKIM added a commit that referenced this pull request Nov 1, 2026
…, flock(1) with a named refusal, uninstall under the lock, loss checked synchronously (PR #428 panel scalpel-2 #1, #2; sweep #3)

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
SSFSKIM added a commit that referenced this pull request Nov 20, 2026
… and scalpel-3 #1 to #4

Subagent rows carry their conversation's and agent's ids in the suites; a follow names the
conversation that drew its link. Red against the branch head.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
SSFSKIM added a commit that referenced this pull request Nov 20, 2026
…nversation and holds a follow's bounds until its work settles

- scalpel-2 #1: only records that carry the conversation's and the agent's ids count, so a file
  put in the found file's place between the walk and the open names nothing.
- scalpel-2 #3 (the daemon's half): namesInAgent takes the conversation that drew the link and
  answers not named unless it is the transcript the session is bound to; a follow naming none
  links nothing.
- scalpel-3 #1: a Markdown source's admission asks the search with a located callback; the
  follow's place and the proof's turn are kept until the locator's call settles.
- scalpel-3 #2: the search waits with the follow's own end, aborted at its patience.
- scalpel-3 #3: the proof's open and whole-file read stop at the first file system call after
  the follow has ended.
- scalpel-3 #4: admittedFolder answers only once both git discoveries (and every work tree's
  resolution) have settled.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
SSFSKIM added a commit that referenced this pull request Nov 20, 2026
… suites' agent mocks take the conversation

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
SSFSKIM added a commit that referenced this pull request Nov 20, 2026
…hose subagent drew the link (scalpel-2 #3, the window and the wire)

files.follow's from.agent gains an optional engineSessionId (within minor 58). A child's mount
reads the session's engine session once per source and adds it to every open as conversation;
codeTranscriptActions.openFile sends it as from.engineSessionId; the window's follow key takes
it from the follow rather than from the record at the click.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
SSFSKIM added a commit that referenced this pull request Nov 20, 2026
…the manifest unchanged); the register case's search ends with its client; the viewer's red cases for scalpel-4 #1, #3 and #4

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
SSFSKIM added a commit that referenced this pull request Nov 20, 2026
…#3, #4)

- #1: only a load that can still land holds a revisit back; a superseded one in flight does not,
  so the link's click reads after its follow.
- #3: a Save that answers while a load issued since it began is out (the tab moved to another
  session, its read waiting on a follow) issues that load again after the write, so the tab
  shows the new session's answer.
- #4: a continuation that found an outside file changed, answered read-only, is compared with
  the follows; once a follow found the link the file is read again, whole.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
SSFSKIM added a commit that referenced this pull request Nov 20, 2026
…n's realpath (scalpel-3 #3)

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
SSFSKIM added a commit that referenced this pull request Nov 20, 2026
…ts confirmation, no call of the leak rule's walk, no step of the ancestors' walk and no descriptor confirmation (scalpel-3 #3); the tracker's sweep#2 row says what the deadline answers, and the scalpel-2 #3 remainder's row

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
SSFSKIM added a commit that referenced this pull request Nov 21, 2026
… on either build before its capture

The build is read once, the first time Settings opens, and every m1 capture requires Settings open. On master's build a
reveal's check requires the words that reveal holds here, drawn at rest and in view (scalpel-5#1); the search scenes
require their results, the no-match line and the landing's focus (#2); the memory budget's switch and its Limit row are
checked after the switch and after the restore, and the Limit scene turns the budget on first (#3); the imported Chrome
profile is checked whole as main recorded it before any Browser scene, imported by what main holds, and its menu names
Sync bookmarks now (#4); the Voice scenes wait for and check the probe's words (#5); the read-only and quiet Org scenes
check what tells them apart (#6). The refused code is let go before its capture; Usage has a launch of its own, its
requests moved before it starts; an overlay twin reads the latched build before any step, so on master it is not
reached at once.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
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