Repository navigation
Conversation
8db8f11 to
08eaae6
Compare
bfe20d5 to
8acc22a
Compare
08eaae6 to
3f9faf6
Compare
8acc22a to
450e56e
Compare
3f9faf6 to
284f563
Compare
284f563 to
854ac8a
Compare
|
Closing this inert protocol stage because its complete negotiation/admission contract is already on current The attach builder and runtime attachment require command plus complete inventory before reconciliation; the ready receiver checks exact optional echoes and reconnect preserves the protocol set. Shared The current negotiation, shared-protocol, registry and authenticated RPC suites passed 34 tests across four files. Current tests retain the fail-closed negotiation and result-authority oracles; the legacy create/navigate test is now parameterized. Optional schema fields still preserve the older decoder behavior. This closes the already-retained protocol stage; it does not claim the wider browser placement/platform activation matrix is complete. |
ELI5
After a client or runtime restart, Orca needs to tell the Electron desktop to keep, close, or rebuild exact browser pages. This PR adds a separate handshake key for those recovery instructions: unless both sides explicitly agree to the key, the server is unable to send them.
What Changed
Why
The current page-command v1 stream knows only createPage and navigate. Sending new recovery variants through that unnegotiated stream would break old decoders. A separate exact attach/ready echo lets old servers strip the optional field, lets new clients safely fall back when the echo is absent, and prevents new servers from publishing new command content to old clients.
Linked Issue
STA-4150
Visual Proof
N/A — this is a production-inert shared/main-process protocol contract with no UI or activated browser behavior.
Testing
Platforms reviewed: macOS local test host; pure TypeScript contracts have no path, shell, native-module, UI, or platform branch. Windows/Linux packaging and SSH/WSL live topology remain later activation gates.
AI Disclosure
Review
No actionable security, cross-platform, SSH/remote, mobile, backwards-compatibility, performance, or resource issue found. Old peers strip or omit the optional field; new command variants require exact negotiation; current production composition does not advertise them. No dependency, persisted state, network sink, retry loop, timer, cache, server/offscreen placement, or mobile-facing contract changed.
Checklist
Author