Architecture: selective control formalization over rich knowledge
The MRP-VM is a lightweight kernel that orchestrates typed plugins, request budgets, recursive frames, and explainability. It does not force all knowledge into a universal symbolic language. Instead, it uses SOP Lang Control only at control-critical boundaries: intents, seeds, KU metadata shells, and runtime trace objects. See DS001, DS002, DS031, and DS032.
Structural Components
MRPEngine — request-scoped orchestration, planner retries, child frames, and final session commit. Engine detail →
SOP Interpreter — deterministic tokenizer, parser, validator, and interpreter under src/core/interpreter/**.
Planner Layer — selects KB and goal-solver routes, may request decomposition, and learns from outcomes.
KB Plugins — own retrieval policy and backend choice instead of the kernel hard-coding one algorithm.
Goal Solver + Validator Plugins — answer generation and grounding checks under shared budgets.
Explainability DAG — canonical trace of frames, seeds, branches, plugin attempts, results, and failures.
Typed Plugins
Execution is organized around typed plugins: sd-plugin, kb-plugin, gs-plugin, mrp-plan-plugin, and val-plugin. The runtime remains NL-first, but plugin glue is explicit and typed.
Selective control membrane
Intent and KU bodies stay in normal English when that preserves fidelity. SOP Lang Control only normalizes the shell needed for routing, filtering, decomposition, validation constraints, and trace stability. This is why the runtime can remain pragmatic and heterogeneous while still exposing deterministic control behavior.