---
{
  "n": 66,
  "title": "Secret-based connection handshake",
  "abstract": "Let a client connect to a remote server using the secret, and refuse connections without it.",
  "refs": [
    "message:11581"
  ],
  "seen": [
    "agent",
    "user",
    "system"
  ],
  "data": {
    "source": "user",
    "stage": "To do",
    "board": 12,
    "draft": false,
    "covers": [
      "3",
      "6"
    ],
    "agent": "board-filler",
    "dispatcher": "c35e7375-7ce3-4bc3-b1ae-7cdf73bd1488",
    "environment": "main",
    "dependencies": {
      "ticket:64": "confirmed",
      "ticket:65": "confirmed"
    },
    "declined": []
  },
  "created": 1790395163.237091,
  "updated": 1790395721.0453389,
  "deleted": 0.0,
  "completed": 0.0,
  "outcome": "",
  "type": "ticket"
}
---
**What:** a client-side connect flow that opens a connection to a remote host and presents the secret; the server checks it before letting anything through.

**Why:** this is the actual 'connect using a secret' the user asked for, and the gate that keeps strangers out.

**Touches:** client connect command/config, handshake protocol, server-side verification.

**Done when:** a client with the right secret gets in and a client without a valid one is refused before any data moves.

**Risk:** a handshake that leaks whether a secret is 'close' invites guessing; reject uniformly and rate-limit attempts.
