{
 "library": "bootstrap",
 "version": "0.11.0",
 "root": "a6a3d1ff0f982ee30430c5b42f3784c8ec901fd68482cfc1bc30899c1e5e48c5",
 "license": null,
 "slug": "OptimisticSolver",
 "ref": "OptimisticSolver#1e72",
 "hash": "sema:OptimisticSolver#mh:SHA-256:1e7272dcb783bde00719114714447261d80110e0f9983372e1453cbbe6d6ef1c",
 "stub": "1e72",
 "layer": "Society",
 "type": "Protocols",
 "summary": "High-velocity solver requiring parallel runtime",
 "mechanism": "A high-velocity implementation of PolymorphicSolver#ce9a designed for efficient multi-agent coordination. Requires a Parallel#d58d runtime (Actor Model with Mailboxes) to prevent serial deadlock. It explicitly couples the standard Solver lifecycle (Reason -> Solution) with the AtomicBid#5ac6 protocol. Unlike the base abstraction, this pattern MANDATES that the agent plan and execute in a single turn. It relies on Reflexion#81eb and Compensate#4b87 for error correction rather than pre-action permission. Use ComputeBudget#4091 to bound resource consumption. Contrast with RigorousSolver#d3e3 which prioritizes safety over speed. A PathwayMemory#ce2e accumulates across runs so the optimistic route-selection converges on strategies that historically succeeded under similar conditions.",
 "invariants": [
  "Turn Atomicity: Must output [BID] and [TOOL] in the same response.",
  "Non-Blocking: Cannot wait for Orchestrator approval on standard tasks."
 ],
 "parameters": {},
 "signature": [],
 "preconditions": [
  "Runtime supports Asynchronous/Parallel message delivery (Actor Model).",
  "Message Bus is non-blocking (Mailbox pattern)."
 ],
 "postconditions": [],
 "failure_modes": [
  "Over-Eager Execution: Solving the wrong problem efficiently because feedback was skipped.",
  "Serial Deadlock: If deployed on a single-threaded (Talking Stick) engine, multiple atomic outputs will be dropped, halting the swarm."
 ],
 "domain": "",
 "caution": "Executes without pre-action verification. Ensure irreversible actions have compensation or sandboxing, or use RigorousSolver at those boundaries.",
 "sources": [],
 "name": "OptimisticSolver",
 "builds_on": [
  {
   "alias": "pathway_memory",
   "relation": "composes_with",
   "library": "bootstrap",
   "slug": "PathwayMemory",
   "ref": "PathwayMemory#ce2e",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/PathwayMemory"
  },
  {
   "alias": "atomic_bid",
   "relation": "composes_with",
   "library": "bootstrap",
   "slug": "AtomicBid",
   "ref": "AtomicBid#5ac6",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/AtomicBid"
  },
  {
   "alias": "reflexion",
   "relation": "composes_with",
   "library": "bootstrap",
   "slug": "Reflexion",
   "ref": "Reflexion#81eb",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Reflexion"
  },
  {
   "alias": "compensate",
   "relation": "composes_with",
   "library": "bootstrap",
   "slug": "Compensate",
   "ref": "Compensate#4b87",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Compensate"
  },
  {
   "alias": "compute_budget",
   "relation": "composes_with",
   "library": "bootstrap",
   "slug": "ComputeBudget",
   "ref": "ComputeBudget#4091",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/ComputeBudget"
  },
  {
   "alias": "polymorphic_solver",
   "relation": "references",
   "library": "bootstrap",
   "slug": "PolymorphicSolver",
   "ref": "PolymorphicSolver#ce9a",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/PolymorphicSolver"
  },
  {
   "alias": "rigorous_solver",
   "relation": "references",
   "library": "bootstrap",
   "slug": "RigorousSolver",
   "ref": "RigorousSolver#d3e3",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/RigorousSolver"
  },
  {
   "alias": "parallel",
   "relation": "references",
   "library": "bootstrap",
   "slug": "Parallel",
   "ref": "Parallel#d58d",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Parallel"
  }
 ],
 "related": [],
 "used_by": [],
 "url": "https://semahash.org/vocabularies/bootstrap/patterns/OptimisticSolver",
 "md_url": "https://semahash.org/vocabularies/bootstrap/patterns/OptimisticSolver.md",
 "library_url": "https://semahash.org/vocabularies/bootstrap"
}
