Expand description
Microscope Memory library interface. Re-exports core types and functions for integration tests and external use.
Re-exports§
pub use emotional_state::emotional_prime_weight;pub use emotional_state::EmotionalStateRing;pub use reader::append_emotion_log;pub use reader::build_emotions_from_log;pub use reader::emotional_similarity;pub use reader::format_emotion;pub use reader::load_emotion_lookup;pub use reader::read_append_log;pub use reader::store_memory;pub use reader::store_memory_temporary;pub use reader::store_memory_with_embedding;pub use reader::store_memory_with_emotion;pub use reader::DataStore;pub use reader::MicroscopeReader;pub use reader::RadialResult;pub use reader::ResultSet;pub use reader::EMOTION_DIMS;pub use reader::EMOTION_VECTOR_SIZE;pub use types::AppendEntry;pub use types::BlockHeader;pub use types::MemoryBlockHeader;pub use types::MemoryQueryOptions;pub use types::ProjectId;pub use cli::Cli;pub use cli::Cmd;
Modules§
- absentia
- Absentia — Csend Réteg / Silence Layer
- advanced_
cognition - Advanced Cognition — Predictive Processing, Intuition, Unconscious Problem-Solving
- ai_
adapter - AI Adapter for direct binary communication with Microscope Memory.
- archetype
- Archetype emergence layer for Microscope Memory.
- architecture_
generator - Architecture Generator — a memóriában tárolt minták alapján új architektúrák generálása.
- architecture_
simulator - Architecture Simulator — valós idejű architektúra szimuláció és stressztesztelés.
- attention
- Attention Mechanism — dynamic weighting of consciousness layers.
- auto_
context - Auto-Context — assemble a compact, always-fresh session snapshot.
- autonomous
- Autonomous Mode — Microscope Memory önálló életciklusa
- autopoiesis
- Autopoiesis — önmódosító kód rendszer
- bridge
- 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.
- chatgpt
- ChatGPT Export Importer — Microscope Memory számára
- cli
- CLI definitions for Microscope Memory.
- code_
memory - Code Memory — dedikált kódmemória réteg kódoló agentek számára
- cognitive_
morphogenesis - Kognitív Morfogenezis — Audit-infrastruktúra és integrációs motor.
- config
- consciousness_
seqlock - Lock-free consciousness snapshot, protected by a seqlock protocol.
- consciousness_
stream - Live Consciousness Stream — folyamatos tudatstream.
- curiosity
- Proactive Curiosity Module for Microscope Memory.
- daydream
- Daydreaming — asszociatív drift külső prompt nélkül.
- doctor
- doctor.rs — Integrity diagnostics and automatic repair for Microscope Memory. (v0.7.0 Public Beta - Reliability Phase)
- dream
- Dream Consolidation for Microscope Memory.
- embedding_
index - Embedding index: mmap-backed pre-computed embedding vectors.
- embeddings
- emotion_
extraction - Structural Emotion Extraction — text → PAD state via structural signals.
- emotional
- Emotional bias warp for Microscope Memory.
- emotional_
21d - 21D Emotional State wave-based emotional bias for search coordinates.
- emotional_
contagion - Emotional Contagion for Microscope Memory.
- emotional_
episode - Emotional Episode — event-bound emotional memory with epistemic backing.
- emotional_
gate - Emotional Gate — emotion-modulated epistemic gate.
- emotional_
state - Emotional State Ring — persistent running 21D emotional state.
- enforcement
- Commitment-enforcement layer - the A_t^valid gate.
- epistemic
- Evidence Layer (Epistemic Layer) for Microscope Memory.
- eureka
- Eureka/Insight — váratlan összefüggések detektálása.
- executive
- Executive — kognitív végrehajtó rendszer
- explicit_
memory - Explicit memory — declarative knowledge (facts, events, concepts) Facts, events, concepts that can be consciously recalled and reported
- federation
- Multi-index federation for Microscope Memory.
- fingerprint
- Structural fingerprinting for Microscope Memory.
- functional_
plasticity - Functional Neuroplasticity — adaptive reorganization of functional areas Sensorimotor remapping, cross-modal plasticity, functional compensation
- hebbian
- Hebbian learning layer for Microscope Memory.
- heuristic_
decision - Heuristic Decision Layer — gyors, heurisztikus döntéshozatal a kognitív modulok integrációjával.
- hippocampus
- Hippocampus — episodic binding, context binding, and consolidation orchestration Mimics biological hippocampus: indexes new memories, creates context-event bindings, coordinates transfer from short-term (WM) to long-term (cortex-like) storage
- hyperfocus
- Hyperfocus — concentrated attention on single objective Redirects all system resources to one focus point: planning, problem-solving, creative depth, research
- implicit_
memory - Implicit memory — procedural & habit learning without conscious recall Skills, patterns, and conditioned responses from repeated exposure
- impulse_
control - Impulse control system for filtering incoming stimuli and suppressing irrelevant thoughts. Implements a gating mechanism based on attention priority and long-term goals.
- inner_
monologue - Inner Monologue Module for Microscope Memory.
- intent
- Intent Pipeline — Auditálható szándék-generálás
- keystore
- Binary key store —
keys.bin - knowledge_
base - Knowledge Base — a memóriában tárolt architektúrákból, szimulációs eredményekből és döntési mintákból épített kereshető tudásbázis.
- mcp
- Native MCP (Model Context Protocol) server for Microscope Memory.
- mental_
sandbox - Mental sandbox for pre-action scenario simulation. Provides a safe environment to test different action paths before committing.
- mental_
stimulation - Mental Stimulation — continuous activity requirement to prevent cognitive decay Tracks activity, triggers novelty seeking when dormant, maintains engagement level
- merkle
- Merkle tree for whole-index integrity verification.
- mermaid
- Mermaid Terminal WebSocket + HTML UI for Microscope Memory.
- meta_
supervision - Meta-cognitive supervision system for continuous performance evaluation and strategy correction. Monitors system behavior and adjusts operational parameters in real-time.
- mirror
- Mirror neuron layer for Microscope Memory.
- morphogenesis
- Morphogenesis — Biológiai Mintákon Alapuló Generatív Architektúra-Tenyésztés
- multimodal
- Multi-Modal Memory for Microscope Memory.
- narrative
- Belső Narratíva — a rendszer saját magának mesél.
- narrative_
memory - Narrative Memory Module for Microscope Memory.
- neuroplasticity
- Neuroplasticity — adaptive reorganization and learning through experience Implements Hebbian learning, structural reorganization, and adaptive pathway strengthening
- no_
learn - No-learn mode: measure without changing what is being measured.
- open_
loops - Open Loops — track unresolved tasks / TODOs / open questions.
- parallel
- Parallel iteration where the target has threads, sequential where it does not.
- pattern_
recognition - Pattern Recognition — minta felismerő és tanuló rendszer a Microscope Memory számára
- pipeline
- Canonical memory store pipeline.
- planning
- Planning — céllebontás és hierarchikus tervezés
- 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.
- recall_
ctx - Persistent recall context: the reader plus every mutable layer state.
- reconsolidation
- Rekonszolidáció — minden recall ÁTÍRJA a memóriát.
- relevance
- Shared lexical-spatial ranking for every natural-language recall surface.
- resonance
- Resonance protocol for Microscope Memory.
- salience
- Salience Network — kiemelési hálózat a belső narratíva előtt.
- self_
model - Self-Model Module for Microscope Memory.
- self_
reflect - Self-Reflection Module 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.
- spaced_
repetition - Spaced Repetition — Ebbinghaus felejtési görbe management.
- spine
- The Spine: every layer header of the stream in one shared mmap file.
- structural_
plasticity - Structural Neuroplasticity — physical network reorganization Dendritic growth, synaptic pruning, neurogenesis (new neuron-like blocks)
- synaptic_
plasticity - Synaptic Plasticity — Long-term potentiation, long-term depression, spike-timing-dependent plasticity Core mechanisms of learning at synaptic level: activity-dependent weight changes
- sync_
guard - Poison-safe lock accessors.
- temporal_
archetype - Temporal Archetypes — time-windowed activation patterns.
- text_
index - Inverted text index (TIX1) for fast
find_text/ recall lexical prefilter. - thought_
graph - ThoughtGraph — L6: Pattern Recognition for Microscope Memory.
- timeline
- Timeline — chronological memory log with time-window queries.
- types
- Shared types used across native and WASM targets.
- vagus
- Vagus Nerve — Autonomic System Regulation and Cognitive Homeostasis
- viz
- Visualization export for Microscope Memory.
- working_
memory - Working Memory — korlátos puffer 7±2 item, gyors decay (30mp), primacy/recency boost, auto-konszolidáció.
- zen_
keystore - Binary Zen key store —
zen_keys.bin
Constants§
- APV3_
MAGIC - BLOCK_
DATA_ SIZE - Maximum bytes of text stored in one block.
- DEFAULT_
CONFIG_ PATH - DEPTH_
ENTRY_ SIZE - HEADER_
SIZE - LAYER_
NAMES - LEGACY_
HEADER_ SIZE - META_
HEADER_ SIZE
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