Files
cthulhu-tentacles/remote/connection-ui.md
T

1.3 KiB

Remote connection UI

The current user workflow and validation steps are in command.md. Mode, Host and masked Key share one connection form. More options holds certificate, saved-key and keyboard-map controls. Services are selected only in the reader-owned local approval form, constrained by installation grants.

The connection workflow owns pre-approval credentials and asynchronous verified TLS preflight/explicit certificate inspection. These workers use the interaction lifetime; lock/handoff and cleanup cancel them without needing a lease. They send no application bytes. Inspection never approves trust or connects.

The registered remote-poll continuation returns only changed progress, completed forms or a reader consent request. After local approval, the coordinator consumes the actual SDK event and starts the connection immediately. A successful join produces the existing verified remote_background terminal result automatically. The host checks its ownership before releasing capture.

Status reopening retains the existing session. Close/Escape retains its live lease, while Disconnect retires that epoch. No form may reconnect or affect a replacement epoch. Mute cancels only incoming remote speech and drops old queued speech across both mute and unmute; keyboard, clipboard and Braille stay separate.