Expand description
Domain vocabulary, policy and the event log.
Nothing in core performs I/O, calls a model, or knows about Gemini Live.
It is the part of the memory engine that can be reasoned about — and tested
— entirely on its own.
Re-exports§
pub use domain::CanonicalMemory;pub use domain::CanonicalPredicate;pub use domain::EntityRef;pub use domain::EvidenceCounters;pub use domain::Explicitness;pub use domain::FactFingerprint;pub use domain::MemoryKind;pub use domain::MemoryObservation;pub use domain::MemorySource;pub use domain::MemoryStatus;pub use domain::MemoryValue;pub use domain::MutationIntent;pub use domain::PrivacyMetadata;pub use domain::ProposedPersistence;pub use domain::RetrievalMetadata;pub use domain::SensitivityClass;pub use domain::SpeakerAttribution;pub use domain::TemporalMetadata;pub use domain::TemporalScope;pub use domain::TranscriptEvidence;pub use domain::normalize_token;pub use domain::stable_hash;pub use error::MemoryError;pub use events::CommitReceipt;pub use events::EVENT_SCHEMA_VERSION;pub use events::InMemoryEventLog;pub use events::MemoryEvent;pub use events::MemoryEventEnvelope;pub use events::MemoryEventLog;pub use events::SessionEventWriter;pub use ids::ConnectionId;pub use ids::EntityId;pub use ids::EventId;pub use ids::MemoryId;pub use ids::ObservationId;pub use ids::PlanId;pub use ids::SessionId;pub use ids::SnapshotId;pub use ids::TurnId;pub use ids::UserId;pub use policy::AdmissionVerdict;pub use policy::CadenceConfig;pub use policy::DiscardReason;pub use policy::IngestionConfig;pub use policy::MemoryRuntimeConfig;pub use policy::PromotionConfig;pub use policy::PromotionEvidence;pub use policy::RetrievalConfig;pub use policy::SessionConfig;pub use policy::TranscriptConfig;pub use policy::admit_observation;pub use policy::aggregate_confidence;pub use policy::contains_instruction_shaped_content;pub use policy::default_episodic_ttl;pub use policy::meets_promotion_criteria;pub use policy::resolve_expiry;pub use policy::speaker_is_admissible;
Modules§
- domain
- The memory domain model — the vocabulary shared by every stage of the pipeline (capture → staging → retrieval → reconciliation → promotion).
- error
- Error taxonomy for the memory engine.
- events
- The append-only memory event log — the recovery and audit backbone.
- ids
- Newtype identifiers for the memory engine.
- policy
- Deterministic policy — the rules only application code may apply.