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

    Function transformAttestCli

    • Parameters

      • params: {
            createdByUser: string;
            evidenceLinks?: string[];
            files?: string[];
            role: "OWNER" | "AUDITOR";
            scope: TransformScope;
            statement: string;
            taskId: string;
            workspace: string;
        }

      Returns {
          attestation: {
              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;
          };
          path: string;
          sigPath: string;
      }