Skip to content

Node-based terminal manager for AI coding agents — tmux-backed terminals and parallel agent sessions as draggable nodes on an infinite pan/zoom canvas. macOS, Linux, and a browser Server Edition.

docs(relay): relay-host-service's confirm comment is file-local

review802badc7f8dc
diff --git a/src/main/remote/relay-host-service.ts b/src/main/remote/relay-host-service.ts
index bb71c8b43..71b0144fb 100644
--- a/src/main/remote/relay-host-service.ts
+++ b/src/main/remote/relay-host-service.ts
@@ -15,7 +15,8 @@
// - `onPeerPending` (the E2EE handshake completed, the SAS is known) → send `relay:host:peer-pending`
// to the renderer and WAIT. The peer is NOT a client yet: connectRelayHost registers no sink and
// joins no presence until its trust gate's `onOpen` fires (BOTH humans confirmed the same SAS).
-// - the human's `relay:host:confirm` → `session.confirm()` (the ONLY local-confirm call site).
+// - the human's `relay:host:confirm` → `session.confirm()` (this file's only local-confirm call
+// site; src/core/relay/relay-trust.ts lists every one).
// - `onOpen` (mutual) → `relay:host:open`; `onClose` (socket gone) → `relay:host:closed`.
// This module never dispatches peer traffic, never registers a sink, never touches a handler — it
// cannot serve a peer early even by accident, because it holds none of the machinery that serves.