QDNF / QPR · implementation status · 0.0.41 (QDNF / QPR · implementation status · 0.0.40 baseline)

Human-centric networking verified layer by layer.

This is the authoritative 0.0.41 implementation and qualification record for the Qualia Decentralized Network Fabric (QDNF), the Qualia Peer Runtime (QPR), and the qualia-cscp control plane. It separates working in-tree cryptographic and routing engines from labelled Transition bearers, platform-dependent Qualification holds, and external Public-network and standards gates.

Present in 0.0.41: QDNF decouples human identity (Entity plane) from expiring network locators (Handle plane) and pairwise cryptographic channels (Instrument plane), ensuring .q42 knowledge synchronization does not depend on ICANN DNS, BGP, ARP, or cloud relays. NET-18 through NET-21, EVAL-22, did:qi, and CSCP run deterministically in tree; unexecuted hardware and public-Internet gates report false rather than simulated success.

Layer 2 · Protocol Architecture & Evidence Taxonomy

Four Non-Overlapping Qualification Classes

Class 1 · Implemented in tree

Local and in-tree evidence

  • QPR & Connection Manager: Supervised cell admission (admit.rs), generation-checked resource leases (ledger.rs, release_checked_bytes), non-wrapping cancellation epochs, and durable .q42 v4 chunk-to-SuperBlock replication.
  • CSCP v1 Control Plane (qualia-cscp): Bounded fail-closed TLV codec, private mailbox, lease accounting, receipt persistence, local bound-UDP, local rustls WSS ↔ QSession, DATAGRAM capsules, and loopback TLS HTTP/2 Extended CONNECT.
  • Implemented identity slice (did:qi): Bounded QCDE-1 signed documents with create, advance_generation, deactivate (TombstonePermanent), verify_relationship_distinct_from_person, and CscpMailbox binding.
  • QBDL ProtectedSession: in-process governed leaf I/O cargo-proven 17/17 (2026-11-14). Mixed-HMC mux, EMF/QAC/P64 stream views, Q42 HTTP Range, and write_leaf stage-drop are in source; the next locked qualia-core-db --lib pass is the remaining in-tree gate. See QBDL streaming.

Class 2 · Labelled Overlays

Transition bearers

  • WireGuard / SocialWebNet overlay: Admitted as an explicitly labelled IP transition bearer; never misclassified as a zero-IP native link.
  • TLS WebSocket (WSS) & HTTP/2 Extended CONNECT capsules: Provide encrypted tunnel transport across legacy networks without claiming public Internet MASQUE qualification. Mixed-HMC WSS transfer reuses WssBearer under Session as Component evidence; TLS is not post-quantum publisher authority.
  • Nym mixnet framing: Deterministic sphinx-style bounded QFrame encapsulation for metadata-resistant routing integration tests.
  • Strict non-laundering rule: Transition bearers do not become Native Independent merely by carrying a QFrame (no_proxy_launder).

Class 3 · Hardware & Kernel Boundaries

Qualification holds

  • AF_XDP & Raw Ethernet: open_af_xdp() returns PlatformUnsupported in unprivileged environments; umem_registered() == false and silent_zero_copy_fallback() == false.
  • Physical Energy Telemetry: Process RSS and NUMA locality are sampled in tree (cells/hardware.rs), while hardware RAPL joule counters remain held (idle_energy_measured() == false) without dedicated sensor access.
  • OS Process-Kill Durability: Deterministic tempfile crash-recovery pairs run in tree (disk_crash.rs), whereas kernel-level power-loss WAL certification remains an explicit qualification hold (os_process_kill_qualified() == false).

Class 4 · Multi-Host & Registry Boundaries

Public-network and standards gates

  • Building next — Public relay, Internet two-host, MASQUE, QUIC/noq: Requires a live two-host public Internet topology (CSCP-08 / CSCP-09). Until executed, public_relay_dialed() stays false.
  • W3C Registry Status: did:qi is an in-tree pairwise instrument method — Not a W3C DID Spec Registries entry and not a W3C Technical Report.
  • IETF Datatracker Gate (CSCP-12): draft-webcivics-cscp-00 is versioned in tree alongside qualia-cscp; external submission to the IETF Datatracker remains a separate human action.

Layer 3 · Cryptographic & Routing Mechanics (0.0.41)

Completed NET-18–NET-21 & EVAL-22 Verification Packages

Each package below is implemented in Rust without heap allocation in hot evaluation loops and verified against deterministic in-tree test vectors.

