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

    Function applyForecastPolicyForApi

    • Parameters

      • params: {
            policy: {
                forecastPolicy: {
                    advisories: {
                        dispatch: { criticalEvents: boolean; warnEvents: boolean };
                        enable: boolean;
                        thresholds: { riskScoreCritical: number; riskScoreWarn: number };
                    };
                    anomaly: {
                        approvalsBacklogJumpRobustZ: number;
                        integrityDropRobustZ: number;
                        maturityJumpRobustZ: number;
                    };
                    cadence: {
                        defaultRefreshHours: number;
                        refreshAfterEvents: (
                            | "POLICY_APPLIED"
                            | "APPROVAL_DECIDED"
                            | "FREEZE_CHANGED"
                            | "PLUGIN_INSTALLED"
                            | "NOTARY_ATTESTATION_OBSERVED"
                        )[];
                        refreshAfterRun: boolean;
                    };
                    drift: {
                        driftCriticalPoints: number;
                        driftWarnPoints: number;
                        nRunsWindow: number;
                    };
                    evidenceGates: {
                        maxSelfReportedShare: number;
                        minCorrelationRatio: number;
                        minIntegrityIndex: number;
                        minObservedRuns: number;
                    };
                    horizons: { longDays: number; midDays: number; shortDays: number };
                    privacy: { exportAgentIdsHashed: boolean; hashTruncBytes: number };
                    version: 1;
                };
            };
            workspace: string;
        }

      Returns { path: string; sigPath: string }