Cotal TypeScript packages
    Preparing search index...

    Function identityUncertaintyRefusal

    • The loud torn/unreadable/unpinned refusal, in the same shape as identityRefusal: name the component, the file, what was found, and the operator's next step. Legacy records do not reach this helper: callers emit identityLegacyWarning and proceed. Match and gone signal or clear, and mismatch refuses through identityRefusal. A reread that finds no pid is the caller's own refusal: the pid it parsed is no longer the record, so it is not signalled.

      Parameters

      • label: string
      • pidfilePath: string
      • verdict:
            | { kind: "torn-pin"; raw: string }
            | { kind: "torn-pairing"; pinPid: number }
            | { kind: "unreadable-pin"; why: string }
            | { kind: "unpinned" }

      Returns Error