pub struct CapabilityConfidenceCalibration {
pub auto_derive: String,
pub shadow_mode: String,
pub freshness_decay: String,
pub calibration_cli: String,
pub calibration_tool: String,
pub signals_schema: String,
pub default_half_life_days: f64,
pub tier_thresholds: ConfidenceTierThresholds,
}Expand description
v0.7.0 Form 5 — operator-facing confidence-calibration capability surface. Names every Form-5 substrate the binary actually ships:
auto_derive: thecrate::confidence::deriveengine (deterministic auto-confidence formula). Opt-in viaAI_MEMORY_AUTO_CONFIDENCE=1— the field reports"implemented"because the engine compiles in unconditionally; the env-var gate is the operator control plane.shadow_mode: thecrate::confidence::shadowpipeline backed by theconfidence_shadow_observationstable (schema v39 sqlite / v38 postgres). Opt-in viaAI_MEMORY_CONFIDENCE_SHADOW=1.freshness_decay: thecrate::confidence::decay::decayedexponential decay model. Opt-in viaAI_MEMORY_CONFIDENCE_DECAY=1or per-namespaceconfidence_decay_half_life_dayspolicy.calibration_cli: theai-memory calibrate confidence --from-shadowdriver verb that scans the observation table and emits per-(namespace, source) baselines.calibration_tool: thememory_calibrate_confidenceMCP tool (Family::Power) — operator-callable equivalent of the CLI driver.signals_schema: the wire-shape discriminator for the JSON envelope stored onmemories.confidence_signals. Always"v1"in v0.7.0 — bumped when thecrate::models::ConfidenceSignalsstruct gains a new field.
Fields§
§auto_derive: String"implemented" once crate::confidence::derive is wired into
the substrate (it compiles in regardless of feature flag).
shadow_mode: String"implemented" once crate::confidence::shadow is wired
(Form 5).
freshness_decay: String"implemented" once crate::confidence::decay is wired
(Form 5).
calibration_cli: String"implemented" once the ai-memory calibrate confidence CLI
driver registers under crate::cli.
calibration_tool: String"implemented" once the memory_calibrate_confidence MCP
tool registers under Family::Power.
signals_schema: StringWire-shape discriminator for memories.confidence_signals.
Always "v1" in v0.7.0.
default_half_life_days: f64Default freshness-decay half-life (days). 30 in v0.7.0; tunable
per namespace via the confidence_decay_half_life_days policy.
tier_thresholds: ConfidenceTierThresholdsv0.7.0 Gap 4 (#887) — derived-tier thresholds. MCP callers
reading this surface know how the substrate buckets the
confidence real into confirmed / likely / ambiguous
without re-deriving the breakpoints. Stable; bumping is a
wire-level break (see crate::models::ConfidenceTier).
#[serde(default)] keeps pre-Gap-4 capability consumers
reading newer payloads from breaking.
Implementations§
Trait Implementations§
Source§impl Clone for CapabilityConfidenceCalibration
impl Clone for CapabilityConfidenceCalibration
Source§fn clone(&self) -> CapabilityConfidenceCalibration
fn clone(&self) -> CapabilityConfidenceCalibration
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl<'de> Deserialize<'de> for CapabilityConfidenceCalibration
impl<'de> Deserialize<'de> for CapabilityConfidenceCalibration
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>,
Source§impl PartialEq for CapabilityConfidenceCalibration
impl PartialEq for CapabilityConfidenceCalibration
Source§fn eq(&self, other: &CapabilityConfidenceCalibration) -> bool
fn eq(&self, other: &CapabilityConfidenceCalibration) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CapabilityConfidenceCalibration
Auto Trait Implementations§
impl Freeze for CapabilityConfidenceCalibration
impl RefUnwindSafe for CapabilityConfidenceCalibration
impl Send for CapabilityConfidenceCalibration
impl Sync for CapabilityConfidenceCalibration
impl Unpin for CapabilityConfidenceCalibration
impl UnsafeUnpin for CapabilityConfidenceCalibration
impl UnwindSafe for CapabilityConfidenceCalibration
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
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>,
impl<T> ErasedDestructor for Twhere
T: 'static,
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