pub struct MemoryClaimV1 {Show 14 fields
pub id: String,
pub text: String,
pub memory_type: MemoryTypeV1,
pub source: MemorySource,
pub created_at: String,
pub schema_version: String,
pub scope: MemoryScope,
pub volatility: MemoryVolatility,
pub entities: Vec<MemoryEntityV1>,
pub reasoning: Option<String>,
pub expires_at: Option<String>,
pub importance: Option<u8>,
pub confidence: Option<f64>,
pub superseded_by: Option<String>,
}Expand description
A v1 memory claim per the Memory Taxonomy v1 spec.
All required fields are always serialized. Optional fields default to the
spec-defined sentinel (scope defaults to Unspecified, volatility to
Updatable) and are preserved on round-trip.
See docs/specs/totalreclaw/memory-taxonomy-v1.md for field semantics.
Fields§
§id: StringUUIDv7 (time-ordered, no separate created_at needed for sort).
text: StringHuman-readable, 5-512 UTF-8 chars.
memory_type: MemoryTypeV1§source: MemorySource§created_at: StringISO8601 UTC (redundant w/ UUIDv7 but explicit per spec).
schema_version: String§scope: MemoryScope§volatility: MemoryVolatility§entities: Vec<MemoryEntityV1>§reasoning: Option<String>Separate reasoning field for decision-style claims (replaces old
decision type). Populate for type: claim where the user expressed
a decision-with-reasoning.
expires_at: Option<String>ISO8601 UTC expiration; set by extractor per type+volatility heuristic.
importance: Option<u8>1-10, auto-ranked in comparative pass. Advisory.
confidence: Option<f64>0-1, extractor self-assessment.
superseded_by: Option<String>Claim ID that overrides this (tombstone chain).
Trait Implementations§
Source§impl Clone for MemoryClaimV1
impl Clone for MemoryClaimV1
Source§fn clone(&self) -> MemoryClaimV1
fn clone(&self) -> MemoryClaimV1
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more