Skip to main content

Module layer2

Module layer2 

Source
Expand description

Layer 2: Content-Addressed Storage, VFS, Merkle DAG & Fibers Canonical Path: kernel/clm_rust_core/src/layer2/mod.rs

Re-exports§

pub use collection::MCardCollection;
pub use cas_retention::eligible;
pub use cas_retention::get_all_working_records;
pub use cas_retention::get_declared_roots;
pub use cas_retention::parse_anchor;
pub use cas_retention::parse_genesis;
pub use cas_retention::AnchorPayload;
pub use cas_retention::EligibilityResult;
pub use cas_retention::GenesisPayload;
pub use cas_retention::RetentionPolicy;
pub use workflow_lineage::LineageDAG;
pub use workflow_lineage::LineageEdge;
pub use workflow_lineage::LineageEngine;
pub use workflow_lineage::LineageNode;
pub use portable_sqlite::compile_portable_sqlite;
pub use portable_sqlite::parse_portable_sqlite;
pub use portable_sqlite::ParsedCard;
pub use portable_sqlite::ParsedHandle;
pub use portable_sqlite::ParsedHistory;
pub use portable_sqlite::ParsedMeta;
pub use portable_sqlite::ParsedPortableSqlite;
pub use portable_sqlite::PortableSqliteCard;
pub use vfs::DirectoryManifest;
pub use vfs::DirectoryManifestEntry;
pub use vfs::MCardFileSystem;
pub use vfs::MCardStat;
pub use petri_process::MCardNamespaceProtocolService;
pub use petri_process::PetriProcessPCard;
pub use petri_process::ProcessExecutionResult;
pub use petri_process::NAMESPACE_PROTOCOL_OPS;
pub use host_mount::Layer1NetCollectionServer;
pub use host_mount::MCardHostMountAdapter;
pub use host_mount::NamespaceUnionMount;
pub use chunk_manifest::ChunkDescriptor;
pub use chunk_manifest::ChunkManifest;
pub use chunk_pruning::cdc_split_boundaries;
pub use chunk_pruning::compute_reachability;
pub use chunk_pruning::AnchoredPruningProcessPCard;
pub use chunk_pruning::ChunkerProcessPCard;
pub use chunk_pruning::PruningAnchorResult;
pub use chunk_pruning::PruningReachabilityReport;
pub use chunk_pruning::StreamRangeProcessPCard;
pub use chunk_pruning::StreamRangeResult;
pub use chunk_pruning::CHUNKER_ID;
pub use chunk_pruning::CHUNKER_VERSION;
pub use crate::crdt;
pub use storage::*;
pub use storage_petri::*;
pub use merkle::*;

Modules§

cas_retention
Layer 2: CAS Retention, Anchors, and Eligibility (Sprint 552 / INV-552).
chunk_manifest
Chunk manifest types and deterministic CDC boundary scanner.
chunk_pruning
Large-Object Content-Defined Chunking, Streaming Range Reads & Anchored Pruning (Sprint 513) Canonical Path: kernel/clm_rust_core/src/layer2/chunk_pruning.rs
collection
Carrier Collection interface for MCard operations across runtimes (Sprint 552 / INV-552).
collision_migration
Layer 2 Hash Collision Audit and Handle Migration over SQLite storage.
host_mount
Host Filesystem Mount Adapter, Ordered Namespace Union & Layer 1 Collection Server (Sprint 512) Canonical Path: kernel/clm_rust_core/src/layer2/host_mount.rs
merkle
Layer 2: Merkle Tree, Membership Proofs, and Directory Ingestion. Canonical Path: kernel/clm_rust_core/src/layer2/merkle.rs Parity: TypeScript src/layer2/merkleTree.ts, Python clm/layer2/merkle.py
petri_process
Layer 2 PetriProcessPCard Service Wrapper & 9-Operation Authenticated Namespace Protocol (Sprint 511) Canonical Path: kernel/clm_rust_core/src/layer2/petri_process.rs
portable_sqlite
Layer 2: Portable SQLite Container Compilation and Parsing. Canonical Path: kernel/clm_rust_core/src/layer2/portable_sqlite.rs Parity: TypeScript src/layer2/portableSqlite.ts, Python clm/layer2/portable_sqlite.py
sheaf_cohomology
Cellular sheaf coboundary operators, exact cohomology dimensions, and Dirichlet energy over integer stalks.
sheaf_persistence
Layer 2 Sheaf Section & Conflict Report Persistence (Sprint 551).
storage
Layer 2: Content-Addressed Storage & Tri-Database Engine Canonical Path: kernel/clm_rust_core/src/layer2/storage.rs
storage_petri
Layer 2 File & Storage System modeled as a P-Invariant Petri Net in Cordis Fibers (Sprint 517). Canonical Path: kernel/clm_rust_core/src/layer2/storage_petri.rs
sync
uri
MCard URI parsing and canonicalization utilities (INV-552).
vfs
Layer 2: MCard Virtual Filesystem (VFS) & Deterministic DirectoryManifest (Sprint 510) Canonical Path: kernel/clm_rust_core/src/layer2/vfs.rs
workflow_lineage
Merkle Lineage Graph Engine (Sprint 395, Sprint 552 / INV-552).