@suluk/agents - v0.1.6
    Preparing search index...

    Function resolveInstruction

    • Resolve a pinned instruction snapshot from an instructions map, accepting BOTH key conventions used across the package: the QUALIFIED "<agent>/<skill>" key (unambiguous — two agents can share a skill name; the convention context/grade use) and the bare "<skill>" key (the original projection convention; back-compat). Qualified wins. One resolver everywhere means a single instructions map works for every projection AND the grade/context analyzer.

      Parameters

      • instructions: Record<string, string> | undefined
      • agentName: string
      • skillName: string

      Returns string | undefined