{
 "library": "bootstrap",
 "version": "0.11.0",
 "root": "a6a3d1ff0f982ee30430c5b42f3784c8ec901fd68482cfc1bc30899c1e5e48c5",
 "license": null,
 "slug": "Vote",
 "ref": "Vote#6ba4",
 "hash": "sema:Vote#mh:SHA-256:6ba4208c942c637524fe4461b98d12fcdaae97eac84b07ddaeff170a16761b53",
 "stub": "6ba4",
 "layer": "Society",
 "type": "Coordination",
 "summary": "Provide standard decision mechanism with integrity guarantees",
 "mechanism": "N-agent decision mechanism with configurable rules and integrity guarantees. Initiator sends 'VOTE_CALL' with question, options, and Quorum#2a33 requirement. Eligible agents respond 'CAST' via Ballot#e0e4. System#f8eb enforces: one vote per agent, deadline, and Quorum#2a33 check. After deadline: compute result. Broadcast 'VOTE_RESULT'. Simple case optimization: binary decisions use lightweight 2-message flow. Tallying is performed by Aggregate#bb80; a vote that selects a leader hands off to Elect#5390; a vote that fails its quorum announces that coordination failure via Break#5003.",
 "invariants": [
  "Votes immutable after cast.",
  "One vote per eligible agent.",
  "Casts arriving after the deadline are not counted.",
  "Declares a tie-breaker."
 ],
 "parameters": [
  {
   "name": "mechanism",
   "type": "Enum",
   "range": "{Majority, Supermajority, Quadratic, Ranked, Unanimous}",
   "description": "Counting method"
  },
  {
   "name": "quorum_required",
   "type": "Float",
   "range": "[0.0, 1.0]",
   "description": "Min participation to be valid"
  },
  {
   "name": "voting_period",
   "type": "Duration",
   "range": "[1min, 7d]",
   "description": "Window for casting votes"
  }
 ],
 "signature": [],
 "preconditions": [],
 "postconditions": [],
 "failure_modes": [
  "Quorum#2a33 not met (insufficient participation, decision invalid).",
  "Tie with inadequate tie-breaker (deadlock).",
  "Strategic voting (agents vote tactically rather than honestly—inherent to voting).",
  "Sybil attack (fake agents stuff votes—mitigate via PROBE/RALLY membership).",
  "Vote coercion (agents pressured—hard to detect).",
  "Mechanism mismatch (wrong mechanism for decision type, e.g., plurality for binary)."
 ],
 "domain": "",
 "caution": "",
 "sources": [],
 "name": "Vote",
 "builds_on": [
  {
   "alias": "quorum",
   "relation": "composes_with",
   "library": "bootstrap",
   "slug": "Quorum",
   "ref": "Quorum#2a33",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Quorum"
  },
  {
   "alias": "aggregate",
   "relation": "references",
   "library": "bootstrap",
   "slug": "Aggregate",
   "ref": "Aggregate#bb80",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Aggregate"
  },
  {
   "alias": "break",
   "relation": "references",
   "library": "bootstrap",
   "slug": "Break",
   "ref": "Break#5003",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Break"
  },
  {
   "alias": "system",
   "relation": "references",
   "library": "bootstrap",
   "slug": "System",
   "ref": "System#f8eb",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/System"
  },
  {
   "alias": "elect",
   "relation": "references",
   "library": "bootstrap",
   "slug": "Elect",
   "ref": "Elect#5390",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Elect"
  },
  {
   "alias": "ballot",
   "relation": "accepts",
   "library": "bootstrap",
   "slug": "Ballot",
   "ref": "Ballot#e0e4",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Ballot"
  }
 ],
 "related": [
  {
   "alias": null,
   "relation": "related",
   "library": "bootstrap",
   "slug": "Rank",
   "ref": "Rank#0fe8",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Rank"
  }
 ],
 "used_by": [
  {
   "slug": "AmbiguityResolution",
   "relation": "composes_with",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/AmbiguityResolution"
  },
  {
   "slug": "Consensus",
   "relation": "composes_with",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Consensus"
  },
  {
   "slug": "PropheticQuorum",
   "relation": "references",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/PropheticQuorum"
  }
 ],
 "url": "https://semahash.org/vocabularies/bootstrap/patterns/Vote",
 "md_url": "https://semahash.org/vocabularies/bootstrap/patterns/Vote.md",
 "library_url": "https://semahash.org/vocabularies/bootstrap"
}
