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

    Interface CorroborationRule

    Rule defining what corroboration an action requires.

    interface CorroborationRule {
        description: string;
        isSatisfied: (
            sources: readonly (
                | { type: "repoFile"; path: string; line?: number; commit?: string }
                | {
                    type: "issueComment";
                    issueNumber: number;
                    commentId: number;
                    author: string;
                    authorTrustTier: "1" | "2" | "3" | "4";
                }
                | {
                    type: "ciResult";
                    runId: number;
                    status: "pass"
                    | "fail";
                    job: string;
                }
                | { type: "policyDoc"; path: string; section: string }
                | { type: "maintainerCommand"; username: string; commentId: number }
            )[],
        ) => boolean;
    }
    Index

    Properties

    description: string

    Human-readable description of what's required.

    isSatisfied: (
        sources: readonly (
            | { type: "repoFile"; path: string; line?: number; commit?: string }
            | {
                type: "issueComment";
                issueNumber: number;
                commentId: number;
                author: string;
                authorTrustTier: "1" | "2" | "3" | "4";
            }
            | {
                type: "ciResult";
                runId: number;
                status: "pass"
                | "fail";
                job: string;
            }
            | { type: "policyDoc"; path: string; section: string }
            | { type: "maintainerCommand"; username: string; commentId: number }
        )[],
    ) => boolean

    Predicate: does this set of sources satisfy the requirement?