---
library: "bootstrap"
slug: "RootSolver"
name: "RootSolver"
ref: "RootSolver#f7f5"
hash: "sema:RootSolver#mh:SHA-256:f7f5a39c4d93545b506ddc3eeb03660295425657486a5ab1f71811cb8e5816ca"
type: "Strategy"
layer: "Mind"
version: "0.11.0"
root: "a6a3d1ff0f982ee30430c5b42f3784c8ec901fd68482cfc1bc30899c1e5e48c5"
license: null
url: "https://semahash.org/vocabularies/bootstrap/patterns/RootSolver"
---

# RootSolver

Apex triage node of a SolverTree, with Pathway Memory as its compounding learning site

Mind · Strategy

## Mechanism

The apex node of a solver [Tree](https://semahash.org/vocabularies/bootstrap/patterns/Tree.md) — the unique entry point where a [Problem](https://semahash.org/vocabularies/bootstrap/patterns/Problem.md) (attached to a [Task](https://semahash.org/vocabularies/bootstrap/patterns/Task.md)) enters that tree. Its cognitive operation is triage: determining what kind of problem this is and routing it via a dispatch function conditioned on its [PathwayMemory](https://semahash.org/vocabularies/bootstrap/patterns/PathwayMemory.md). The RootSolver holds four unique authorities: Problem Framing (initial constraints and [ProblemSpace](https://semahash.org/vocabularies/bootstrap/patterns/ProblemSpace.md)), Budget Allocation (cascading [Budget](https://semahash.org/vocabularies/bootstrap/patterns/Budget.md) to child [SolverNode](https://semahash.org/vocabularies/bootstrap/patterns/SolverNode.md)s), Ultimate Accountability (owning the final [Result](https://semahash.org/vocabularies/bootstrap/patterns/Result.md) or [Solution](https://semahash.org/vocabularies/bootstrap/patterns/Solution.md)), and Pathway Memory maintenance (compounding learning about which routes work for which problem types). Every tree has exactly one RootSolver; sub-trees carry their own. A [FrameError](https://semahash.org/vocabularies/bootstrap/patterns/FrameError.md) arriving from any descendant is the signal that reframing is required rather than retry; the RootSolver is its terminal consumer, since it alone holds Reframe Authority.

## Invariants

- Singleton per tree: every SolverTree has exactly one RootSolver.
- Owns the final success or failure of the root [Task](https://semahash.org/vocabularies/bootstrap/patterns/Task.md).
- Sole reframe authority, and terminal consumer of any [FrameError](https://semahash.org/vocabularies/bootstrap/patterns/FrameError.md) raised beneath it.
- [PathwayMemory](https://semahash.org/vocabularies/bootstrap/patterns/PathwayMemory.md) writes name the node that wrote them.

## Failure modes

- Bad Frame: problem framed incorrectly, unsolvable by downstream nodes.
- Reframe Failure: Root fails to find a valid alternative frame after downstream failure.
- Budget Misallocation: resources distributed poorly across child nodes.
- Poisoned Pathway Memory silently biases routing decisions — mitigated by signed writes only.

## Where this came from

—

## Builds on

- [SolverNode](https://semahash.org/vocabularies/bootstrap/patterns/SolverNode.md) (references)
- [Task](https://semahash.org/vocabularies/bootstrap/patterns/Task.md) (references)
- [ProblemSpace](https://semahash.org/vocabularies/bootstrap/patterns/ProblemSpace.md) (references)
- [Problem](https://semahash.org/vocabularies/bootstrap/patterns/Problem.md) (references)
- [FrameError](https://semahash.org/vocabularies/bootstrap/patterns/FrameError.md) (references)
- [Budget](https://semahash.org/vocabularies/bootstrap/patterns/Budget.md) (references)
- [Result](https://semahash.org/vocabularies/bootstrap/patterns/Result.md) (references)
- [Tree](https://semahash.org/vocabularies/bootstrap/patterns/Tree.md) (references)
- [Solution](https://semahash.org/vocabularies/bootstrap/patterns/Solution.md) (references)
- [PathwayMemory](https://semahash.org/vocabularies/bootstrap/patterns/PathwayMemory.md) (composes_with)

## Used by

- [GeneralProblemSolvingProtocol](https://semahash.org/vocabularies/bootstrap/patterns/GeneralProblemSolvingProtocol.md) (references)
- [MandatoryAbstraction](https://semahash.org/vocabularies/bootstrap/patterns/MandatoryAbstraction.md) (references)
- [ProblemFramer](https://semahash.org/vocabularies/bootstrap/patterns/ProblemFramer.md) (references)
- [SolverTree](https://semahash.org/vocabularies/bootstrap/patterns/SolverTree.md) (references)

## Related

- [MandatoryAbstraction](https://semahash.org/vocabularies/bootstrap/patterns/MandatoryAbstraction.md)
- [GeneralProblemSolvingProtocol](https://semahash.org/vocabularies/bootstrap/patterns/GeneralProblemSolvingProtocol.md)

## Identity

- Library: bootstrap 0.11.0 (root a6a3d1ff0f98)
- Ref: RootSolver#f7f5
- Hash: sema:RootSolver#mh:SHA-256:f7f5a39c4d93545b506ddc3eeb03660295425657486a5ab1f71811cb8e5816ca

## Links

- Page: https://semahash.org/vocabularies/bootstrap/patterns/RootSolver
- JSON: https://semahash.org/vocabularies/bootstrap/patterns/RootSolver.json
- Library: https://semahash.org/vocabularies/bootstrap
- Library index: https://semahash.org/vocabularies/bootstrap/index.json
