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
{{ message }}
Repository navigation
feat(browser): move a tab between this computer and a paired server from the ⋯ menu - #47957
A page from a paired server either runs on this computer ("This device") or runs on the server and is streamed here. Until now you could only pick that for new pages, in Settings. Now the ⋯ menu on any server page has one item that moves just that tab to the other side: "Open on this computer" on a streamed page, "Open on build-box" (the server's name) on a This-device page.
Files
Added
Deleted
Net
Test
3
$\color{#1a7f37}{\Huge{\mathbf{+}}}$150
0
$\color{#1a7f37}{\Huge{\mathbf{+}}}$150
Prod
35
$\color{#1a7f37}{\Huge{\mathbf{+}}}$671
$\color{#cf222e}{\Huge{\mathbf{−}}}$76
$\color{#1a7f37}{\Huge{\mathbf{+}}}$595
What Changed
New ⋯ item, placed above "Open in default browser", with the approved copy and tooltip ("Opens this address in a new tab on the other side and closes this one. You may need to sign in again."). It opens the same address in the same server profile on the other side, in the source tab's spot in the strip, makes it the active tab, then closes the moved page on its server (tab close --page, so a server tab holding other pages keeps them). History and page state don't carry over. Each side keeps its own cookie jar for that profile, so nothing about logins crosses.
Hidden for blank tabs and anything without a web address, for local workspaces (only the two server-page toolbars mount it), on the web client and orcad SSH deployments (they can't host pages), when the server lacks the client-hosting or screencast capability the destination needs, and for pinned tabs (closing a pinned tab asks first, possibly on the server's own screen).
The old tab stays open in these cases:
it is pinned;
it was still loading when the move started, or it navigated while the move ran;
it showed a non-web address, which would open blank on the other side.
Unsent notes ask first, as any close does. If the server refuses the close, the existing "Couldn't close this page…" toast says so.
Failure copy: "Couldn't open this page on this computer." and the existing "Couldn't open this page on the remote host. Check the connection and try again." The old tab stays open when the move fails.
DevTools for a streamed page: move it to this computer, then use "Open browser devtools".
"Reopen on server" (the This-device failure card and the stream error toast) now calls the same move, so it closes the failed tab once the server copy opens. A pinned tab is left open.
Mechanism: browser.tabCreate already takes a placement. A new 'client' placement preference, used only by this move, skips the Settings › Browser choice but still needs the server's client-hosting capabilities and a desktop device scope. If the new page doesn't land client-placed, the move closes it and fails instead of quietly making another streamed tab. The new tab is staged after the source tab. On the server it is put in the source's group (move-to-group) and given this strip's order (reorder), both sent to the page's own server, before the source closes.
Relaunch/reconnect: pages this desktop placed here now keep being re-hosted after a relaunch or server restart even when Settings › Browser says Server (streamed). Without this, a moved page showed "Client-hosted browser unavailable" after a relaunch. Ownership is a local placedHere flag on the page's handle. It is set only after this desktop's own client-placed create, kept across server republishes, and dropped when the server re-places the page or the handle goes. It is saved with the page as remoteBrowserPagePlacedHere. A server's placement claim never sets it.
moveWebRuntimeSessionTab now requires its owning runtime instead of falling back to the focused one. Its only caller already passed it. The focus-read ratchet baseline drops by 2.
Page ids: the moved page gets a new page id on the server, and the old id is closed. Agents' tab list shows one tab either way. An agent holding the old id gets browser_tab_not_found, the same as after any close.
Why
Mockup 2 of the remote browser round, approved as shown. Creating a new page and closing the old one reuses the existing create/close paths and the server's own placement checks. Migrating a live page between two different browser engines can't carry its state anyway, and the copy says so.
Linked Issue
None. This is the approved round-2 mockup ("Move one tab between this computer and the server"). No issue tracks it.
Visual Proof
Before (main): streamed page, no way to move it or open DevTools · This-device page
After (hidden e2e build, paired to a headless serve named build-box): streamed page · This-device page
The page moved back to this computer now has "Open browser devtools" · A pinned tab offers no move
bravo, moved to the server, streams in the same strip spot between alpha and charlie:
Testing
I manually tested these changes locally
Automated tests added/updated, or explained why not below
Every added test fails without this change and avoids the test anti-patterns
macOS, real paired runtime: a hidden e2e client paired to a headless orca serve (scratch Playwright spec, not committed), with three This-device tabs alpha/bravo/charlie:
bravo → server through the real ⋯ click: the strip stays alpha, bravo (streamed, active, new page id), charlie. The client's webview count goes 3 → 2, and the old page's host element is gone.
Settings › Browser switched to Server (streamed), bravo → this computer: back to a This-device page in the same spot, with "Open browser devtools" in its menu.
A pinned tab has no move item. Once unpinned it moves.
charlie and bravo → server: the server's own session tab order is alpha, bravo, charlie. The client has 0 webviews left.
Desktop relaunch with Server (streamed) still set: the moved This-device page comes back hosted here.
Mutation runs: without the server reorder the server order ends alpha, charlie, bravo. Without the relaunch rule the moved page has no webview after relaunch. Both fail the spec.
Unit tests for the two security boundaries: the 'client' preference never bypasses capabilities or a phone scope, and recovery skips the setting only for pages this desktop placed, never for a server's claim. Both fail with their guard removed.
Linux and Windows: no platform-specific code. Covered by CI.
Performance
None measurable. The ⋯ item mounts only while the menu is open, and its selectors are O(hosts). A move is one browser.tabCreate (plus the existing snapshot refresh), two layout RPCs for the server order, and the normal close. From click to the new tab placed and the old one gone took 348–366 ms on loopback (hidden e2e build). The old tab goes through the normal close path, which releases its webview or stream: the e2e saw the webview count fall to 0.
Risk
Level: Medium
Who can trigger it: only the person, through the ⋯ item or the Reopen on server button. No new RPC. The 'client' preference travels only renderer → main IPC on this desktop. Agents keep their tab create placement rules. A server's browser.clientHost.request still uses the setting. A server can't flip the setting by claiming a page is client-placed: only this desktop's own record counts.
Nothing crosses between machines except the page's address, which the server already has for its own pages. Cookies, storage and history stay on their side.
Older server: a server without client hosting hides "Open on this computer". A server without screencast hides "Open on {host}". An older desktop ignores the new saved-session field.
Back out: plain revert. A revert leaves the saved remoteBrowserPagePlacedHere flag unread.
AI Disclosure
Review
Codex release gate, fourteen rounds, last on this head: NO P0 OR P1. Fixed along the way:
the relaunch override trusting a peer's placement or host id
the server group/order for the moved tab, including servers that open new tabs in their active split
the order RPC going to the page's own server
the pinned-close prompt on a server
closing pages a server tab held besides the moved one
closing a source that navigated mid-move (now an address/load-start latch, and a source still loading is kept)
reporting success when the close or the client landing failed
a stale saved placed-here flag (covered by a persistence test)
CodeRabbit findings fixed: failure-safe ordering, the non-web address case, the live pin recheck, the multi-page source, and queued recovery for a busy preparation. Ownership now lives on the handle, which replaces the record-eviction concern.
Agent skill upstream boundary
Not applicable, or this change copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.
Notes
Ensure no issues in: Security, Cross-platform support (Linux, Windows, Mac), Remote SSH, Mobile, general backwards compatibility, performance
SSH workspaces don't use client hosting, so the item never shows there. The phone isn't changed.
Checklist
This PR is small and focused
I explained what changed and why (ELI5, the user-facing before/after, the mechanism, and why over the alternatives)
I stated the risk: what could break, for whom, and how to back it out
Before/after screenshots or videos attached for UI changes, or N/A with reason
Self-reviewed for correctness, security, and performance
Cross-platform, SSH/remote, and path/shortcut impact considered (or N/A)
pnpm lint, pnpm typecheck, pnpm test, and pnpm build pass (or CI will cover; local preferred)
It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.
The change adds browser page moves between client and server placements. The move workflow validates URLs, creates a destination tab, attempts to preserve server tab order, and applies safeguards before closing the source tab. It also records desktop-placed pages for persistence and recovery, adds move actions to browser toolbars, and adds translations. Session-tab moves now require an explicit environment ID.
Merge Risk: Low · previous review 1912d
Moving a page between this computer and the server mostly works, and failures leave the original tab open. Edge cases remain. A server re-placement during a move can still close the source tab, and a failed source close can leave two copies of the page while reporting success. Some restart-recovery ownership details are also not yet confirmed. These are worth fixing but are not severe.
Pre-merge checks: 3 · 1
Failed checks: 1 warning
Check name
Status
Explanation
Resolution
Description check
The description is thorough and covers nearly every required template section. It has a plain-language ELI5, a detailed What Changed section with the mechanism, a Why section, a Visual Proof section w…
1) Add a linked issue, or confirm the author is a StablyAI maintainer. If the author is a maintainer, state that explicitly so the reviewer can see the exception applies. 2) Fill in the AI Disclosure section, stating whether an AI model was…
Passed checks: 3 passed
Check name
Status
Explanation
Title check
The title names the main change: a feature that moves a browser tab between this computer and a paired server from the ⋯ menu. The changeset adds a new ⋯ menu move item, the move logic, the 'client' p…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title names the main change: a feature that moves a browser tab between this computer and a paired server from the ⋯ menu. The changeset adds a new ⋯ menu move item, the move logic, the 'client' placement preference, and the removal of the old reopen-on-server helper. The title is specific and uses the conventional commit form.
Full details: Description check
Explanation
The description is thorough and covers nearly every required template section. It has a plain-language ELI5, a detailed What Changed section with the mechanism, a Why section, a Visual Proof section with before/after images, a Testing section with manual steps and checkboxes, a Performance section with measurements, a Risk section with a level and back-out plan, and a completed checklist. The Linked Issue section says there is no issue, and the author gives a reason. For an outside contributor, the template says a PR will be ignored without an actual linked issue, so this is a gap. The AI Disclosure section is empty. The template says to fill it in unless the author is a StablyAI team member, and the author's membership is not stated. The Notes section also restates the required list without adding detail.
Resolution
Add a linked issue, or confirm the author is a StablyAI maintainer. If the author is a maintainer, state that explicitly so the reviewer can see the exception applies. 2) Fill in the AI Disclosure section, stating whether an AI model was used and which one, or state that the author is an internal contributor. 3) Optionally, replace the restated Notes line with specific notes on security, cross-platform, SSH, mobile, and backward-compatibility impact.
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 5 remain after this review.
The reason will be displayed to describe this comment to others. Learn more.
Minor · Functional Correctness · Quick win
Keep server tab ordering best-effort so a reorder failure cannot abort the move.
keepServerTabOrder runs after the destination tab is created. Its two moveWebRuntimeSessionTab calls have no error handling. If either call rejects, the rejection escapes moveBrowserPageAcrossDevices before closeMovedSourceTab runs. The source tab stays open, and the button reports a failure. A retry then creates a second server tab for the same page. The code comment already states that ordering is cosmetic and that the move still completes. Catch the ordering failure and log it, so the move reports success after the destination opens.
Suggested fix
if (createdRemotePageId) {
- await keepServerTabOrder(worktreeId, environmentId, createdRemotePageId)+ try {+ await keepServerTabOrder(worktreeId, environmentId, createdRemotePageId)+ } catch (error) {+ console.warn('[browser-device-move] keeping server tab order failed:', error)+ }
}
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 4 remain after this review.
The reason will be displayed to describe this comment to others. Learn more.
Minor · Data Integrity & Integration · Quick win
Record the new client page only after its returned ID has a live handle.
Line 120 records created.browserPageId before any handle carries that ID. When the record set already holds 1024 entries, pruneClosedPages runs inside that same call, sees no live handle for the new key, and deletes it. Nothing re-adds the key later. The page then fails isDesktopPlacedClientPage, and the persisted placement flag is not written for it. After relaunch, this desktop does not re-host the page locally.
Move the recordDesktopPlacedClientPage call so that it runs after the returned page ID has a handle in the store. Keep it before any workspace persistence reads placement. Do not change the pruning rule, which must keep records of live pages.
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 4
Caution
Some comments are outside the diff and can’t be posted inline due to GitHub limitations.
⚠️ Outside diff range comments (1)
Minor · Clear the stored placement marker before it is rebuilt… · workspace-session-browser-tabs.ts:53
src/renderer/src/lib/workspace/persistence/workspace-session-browser-tabs.ts:53 Minor · Data Integrity & Integration · Quick win
Clear the stored placement marker before it is rebuilt from ownership.
The builder keeps the page's existing remoteBrowserPagePlacedHere value. persistedRemoteBrowserPageIdentity writes the marker only when the handle has placedHere. It does not remove a marker when ownership is absent. browserPageEqual also ignores this field, so a snapshot that changes only the marker does not replace the stored page. A page can therefore save remoteBrowserPagePlacedHere: true after its handle lost placedHere. On relaunch, browser-host-state.ts turns that marker back into placedHere: true, which can restore ownership that reconciliation removed.
Persist the marker only from current ownership. Clear the copied value before the identity helper runs, so the helper can set it again only when clientHosted && placedHere holds. This applies when the handle is missing as well as when it lacks placedHere.
Review info
Run configuration
Source mode: Auto
Repository: Unavailable
Branch: Unavailable
File: No configuration file from this repository applied
Commit: Unavailable
Layers: Repository UI
Review profile: CHILL
Plan: Advanced
Run ID: fc851d99-f223-446e-9129-c70cb089135d
Commits
Reviewing files that changed from the base of the PR and between ce5abf7 and 9fe7c55.
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 3 remain after this review.
The reason will be displayed to describe this comment to others. Learn more.
Major · Functional Correctness · Quick win
Require the moved page to stay client-placed before the source closes.
An explicit 'client' move checks placement only before browser.tabCreate. The materialization check at web-runtime-browser-creation.ts:181-216 ignores the handle's placement. If the host re-places the page to server before materialization completes, creation still returns success. The caller then closes the source at browser-page-device-move.ts:117-118, and the requested client destination is not reached.
The required behavior is that an explicit 'client' move does not close its source unless the created page is client-placed. A server placement must fail the move, as the PR description requires. Enforce this after materialization, using the handle's placement. Choose where the check lives. Either the creation path rejects the result, or the caller checks before closing the source. The inspected code does not establish which option the repository intends.
The reason will be displayed to describe this comment to others. Learn more.
Minor · Stability & Availability · Heavy lift
Keep desktop placement on pages that reach the frames during handover.
When the frame handover completes creation, markDesktopPlacedClientPage runs after materialization. A handed-over page can have no page handle yet, and then the helper records nothing. The staged stagedClientHosted flag does not fill the gap. Session persistence does not read it, and the materialized handle does not carry it forward.
After relaunch, the page can lose its desktop-placed marker. Under Settings set to Server, the restore check that uses that marker (hasOwnClientHostedPage) can then fail to keep this page on the desktop. The page then falls back to server hosting.
Require the desktop-placed marker to survive frame handover. It must be recorded on the page handle that persists, or in another durable store that the restore path reads.
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
Caution
Some comments are outside the diff and can’t be posted inline due to GitHub limitations.
⚠️ Outside diff range comments (1)
Minor · Reorder after the move replays the strip order captured before… · browser-page-device-move.ts:227
src/renderer/src/components/browser-pane/navigate/device-move/browser-page-device-move.ts:227 Minor · Functional Correctness · Quick win
Reorder after the move replays the strip order captured before it.
group.tabOrder is read from the store before the awaited move-to-group call, then sent unchanged in the reorder call. If the user reorders tabs while move-to-group is pending, the stale order overwrites that change on the server, and the stale order is also recorded as local reorder intent. Read the group order after move-to-group resolves, and send that order. Alternatively, skip the reorder when the order changed during the wait. Either way, the reorder must not use the order captured before the await.
Review info
Run configuration
Source mode: Auto
Repository: Unavailable
Branch: Unavailable
File: No configuration file from this repository applied
Commit: Unavailable
Layers: Repository UI
Review profile: CHILL
Plan: Advanced
Run ID: 3095a673-c1a2-4752-af06-fae6000c69b2
Commits
Reviewing files that changed from the base of the PR and between 9fe7c55 and eb6ee80.
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 1 remain after this review.
The reason will be displayed to describe this comment to others. Learn more.
Minor · Functional Correctness · Quick win
Keep move deduplication active until source closure completes.
If browser.tabClose is pending, the source row remains available. This detached call lets the move return and remove movingPageIds before that row disappears. A second click then creates another destination page.
Return and await the close operation. Keep the registration through confirmation and source-row reconciliation. Release it when closure completes, fails, or is canceled.
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 2 remain after this review.
The reason will be displayed to describe this comment to others. Learn more.
Minor · Functional Correctness · Quick win
Re-check the destination placement before closing the source.
The placement check at lines 114-122 runs before keepServerTabOrder awaits its requests. A host snapshot can change the destination to server placement during that wait. The function then closes the source and returns true, although the client move was not kept. The source tab closes, and the moved page stays open on the server.
Run the same destination placement check after the last await and before the source close. A destination that is server-placed at that point must fail the move. The source then stays open, as the move contract requires.
Suggested fix
--- "a/src/renderer/src/components/browser-pane/navigate/device-move/browser-page-device-move.ts"+++ "b/src/renderer/src/components/browser-pane/navigate/device-move/browser-page-device-move.ts"@@ -128,8 +128,17 @@
console.warn('[browser-device-move] keeping the server tab order failed:', error)
}
}
// A file or other non-web address opened blank on the other side; keep the original.
+ if (+ args.destination === 'client' &&+ createdRemotePageId &&+ findRemotePageHandle(useAppStore.getState(), environmentId, createdRemotePageId)?.placement+ ?.kind === 'server'+ ) {+ await closeRemotePage(environmentId, worktreeId, createdRemotePageId)+ return false+ }
if (source && navigation && addressSurvivesMove(args.url)) {
await closeMovedSourcePage(worktreeId, environmentId, source, browserPageId, navigation)
}
return true
…rom the ⋯ menu
The ⋯ menu on a server's page gets one item above "Open in default
browser": "Open on this computer" on a streamed page and "Open on
{host}" on a This-device page. It opens the same address in the same
server profile on the other side, in the source tab's strip spot (and
the server's group and order), then closes the moved page on its server.
The old tab stays when pinned, loading, navigated mid-move, or showing a
non-web address. "Reopen on server" uses the same move.
A 'client' placement preference lets this explicit move skip the
Settings › Browser choice, never the server's capabilities or a phone.
Pages this desktop itself placed keep being re-hosted after a relaunch
or server contact whatever that setting says, via a local placed-here
flag on the page handle that a server's snapshot never sets.
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
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.
ELI5
A page from a paired server either runs on this computer ("This device") or runs on the server and is streamed here. Until now you could only pick that for new pages, in Settings. Now the ⋯ menu on any server page has one item that moves just that tab to the other side: "Open on this computer" on a streamed page, "Open on build-box" (the server's name) on a This-device page.
What Changed
New ⋯ item, placed above "Open in default browser", with the approved copy and tooltip ("Opens this address in a new tab on the other side and closes this one. You may need to sign in again."). It opens the same address in the same server profile on the other side, in the source tab's spot in the strip, makes it the active tab, then closes the moved page on its server (
tab close --page, so a server tab holding other pages keeps them). History and page state don't carry over. Each side keeps its own cookie jar for that profile, so nothing about logins crosses.Hidden for blank tabs and anything without a web address, for local workspaces (only the two server-page toolbars mount it), on the web client and orcad SSH deployments (they can't host pages), when the server lacks the client-hosting or screencast capability the destination needs, and for pinned tabs (closing a pinned tab asks first, possibly on the server's own screen).
The old tab stays open in these cases:
Unsent notes ask first, as any close does. If the server refuses the close, the existing "Couldn't close this page…" toast says so.
Failure copy: "Couldn't open this page on this computer." and the existing "Couldn't open this page on the remote host. Check the connection and try again." The old tab stays open when the move fails.
DevTools for a streamed page: move it to this computer, then use "Open browser devtools".
"Reopen on server" (the This-device failure card and the stream error toast) now calls the same move, so it closes the failed tab once the server copy opens. A pinned tab is left open.
Mechanism:
browser.tabCreatealready takes a placement. A new'client'placement preference, used only by this move, skips the Settings › Browser choice but still needs the server's client-hosting capabilities and a desktop device scope. If the new page doesn't land client-placed, the move closes it and fails instead of quietly making another streamed tab. The new tab is staged after the source tab. On the server it is put in the source's group (move-to-group) and given this strip's order (reorder), both sent to the page's own server, before the source closes.Relaunch/reconnect: pages this desktop placed here now keep being re-hosted after a relaunch or server restart even when Settings › Browser says Server (streamed). Without this, a moved page showed "Client-hosted browser unavailable" after a relaunch. Ownership is a local
placedHereflag on the page's handle. It is set only after this desktop's own client-placed create, kept across server republishes, and dropped when the server re-places the page or the handle goes. It is saved with the page asremoteBrowserPagePlacedHere. A server's placement claim never sets it.moveWebRuntimeSessionTabnow requires its owning runtime instead of falling back to the focused one. Its only caller already passed it. The focus-read ratchet baseline drops by 2.Page ids: the moved page gets a new page id on the server, and the old id is closed. Agents'
tab listshows one tab either way. An agent holding the old id getsbrowser_tab_not_found, the same as after any close.Why
Mockup 2 of the remote browser round, approved as shown. Creating a new page and closing the old one reuses the existing create/close paths and the server's own placement checks. Migrating a live page between two different browser engines can't carry its state anyway, and the copy says so.
Linked Issue
None. This is the approved round-2 mockup ("Move one tab between this computer and the server"). No issue tracks it.
Visual Proof
Before (main): streamed page, no way to move it or open DevTools · This-device page
After (hidden e2e build, paired to a headless serve named build-box): streamed page · This-device page
The page moved back to this computer now has "Open browser devtools" · A pinned tab offers no move
bravo, moved to the server, streams in the same strip spot between alpha and charlie:
Testing
macOS, real paired runtime: a hidden e2e client paired to a headless
orca serve(scratch Playwright spec, not committed), with three This-device tabs alpha/bravo/charlie:'client'preference never bypasses capabilities or a phone scope, and recovery skips the setting only for pages this desktop placed, never for a server's claim. Both fail with their guard removed.Performance
None measurable. The ⋯ item mounts only while the menu is open, and its selectors are O(hosts). A move is one
browser.tabCreate(plus the existing snapshot refresh), two layout RPCs for the server order, and the normal close. From click to the new tab placed and the old one gone took 348–366 ms on loopback (hidden e2e build). The old tab goes through the normal close path, which releases its webview or stream: the e2e saw the webview count fall to 0.Risk
Level: Medium
'client'preference travels only renderer → main IPC on this desktop. Agents keep theirtab createplacement rules. A server'sbrowser.clientHost.requeststill uses the setting. A server can't flip the setting by claiming a page is client-placed: only this desktop's own record counts.remoteBrowserPagePlacedHereflag unread.AI Disclosure
Review
Codex release gate, fourteen rounds, last on this head:
NO P0 OR P1. Fixed along the way:CodeRabbit findings fixed: failure-safe ordering, the non-web address case, the live pin recheck, the multi-page source, and queued recovery for a busy preparation. Ownership now lives on the handle, which replaces the record-eviction concern.
Agent skill upstream boundary
Notes
Ensure no issues in: Security, Cross-platform support (Linux, Windows, Mac), Remote SSH, Mobile, general backwards compatibility, performance
SSH workspaces don't use client hosting, so the item never shows there. The phone isn't changed.
Checklist
N/Awith reasonpnpm lint,pnpm typecheck,pnpm test, andpnpm buildpass (or CI will cover; local preferred)