Expand description
§CLM Rust Core Kernel
High-performance, zero-cost abstraction computing substrate for the Cubical Logic Model (CLM). Implements Layers 0 through 5: Kenotic Core, CPN VM, Tri-Database CAS, Reticulum Mesh, Headless Gateway, and Epistemic Learning.
Re-exports§
pub use error::ClmError;pub use error::Result;pub use evaluator::run_evaluation;pub use db::DatabaseSandboxGuard;pub use prelude::*;
Modules§
- archive
- auth_
did - Native DID Auth — Ed25519 Challenge-Response with VCard Authorization Tokens Offline O(1) signature verification and VCard authorization token minting.
- auth_
namespace - Reserved MCard Namespace for Auth Configuration (
mcard:auth/*) Gerunds freezing authentication processes (OAuth 2.0, OIDC, provider configs, blockchain auth, DID methods, session tokens). - auth_
oidc - OAuth 2.0 / OIDC & SIWE Provider Integration OIDC-to-DID bridge for traditional IdPs (Zitadel, KeyCloak) and Web3 wallet auth (SIWE).
- backup
- baldwin
- c_abi
- C-ABI Foreign Function Interface for CLM Core Engine.
- cache
- classifier
- compile
- cpn
- cpn_
wasm - Minimal WASM-native PCard executor for Stage 1.3.
- crdt
- CRDT-backed learning event sync scaffold for Stage 7.
- db
- directory_
ingest - discovery_
engine - domain
- Unified Spatiotemporal FND Domain Models (Sprint 190).
- epiplexity
- Epiplexity VM integration scaffold for Stage 5.
- error
- evaluator
- federation
- Scale-free federation scaffold for Stage 7.
- fiber
- Cordis Fiber Substrate for the Functional Agentic Operating System (FAOS).
- fs_
utils - handle_
kind - The Handle Kind Decider (Rust binding).
- hash
- Central content-hash module — upgradable hash function abstraction (INV-02).
- identity
- DID Generation, agent_identities.db Seeding, and Soul Bound Token (SBT) Capability Binding Unifying Decentralized Identifiers (did:key) and non-transferable capability tokens.
- integration
- Integration test module for the CLM Rust core.
- invariants
- jsonl
- layer0
- Layer 0: Stateless Kenotic Core Canonical Path: kernel/clm_rust_core/src/layer0/mod.rs
- layer1
- Layer 1: Colored Petri Net (CPN) Virtual Machine & Algebraic Concurrency Canonical Path: kernel/clm_rust_core/src/layer1/mod.rs
- layer2
- Layer 2: Content-Addressed Storage, VFS, Merkle DAG & Fibers Canonical Path: kernel/clm_rust_core/src/layer2/mod.rs
- layer3
- Layer 3: Distributed Network Mesh, Reticulum Transport & Satori Protocols Canonical Path: kernel/clm_rust_core/src/layer3/mod.rs
- layer4
- Layer 4: Presentation Membrane, EOA Sponsor & Interaction Surface — Sprint 364
- layer5
- CLM Layer 5: Continuous Learning Stratum & Meta-Circular Reflection ($L_5$). Canonical Path: kernel/clm_rust_core/src/layer5/mod.rs
- manifest
- mcard_
encoder - mcard_
fs - MCard Universal Virtual Filesystem Engine (Sprint 191).
- memorize
- mesh
- Autonomous Mesh Fabric Subsystem — Cryptographic Identity & Noise Transport Canonical Path: kernel/clm_rust_core/src/mesh/mod.rs
- network_
gateway - normalizer
- observability
- okf_
adapter - OKF adapter grounding scaffold for Stage 6.
- parser
- payment
- Payment PCard — Multi-Rail Abstraction Engine Polymorphic payment processing across Stripe, QRIS, Indonesian Banks, and Cryptocurrency On-Chain.
- polyglot
- prelude
- CLM Core Prelude.
- prove
- quic_
transport - QUIC Transport Layer for Sprint 140.2.
- runtime_
adapter - RuntimeAdapter trait and RuntimeDispatcher for Stage 1.3.
- runtime_
dispatch - Stage 1.4 dual-mode runtime dispatch.
- satori
- Satori Conversational Substrate and Normalization Layer.
- sheaf
- Sheaf gluing engine scaffold for Stage 4.
- signing_
provider - SigningProvider trait for Stage 1.3.
- substrate
- Substrate Transparency Adapters — unifying storage backends (memory, file, sqlite, ipfs, nfs, s3) under one content-addressed SHA-256 namespace with substrate-pinned VCard provenance.
- sys_ffi
- Platform-Agnostic C FFI Redirection & Process Execution.
- tape
- The Universal Tape Interface — the Rust binding (ORC-IV).
- telemetry
- tokens
- tss
- Threshold Signature Scheme scaffold for Stage 3.
- type_
interpreter - Universal TypeInterpreter & Programmatic Judgment Engine
- type_
lattice - Compiled univalent type lattice (Stage 2).
- typed_
value - Universal Structured Return Type (TypedValue).
- types
- utils
- Shared utility functions for the CLM Rust Core.
- wireguard
- WireGuard key exchange and tunnel establishment for Sprint 140.1.
- yaml
Macros§
- register_
clm_ dispatch - Decentralized macro for registering CLM evaluators directly at definition site.