Expand description
HIPPMEM · Core domain types and infrastructure
This crate is the foundation of HIPPMEM: it defines the core data models such as MemoryUnit, AssociationLink, and ActivationState, as well as global infrastructure like the Clock/Rng traits and base error types.
§Crate role (constitution C2)
- Does not depend on any other hippmem crate
- Does not depend on any external storage / network / model backend
- The public API exposes only memory-semantic types, never underlying library types
§Dependency direction
hippmem-core ← all other hippmem crates
Modules§
- config
- AlgoParams configuration struct: centralized definition of all algorithm parameters and defaults.
- error
- Basic error types and Result alias.
- hash
- Stable hashing and tokenization utilities.
- ids
- Core ID and key types (ADR-006/007, corresponds to 02#0).
- model
- HIPPMEM core data model module.
- rng
- Injectable random source (Rng trait), satisfying the determinism requirement of constitution §4.3.
- score
- Bounded score UnitScore: 0.0..=1.0, clamped at construction. See 02#0.
- time
- Timestamp newtype (Timestamp) and the injectable Clock trait.