Member Junction
    Preparing search index...

    One expectation in a golden file. anyOf nests alternatives.

    interface CorpusExpectation {
        actions?: CorpusExpectedAction[];
        allowAdditionalActions?: boolean;
        anyOf?: CorpusExpectation[];
        forbiddenActions?: string[];
        forbiddenPayloadPaths?: string[];
        kind: DecisionKind | "anyOf";
        message?: CorpusParamMatcher;
        ordered?: boolean;
        payload?: Record<string, CorpusParamMatcher>;
        subAgents?: string[];
    }
    Index

    Properties

    allowAdditionalActions?: boolean

    Alternatives, when kind is anyOf. The best-scoring branch wins.

    forbiddenActions?: string[]
    forbiddenPayloadPaths?: string[]

    Dotted paths the payload change must not touch (payload scoping).

    kind: DecisionKind | "anyOf"
    ordered?: boolean
    payload?: Record<string, CorpusParamMatcher>

    Matchers keyed by dotted path into the payload change request, e.g. newElements.findings.

    subAgents?: string[]