Mind · Strategy

PolymorphicSolver

Solver implementing the five-surface contract (polymorphic across substrates)

Definition

Mechanism

A PolymorphicSolver is any entity — from a fleeting thought process to a complex swarm — that implements the five-surface contract Solver specifies (Manifest via Card, Execute, Consult, Verify via Validate, Feedback — emits a typed PerformanceSignal). Manifest and Execute are mandatory; Consult/Verify/Feedback are optional but strongly recommended at hard seams. The pattern is named for its polymorphism: any substrate conforming to the contract qualifies — LLM, human, hybrid, tool-using agent, nested composition, or mechanical dispatcher — not just cognitive ones. It acts as a fractal node in the UniversalSolverTree, accepting a Task and using Reason to orchestrate a lifecycle on a SolverNode. It yields a Solution, wrapping operations like ToolInvoke with ComputeBudget checks, SocraticLoop refinement, or Reflexion for self-improvement. When operating as a dispatcher (routing sub-tasks to child solvers), it maintains a local PathwayMemory so routing decisions compound as experience accumulates — the property that gives the fractal structure its learning dynamics.

Invariants

  1. Polymorphism: External Runtime treats all Solvers identically via this Interface.
  2. Recursion: Solver must accept sub-tasks via the same Interface it exposes.

Risks

Failure modes

  1. Interface Non-Compliance

    Solver omits Manifest or Execute, or advertises an optional Consult, Verify, or Feedback surface it cannot provide.

  2. Manifest Drift

    Capabilities declared in Manifest do not match runtime behavior.

Relationships

Builds on

Accepts

Infrastructure

Task

The atomic unit of intent

Composes with

PathwayMemory

Learned routing memory: problem_class → route → outcome_quality

Reason

Execute a cognitive topology

Reflexion

Self-critique and retry after failure

Infrastructure

ToolInvoke

Execute external tool and observe result

References

Infrastructure

Card

Structured capability advertisement: agent_id, endpoint, protocols, capabilities, metadata

Infrastructure

PerformanceSignal

Typed artifact emitted by a Solver's Feedback surface — downstream evaluation that feeds Pathway Memory

Solver

Abstract five-surface contract: Manifest, Execute, Consult, Verify, Feedback

Society

SolverNode

Stateful container for a running solver instance

Infrastructure

Validate

Verifying inputs conform to expected schema

Yields

Infrastructure

Solution

The fractal unit of completed work

Used by

Composes with

FractalIntelligence

Expansion of cognitive capability through recursive decomposition of concepts into contract-bounded sub-concepts

Extends

References

Reference

Signature

  • Solver(Task)

Identity

Ref
PolymorphicSolver#f7fe
Sema ID
sema:PolymorphicSolver#mh:SHA-256:f7fe4635a7520f918c823f0047d6fed8e38fd820c1970ef4623cc8fd78d2b0bd
Ring
1
Tier
1
Updated
2026-11-11
Supersedes
  • sema:CognitiveSolver#mh:SHA-256:30c8a18b41a5756020b39bf6d78a89331113e3a68c66fb3e2b0a28ddae8db782
  • sema:CognitiveSolver#mh:SHA-256:42e50cb80b61174d3be41e57ca8e17587e5caf0bf09cf5d3fcfad72d124363f2
  • sema:PolymorphicSolver#mh:SHA-256:272ac4237fd71c0782676ed30558bad9c08fca9373577516284bf5def22b2800
  • sema:PolymorphicSolver#mh:SHA-256:1362a5c7db1715b6683768b75720388810451c79127e566b8f1b4c27bb52391c
  • sema:PolymorphicSolver#mh:SHA-256:28f1d5d9b3edcc3967139a056b71acd75050f65e7002644e5a837dd5d9507a07
  • sema:PolymorphicSolver#mh:SHA-256:cb20e6504606549fba8628cea7a149a51f5813e1095b07c2c5e039e09a6fdd21