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

    Function initOrgConfig

    • Parameters

      • workspace: string
      • Optionalconfig: {
            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;
        }

      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;
      }