Repository navigation
Conversation
42f2ae3 to
7835ff5
Compare
6ef455c to
e9dc3e0
Compare
2c514ee to
ac4461f
Compare
ac4461f to
2899d2b
Compare
2899d2b to
ee39875
Compare
ee39875 to
62dfcf7
Compare
62dfcf7 to
d30e941
Compare
d30e941 to
2958f5a
Compare
2958f5a to
d2d6d47
Compare
d2d6d47 to
4a426e3
Compare
|
Closing because this command/lifecycle stage is already implemented on main (
Validation: six current dispatcher, lease, composition, ledger, and result-RPC suites passed 84 tests with |
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.