pub struct RuntimeSectionConfig {
pub packs: Option<Vec<String>>,
pub brain_profile: Option<String>,
pub default_output_format: Option<OutputFormat>,
pub blob_hydration_bytes: Option<u64>,
}Expand description
[runtime] section in khive.toml.
Carries runtime knobs resolved during process construction. Most mirror a CLI flag / environment tier; field documentation calls out exceptions. All fields are optional and preserve their already-resolved base value when absent.
Fields§
§packs: Option<Vec<String>>Packs to load when neither --pack nor KHIVE_PACKS selects them.
An absent or empty list preserves the built-in production default.
brain_profile: Option<String>Brain profile ID to use for memory.feedback / knowledge.feedback
and recall-time score boosting (ADR-035 §Brain profile configuration).
Mirrors --brain-profile / KHIVE_BRAIN_PROFILE. When absent, the
namespace-bound profile (via brain.resolve) is tried, then the
global tuning prior is used as the final fallback.
default_output_format: Option<OutputFormat>Default output serialization format (ADR-078).
Mirrors --output-format / KHIVE_OUTPUT_FORMAT. Precedence (highest to lowest):
per-request format field → KHIVE_OUTPUT_FORMAT → this field → builtin json.
Accepted values: "json" (default), "auto", "table".
blob_hydration_bytes: Option<u64>Aggregate process-local admission budget for digest-verified blob hydration (ADR-160 D3), in raw bytes.
This knob has no environment-variable counterpart. When absent, the
resolved runtime keeps its built-in 256 MiB default (or a value supplied
directly through RuntimeConfig).
Trait Implementations§
Source§impl Clone for RuntimeSectionConfig
impl Clone for RuntimeSectionConfig
Source§impl Debug for RuntimeSectionConfig
impl Debug for RuntimeSectionConfig
Source§impl Default for RuntimeSectionConfig
impl Default for RuntimeSectionConfig
Source§impl<'de> Deserialize<'de> for RuntimeSectionConfig
impl<'de> Deserialize<'de> for RuntimeSectionConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Auto Trait Implementations§
impl Freeze for RuntimeSectionConfig
impl RefUnwindSafe for RuntimeSectionConfig
impl Send for RuntimeSectionConfig
impl Sync for RuntimeSectionConfig
impl Unpin for RuntimeSectionConfig
impl UnsafeUnpin for RuntimeSectionConfig
impl UnwindSafe for RuntimeSectionConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more