ruvnet/ruflo · error · QEHiveError

Consensus proposal failed

Error message

Consensus proposal failed

What it means

The consensus vote on a task-allocation proposal never returned a verdict — hiveMind.propose threw (consensus service unavailable, malformed payload, queen not registered); acceptance is unknown, not 'rejected'.

Source

Thrown at v3/plugins/agentic-qe/src/bridges/QEHiveBridge.ts:378

          taskId: task.id,
          taskType: task.type,
          requiredAgents,
          priority: task.priority,
          proposedBy: this.queenId,
          timestamp: Date.now(),
        },
      });

      return {
        accepted: result.accepted,
        reason: result.reason,
        votesFor: result.votesFor,
        votesAgainst: result.votesAgainst,
        totalVoters: result.totalVoters,
      };
    } catch (error) {
      this.logger.error('Task allocation proposal failed', error);
      throw new QEHiveError('Consensus proposal failed', error as Error);
    }
  }

  /**
   * Broadcast result to hive
   */
  async broadcastResult(taskId: string, result: QESwarmResult): Promise<void> {
    this.ensureInitialized();

    try {
      this.logger.debug(`Broadcasting result for task: ${taskId}`);

      await this.hiveMind.broadcast({
        message: JSON.stringify({
          type: 'qe-result',
          taskId,
          result: {
            success: result.success,

View on GitHub (pinned to fa13ee4ad6)

Solutions

  1. Verify a quorum of replicas is reachable.
  2. Inspect the underlying proposal error.
Defensive patterns

Strategy: try-catch

When it happens

Trigger: Thrown at v3/plugins/agentic-qe/src/bridges/QEHiveBridge.ts:378 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of ruvnet/ruflo@fa13ee4ad6 (2026-08-18). Data as JSON: /api/errors/df743fe5737d6fd5. Report an issue: GitHub.