{
 "library": "bootstrap",
 "version": "0.11.0",
 "root": "a6a3d1ff0f982ee30430c5b42f3784c8ec901fd68482cfc1bc30899c1e5e48c5",
 "license": null,
 "slug": "LazyConsensus",
 "ref": "LazyConsensus#76f5",
 "hash": "sema:LazyConsensus#mh:SHA-256:76f5f9d3c8e5301625d4732cc79aaacf4174d411ff1fd81c0fe67f8f78382789",
 "stub": "76f5",
 "layer": "Society",
 "type": "Coordination",
 "summary": "Optimistic execution, retroactive verification",
 "mechanism": "Agents execute transactions immediately without waiting for global consensus, assuming everything is valid. If a conflict is detected later, they use a deterministic rollback rule (e.g., 'highest ID wins'). Maximizes speed over safety. It bypasses the blocking Quorum#2a33, executing immediately and using the TimeWarpLog#755f to resolve conflicts retroactively.",
 "invariants": [
  "Conflict resolution is pure: the same inputs always pick the same winner.",
  "Reverting a transaction cannot corrupt unrelated state.",
  "Applies only to reversible or low-stakes actions.",
  "Conflicts are actively detected, not merely handled if noticed."
 ],
 "parameters": {},
 "signature": [],
 "preconditions": [
  "Target operations are internally reversible (no irreversible external side-effects)",
  "Conflict detection mechanism is active"
 ],
 "postconditions": [
  "Transaction applied optimistically",
  "Conflict resolution triggered if divergence detected"
 ],
 "failure_modes": [
  "Cascading rollbacks.",
  "Applied to irreversible external action (email sent, funds transferred, API called)—rollback impossible, inconsistency permanent."
 ],
 "domain": "",
 "caution": "",
 "sources": [],
 "name": "LazyConsensus",
 "builds_on": [
  {
   "alias": "quorum",
   "relation": "references",
   "library": "bootstrap",
   "slug": "Quorum",
   "ref": "Quorum#2a33",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Quorum"
  },
  {
   "alias": "time_warp_log",
   "relation": "references",
   "library": "bootstrap",
   "slug": "TimeWarpLog",
   "ref": "TimeWarpLog#755f",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/TimeWarpLog"
  }
 ],
 "related": [],
 "used_by": [
  {
   "slug": "AtomicBid",
   "relation": "references",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/AtomicBid"
  }
 ],
 "url": "https://semahash.org/vocabularies/bootstrap/patterns/LazyConsensus",
 "md_url": "https://semahash.org/vocabularies/bootstrap/patterns/LazyConsensus.md",
 "library_url": "https://semahash.org/vocabularies/bootstrap"
}
