# Interface VotingRound

A single voting round in the protocol.

interface VotingRound {
id: string;
phase: "analysis" | "consensus" | "deliberation";
status:
| "pending"
| "completed"
| "aborted"
| "in_progress"
| "awaiting_votes";
findings: Map<
string,
{
agentId: string;
category: | "security"
| "documentation"
| "design"
| "performance"
| "bug"
| "other"
| "style";
severity: "critical"
| "suggestion"
| "minor"
| "major";
description: string;
location?: string;
suggestion?: string;
confidence: number;
timestamp?: string;
},
>;
findingVotes: Map<
string,
{
agentId: string;
findingId: string;
agree: boolean;
reasoning?: string;
amendedSeverity?: "critical"
| "suggestion"
| "minor"
| "major";
}[],
>;
finalVotes: Map<
string,
{
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;
},
>;
startedAt: string;
completedAt?: string;
roundNumber: number;
}

- Defined in packages/nexus-agents/src/consensus/types-voting-protocol.ts:62

##### Index

### Properties

id
phase
status
findings
findingVotes
finalVotes
startedAt
completedAt?
roundNumber

## Properties

### id

id: string

- Defined in packages/nexus-agents/src/consensus/types-voting-protocol.ts:63

### phase

phase: "analysis" | "consensus" | "deliberation"

- Defined in packages/nexus-agents/src/consensus/types-voting-protocol.ts:64

### status

status: "pending" | "completed" | "aborted" | "in_progress" | "awaiting_votes"

- Defined in packages/nexus-agents/src/consensus/types-voting-protocol.ts:65

### findings

findings: Map<
string,
{
agentId: string;
category: | "security"
| "documentation"
| "design"
| "performance"
| "bug"
| "other"
| "style";
severity: "critical"
| "suggestion"
| "minor"
| "major";
description: string;
location?: string;
suggestion?: string;
confidence: number;
timestamp?: string;
},
>

- Defined in packages/nexus-agents/src/consensus/types-voting-protocol.ts:66

### findingVotes

findingVotes: Map<
string,
{
agentId: string;
findingId: string;
agree: boolean;
reasoning?: string;
amendedSeverity?: "critical"
| "suggestion"
| "minor"
| "major";
}[],
>

- Defined in packages/nexus-agents/src/consensus/types-voting-protocol.ts:67

### finalVotes

finalVotes: Map<
string,
{
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;
},
>

- Defined in packages/nexus-agents/src/consensus/types-voting-protocol.ts:68

### startedAt

startedAt: string

- Defined in packages/nexus-agents/src/consensus/types-voting-protocol.ts:69

### `Optional` completedAt

completedAt?: string

- Defined in packages/nexus-agents/src/consensus/types-voting-protocol.ts:70

### roundNumber

roundNumber: number

- Defined in packages/nexus-agents/src/consensus/types-voting-protocol.ts:71