The README makes claims. This file backs them up with architectural context, code paths for the primary database, and honest priority rankings so an external reviewer can distinguish active engineering from research exploration.
|
Important
|
This is a parent tracking repository — no implementation code
lives here. All databases are in subdirectories (verisimdb/, quandledb/,
lithoglyph/) which are also mirrored as standalone canonical repos.
|
Claim 1: "Coordinated effort to build specialised databases, each with its own query language, storage engine, and web interface"
This repository serves as the central tracking hub for the Next-Gen Databases initiative — a coordinated effort to build specialised database applications across different domains, each with its own query language, storage engine, and web interface.
The architecture shared across all three databases follows a layered stack:
Query Language (DSL)
↓
Database Engine (storage, indexing, computation)
↓
HTTP API Server (JSON endpoints)
↓
Web Frontend (ReScript SPA)Each layer is domain-specific. VeriSimDB uses VCL over a Rust/Elixir engine. QuandleDB uses KQL over a Julia (Skein.jl) engine. LithoGlyph uses GQL over a Forth/Factor/Zig engine with Idris2 proofs.
VeriSimDB is the primary engineering focus. Each entity exists across up to 8 simultaneous representations (the octad): Graph, Vector, Tensor, Semantic, Document, Temporal, Provenance, Spatial.
The drift detection demo entry point is:
cd verisimdb/elixir-orchestration && mix run ../demos/drift-detection/run_demo.exsThis demo creates 1000 entities, corrupts 50, and verifies that the drift
detector identifies all 50 with zero false positives (in the sample output).
The Elixir orchestration layer (verisimdb/elixir-orchestration/) coordinates
the Rust core (verisimdb/src/) and the VCL parser (verisimdb/src/vcl/).
The ABI layer at verisimdb/src/abi/ (Idris2: Types.idr, Layout.idr,
Foreign.idr) provides machine-checked memory layout proofs for the C-ABI
bridge between Rust and Elixir. The capability registry at
verisimdb/src/registry/ tracks which modalities are active per entity.
VeriSimDB is at beta. The drift detection loop works (demo is live). The VCL query language is approximately 40% complete — basic entity CRUD and cross-modal consistency queries work; advanced dependent-type queries (VCL-UT) are planned. The "formally verified queries" claim in the README refers to the Idris2 ABI proofs, not end-to-end query verification (which is roadmap).
Claim 2: "VeriSimDB detects drift before it causes damage; QuandleDB and LithoGlyph cover specialist domains"
Project priorities: VeriSimDB is the primary database engineering project. LithoGlyph is working towards production for specialist use in journalism and narrative arts. QuandleDB is a research exploration — a thought experiment made concrete.
| Database | Priority | Honest Status |
|---|---|---|
VeriSimDB |
PRIMARY — active development |
Beta. Drift detection, octad entity model, Elixir orchestration, VCL parser (~40% complete), Idris2 ABI proofs. Deployed with per-project instances (per VeriSimDB policy: one instance per consumer repo, never shared). |
LithoGlyph |
Secondary — on backburner |
Active development paused while VeriSimDB matures. Architecture is defined: Forth storage engine, Zig bridge, Factor for GQL, Idris2 proofs, Lean 4 normaliser. The reversibility design (GQL operations have machine-checked inverses) will benefit from MAA Framework lessons. |
QuandleDB |
Exploratory — research only |
Not intended as a production tool. Wraps Skein.jl (Julia knot database) as a web app. 36 knots from the Rolfsen table, Jones polynomial display. Thought experiment in applying knot theory to database design. |
When an entity’s vector embedding is stored, VeriSimDB also records a
content hash of the source document used to generate it. On each read
(configurable: also on write), the engine recomputes the content hash,
compares it to the stored hash, and flags divergence as VectorDocumentDrift.
If the spatial coordinates stored for an entity no longer appear in its text
representation, that is SpatialSemanticDrift. The drift type taxonomy in
verisimdb/src/ determines the repair strategy: re-embed, re-index, or
escalate to human review.
The README is explicit: QuandleDB is not production-ready. An external reviewer should not treat it as evidence of a production knot-theory database. It is a proof-of-concept that knot-theoretic invariants can be stored and queried as first-class database attributes. If you need a production database, use VeriSimDB.
| Technology | Role in Next-Gen Databases | Also Used In |
|---|---|---|
Rust (VeriSimDB core) |
Storage engine, VCL parser, drift detection algorithms |
ephapax, gitbot-fleet, protocol-squisher |
Elixir (VeriSimDB orchestration) |
Distributed coordination, Phoenix API, BEAM fault tolerance |
burble (voice platform), gossamer (service discovery target) |
ReScript (all frontends) |
VCL query UI, QuandleDB frontend, planned LithoGlyph frontend |
idaptik, panll, gossamer-powered SPAs |
Idris2 ABI (VeriSimDB + planned LithoGlyph) |
Machine-checked memory layout proofs for cross-language FFI |
Gossamer, Groove, Stapeln — every repo with Idris2 ABI layer |
Zig FFI (LithoGlyph bridge, VeriSimDB FFI) |
C-compatible bridge between storage engine and query layer |
game-server-admin, Stapeln, Gossamer |
Julia (Skein.jl, QuandleDB engine) |
Knot invariant computation; Julia batch scripting convention |
developer-ecosystem, data processing scripts |
VeriSimDB itself |
Per-project instances deployed across every significant hyperpolymath repo for cross-modal entity consistency |
Mandatory everywhere per VeriSimDB policy |
Stapeln containers |
|
All containerised services in the account |
Hypatia scanning |
|
Every RSR repo in the account |
| Path | What It Proves |
|---|---|
|
Primary database. |
|
Machine-checked proofs of memory layout correctness for the Rust/Elixir ABI boundary. Types.idr, Layout.idr, Foreign.idr. |
|
Knot-theory database (exploratory). |
|
Narrative-first reversible database (backburner). Architecture defined: Forth storage, Zig bridge, Factor GQL, Idris2 proofs, Lean 4 normaliser. Current state: skeleton structure and architectural documentation. |
|
NQC — experimental TypeQL-adjacent query language research, tracked here as part of the database query language ecosystem. |
|
Experimental TypeQL integration work. |
|
Cross-database integration tests. |
|
A2ML checkpoint files. Canonical AI session state. |
|
Visual architecture map and completion dashboard for all three databases. |
|
Current tooling readiness — which query languages have parsers, which have evaluators, which are stub-only. |
|
Stapeln container configuration (notably large: 19K — covers multi-database deployment configurations). |