Kizuki
    Preparing search index...

    Function validateLinkReply

    • The guard for link proposals. Keeps a link only if both concepts are known, it is not already there (in any state), it is not a repeat, and it keeps the map loop-free.

      Parameters

      • reply: { links: { concept: string; needs: string }[] }
      • refs: Map<string, string>
      • existing: Link[]

      Returns { dropped: number; links: Link[] }