qualia-core-db • v0.0.41

API Reference

Complete Rust crate documentation for the 29 QualiaDB Workspace Crates and the integrated Etalon Accelerator & Simulation stack — generated from source with cargo doc. Browse by module group below or open the full reference directly.

Release 0.0.41 introduces the 4-plane Human-Centric Identifier Fabric (identity::did_qi, foundation::plane_feature_guard, net::qdnf::fabric), exact solver verification gating (q42::execution_profile, q42::payload_catalogue), tri-source evaluation receipts (net::qdnf::harness::tri_source_eval), the Omni-Scale Coordinate System (OCS-10–OCS-13), and the integrated Etalon accelerator & continuum-physics crates alongside browser-native WASM + WebGPU P64 decode.

v0.0.41 Core Engine API Additions

Human-Centric Identity, Plane Guards, Q42 Execution Profiles & Tri-Source Evaluation

Zero-Heap Hot Path Verified
identity::did_qi Plane 1 · Who

Pairwise Relationship & Instrument Identity Method (did:qi:<base58btc-32B-sha256>) derived from a 176-byte canonical GenesisPayload (domain tag, Ed25519 verifying key, ML-DSA-65 commitment, creation floor, recovery policy hash, and Ed25519 signature). Strictly rejects legacy did:q42:/did:webizen: prefixes (DidQiError::RejectedPrefix) and embedded network locators (DirectLocatorForbidden).

DidQi GenesisPayload DidQiError
foundation::plane_feature_guard ADR 0004

Enforces cross-plane non-entailment on symbolic and classifier feature bags (PlaneTag::{Who, Claim, SpatiotemporalHandle, Instrument, Policy}) and the closed 7-variant KeyRoleTag vocabulary. Prevents Who or Instrument identifiers from entering Policy or Claim scoring vectors without explicit governed projection.

PlaneTag KeyRoleTag TaggedFeature
q42::execution_profile ADR 0003 · Q42-08

Separates ExactnessProfile (Exact, DeterministicApproximate, InteractiveApproximate) from SolverVerificationOutcome (WitnessChecked, UnsatisfiableWithinDomain, UnknownWithinBudget, GlobalImpossibilityProved). admit_for_policy_decision gates normative and policy admission strictly on verified exact outcomes.

ExecutionProfile ExactnessProfile SolverVerificationOutcome
q42::payload_catalogue Q42 Container

Typed descriptor catalogue for .q42 v4 binary sections, P64 weight shards, .10d volumetric scenes, and governed semantic payloads. Validates section alignment, CRC-32C / Blake3 digests, and byte-budget invariants before memory-mapping or OPFS staging.

PayloadCatalogue PayloadDescriptor SectionKind
net::qdnf::fabric 4-Plane Fabric

Implements the 4-plane Identifier Fabric join rules (attempt_join, JoinAttempt, JoinKey, InstrumentKind). Enforces that hardware/network instruments (Plane::Instrument) and spacetime handles (Plane::SpatiotemporalHandle) never implicitly entail Plane::Who identity or Plane::Claim authority.

attempt_join JoinAttempt InstrumentKind
net::qdnf::harness::tri_source_eval Packet EVAL-22

Unified Tri-Source Evaluation Aggregator combining (1) Etalon EtalonSourceReceipt, (2) Network QDNF/QPR/CSCP transport & custody receipts, and (3) QualiaDB .q42 v4 canonical 5-field NQuin enumeration into per-plane SourcePlaneCounts { passed, failed, unsupported } without silent 0/0 passes.

evaluate_tri_source TriSourceEvalReport SourcePlaneCounts
Core Storage & Q42
Zero-allocation engine

48-byte Super-Quins, SuperBlocks, WAL, lazy demand-paging, BIDX block-range index, Q42 execution profiles, and payload catalogues.

storage q42::execution_profile q42::payload_catalogue wal indexing lexicon
Query & Logic
SPARQL · N3 · Deontic · Plane Guard

Query compiler, resolver, N3Logic parser, SLG Prolog engine, deontic/epistemic/paraconsistent modal operators, and plane feature guards.

query_engine foundation::plane_feature_guard resolver n3_parser deontic_logic
Webizen VM & OCS
Bytecode · 27 Cosmic Opcodes · Sync

The Webizen bytecode virtual machine with 200+ native opcodes, including the 27 synchronized Omni-Scale Coordinate System (0xA0–0xBA) spacetime opcodes.

webizen webizen_bytecode modalities::ocs wgsl_forge::etalon_bridge
Network & QDNF
QDNF · QPR · CSCP · Tri-Source Eval

Native Qualia Data Network Fabric (QDNF / QPR): QLink, DNI, QRoute, QSession, 4-plane non-entailment joins, and Unified Tri-Source Evaluation (EVAL-22).

net::qdnf::fabric net::qdnf::harness::tri_source_eval p2p solid_ldp
AI / ML & P64
GGUF · P64 · NPU · TEE

LLM agent runtime, P64 64-byte aligned weight containers, GGUF sharding, NPU FFI hardware acceleration, and TEE enclave attestation.

llm_agent p64_weight gguf_bridge gguf_sharder npu_ffi
Scientific Primitives
Bio · Chemistry · Physics · CRT new

256-bit 4-Prime CRT exact arithmetic, QUBO penalty sufficiency theorem, relativistic & cosmological FLRW solvers, bioinformatics, and quantum DFT.

bioinformatics clinical_engine organic_chemistry quantum_dft crt_u256
Economics & Rights
ILP · Agency · Tax

Interledger Protocol micro-payments, dynamic equity allocation, Ed25519 author-scoped Merkle roots, obligation tracking, and CRDT consensus queues.

economics ilp_dispatcher agency tax_schema crdt
Infrastructure
MCP · Orchestrator · WASM

MCP server for AI agent tool integration, thermal-governed orchestrator runtime, SHACL bytecode compiler, CBOR-LD encoder, and WASM ABI bridge.

mcp_server orchestrator shacl_compiler cbor_compiler wasm_bridge
Profiles & Human-Centric Identity
did:qi · did:q42 · USRI new

Cryptographic did:qi genesis identities, topological did:q42 pointers (MSB=1), CB-USRI celestial tokens (MSB=0), and hardware key vaults.

identity::did_qi profiles key_vault identifier git_bridge
Etalon Accelerator & Simulation Crates
WGSL Forge · 10D Render · Continuum Physics · NQuin Parity

Hardware-certified GPU compute, 10D volumetric rendering, continuum physics (SWE, 3D FDTD), and 5-field parity-verified NQuin sensing bridges integrated with the QualiaDB workspace.

29 QualiaDB Workspace Crates
Cargo Workspace Members · v0.0.41

Workspace rustdoc is generated by scripts/rustdoc-workspace.sh (all workspace libraries). Open the crate index at rustdoc/index.html or explore the interactive WASM Portal API Reference.

Key Types & Functions
Docs generated from cargo doc --no-deps on branch 0.0.41 · deployed via GitHub Actions