Skip to main content

Crate clm_rust_core

Crate clm_rust_core 

Source
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 cross_cutting::context::CLMContext;
pub use cross_cutting::context::CLMContextOverrides;
pub use cross_cutting::context::ProcessSpawner;
pub use cross_cutting::context::RejectingProcessSpawner;
pub use cross_cutting::context::SovereignSubprocessForbiddenError;
pub use layer0::runtime_contract::ClmEnvVar;
pub use layer0::runtime_contract::ClmExitCode;
pub use layer0::runtime_contract::SQLITE_DDL_V3_1;
pub use evaluator::dispatch::catalog::CoreDispatchRegistry;
pub use prelude::*;

Modules§

agent
Agent Orchestration and Conversational Programming Substrate (CRD-06).
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
crdt
CRDT-backed learning event sync scaffold for Stage 7.
cross_cutting
Cross-Cutting Scoped Configuration Substrate (INV-490).
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 native runtime dispatch.
satori
Satori Conversational Substrate and Normalization Layer.
services
Ambient Coeffect Services Catalog (CRD-03).
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.

Statics§

TEMP_COUNTER