Repository navigation
Conversation
8bd3775 to
0cc3c68
Compare
0cc3c68 to
6ebb288
Compare
5f8f901 to
ba04501
Compare
ba04501 to
7cce868
Compare
7cce868 to
499c834
Compare
63ecccb to
d329849
Compare
d329849 to
5b1a60b
Compare
29b0c6d to
c8b4bf0
Compare
c8b4bf0 to
24ad811
Compare
24ad811 to
87ce42f
Compare
|
Closing because this command/lifecycle stage is already implemented on main ( The current client command dispatcher retains per-page FIFO, exact authority checks, immutable request/result snapshots, payload-matched duplicate replay, create dependency fencing, retirement/abort joins, and the forgotten-generation floor. Its state/cache modules retain the 256-page/256-active/8-handler/32-per-page bounds and 64-per-page/1024-global result bounds. All 16 introduced regression cases remain; later reconciliation/profile-switch commands and close-settlement cleanup extend the same dispatcher. 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 #14544. This inert layer adds a client-side page-command dispatcher with exact lease/page authority, per-page FIFO execution, payload-matched duplicate replay, immutable request/result snapshots, bounded concurrency/queues/caches, create dependency fencing, stale-generation rejection, and cancellation/retirement joins.
Causal evidence: the unchanged oracle was red on parent d539542 because the dispatcher module did not exist. During fresh review, direct probes also reproduced payload-conflict replay, stale generation resurrection after forgetting, mutable authority/double-commit cache retention, and abort-listener retirement reentry; regressions for each are green on the candidate.
Validation: 16 focused dispatcher tests; 351 runtime/browser files with 4,992 passed and 5 existing skips; full node/CLI/web typecheck; native and type-aware audits; changed-code quality; reliability and max-lines gates; formatting and diff checks; two clean fresh rereviews.
Compatibility: no exchanged field, RPC/event registration, capability advertisement, persisted/mobile surface, production caller, Electron behavior, placement default, or server/offscreen behavior changes. The scalar forgotten-generation floor depends on future server delivery preserving the runtime registry global generation order.
Activation remains blocked on a server outstanding-command ledger, authenticated exact result admission, ordered replay/outcome-unknown semantics, execution-host grant resolution, navigation policy, lifecycle cleanup for non-cooperative handlers, the runtime-main-renderer bridge, and real Electron/browserless/headless/WSL/physical cross-platform proof.