GATE #17 · PILLAR III · HEXASTORE, EPISTEMOLOGY & MATHEMATICS
ragpi : the Intelligenceragpi : the Intelligence

Bitemporal Graph Database:
128B Hexastore with Dual Timelines
and Instant /asof Audits

For chief data architects, database engineers, and forensic auditors
on 12–15 Watts, ...

3D isometric diorama of ragpi memory: 15W node, BlackHole ingestion, QuickView lenses, and cookie-free Sites
One sub-millisecond memory: BlackHole ingests documents, QuickView projects 162+ live views, and Sites publishes cookie-free web pages.
01 // 128B HEXASTORE, HILBERT CURVES & DUAL TIMELINES

Every fact fits
128 exact bytes
and six fast paths.

Relational tables bog down under deep multi-hop JOIN trees, whereas JVM-based graph servers burn gigabytes of RAM chasing scattered heap pointers through stop-the-world garbage collection pauses. Our bitemporal Hexastore packs every Subject–Predicate–Object fact into a fixed 128-byte record—precisely two 64-byte L1 cache lines—indexed exhaustively across all six permutations (SPO, SOP, PSO, POS, OSP, OPS).

Every binary field sits at a deterministic offset—including access_epoch at byte 88, confidence at byte 104, and ternary trit_polarity at byte 125—paired with distinct valid_epoch and tx_epoch timestamps. A 3D integer Hilbert space-filling curve maps (SubjectID, PredicateID, ObjectID) triples sequentially onto NVMe storage blocks, placing related edges physically adjacent to eliminate random seek amplification.

During Markov Blanket 2.0 neighborhood traversal, zero-heap HexIndex range iterators stream aligned pages protected by CRC32C checksums and 4KB encrypted frames. Issuing /asof 1761900000 && 3 traverses millions of historical links in under a millisecond with zero table locks, handing legal and forensic teams an unalterable snapshot of any past date.

Two L1 cache lines. Six permutation indexes. Zero overwritten history.

Browser Simulator in Sovereign TUI Cage (512B Datagram · Zero Shell)
ragpi_chat> /asof 1761900000 && 3
[SOVEREIGN SILICON VERIFIED] Domain #17 (bitemporal-hexastore-graph): 128B cache-aligned SPO triples + dual timeline (valid_time vs system_time) with sub-millisecond /asof traversal | Power=12.2W | Full-Endurance | Confidence>=85% (#fc7900)
02 // FOUR PILLARS OF THE HEXASTORE ENGINE

How exact memory geometry outperforms heavyweight graph servers.

128-byte cache alignment, six-way exhaustive indexing, 3D Hilbert storage locality, and append-only bitemporal truth.

01 // 2× 64B L1 ALIGNMENT
128 Exact Bytes
With Zero GC
or Pointer Chase

Each triple occupies exactly two CPU cache lines. Eliminating fragmented heap objects and garbage-collection stalls lets graph scans sweep at full linear memory-controller bandwidth.

02 // SIX PERMUTATION INDEXES
SPO Through OPS:
Every Direction
Equally Instant

Whether querying all contracts of a vendor, all vendors sharing a clause, or every edge linking two entities, a pre-sorted range iterator resolves the lookup without multi-table joins.

03 // 3D HILBERT LOCALITY
Connected Facts
Laid Contiguously
on NVMe Media

Rather than random in-place B-tree page churn, our Shadow Paging layer flushes (S, P, O) clusters ordered along a 3D Hilbert curve into sequential CRC32C-verified encrypted pages.

04 // BITEMPORAL INTEGRITY
Dual Time Axes
Built for Strict
Forensic Audit

Correcting an error appends a newly bounded validity interval without erasing what preceded it. Any /asof audit cleanly separates real-world effective dates from ledger knowledge dates.

Actual ragpi OS-OO interface: workspace with TimeSurf historical timeline and cited answers
Actual ragpi workspace screenshot featuring the TimeSurf timeline: scrub back to inspect exact contracts and records as of any past date.
03 // DATABASE SPECS FOR ARCHITECTS & AUDITORS

Byte-level rigor
for every guardian
of enterprise data.

Institutional memory must neither slow down as relationships multiply nor forget earlier truth: data architects demand bounded traversal cost, storage engineers guard NVMe endurance, and counsel requires tamper-proof timelines.

1. Chief Data Platform Architect (Unified Graph Model)

Unifies structured records, document hierarchies, and temporal relationships inside one 128B Hexastore engine. Removes brittle sync pipelines bridging separate SQL databases, graph clusters, and search indexes behind one canonical store.

2. Storage & Graph Database Engineer (NVMe & Iterators)

Persists up to 31 triples per 4KB shadow page protected by CRC32C and hardware FEAT_AES encryption with sequential LSM flushing to protect NVMe lifespan. Zero-heap HexIndex iterators power hub-dampened Markov Blanket 2.0 queries.

3. Forensic Auditor & Legal Counsel (Evidentiary Time)

Separating valid_epoch from tx_epoch satisfies demanding tax, regulatory, and litigation standards. Invoking /asof 1761900000 && 3 reconstructs the exact relationship graph visible on any date with zero back-channel editing.

4. Institutional Archivist & Knowledge Historian (Longevity)

Pairs graph triples with 0o600 permission-locked WARC/1.1 archival blobs and 256-dimensional multilingual semantic indexing across 100+ languages—keeping decades of institutional knowledge searchable offline inside your premises.

One hundred twenty-eight bytes. Six instant indexes. Unaltered institutional memory.