Repository navigation
Conversation
06f495c to
fbde433
Compare
fbde433 to
7e02cdb
Compare
7e02cdb to
02c3d5d
Compare
12ba5ba to
61fcd62
Compare
61fcd62 to
63ea8b3
Compare
63ea8b3 to
a27ce6f
Compare
581893d to
a3549cb
Compare
973e002 to
3fe1ad8
Compare
3fe1ad8 to
4de6f68
Compare
|
Closing because this command/lifecycle stage is already implemented on main ( The runtime-owned command ledger now lives under Validation: six current dispatcher, lease, composition, ledger, and result-RPC suites passed 84 tests with |
STA-4150: https://linear.app/stably/issue/STA-4150/refactor-remote-browser-to-client-hosted-electron-webviews
Stacked on #14550. This inert server half adds a runtime-owned page-command ledger and result RPC contract with exact negotiated-connection/device/epoch/host/page authority, FIFO issue and settlement order, immutable command/result snapshots, payload-matched replay, bounded outstanding/page/cache state, shared-schema payload validation, execution-host grant checks, and outcome-unknown fencing on lease loss or exact page retirement.
Causal evidence: the unchanged focused import was red on parent 8bd3775 because the server ledger did not exist. Fresh adversarial review additionally reproduced a retirement deadlock, same-device sibling-socket result admission, oversized typed-command delivery, and retirement-completion reentry; deterministic regressions for each are green on the candidate.
Validation: 31 focused ledger/registry/RPC tests; 351 runtime/browser/protocol files with 5,003 passed and 5 existing skips; full node/CLI/web typecheck; native and type-aware zero-warning audits; changed-code quality; reliability and max-lines gates; formatting and diff checks; three clean fresh rereviews.
Compatibility: both browser-host methods remain outside production registration. No capability advertisement, persisted/mobile surface, production caller, Electron behavior, placement default, server/offscreen behavior, SSH/WSL routing, folder/worktree behavior, or old-client event shape changes. Legacy and non-v1 attach behavior remains unchanged.
Activation remains blocked on a bidirectional JSON request sender over the existing negotiated attach socket, command persistence/replay and outcome reconciliation across reconnect, exact production execution-host resolution, navigation policy, runtime-main-renderer lifecycle wiring, inventory/reclaim, non-cooperative destruction, and real headed/headless/browserless/SSH/WSL/physical cross-platform and mixed-version proof. This PR does not claim end-to-end result delivery or enable client placement.