pub struct RunConfig {Show 19 fields
pub reliability: Option<KernelReliabilityConfig>,
pub tools: Option<Vec<ToolSchema>>,
pub available_skills: Option<Vec<SkillMetadata>>,
pub stable_core_tools: Option<Vec<String>>,
pub memory_enabled: Option<bool>,
pub knowledge_enabled: Option<bool>,
pub plan_tool_enabled: Option<bool>,
pub tokenizer: Option<String>,
pub governance: Option<GovernanceConfig>,
pub signal_policy: Option<SignalPolicyConfig>,
pub prompt_budget: Option<PromptBudgetConfig>,
pub context_policy: Option<ContextPolicyV1>,
pub scheduler_policy: Option<SchedulerPolicyConfig>,
pub resource_quota: Option<ResourceQuota>,
pub budget_grant: Option<BudgetGrant>,
pub repeat_fuse: Option<RepeatFuseConfig>,
pub criteria_gate: Option<bool>,
pub knowledge_budget_ratio: Option<f64>,
pub entropy_watch: Option<EntropyWatchConfig>,
}Expand description
K2: a bundle of run-setup configuration carried by the KernelInputEvent::ConfigureRun event.
Each field maps 1:1 to a granular Set* / Load* event; None/absent leaves that aspect untouched.
This is the host-side analogue of the SDK’s applyKernelPolicies — one event for the whole setup.
Fields§
§reliability: Option<KernelReliabilityConfig>§tools: Option<Vec<ToolSchema>>§available_skills: Option<Vec<SkillMetadata>>§stable_core_tools: Option<Vec<String>>§memory_enabled: Option<bool>§knowledge_enabled: Option<bool>§plan_tool_enabled: Option<bool>§tokenizer: Option<String>Present (any value) ⇒ reset the token engine to the char-approx estimator (see SetTokenizer).
governance: Option<GovernanceConfig>§signal_policy: Option<SignalPolicyConfig>§prompt_budget: Option<PromptBudgetConfig>Host-counted provider request overhead and hard output/safety reserves. These journaled facts are deducted before the kernel renders any prompt content.
context_policy: Option<ContextPolicyV1>Stable, replayable context behavior. Ratios use integer ppm on the ABI wire.
scheduler_policy: Option<SchedulerPolicyConfig>§resource_quota: Option<ResourceQuota>§budget_grant: Option<BudgetGrant>RunGroup admission result. The kernel enforces these as local hard limits and reports terminal usage against the same opaque reservation identity.
repeat_fuse: Option<RepeatFuseConfig>O6: repeat-fuse thresholds (see SetRepeatFuse). Absent ⇒ kernel defaults
(enabled, deny_after=5, terminate_after=8).
criteria_gate: Option<bool>O4: enable/disable the turn-end criteria gate. Absent ⇒ enabled (kernel default).
knowledge_budget_ratio: Option<f64>K2: max share of max_tokens the knowledge partition may occupy (see
ContextConfig::knowledge_budget_ratio). Absent ⇒ kernel default (0.25); 0.0 disables.
entropy_watch: Option<EntropyWatchConfig>Entropy watch: opt-in threshold alerting over the per-turn session-entropy score
(see SetEntropyWatch). Absent ⇒ kernel default (disabled; sampling itself is
unconditional and unaffected).