clm-kernel 0.0.14

Cubical Logic Model (CLM) sovereign execution engine, CPN-VM, and Cordis spatiotemporal substrate
Documentation
//! Layer 0: Stateless Kenotic Core
//! Canonical Path: kernel/clm_rust_core/src/layer0/mod.rs
//!
//! Exposes content-addressed hashing, canonical codecs, immutable MCard entity,
//! and Boolean gate predicates. Stateless, zero database/network dependencies.

pub mod hash;
pub mod codec;
pub mod mcard;
pub mod mcard_record;
pub mod transition;

pub mod gates;
pub mod ast;
pub mod loader;
pub mod function_pcard_enriched;
pub mod runtime_contract;
pub mod gtime;
pub mod gtime_attribution;

pub use gtime::{
    DeclaredGTime, GTimeForm, LegacyGTime, MalformedGTime, ParsedGTime,
    format_canonical_g_time, normalize_g_time_timestamp, parse_g_time, stamp_g_time,
};
pub use gtime_attribution::{
    AttributionResult, derive_did_key, did_to_pubkey_bytes, sign_g_time, signing_input,
    verify_attribution,
};


pub use function_pcard_enriched::{
    CoeffectAccessMode, CoeffectsRecord, EnrichedPCard, FiberContextIsolation, FiberExecutionMode,
    FiberSpec, RequiredService, SavepointGuardContract, parse_enriched_pcard,
};
pub use hash::{compute_blake3, compute_sha256, prefixed_hash, verify_hash, BLAKE3_PREFIX, SHA256_PREFIX};
pub use codec::{canonical_json, canonical_yaml, from_base58, from_hex, to_base58, to_hex};
pub use mcard::{MCard, MCardPayload, payload_to_bytes};
pub use mcard_record::{
    create_record, is_valid_clm_schema_uri, normalize_schema_uri, validate_schema_fields,
    verify_record, MCardRecord, RecordVerification, CLM_SCHEMA_CHUNK_MANIFEST_V1,
    CLM_SCHEMA_CONVERSATIONAL_TURN_V1, CLM_SCHEMA_DIRECTORY_MANIFEST_V1,
    CLM_SCHEMA_PCARD_DESCRIPTOR_V1, CLM_SCHEMA_PRUNING_ANCHOR_V1,
};
#[cfg(any(feature = "native", feature = "db"))]
pub use mcard_record::write_record;
pub use gates::{GatePredicate, evaluate_gate_set};

pub use ast::{AbstractComponent, BalancedComponent, ClmChapter, ConcreteComponent, ParsedClmAst};
pub use loader::ClmLoader;
pub use crate::typed_value::{TypedValue, TypedValueError, VALID_UNIVERSES, universe_name};