Package Subsystem & Crate Cryptographic & Algorithmic Contract Enforced Invariant
NET-18 qualia-cscp & qdnf::session HandshakeTranscriptDigest (SHA-384 over ClientHello || ServerHello || NegotiatedParams), HKDF-SHA384 directional traffic keys, generation-monotonic rekey_session, and LocatorBinding. no_proxy_launder: relay/proxy carriers never upgrade AuthenticityClass.
NET-19 qsr/exact.rs & qdnf::route::spf Full 384-bit (48-byte / 96-nibble) radix-16 trie lookup in qsr/exact.rs with RarPermit binding, paired with Bellman–Ford primal-dual witness verification (verify_spf_dual_optimality). Dual optimality d[v] <= d[u] + w(u,v) across all admitted edges + acyclic predecessor tree witness.
NET-20 peer::replication & runtime::ledger ChunkToSuperBlockManifest mapping SHA-384 transport chunks to SHA-256 .q42 SuperBlocks, plus generation-checked release_checked_bytes lease reclamation. 5-field NQuin XOR parity verified before commit_verified_block; stale lease releases fail closed.
NET-21 qdnf::policy_labels::egress 40-scenario egress admission matrix spanning C0Public–C3Restricted and caller classes (Vibe, Poet, BackgroundWorker, DelegatedTool) via EgressAuditReceipt and enumerate_egress_audit_quin. All 40 scenarios emit deterministic, 5-field XOR-parity-verified NQuin audit receipts.
EVAL-22 .q42 v4 Qualification Aggregator Tri-source evaluation aggregator combining Etalon oracle receipts, QDNF network receipts, and QualiaDB invariant receipts into a unified .q42 v4 qualification summary. Reports exact passed, failed, and unsupported counts per plane with zero synthetic promotion.

Layer 4 · Verification & Qualification Boundary

Complete Subsystem Capability Matrix (0.0.41)

Subsystem Qualification Class Evidence Boundary & Fail-Closed Flags
QPR & connection manager Local and in-tree evidence Supervised cell admission (MAX_CELLS = 16), release_checked_bytes lease ledger, CancelEpoch, and ChunkToSuperBlockManifest replication verified in tree.
CSCP Wave 0–2 (qualia-cscp) Local and in-tree evidence SHA-384 handshake transcript, HKDF-SHA384 session keys, LocatorBinding (no_proxy_launder), local WSS, DATAGRAM capsules, and loopback H2 Extended CONNECT.
did:qi pairwise instrument DID Local and in-tree evidence QCDE-1 lifecycle (create, advance_generation, deactivate / TombstonePermanent), CscpMailbox binding, and plane separation. Not a W3C DID Spec Registries entry.
QBDL mixed HMC streaming Local and in-tree evidence · cargo next for mux ProtectedSession 17/17 in process. Mixed planner, EMF/QAC/P64 views, Q42 HTTP Range, and WSS mixed transfer are in source. ZIP .hmc is the legacy archive profile and is not a streaming target. See QBDL streaming.
Nym / WireGuard / WSS / H2 Transition bearers Bounded profiles verified in tree; they do not become Native Independent merely by carrying a QFrame. Mixed-HMC WSS is Component evidence on this labelled bearer.
Raw Ethernet, AF_XDP, RAPL joules Qualification holds Requires privileged NIC / hardware counters; umem_registered() == false, silent_zero_copy_fallback() == false, idle_energy_measured() == false.
Public relay, Internet two-host, MASQUE, QUIC/noq Public-network and standards gates Building next when a live two-host public Internet endpoint is dialled (CSCP-08); public_relay_dialed() == false.

Continuity & Plane Separation

A handle is not a human

DNI locators, DNS hostnames, relay hints, Nym addresses, and session endpoints sit on the Handle and Instrument planes. They never define a natural person on the Entity plane. Revoking or losing a handle closes or holds that network path without erasing the person, their did:webizen agreements, or their local .q42 knowledge volumes.

Tri-Source Qualification

Deterministic EVAL-22 Accounting

Through EVAL-22, every release qualification bundle aggregates Etalon oracle receipts, QDNF transport/routing receipts, and QualiaDB arena invariant receipts with explicit passed, failed, and unsupported counters — ensuring qualification holds and public-network gates remain transparent.

Technical Reference Guides

Read the architecture, DID methods, cells, and runtime together

Navigate the companion technical guides below for deep-dive specifications of did:qi side-by-side DIDs, QDNF protocol cells, and the Qualia Peer Runtime.