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

    Function assignAgentToNode

    • Parameters

      • params: { agentId: string; nodeId: string; weight?: number; workspace: string }

      Returns {
          config: {
              enterpriseId: string;
              enterpriseName: string;
              memberships: { agentId: string; nodeIds: string[]; weight: number }[];
              nodes: {
                  id: string;
                  name: string;
                  parentId: string | null;
                  type: "ENTERPRISE" | "TEAM" | "FUNCTION" | "PROCESS" | "ECOSYSTEM";
              }[];
              policies: {
                  defaultsByNode: Record<
                      string,
                      {
                          actionPolicyRef?: string;
                          budgetsRef?: string;
                          gatePolicyRef?: string;
                          outcomeContractRef?: string;
                          riskTierDefault?: "low"
                          | "med"
                          | "high"
                          | "critical";
                      },
                  >;
                  inheritance: { enabled: boolean };
              };
              version: 1;
          };
          path: string;
          sigPath: string;
      }