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): interceptReq's JSDoc names every owner-only verb (D6)

review1575e6e01386
diff --git a/src/core/relay/relay-host.ts b/src/core/relay/relay-host.ts
index 8229e7fdc..1c90af880 100644
--- a/src/core/relay/relay-host.ts
+++ b/src/core/relay/relay-host.ts
@@ -96,9 +96,10 @@ export interface RelayHostHooks {
*
* An intercepted request BYPASSES `access` and every project-scope jail below: nothing else looks
* at it. An interceptor therefore enforces its own role and scope checks. The hosted team's do
- * (src/core/relay/hosted-service.ts): only `relay:hosted:self` is open to any approved peer;
- * approve, deny and invite-code are owner-only, judged from the CALLER's own session key in the
- * team store — never from anything the request carries.
+ * (src/core/relay/hosted-service.ts): only `relay:hosted:self` is open to any team member (and to a
+ * session whose own approval could not be pinned, served as the lowest role); approve, deny,
+ * invite-code and pending are owner-only, judged from the CALLER's own session key in the team
+ * store — never from anything the request carries.
*/
interceptReq?(s: RelayHostSession, method: string, args: unknown[]): Promise<unknown> | null
/** Allow (optionally rewriting args) or refuse a request/cast before any scope check or dispatch. */