Agent Maturity Compass API - v1.2.0
    Preparing search index...

    Function findLatestAttestationForTask

    • Parameters

      • workspace: string
      • scope: { agentId: string; type: "AGENT" } | { nodeId: string; type: "NODE" }
      • taskId: string

      Returns
          | {
              attestationId: string;
              createdByUser: string;
              createdTs: number;
              evidenceLinks: string[];
              hashes: { relatedFiles: { path: string; sha256: string }[] };
              role: "OWNER" | "AUDITOR";
              scope: { agentId?: string; nodeId?: string; type: "AGENT" | "NODE" };
              statement: string;
              taskId: string;
              v: 1;
          }
          | null