Skip to main content

Module core

Module core 

Source

Re-exports§

pub use engine::HmsCore;
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
format
The persisted format of an HMS store: its version constants, an offline verifier and the migration framework behind hms-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.
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.

Structs§

EmbeddingSpace
HmsConfig

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.