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.
- Compartment
Config - Configuration for a single Mandala compartment.
- Mandala
Manager - Manager for all Mandala compartments.
Enums§
- Mandala
Level - Security tier for a Mandala compartment.