Skip to main content

Module mandala

Module mandala 

Source
Expand description

Mandala Compartments — isolated LMDB environments per security tier.

Each compartment (Research, Sandbox, Production, Secure) has its own LMDB environment, Tantivy index, and association store, providing complete storage isolation between tiers.

Governance configuration (rate limits, Dharma gate strictness, resource rules) is handled at a higher level (e.g., wm-mcp) to avoid circular dependencies. This module focuses purely on storage isolation.

  • Research: Small map size (256MB), for experimentation
  • Sandbox: Small map size (256MB), for testing
  • Production: 1GB map, for live data
  • Secure: 4GB map, read-only by default, for hardened data

Structs§

Compartment
An opened Mandala compartment with isolated stores.
CompartmentConfig
Configuration for a single Mandala compartment.
MandalaManager
Manager for all Mandala compartments.

Enums§

MandalaLevel
Security tier for a Mandala compartment.