Expand description
Runtime Seed Graph Loader & Index (Phase 2).
Loads compiled .ctbnbdl (CtbNodeBundle2 / CtbNodeBundle1) system graph
bundles from the runtime resource bundle (data/graph/85899_34592.ctbnbdl, etc.)
and indexes active statements, supersessions (Dc 591), retractions (Dc 592),
seed classification entities, value nodes, and .Semantic:Pattern rules at runtime.
Re-exports§
pub use crate::support::seed_graph_reconstruct::ReconstructedNamedType;
Structs§
- Active
Converter Step - Single active conversion edge (
[Dc 302 "Type conversion", src, dst]) resolved fromSeedGraphIndex. - Active
Property Value - Active reified
Has a(Dc 584) +Has value(Dc 610) property assignment. - Graph
Wasm Substitute Snapshot - Vantage-point-agnostic runnable WebAssembly snapshot discovered across all
revisions present in an arbitrary
LedgerNodeslice. - Seed
Graph Index - Runtime index over the System-block seed graph (
8589934592..=12884901887). - Stagel
Routine Graph Meta - Decoupled non-executable metadata attached to a StageL/StageR routine entity
(
Dc 2240..2241decomposition) in aSeedGraphIndexsnapshot. - System
Wasm Substitute Target - Single auto-discovered graph target eligible for native safe-Rust WebAssembly substitute compilation at a given snapshot.
- Trusted
System Supervisor Resolution - Verified resolution of an unpinned 1-Short-Dc System supervisor entry document
against the application-bundled System-block seed graph (
ctoolbox.rsrc).
Enums§
- Active
Converter Body - Executable implementation body attached to an active converter routine or
.Formats:transformationFormat Dc in aSeedGraphIndexsnapshot. - System
Wasm Substitute Target Kind - Classification of an auto-discovered runnable graph node or Dc eligible for Guix-style native safe-Rust substitute compilation.
Constants§
- PRIMARY_
SEED_ GRAPH_ ASSET_ KEY - Primary seed graph bundle asset key inside
ctoolbox.rsrc. - SEED_
GRAPH_ ASSET_ GLOB - Default glob pattern matching bundled active system graph
.ctbnbdlfiles insidectoolbox.rsrc. - SYSTEM_
GRAPH_ HISTORY_ ASSET_ GLOB - Default glob pattern matching optional historical/inactive system graph
.ctbnbdlfiles insidesystem_graph_history.rsrc(assets/data/graph/system/*.ctbnbdl). - SYSTEM_
WASM_ SUBSTITUTE_ DISCOVERY_ VERSION - Version tag mixed into offline native substitute bundle fingerprints whenever
discover_graph_wasm_substitute_snapshotsorSeedGraphIndex::discover_system_wasm_substitute_targetsselection rules change.
Functions§
- compute_
effective_ inactive_ ids - Computes the set of effectively inactive node IDs, along with
superseded_by(old_id -> new_id) andretracted_by(old_id -> retract_stmt_id), acrossnodesin reverse chronological order. - current_
system_ block_ most_ recent_ node_ id - Returns the highest allocated node ID in the System block from the shared runtime seed graph.
- discover_
graph_ wasm_ substitute_ snapshots - Discovers all runnable WebAssembly snapshots across an arbitrary slice of
LedgerNodes without privilegingHEADover historicalDc 641revisions. - parse_
ambiguous_ values_ tokens - Parses a
Dc 348 "Ambiguous values"list node (348 310 275 l<cand_1> 312 l<cand_2> ... 311) into its ordered candidate node IDs. - substitute_
chunk_ prefix_ for_ node_ id - Returns the uniform
.ctbnodeschunk stem (e.g."85899_75792") owningnode_id.