Skip to main content

Module core

Module core 

Source

Re-exports§

pub use engine::WarmCore;
pub use engine::WarmCore as HmsCore;
pub use engine::HistoryBounds;
pub use engine::HistoryError;
pub use engine::HistoryOptions;
pub use engine::HistoryRevision;
pub use engine::HistoryView;
pub use engine::JournalPosition;
pub use engine::RevisionKind;
pub use engine::TimeResolution;
pub use engine::PurgeStatus;
pub use engine::PurgeTicket;
pub use phase_hvec::PhaseHVec;
pub use phase_resonator::phase_resonator_factorize;
pub use phase_resonator::FactorResult;
pub use phase_resonator::PhaseResonator;
pub use phase_resonator::ResonatorConfig;

Modules§

admin
agency
Agency layer: goal-directed behavior.
cognition
Cognition layer: background discovery of implicit knowledge.
documents
encoding
Text encoders: text in, sparse hypervector out.
engine
entangled
experience
The experience core: memory for tree-structured, highly repetitive observations such as agent trajectories over accessibility trees.
failpoint
Fault injection at the store’s durability points, for the crash and disk-fault tests.
format
The persisted format of an WARM store: its version constants, an offline verifier and the migration framework behind warm-format.
hardware
hopfield
Hopfield-Fenchel-Young (HFYN) energy-based associative memory retrieval.
intersection
Sparse intersection primitives.
mask
Client-side keyed obfuscation of sparse hypervectors.
memory_api
A high-level memory API over the document engine: remember, recall, forget and explain, with temporal validity, supersession, and opt-in consolidation and forgetting.
phase_hvec
Quantized-phase hypervector (qFHRR, arXiv 2604.25939).
phase_resonator
Resonator network on the quantized-phase substrate (super::phase_hvec).
provenance
qgraph
Quantized graph index for approximate nearest-neighbour search on angular data, and (the Graph and VGraph only, see Metric) on Euclidean data.
query_limits
sealed
Block AEAD container with per-segment data keys and crypto-erase.
sparse
Learned sparse retrieval: an impact index over learned sparse vectors (SPLADE-style vocabulary-sized vectors, or any sparse term weights) with exact dot-product top-k.
sparse_impact
Inner-product top-k over learned sparse vectors (SPLADE-style), with a blocked inverted index and a forward index.
sparse_store
An updatable, persistent store of learned-sparse vectors (term id to weight) keyed by a string id, searched by inner product.
vector_records
Native vector records preserve the caller’s finite f64 values separately from the normalized search embedding. The versioned envelope is internal and shares the 64 KiB metadata budget.

Structs§

EmbeddingSpace
HmsConfig
VectorCandidateConfig
Opt-in graph candidate projection and the number of candidates fully reranked.
WarmConfig

Functions§

scrub_stack
Overwrites the stack region below the caller’s frame so secrets left there by callees (Argon2 temporaries, a cipher value before it moved to the heap) do not linger. Best effort: the language guarantees nothing about frame layout, so the key-zeroization test in this module measures the result rather than assuming it.