# Interface AgentVoteResult

Individual agent vote with metadata.

interface AgentVoteResult {
role: VoterRole;
vote: {
decision: "approve" | "reject" | "abstain";
reasoning: string;
confidence: number;
conditions?: string[];
rejectionCategories?: (
| "YAGNI"
| "DRY_VIOLATION"
| "OVER_ENGINEERING"
| "SCOPE_CREEP"
| "SECURITY_RISK"
| "MISALIGNED"
| "INSUFFICIENT_EVIDENCE"
)[];
findings?: {
summary: string;
location: string;
severity: "low"
| "medium"
| "high"
| "critical";
gate: {
reread_cited_line: "failed" | "skipped" | "passed";
traced_call_path: "failed" | "skipped" | "passed";
named_assertion: string;
ruled_out_language_non_issue: "failed" | "skipped" | "passed";
};
claim: string;
}[];
timestamp?: string;
};
processingTimeMs: number;
source: "error"
| "llm"
| "simulation";
cli?: string;
error?: string;
}

- Defined in packages/nexus-agents/src/cli/vote-types.ts:71

##### Index

### Properties

role
vote
processingTimeMs
source
cli?
error?

## Properties

### `Readonly` role

role: VoterRole

- Defined in packages/nexus-agents/src/cli/vote-types.ts:72

### `Readonly` vote

vote: {
decision: "approve" | "reject" | "abstain";
reasoning: string;
confidence: number;
conditions?: string[];
rejectionCategories?: (
| "YAGNI"
| "DRY_VIOLATION"
| "OVER_ENGINEERING"
| "SCOPE_CREEP"
| "SECURITY_RISK"
| "MISALIGNED"
| "INSUFFICIENT_EVIDENCE"
)[];
findings?: {
summary: string;
location: string;
severity: "low"
| "medium"
| "high"
| "critical";
gate: {
reread_cited_line: "failed" | "skipped" | "passed";
traced_call_path: "failed" | "skipped" | "passed";
named_assertion: string;
ruled_out_language_non_issue: "failed" | "skipped" | "passed";
};
claim: string;
}[];
timestamp?: string;
}

#### Type Declaration

- ##### decision: "approve" | "reject" | "abstain"

- ##### reasoning: string

- ##### confidence: number

- ##### `Optional` conditions?: string[]

- ##### `Optional` rejectionCategories?: (
  | "YAGNI"
  | "DRY_VIOLATION"
  | "OVER_ENGINEERING"
  | "SCOPE_CREEP"
  | "SECURITY_RISK"
  | "MISALIGNED"
  | "INSUFFICIENT_EVIDENCE"
  )[]

  Structured rejection categories for reject→refine→re-vote loops (Issue #1213).

- ##### `Optional` findings?: {
  summary: string;
  location: string;
  severity: "low" | "medium" | "high" | "critical";
  gate: {
  reread_cited_line: "failed" | "skipped" | "passed";
  traced_call_path: "failed" | "skipped" | "passed";
  named_assertion: string;
  ruled_out_language_non_issue: "failed" | "skipped" | "passed";
  };
  claim: string;
  }[]

  Pre-verified PR-review findings (#2245 v4 follow-up). Optional; populated only when the voter emits the structured top-level array.

- ##### `Optional` timestamp?: string

- Defined in packages/nexus-agents/src/cli/vote-types.ts:73

### `Readonly` processingTimeMs

processingTimeMs: number

- Defined in packages/nexus-agents/src/cli/vote-types.ts:74

### `Readonly` source

source: "error" | "llm" | "simulation"

Source of the vote:

- 'llm': Real LLM execution
- 'simulation': Fallback simulation (opt-in only)
- 'error': Error during execution (Issue #523)

- Defined in packages/nexus-agents/src/cli/vote-types.ts:81

### `Optional` `Readonly` cli

cli?: string

CLI that executed this vote (for adaptive routing feedback).

- Defined in packages/nexus-agents/src/cli/vote-types.ts:83

### `Optional` `Readonly` error

error?: string

Error message if vote fell back to simulation or encountered an error

- Defined in packages/nexus-agents/src/cli/vote-types.ts:85