feat(browser): compose paired client host lifecycle - #14558
Draft
Jinwoo-H wants to merge 1 commit into
Draft
Conversation
Jinwoo-H
force-pushed
the
sta-4150-browser-client-host-lifecycle
branch
2 times, most recently
from
August 14, 2026 20:14
42f2ae3 to
7835ff5
Compare
Jinwoo-H
force-pushed
the
sta-4150-browser-client-host-lifecycle
branch
2 times, most recently
from
August 14, 2026 23:17
6ef455c to
e9dc3e0
Compare
Jinwoo-H
force-pushed
the
sta-4150-browser-client-host-lifecycle
branch
2 times, most recently
from
August 15, 2026 00:57
2c514ee to
ac4461f
Compare
Jinwoo-H
force-pushed
the
sta-4150-browser-client-host-lifecycle
branch
from
August 15, 2026 02:57
ac4461f to
2899d2b
Compare
Jinwoo-H
force-pushed
the
sta-4150-browser-client-host-lifecycle
branch
from
August 15, 2026 03:24
2899d2b to
ee39875
Compare
Jinwoo-H
force-pushed
the
sta-4150-browser-client-host-lifecycle
branch
from
August 15, 2026 08:53
ee39875 to
62dfcf7
Compare
Jinwoo-H
force-pushed
the
sta-4150-browser-client-host-lifecycle
branch
from
August 15, 2026 10:24
62dfcf7 to
d30e941
Compare
Jinwoo-H
force-pushed
the
sta-4150-browser-client-host-lifecycle
branch
from
August 15, 2026 11:34
d30e941 to
2958f5a
Compare
Jinwoo-H
force-pushed
the
sta-4150-browser-client-host-lifecycle
branch
from
August 15, 2026 12:30
2958f5a to
d2d6d47
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 #14557 proves command results can settle on the exact authenticated attach socket, but intentionally leaves desktop lifecycle ownership and the 32-request versus 256-command capacity policy unresolved. This stage closes those two inert composition gaps before any Electron page handler, capability advertisement, or placement activation exists.
The pinned T3Code reference also keeps logical preview metadata on the server while Electron main owns per-tab WebContents registration and queues navigation until the guest exists. Orca follows that lifecycle shape, but retains stricter execution-host proxy partitions, authenticated authority generations, and fail-closed remote DNS.
Causal evidence
On parent 31f812a, the deterministic oracle failed because the composed host module did not exist, eight completed results immediately exceeded a configured four-request ceiling, and excess unsettled results did not fence the lease. The candidate passes synchronous ready-plus-command delivery, bounded settlement, overflow teardown, transport-close-before-abort ordering, throwing and falsy cleanup failures, exact retirement, and late non-cooperative handler settlement.
Compatibility
This remains production-inert. No RPC registration, runtime capability advertisement, client-placement selection, Electron renderer IPC, BrowserPane behavior, server/offscreen placement, SSH or WSL routing, folder/worktree behavior, or browser.screencast.v1 behavior changes. Old and non-v1 peers keep the existing ready/revoked path; future activation must capability-gate this v1-only facade and preserve server placement for older or browserless clients.
Validation
One initial unbounded parallel run had an unrelated shared-client socket test fail to connect; that file passed 19/19 in isolation and the full four-worker rerun passed cleanly.
Remaining activation blockers
STA-4150
Stacked on #14557. Do not merge.