feat(browser): execute client page commands locally - #14566
Draft
Jinwoo-H wants to merge 1 commit into
Draft
Conversation
Jinwoo-H
force-pushed
the
sta-4150-browser-electron-page-commands
branch
from
August 14, 2026 20:03
fe6b420 to
2828814
Compare
6 tasks
Jinwoo-H
force-pushed
the
sta-4150-browser-electron-page-commands
branch
from
August 14, 2026 20:14
2828814 to
ee49663
Compare
Jinwoo-H
force-pushed
the
sta-4150-browser-electron-page-commands
branch
from
August 14, 2026 21:01
ee49663 to
ccba9b1
Compare
Jinwoo-H
force-pushed
the
sta-4150-browser-electron-page-commands
branch
2 times, most recently
from
August 15, 2026 00:44
6dc0381 to
6769644
Compare
Jinwoo-H
force-pushed
the
sta-4150-browser-electron-page-commands
branch
from
August 15, 2026 00:57
6769644 to
c147443
Compare
Jinwoo-H
force-pushed
the
sta-4150-browser-electron-page-commands
branch
from
August 15, 2026 02:57
c147443 to
107c2c8
Compare
Jinwoo-H
force-pushed
the
sta-4150-browser-electron-page-commands
branch
from
August 15, 2026 03:24
107c2c8 to
ce038e1
Compare
Jinwoo-H
force-pushed
the
sta-4150-browser-electron-page-commands
branch
from
August 15, 2026 08:53
ce038e1 to
4a7c066
Compare
Jinwoo-H
force-pushed
the
sta-4150-browser-electron-page-commands
branch
2 times, most recently
from
August 15, 2026 11:34
2b4f75e to
7350d66
Compare
Jinwoo-H
force-pushed
the
sta-4150-browser-electron-page-commands
branch
from
August 15, 2026 12:30
7350d66 to
41c46d3
Compare
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.
Summary
Why this stage
Draft PR #14558 composes the authenticated browser-host lease and bounded command dispatcher but intentionally has no Electron page handler. This stage supplies that handler behind an unregistered, production-inert boundary. It does not advertise a capability, register a runtime method, select client placement, or change current server/offscreen behavior.
The pinned T3Code reference at
184d8ef33b8f42869fb84f66a33984185b81dc47uses the same useful lifecycle shape: logical preview state remains shared, Electron main tracks the exact guest WebContents, and navigation waits for guest registration. Orca additionally binds execution-host routes, remote DNS, route/profile partitions, authenticated generations, and fail-closed cleanup.Causal evidence
On parent
357ccae07c, the executor module, exactnavigateGuestpath, and exact unregistered-guest retirement path did not exist, so the new oracle was deterministically red. During review, additional probes reproduced early route release after renderer failure, ambiguous-mount leakage, failed-create readmission, discarded destruction proof, proof-cache eviction, WebContents-ID reuse, and stale navigation targeting a replacement.The candidate keeps active, creating, and failed page IDs under one 256-page cap. Each observed guest carries an immutable opaque incarnation claim and its own destruction promise. Retirement and navigation require that claim; Session and route release require its destruction proof. Ambiguous outcomes remain fenced instead of falling back or being retried silently.
Compatibility
This changes no exchanged field, stream opcode, RPC registration, published session content, persisted schema, dependency, lockfile, native module, renderer surface, or placement default. Older clients and runtimes continue current server-hosted/offscreen behavior.
browser.screencast.v1, mobile/web behavior, SSH/WSL routing, folder workspaces, git worktrees, and explicit server placement are untouched. Normal non-route browser guests retain existing behavior.Validation
Remaining activation blockers
STA-4150
Stacked on #14558. Do not merge.