Skip to main content

CONSENSUS

Agreement and conflict resolution failures.

Held for the beta

This feature is built. It is not available in this release. It has no release date. This page describes it as designed.

The SDK assigns this 1 code of this page today: CONSENSUS.AGREEMENT.QUORUM_FAILED. The diagnosis pipeline, which is held, uses the other codes. What the SDK assigns today lists all 23.

The CONSENSUS module covers errors in multi-agent agreement protocols, conflict resolution, and voting mechanisms. These errors arise when multiple agents need to reach a shared decision.

Categories

AGREEMENT

Agreement failures.

CodeSeverityDescriptionRemediation
CONSENSUS.AGREEMENT.TIMEOUT3Consensus timeoutImplement timeout handling
CONSENSUS.AGREEMENT.QUORUM_FAILED4Failed to reach quorumHandle quorum failures
CONSENSUS.AGREEMENT.INCONSISTENT5Inconsistent agreement stateImplement consensus validation
CONSENSUS.AGREEMENT.REJECTED3Proposal rejectedHandle rejection gracefully
CONSENSUS.AGREEMENT.STALE_VOTE2Stale vote receivedImplement vote freshness

CONFLICT

Conflict resolution failures.

CodeSeverityDescriptionRemediation
CONSENSUS.CONFLICT.UNRESOLVED4Conflict unresolvedImplement conflict escalation
CONSENSUS.CONFLICT.RESOLUTION_REJECTED3Resolution rejected by partiesImplement resolution retry
CONSENSUS.CONFLICT.CASCADING5Cascading conflictsImplement conflict isolation
CONSENSUS.CONFLICT.BIAS4Biased conflict resolutionImplement fair resolution
CONSENSUS.CONFLICT.DEADLOCK5Conflict resolution deadlockImplement deadlock breaking

Warning

The CONFLICT category contains two severity 5 codes: CASCADING and DEADLOCK. Cascading conflicts are particularly dangerous because a single unresolved conflict can propagate across the entire multi-agent system, creating a chain reaction of failures.

VOTING

Voting failures.

CodeSeverityDescriptionRemediation
CONSENSUS.VOTING.INVALID_VOTE3Invalid vote receivedValidate vote format
CONSENSUS.VOTING.DUPLICATE_VOTE3Duplicate vote detectedImplement vote deduplication
CONSENSUS.VOTING.COERCED_VOTE5Vote coercion detectedImplement vote privacy
CONSENSUS.VOTING.SPLIT_VOTE2Split vote resultImplement tiebreaker
CONSENSUS.VOTING.ABSTENTION_FLOOD3Too many abstentionsHandle abstentions

Example Diagnosis

{
  "error_code": "CONSENSUS.AGREEMENT.QUORUM_FAILED",
  "confidence": 0.87,
  "root_cause": "Only 2 of 5 required agents responded within the consensus timeout window, preventing quorum from being reached.",
  "suggested_fixes": ["parameter", "retry"]
}

Next Steps