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

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

    Properties

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

    Type Declaration

    • decision: "approve" | "reject" | "abstain"
    • reasoning: string
    • confidence: number
    • Optionalconditions?: string[]
    • OptionalrejectionCategories?: (
          | "YAGNI"
          | "DRY_VIOLATION"
          | "OVER_ENGINEERING"
          | "SCOPE_CREEP"
          | "SECURITY_RISK"
          | "MISALIGNED"
          | "INSUFFICIENT_EVIDENCE"
      )[]

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

    • Optionalfindings?: {
          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.

    • Optionaltimestamp?: string
    processingTimeMs: number
    source: "error" | "llm" | "simulation"

    Source of the vote:

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

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

    error?: string

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