Expand description
Microscope Memory library interface. Re-exports core types and functions for integration tests and external use.
Re-exports§
pub use reader::read_append_log;pub use reader::store_memory;pub use reader::AppendEntry;pub use reader::BlockHeader;pub use reader::DataStore;pub use reader::MicroscopeReader;pub use reader::RadialResult;pub use reader::ResultSet;pub use cli::Cli;pub use cli::Cmd;
Modules§
- archetype
- Archetype emergence layer for Microscope Memory.
- attention
- Attention Mechanism — dynamic weighting of consciousness layers.
- build
- Extracts text from RAW TEXT layer files, constructs a 9-depth block hierarchy (identity → layers → clusters → items → sentences → tokens → syllables → chars → bytes), and writes the binary output files (microscope.bin, data.bin, meta.bin, merkle.bin, embeddings.bin).
- cache
- Tiered LRU cache for Microscope Memory queries.
- cli
- CLI definitions for Microscope Memory.
- config
- dream
- Dream Consolidation for Microscope Memory.
- embedding_
index - Embedding index: mmap-backed pre-computed embedding vectors.
- embeddings
- emotional
- Emotional bias warp for Microscope Memory.
- emotional_
contagion - Emotional Contagion for Microscope Memory.
- federation
- Multi-index federation for Microscope Memory.
- fingerprint
- Structural fingerprinting for Microscope Memory.
- hebbian
- Hebbian learning layer for Microscope Memory.
- merkle
- Merkle tree for whole-index integrity verification.
- mirror
- Mirror neuron layer for Microscope Memory.
- multimodal
- Multi-Modal Memory for Microscope Memory.
- predictive_
cache - Predictive Cache — pre-fetches blocks based on ThoughtGraph patterns.
- query
- Microscope Query Language (MQL)
- reader
- MicroscopeReader — high-performance memory-mapped reader for the binary index.
- resonance
- Resonance protocol for Microscope Memory.
- sequential_
thinking - Sequential Thinking — Chain-of-Thought layer for Microscope Memory. This module organizes memory retrievals into logical sequences (Steps).
- snapshot
- Snapshot: .mscope archive format for backup/restore/diff.
- temporal_
archetype - Temporal Archetypes — time-windowed activation patterns.
- thought_
graph - ThoughtGraph — L6: Pattern Recognition for Microscope Memory.
- viz
- Visualization export for Microscope Memory.
Constants§
Functions§
- auto_
depth - auto_
zoom - content_
coords - content_
coords_ blended - crc16_
ccitt - CRC16-CCITT (poly=0x1021, init=0xFFFF) over arbitrary data.
- hex_str
- layer_
to_ id - safe_
truncate - to_
block