Repository navigation
The in-app browser's Chrome-like top chrome: bookmarks bar, profile popover and extensions action bar (cua board #90) - #6
Merged
Conversation
… of the partition session under Electron 44.4.5 (MV3 and MV2 fixture popups load, reach their background and size themselves; verdict promote), with the probe's popup and options pages, the runner, its outputs and findings
…chrome. The import sheet gains a Bookmarks category with the count found and a bookmarks phase after verifying; a decoder reads Chrome's Bookmarks file in place, capped and never through a symlink, after re-applying Local State's admission; index migration 7 (pinned) keeps the rows per partition through BrowserBookmarksStore; profiles.json moves to version 2 with every new record field, version 1 upgrading in memory; a mirror re-reads the file when the partition is prepared and on browser.bookmarks.sync, refusing while an import or removal runs and never resurrecting a removed record; removal, rollback and the boot sweep clear the rows; address suggestions carry up to 3 bookmarks above history; the extensions loader writes its record through the store's new update so the two writers never lose each other's field; the synthetic Chrome fixture gains Default's Bookmarks and profile picture, and e2e:browser-chrome proves scenes 1, 5 (IPC), 6 (answer) and 10 (rows)
… tab. Chrome.tsx renders BookmarksBar (28 px) under the navigation row when the profile's bookmarks were imported, settings say shown and the bar root holds anything: chips in Chrome's order with the icon the partition's pages already showed (Favicons keeps the last icon per page origin, read through browser.bookmarks.favicons, never a fetch) or a page glyph; a click loads in the tab through Navigator.navigate (typed false, the person's input), ⌘-click or the middle button opens a new unselected tab (browser.bookmarks.open); folders and the » slot ask main for native menus (browser.bookmarks.menu), built by one builder in bookmarks/menu.ts (submenus, Open all (n) at each level, the hidden chips then Other and Mobile bookmarks) and acted on in bookmarks/bar.ts against the originating tab's partition and session, Open all asking a native message box above 20; the chips that do not fit are measured on resize and handed to the ». Settings version 12 adds browser.bookmarksBar (fromV11; SETTINGS_DEFAULTS_V11 renamed V12 across its importers); ⇧⌘B flips it from the page (keys.ts, toggleBookmarksBar chrome command) and from the focused chrome, and Settings › Browser gains the switch. The address field draws bookmark suggestions with a star, and the store ranks name matches before URL matches. Under MAWS_E2E the menu presenter records the last menu as an id tree with pick(path) and MAWS_E2E_OPEN_ALL_ANSWER answers Open all (e2e/support/native-menu.ts); e2e:browser-chrome proves scenes 2 to 6 and e2e:browser-cua acceptance 11
…b whose partition can show a bar (an imported profile with its bookmarks consented, the bar shown or hidden), in keys.ts through canShowBookmarksBar over the browsable profiles and in the chrome's key handler and command branch through canShowBar over the import records; anywhere else the chord passes untouched to Toggle right panel. The keymap table's header no longer claims the page never sees a menu chord's keydown, and the e2e's history-only suggestion check now matches the history row rather than the typed search row that quotes it
…s the Google profile picture Local State names (gaia_picture_file_name, a plain file name) in place after the profile's admission, capped at 1 MiB and O_NOFOLLOW, makes it a 64 px square PNG through nativeImage and writes it as avatar.png in the partition folder during copying, so the record's avatar is picture, else initials; a failure never fails the import and logs only its code. browser.profiles.list answers each profile's account names and its avatar (the PNG as a data URL, read once per import, or the first grapheme of its name). The pill draws the avatar (the picture, the initial on a disc of one of four accent tokens by the profile directory, or Default's person glyph) and opens a Radix popover holding the cover: the name and signed-in account, Switch profile (every other profile and Default; writes browser.profile, then opens a new selected tab of the session), Sync bookmarks now with its last-sync or unreadable line, Re-import this profile (the removal and the import sheet preselected on the profile, run at app level by ProfileSheets), and Browser settings; the main area is no longer replaced. Settings › Browser gains Sync bookmarks now beside Show report. e2e:browser-chrome proves scenes 5's popover half, 7, 8 and 10's avatar part. Two test comments and two source comments that credited the owner with the ⌘⇧B narrowing now cite the spec's Decision Log entry of 2026-10-09.
…ts still instead of an empty pane. Main used to hide every page view the moment a layer covered its window and capture the hidden page afterwards, so the pane stayed empty until the still arrived (25 to 270 ms measured), and a page that committed while the window was already covered was never captured, since a page that never painted captures empty while hidden, so the pane stayed empty for as long as the layer stood. The view manager now captures a page on screen first and hides it only after its still went to the pane, with two frames' settle, and captures a page that became showable under the cover once its load stopped, moving a never-painted page into a hidden staging window for the capture. The covered flag still goes to the renderer at once. A new browser-chrome scene opens the profile popover over the 380 px panel and asserts a decoded, non-blank still, no frame with the view hidden and no still, and a still for a page that paints only under the open popover; it fails on the old order. The e2e server gains a delayed page, and the browser e2e's cover check waits for the view to hide.
…s a page on screen while its still is captured is now keyed by the cover's generation, so a late capture from an earlier cover can no longer hide a page a newer cover is still capturing. The delayed hide hands the native focus back to the window's own page when a click gave it to the page meanwhile. A tab whose view is in the hidden staging window counts as unplaced for its page's dialogs, so the staging window never shows a box or takes the focus. A staged capture whose staging window closed on quit settles quietly, and the fire-and-forget capture is caught. The e2e hole check counts only a decoded still.
…. Each extension loaded in an imported profile's partition is a 24 px button right of the address field (its manifest's action or browser_action icon and title, read from the extension's own copy, capped and not through a symlink), folding into one puzzle button with a native menu when the address field would drop under 160 px. A click opens the extension's popup in a WebContentsView of the tab's partition, placed under the button at Chrome's minimum and resized on every preferred size, raised again whenever the view manager adds a page view to the window, and closed on its blur, the window's blur, Esc, its own window.close(), a second click, its tab leaving its pane, the window's cover (at the moment it goes on), its extension's unload, a load failure or crash (a chrome notice names the extension) or the window closing; its links open as unselected tabs after an activation in the popup, anything else refused and logged by scheme. A popup-less action is drawn dimmed and inert with its tooltip. Options, from an action's native context menu or the puzzle menu's submenu, opens the extension's options page as an internal tab titled with the extension's name, read-only in the address field, admitting only its own extension's pages, never persisted, closed rather than suspended by either cap, and closed with a notice when its extension unloads or its profile is removed. The browser preload now acts only in http, https and about: documents. Settings' imported profile says what popups cannot see. The fixture extension gains S1's popup and options pages, and e2e:browser-chrome proves scenes 9, 10's actions part and 12.
…ion's pages: the person's navigation, a link after an activation, or any other main-frame request (Back, an agent's Page.navigate, a resumed URL) closes it and opens the page as a new ordinary tab in its place, with no opener and a fresh history, and a new partition request rule keeps every ordinary tab from loading a chrome-extension page on any path. A closing popup that held the focus hands it to the app's page for a cover and to the tab's page when the person dismissed it. The action bar's fold re-observes the address field when the field swaps its element. An options tab the cap has no room for is not opened, with the cap's notice naming the extension, and is never left suspended. The reveal of a tab main opened now reaches every chrome showing the tab.
…at leaves its extension's pages (a bookmark chip, an activated link, the partition's request rule) is replaced in place. Main's reveal for the leave is a new kind, replacement, which the renderer's browser store handles itself rather than relaying to the mounted chrome: the layout's new retargetTab points the old main tab at the replacement browser tab, keeping its position, pin and active state, mounted or not, with nothing added to the closed-tab history. The strip keeps one tab where it had one instead of a new main tab beside a dead one on "That tab was closed"; e2e:browser-chrome's scene 9 asserts it and fails on the old behaviour.
…s path in cua, the versions taken, the branch, S1's and the Decision Log's verdicts); the P1 ledger §4 rows for settings 12, index 7 (its sha256 pin) and profiles.json 2 marked landed on the branch at f63860d, the settings row without a keymap action since ⌘⇧B is a fixed chord taken only in a tab whose partition has consented bookmarks; eight tracker rows for the work's residue
…, names or leases an internal tab. An extension's options page MAWS opened as a tab runs in the extension's origin, with its storage, its background and its host permissions, so the session's agent could have attached to it and evaluated there. The connection's one reachability check now leaves internal tabs out, which removes them from tabs.query, tabs.get, getTargets, debugger.attach, sendCommand, cursor and update events, refused with the existing No tab with id error. An options tab replaced by an ordinary tab is never announced, so the host hears no removal, and the replacement is an ordinary leasable tab.
…he whole-branch review fix, 7a630cd
…after the rebase onto master 035ce4f (versions unchanged: settings 12, index 7, profiles.json 2)
…mmitted (under load the seam answered first), and a tracker row for the scene's popup closing on a window blur when another MAWS e2e takes the desktop's focus
SSFSKIM
force-pushed
the
90-browser-chrome
branch
from
October 9, 2026 23:40
95b5b87 to
7010f6a
Compare
SSFSKIM
added a commit
that referenced
this pull request
Oct 9, 2026
…'s version slots final at 12, 7 and profiles.json 2 with P2-C renumbering to 13 and 8 at its merge, the §5 row's landing, the charter's §19 line; P2-E2 dispatched (the spec's E2 status and map row, the P2 ledger's record)
SSFSKIM
added a commit
that referenced
this pull request
Oct 19, 2026
…exported) is main-only, refused from a window at the preload and the router
SSFSKIM
added a commit
that referenced
this pull request
Oct 19, 2026
…t dispatch mock as HostDispatch
SSFSKIM
added a commit
that referenced
this pull request
Oct 27, 2026
…f (O11 closing panel #6, round 2) An old-name upgrade the Worker resolved before a rename, handed to the ref's object only after the renamed endpoint installed, took a higher arrival number, passed every fence and replaced the renamed connection. After its claim is answered, Relay.endpoint now asks the Registry whether a signed record still binds the name to this ref (machineBinds, new: the binding machineRefOf resolves by), and refuses 409 not-listed if not; 503 when the Registry can't answer (hub-updating on a Registry before it). The name and arrival fences are checked after that last wait, so whatever installed while it was answered still orders it. A test seam holds an upgrade before the ref's object's relay. Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
SSFSKIM
added a commit
that referenced
this pull request
Oct 27, 2026
Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers 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)
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.
The in-app browser's Chrome-like top chrome, cua board #90. Spec: the cua repository's
docs/doperpowers/specs/2026-10-08-maws-browser-chrome-design.md(branchspec/browser-chrome-90); MAWS pointerdocs/doperpowers/plans/2026-10-08-browser-chrome-90.md.In a Browser tab of an imported Chrome profile:
Bookmarksfile. The file is re-read when the profile's partition comes up and on "Sync bookmarks now"; nothing is ever written to Chrome's folder. The bar shows chips in Chrome's order, folders and the » overflow as native menus, Other and Mobile bookmarks in the overflow, and "Open all", which asks first above 20 tabs. A click loads the bookmark in the tab; ⌘-click opens a new tab. ⌘⇧B toggles the bar in a tab that can show one and still toggles the right panel everywhere else. Bookmarks appear in the address field's suggestions with a star, above history.WebContentsView(spike S1's verdict: promote). Options open as transient tabs, which are never restored or suspended and are kept out of cua's reach. Leaving an options tab opens a new ordinary tab.Versions (P1 ledger §4, X15): settings 12 (
browser.bookmarksBar,fromV11), index migration 7 (browser_bookmarks, pinned sha256e5dbe799…fce90),profiles.json2 (version 1 upgrades in memory; an older build opens version 2 read-only). Rebased on master 1600662. Master's settings and index versions had not moved, so nothing was renumbered.Validation Evidence
Code head 7a630cd (branch head 95b5b87: the ledger rows' sha). The full gates ran on the rebased tree at f63860d, and the final fix's covering gates ran at 7a630cd. One e2e ran at a time.
pnpm devand the owner's build were never launched.pnpm typecheck && pnpm lintpnpm testTest Files 1 failed | 741 passed | 1 skipped (743),Tests 1 failed | 10336 passed | 1 skipped. The one failure is the tracker's known flakysrc/main/sessions/pause-take-over.pty.test.ts; run alone twice:Tests 6 passed (6)pnpm e2e:browser-chrome7 passed (1.2m): scenes "1, 6, 10", "5", "2, 3, 5", "4, 6", "5, 7, 8, 10", "the cover's still", "9, 10, 12"pnpm e2e:browser-cua;pnpm vitest run src/main/browser/cua src/main/browser/extensions src/main/browser/tabs.test.ts5 passed (34.8s);185 passed(13 files) at 7a630cdpnpm e2e:browser-import6 passed (1.1m)pnpm e2e:browser;pnpm e2e:browser-comment8 passed (32.7s);13 passed (43.5s)pnpm build:app--mac dir)node spikes/extension-popup/run.mjs[mv3] ping reply: {"value":{"echo":{"ping":1},"fromTab":6,"swSawMessage":true}},preferred size: 344x179,onClicked: no API; full output inspikes/extension-popup/findings.txtReviews: each milestone was reviewed at its boundary by doperpowers:reviewer-medium (on opus), and every finding was fixed and re-reviewed. The whole-branch review was doperpowers:reviewer-high (on opus). Its one P2 (cua could attach to an options tab, contrary to A-51's intent) is fixed in 7a630cd and was re-reviewed.
The owner's sitting on the real profile is the last check before merge; its list is in the cua report
docs/doperpowers/specs/2026-10-08-maws-browser-chrome-report.md.Unresolved Review Findings
Each is real, minor, and recorded as a row in
docs/tech-debt-tracker.md(owner cua board #90):src/main/browser/bookmarks/sync.ts). It needs that rare overlap, and "Sync now" recovers it.src/main/browser/view.ts,agent/dialogs.ts). It needs a dialog and a cover lift within the same 300 ms.view.ts). It only matters for a tab moving between two covered windows mid-capture.view.ts).e2e/browser.spec.ts). It passed every run, but heavy load could push it over.preferred-size-changed. It is covered by unit tests and S1, and the owner's sitting checks it.Residue
chrome.permissionsor the current tab. Dark Reader's popup hosts and sizes, but its background crashes on Electron 44's missingchrome.permissions(E0b's gap). No popup can see the page tab (chrome.tabs.queryanswers[]or the popup itself). Settings says so. Closing either gap means shimming those APIs, theelectron-chrome-extensionsquestion the spec deferred to the backlog.