nexus-agents - v2.80.0
    Preparing search index...

    Interface IPolicyEngine

    Policy engine interface.

    interface IPolicyEngine {
        evaluate(
            gate: {
                id: string;
                afterStage: string;
                beforeStage: string;
                rules: string[];
                onFail: "warn" | "block" | "escalate";
            },
            context: PolicyContext,
        ): PolicyDecision;
        registerRule(rule: PolicyRule): void;
        listRules(): readonly PolicyRule[];
    }

    Implemented by

    Index

    Methods