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

- Defined in packages/nexus-agents/src/security/corroboration-validator.ts:40

##### Index

### Properties

description
isSatisfied

## Properties

### `Readonly` description

description: string

Human-readable description of what's required.

- Defined in packages/nexus-agents/src/security/corroboration-validator.ts:42

### `Readonly` isSatisfied

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?

- Defined in packages/nexus-agents/src/security/corroboration-validator.ts:44