Skip to content

a5c-ai/babysitter / library/methodologies/ruflo/skills/consensus-mechanisms

consensus-mechanisms

Verified

Multi-protocol consensus for agent swarms supporting Raft leader election, Byzantine fault tolerance, Gossip state propagation, and CRDT conflict-free merging.

FileKindSize
README.mdmarkdown226 B
SKILL.mdskill md1.5 KB
---
name: consensus-mechanisms
description: Multi-protocol consensus for agent swarms supporting Raft leader election, Byzantine fault tolerance, Gossip state propagation, and CRDT conflict-free merging.
allowed-tools: Read, Write, Edit, Bash, Grep, Glob, WebFetch, WebSearch, Agent, AskUserQuestion
graph:
  domains: [domain:software-engineering]
  skillAreas: [skill-area:agentic-loops, skill-area:orchestration-loop]
  workflows: [workflow:feature-development]
  topics: [topic:developer-experience]
  roles: [role:tech-lead, role:backend-engineer]
---

- Byzantine fault tolerance is required (untrusted or unreliable agents)
- State synchronization across distributed agent swarms
- Conflict-free data merging in concurrent operations

## Protocols

| Protocol | Use Case | Fault Tolerance | Complexity |
|----------|----------|-----------------|------------|
| Raft | Leader-based consensus, ordered log | Crash faults (f < n/2) | Medium |
| Byzantine | Untrusted agents, adversarial conditions | Byzantine faults (f < n/3) | High |
| Gossip | Eventual consistency, state propagation | Partition tolerant | Low |
| CRDT | Conflict-free replicated data types | Always convergent | Low |

## Weighted Voting

- Queen agents: 3x weight multiplier
- Worker agents: 1x weight
- Configurable consensus threshold (majority, supermajority, unanimous)

## Agents Used

- `agents/swarm-coordinator/` - Protocol orchestration
- `agents/strategic-queen/` - Weighted voting leadership

## Tool Use

Invoke via babysitter process: `methodologies/ruflo/ruflo-swarm-coordination`
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 322kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 322kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 322kUpdated Claude CodeCodexVerifiedInstall