OptimisticSolver
High-velocity solver requiring parallel runtime
Mechanism
A high-velocity implementation of PolymorphicSolver designed for efficient multi-agent coordination. Requires a Parallel runtime (Actor Model with Mailboxes) to prevent serial deadlock. It explicitly couples the standard Solver lifecycle (Reason -> Solution) with the AtomicBid protocol. Unlike the base abstraction, this pattern MANDATES that the agent plan and execute in a single turn. It relies on Reflexion and Compensate for error correction rather than pre-action permission. Use ComputeBudget to bound resource consumption. Contrast with RigorousSolver which prioritizes safety over speed. A PathwayMemory 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.
Preconditions
- Runtime supports Asynchronous/Parallel message delivery (Actor Model).
- Message Bus is non-blocking (Mailbox pattern).
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.
Caution
Executes without pre-action verification. Ensure irreversible actions have compensation or sandboxing, or use RigorousSolver at those boundaries.
Where this came from
—
Builds on
- PathwayMemory composes_with
- AtomicBid composes_with
- Reflexion composes_with
- Compensate composes_with
- ComputeBudget composes_with
- PolymorphicSolver references
- RigorousSolver references
- Parallel references
Identity
- Ref:
OptimisticSolver#1e72 - Hash: sema:OptimisticSolver#mh:SHA-256:1e7272dcb783bde00719114714447261d80110e0f9983372e1453cbbe6d6ef1c
- Library: bootstrap 0.11.0, root a6a3d1ff0f98
- License: Not stated; check the repository