Skip to main content

Crate mindfry

Crate mindfry 

Source
Expand description

§MindFry - Memory with a Conscience

A Cognitive DB Engine that treats data as living neurons, not static records.

§Core Concepts

  • Lineage: A memory unit with energy, decay, and history
  • Bond: A living connection between lineages that strengthens with use
  • Engram: A historical snapshot within a lineage
  • Psyche Arena: Hot storage for active lineages
  • Akashic Records: Cold persistence layer

§Architecture

┌─────────────────────────────────────────────────────────────────────┐
│                          MindFry Core                               │
├─────────────────────────────────────────────────────────────────────┤
│  ┌─────────────────┐  ┌─────────────────┐  ┌─────────────────┐      │
│  │   Psyche Arena  │  │   Bond Graph    │  │  Strata Arena   │      │
│  │   (Lineages)    │  │   (CSR/Adj)     │  │  (Engrams)      │      │
│  └────────┬────────┘  └────────┬────────┘  └────────┬────────┘      │
│           └──────────────────-─┼────────────────────┘               │
│                                ▼                                    │
│  ┌─────────────────────────────────────────────────────────────┐    │
│  │                    Decay Engine (Rayon)                     │    │
│  └─────────────────────────────────────────────────────────────┘    │
└─────────────────────────────────────────────────────────────────────┘

Re-exports§

pub use arena::Engram;
pub use arena::Lineage;
pub use arena::LineageId;
pub use arena::PsycheArena;
pub use arena::StrataArena;
pub use dynamics::DecayConfig;
pub use dynamics::DecayEngine;
pub use graph::Bond;
pub use graph::BondGraph;
pub use graph::BondId;
pub use setun::Cortex;
pub use setun::Octet;
pub use setun::Quantizer;
pub use setun::RetentionBuffer;
pub use setun::Trit;

Modules§

arena
Arena module - High-performance memory storage
dynamics
Dynamics module - Background decay and learning engine
ffi
FFI module - Foreign Function Interface bindings
graph
Graph module - Living bond connections
persistence
Akashic Records - Persistence Layer
protocol
MFBP - MindFry Binary Protocol
setun
Setun - Balanced Ternary Decision Engine
stability
Stability Layer - MindFry’s Resilience Infrastructure

Structs§

MindFry
MindFry database instance
MindFryConfig
Configuration for MindFry instance

Constants§

DEFAULT_MAX_BONDS
Default maximum bonds in graph
DEFAULT_MAX_LINEAGES
Default maximum lineages in psyche arena
DEFAULT_STRATA_DEPTH
Default maximum engrams per lineage (history depth)