Repository navigation
Conversation
fe6b420 to
2828814
Compare
2828814 to
ee49663
Compare
ee49663 to
ccba9b1
Compare
6dc0381 to
6769644
Compare
6769644 to
c147443
Compare
c147443 to
107c2c8
Compare
107c2c8 to
ce038e1
Compare
ce038e1 to
4a7c066
Compare
2b4f75e to
7350d66
Compare
7350d66 to
41c46d3
Compare
41c46d3 to
39f0def
Compare
|
Closing because this Electron-main local page-command executor stage is already implemented on main ( Main retains the execution-host route before preparing the scoped Session, mounts blank on the current renderer, captures an immutable incarnation claim, registers the exact guest, grants navigation separately, and normalizes/restricts navigation. Cleanup holds Session/route resources until exact destruction, including failed registration, ambiguous mount, renderer loss, abort, and WebContents-ID reuse. Creating, active, and unresolved pages share the bounded admission budget. The newer inventory/reconciliation lifecycle supersedes the old failed-retirement representation: it moves the page into immutable Validation: the three current executor/integration/WebContents suites passed 55 tests, with |
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.