sgns::neoswarm::elm::ELMChainBuilder¶
Stateless chain builder that maps routing decisions and prompt features to an ordered ExecutionChain using 6 heuristic triggers (doc 03 §6.2). More...
#include <elm_chain_builder.hpp>
Public Classes¶
| Name | |
|---|---|
| struct | Config |
Public Functions¶
| Name | |
|---|---|
| ELMChainBuilder() | |
| ELMChainBuilder(Config cfg) | |
| ExecutionChain | Build(const RouteDecision & decision, const PromptFeatures & features) Build an ExecutionChain from a route decision and prompt features. |
Detailed Description¶
Stateless chain builder that maps routing decisions and prompt features to an ordered ExecutionChain using 6 heuristic triggers (doc 03 §6.2).
Per D-11, this is a separate class from RuleBasedRouter. The router continues producing RouteDecision; the chain builder translates that into an ExecutionChain.
Public Functions Documentation¶
function ELMChainBuilder¶
function ELMChainBuilder¶
function Build¶
Build an ExecutionChain from a route decision and prompt features.
Parameters:
- decision The route decision produced by the router.
- features Prompt features extracted by PromptAnalyzer.
Return: ExecutionChain on success, or error.
Updated on 2026-10-09 at 03:59:42 +0000