The Joule Stack: Energy-Aware Computing from Database to Search

February 24, 2026 full-stack retrieval whitepaper uniting JouleDB (B-tree + 10,000-bit Kanerva hyperdimensional SDM), 28-provider float-free Verity search, 16-vendor Joule-LLM, an 11-layer cascade, and Three-Phase Energy Receipts.

Diagram of unified storage, hyperdimensional indexing, and energy-metered search tiers
Diagram of unified storage, hyperdimensional indexing, and energy-metered search tiers

Temporal & Archival Scope: Era 0 Historical Whitepaper (Originally dated February 24, 2026; verbatim historical summary followed below by dated November 25, 2026 Errata & Related Work Addendum) · Canonical OpenIE Chronicle Entry: https://blog.openie.dev/posts/wp-joule-stack-database-to-search/

Provenance & Telemetry Hygiene: Signed Provenance · Self-Checked (automated OpenIE internal gates; not externally peer-reviewed) · Energy Class: reported_j (measured_j ⊥ reported_j ⊥ est_j ⊥ unmetered — Verification, Licensing & AI-Use Disclosure · Glossary & Non-Mixing Rules).

Part I: Contemporary Historical Summary (As Written in February 2026)

Historical Source Provenance (Original Date: February 24, 2026): David Jean Charlot, PhD · Open Interface Engineering. Preserved from the February 24, 2026 joule-search / jouledb full-stack retrieval whitepaper.

Architecture: Five Systems Forming “The Circle”

Following our February 17, 2026 essay on polyglot database write amplification—where a single ingested document is routinely serialized five times across relational, full-text, vector, graph, and cache engines—the February 24, 2026 Joule Stack whitepaper specified five Rust 2024 components sharing a single energy-receipt protocol:

1. JouleDB        : 4 KB-page B-tree + `cf:name\x00key` column families + 10,000-bit Kanerva SDM / VSA
                    hyperdimensional associative index + IOKit/RAPL `OperationEnergyTracker`
2. Joule-Search   : "Verity" — 20 Rust crates, deterministic `QID = BLAKE3(RFC 8949 canonical CBOR)`,
                    float-free `u16` [0, 10000] fixed-point trust weights across 28 federated providers
3. Joule-LLM      : 16 direct-to-vendor inference adapters (incl. Groq LPU, Cerebras WSE-3, SambaNova RDU)
                    with `complete_eco()` circuit breakers & FLOP*PUE analytical remote estimators
4. Joule-Cascade  : 11-layer cognitive engine (L0-L4 execution ladder + L5-L10 damped meta-controllers)
5. Joule-WASM     : Browser-resident IndexedDB canonical CBOR store for zero-network offline recall

Float-Free Determinism & 28-Provider Corroborated Search (“Verity”)

IEEE-754 floating-point rankers can exhibit cross-architecture tie-breaking drift (x86_64 vs. AArch64 vs. wasm32 FMA contraction), breaking content-addressed cache equivalence. Verity (Joule-Search) normalized queries via QID = BLAKE3(canonical RFC 8949 CBOR) and scored results across 28 search providers (14 keyless open/academic indexes including Crossref, OpenAlex, ArXiv, PubMed, EuropePMC, Semantic Scholar, Wikidata, and Wikipedia + 14 commercial/web APIs) using u16 [0, 10000] integer basis points over a 9-dimensional trust vector (authority, recency, primary-source provenance, citation velocity, and cross-source corroboration, applying a +10% integer boost when independent academic and web indexes corroborated a claim).

The L0–L4 Execution Ladder & Three-Phase Energy Receipts

Across the L0–L4 execution tiers of Joule-Cascade (supervised by L5–L10 70/30 integer-damped threshold governors and session joule caps), the February 24 whitepaper reported typical per-step energy figures alongside their measurement phase:

Crucially, the Three-Phase Energy Receipt returned three disjoint fields on every query rather than summing incompatible telemetry sources:

  1. Client (MEASURED): Local host RAPL / NVML / hwmon / IOKit hardware energy counters (±5–10% counter tolerance);
  2. Network (CALCULATED): Payload wire bytes multiplied by a 14.4 nJ/byte transport boundary constant;
  3. Remote (ESTIMATED): active_watts × PUE × latency / batch_concurrency per remote accelerator class.

Methods, Epistemic Mapping & Licensing Scope Box (reported_j + est_j)

  1. Mapping February 2026 Three-Phase Receipts onto the November 2026 4-Class Lattice:
    • What the February 24 whitepaper called Client: MEASURED (RAPL / IOKit / NVML OS-exposed counters) corresponds in our November 2026 taxonomy to reported_j (on-chip counter telemetry), reserving measured_j strictly for external inline DC hardware shunts (INA226 / PowerZ / oscilloscope shunt benches). Both Network: CALCULATED (14.4 nJ/B, an analytical router/NIC intensity constant that varies widely across Wi-Fi, metro fiber, and submarine hops) and Remote: ESTIMATED (2.001 J and 4.000 J) belong to est_j.
    • Non-Mixing Note: Because ~12 µJ (L0 local reported_j amortized over warm batch lookups) and 2.001 J (L3 remote est_j) come from distinct epistemic classes, we report both numbers side-by-side with their provenance tags rather than claiming a single collapsed 166,750x physical-shunt ratio.
  2. Artifact & Licensing Status (BSL-1.1 / Private Core Mirrors): Public JouleDB binary releases and client interfaces at openIE-dev/jouledb are distributed under BSL-1.1 (Business Source License 1.1). The full underlying storage, HDC, and Verity federated-search Rust workspaces reside in private mirrors (openIE-dev/jouledb-core and openIE-dev/joule-search — externally unreproduced).

Chronological Evolution Within OpenIE Research

  1. Refining Three-Phase Receipts Into the 4-Tier Non-Mixing Law: Adding inline DC shunt benches (measured_j) on AMD Kria KV260 and NVIDIA Jetson Thor split physical board shunts above OS counters (reported_j), establishing measured_j ⊥ reported_j ⊥ est_j ⊥ unmetered.
  2. Storage Hardening & Multi-Model Benchmarks (JouleDB v0.1/v0.2 & Eco-Database): Tested unified Copy-on-Write storage physics against polyglot persistence pipelines.
  3. Bounding Federated Fan-Out Tail Energy (Eco-Knowledge & Latency): Examined when parallel 28-provider network fan-out wastes tail-straggler energy unless governed by deadline- and joule-aware hedged cancellation.

Changelog (2026-11-25)


Canonical Provenance, Primary Artifacts & Independent Replication