Cotal TypeScript packages
    Preparing search index...

    Type Alias SeatLocation

    SeatLocation:
        | {
            expectedSeat?: ManagerPin["expectedSeat"];
            instanceId: string;
            kind: "pin";
        }
        | { kind: "unpinned" }
        | {
            kind: "no-manager";
            native: { code?: string; detail: string };
            server: string;
            space: string;
        }
        | {
            instances: string[];
            kind: "several";
            managers?: readonly ManagerCandidate[];
            space?: string;
        }
        | {
            checked: number;
            instances: string[];
            kind: "absent";
            managers?: readonly ManagerCandidate[];
            space?: string;
        }
        | {
            answered: number;
            kind: "unknown";
            managers?: readonly ManagerCandidate[];
            refused: { error: string; instanceId: string }[];
            silent: string[];
            space?: string;
        }

    WHERE does the named seat live? A stop or attach can only be served by the manager actually HOSTING the seat, and the class queue does not know which one that is — so without this the verb is answered by whichever instance wins the race and fails on a seat that plainly exists.

    Static and open callers read the seat's live presence routing hint before making a manager request. When no live peer matches, ask the managers for their live seats, including processes that never joined the mesh. No class-queue answer or durable slot replaces a live owner lookup. The selected instance still requires the caller's own grant and checks its live seat mapping.

    On a user-auth mesh there is no scatter: the exchange refuses an unpinned selection while several of your managers are live, and names them, so each is read as ps reads them. managers is that set, as presence shows it.

    Type Declaration

    • { expectedSeat?: ManagerPin["expectedSeat"]; instanceId: string; kind: "pin" }
    • { kind: "unpinned" }
    • {
          kind: "no-manager";
          native: { code?: string; detail: string };
          server: string;
          space: string;
      }

      The registry lists no live manager, so no instance can host the seat or be asked for it.

    • {
          instances: string[];
          kind: "several";
          managers?: readonly ManagerCandidate[];
          space?: string;
      }

      More than one instance that answered runs a seat of that name; instances names them.

    • {
          checked: number;
          instances: string[];
          kind: "absent";
          managers?: readonly ManagerCandidate[];
          space?: string;
      }

      Every instance answered and none hosts the seat; instances names them. space is set by locateSeat, which knows it.

    • {
          answered: number;
          kind: "unknown";
          managers?: readonly ManagerCandidate[];
          refused: { error: string; instanceId: string }[];
          silent: string[];
          space?: string;
      }

      #1638 item 3: the search could not settle. At least one registered instance did not answer FOR ITSELF, so the seat may be sitting on it; absence is not what was established.