RootSolver
Apex triage node of a SolverTree, with Pathway Memory as its compounding learning site
Mechanism
The apex node of a solver Tree — the unique entry point where a Problem (attached to a Task) 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. The RootSolver holds four unique authorities: Problem Framing (initial constraints and ProblemSpace), Budget Allocation (cascading Budget to child SolverNodes), Ultimate Accountability (owning the final Result or Solution), 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 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.
- Sole reframe authority, and terminal consumer of any FrameError raised beneath it.
- PathwayMemory 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 references
- Task references
- ProblemSpace references
- Problem references
- FrameError references
- Budget references
- Result references
- Tree references
- Solution references
- PathwayMemory composes_with
Used by
- GeneralProblemSolvingProtocol references
- MandatoryAbstraction references
- ProblemFramer references
- SolverTree references
Related
Identity
- Ref:
RootSolver#f7f5 - Hash: sema:RootSolver#mh:SHA-256:f7f5a39c4d93545b506ddc3eeb03660295425657486a5ab1f71811cb8e5816ca
- Library: bootstrap 0.11.0, root a6a3d1ff0f98
- License: Not stated; check the repository