Cotal TypeScript packages
    Preparing search index...

    Function refreshRegistrationPolicy

    • The registration policy in force for a launch, a join, or a manager start on target.

      A manual user-auth registration made before policies existed learns its policy from its own pinned exchange: the same discovery document meshes add --from adopts, fetched with the same pinned rules, accepted only when every trust pin matches the recorded entry, and only policy is written. This runs where the policy is CONSUMED, after the command's own local refusals, never as a preparation step every command pays: a read-only status or meshes must not fail on an exchange that is down, and supervise must name a --server mismatch or a missing login before it dials anything. A refresh that fails once the warm window has expired refuses the operation, because the entry cannot say whether the space requires events.

      Parameters

      • target: { policy?: { eventPayloads?: "withheld"; events?: "required" }; space: string }

      Returns Promise<{ eventPayloads?: "withheld"; events?: "required" } | undefined>