Skip to main content

Module runner

Module runner 

Source

Structs§

MilestoneEvaluationContext
RuntimeOptions
Configuration for a RuntimeRunner (aligned with Node/Python RuntimeOptions).
RuntimeRunner
Orchestrates the agentic turn loop via the runtime kernel + session event log.
TurnMetrics
P0-C tool-gating telemetry: per-LLM-turn metrics, delivered to RuntimeOptions::on_turn_metrics. Pure observation — no behavior change. tools_exposed vs tools_called quantifies over-exposure; consecutive equal active_skill values measure skill dwell D; the cache split gives the prompt-cache hit baseline. Mirrors the node SDK TurnMetrics.

Enums§

MilestonePolicy
Controls what the runner does when the state machine returns EvaluateMilestone — i.e., the LLM finished a turn but a milestone phase has not yet been evaluated.

Functions§

collect_text

Type Aliases§

MilestoneEvaluationHandler
OnTurnMetricsHandler
Sink for per-turn TurnMetrics. Synchronous, infallible — it must never affect the run.