{
 "library": "bootstrap",
 "version": "0.11.0",
 "root": "a6a3d1ff0f982ee30430c5b42f3784c8ec901fd68482cfc1bc30899c1e5e48c5",
 "license": null,
 "slug": "Consensus",
 "ref": "Consensus#01ac",
 "hash": "sema:Consensus#mh:SHA-256:01ac4767cb432556d48461ff65dc553651ec559f28b7e438d55a292ea0c6106e",
 "stub": "01ac",
 "layer": "Society",
 "type": "Coordination",
 "summary": "Distributed agreement process",
 "mechanism": "A distributed protocol allowing a set of agents to agree on a single data value or state transition. It orchestrates Vote#6ba4 exchange and uses Quorum#2a33 to validate the result. It ensures safety and liveness in an adversarial network, accepting a Proposal#5d0a and yielding a Value#37fd.",
 "invariants": [
  "Agreement: All correct agents who decide must decide the same Value#37fd.",
  "Validity: If all agents propose V, then the Value#37fd must be V.",
  "Termination: Eventually, every correct agent decides on a Value#37fd."
 ],
 "parameters": {},
 "signature": [],
 "preconditions": [
  "Group of agents is defined (Membership List)",
  "Communication channel is available",
  "Proposal#5d0a received"
 ],
 "postconditions": [
  "A single Value#37fd is committed to the shared state",
  "All agents are notified of the Value#37fd"
 ],
 "failure_modes": [
  "Split Brain: Network partition causes two subgroups to reach different Value#37fds.",
  "Liveness Failure: The system stalls and never reaches agreement on the Proposal#5d0a.",
  "Sybil Attack: One malicious actor creates multiple identities to sway the Vote#6ba4.",
  "Byzantine Failure: Agents lying or acting maliciously to prevent consensus."
 ],
 "domain": "",
 "caution": "Governance decisions susceptible to coordinated voting blocs.",
 "sources": [],
 "name": "Consensus",
 "builds_on": [
  {
   "alias": "quorum",
   "relation": "composes_with",
   "library": "bootstrap",
   "slug": "Quorum",
   "ref": "Quorum#2a33",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Quorum"
  },
  {
   "alias": "vote",
   "relation": "composes_with",
   "library": "bootstrap",
   "slug": "Vote",
   "ref": "Vote#6ba4",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Vote"
  },
  {
   "alias": "value",
   "relation": "yields",
   "library": "bootstrap",
   "slug": "Value",
   "ref": "Value#37fd",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Value"
  },
  {
   "alias": "proposal",
   "relation": "accepts",
   "library": "bootstrap",
   "slug": "Proposal",
   "ref": "Proposal#5d0a",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Proposal"
  }
 ],
 "related": [],
 "used_by": [
  {
   "slug": "AnchorDrop",
   "relation": "references",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/AnchorDrop"
  },
  {
   "slug": "ConsensusFinder",
   "relation": "references",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/ConsensusFinder"
  }
 ],
 "url": "https://semahash.org/vocabularies/bootstrap/patterns/Consensus",
 "md_url": "https://semahash.org/vocabularies/bootstrap/patterns/Consensus.md",
 "library_url": "https://semahash.org/vocabularies/bootstrap"
}
