FrankenGraphDB

The design document

The whole plan.

The plan sets its own goal in its first line: A blank-slate, memory-safe, ultra-high-performance graph database in Rust, built entirely on the Franken/asupersync ecosystem, designed to leapfrog every commercial and open-source graph system in existence. It has 28 sections and appendices, about 134,000 words, and describes the 1.0 target; for what runs today, see the implementation status.

Where to start

New here

Why this exists, the rules it is built under, and what it reuses.

ThesisConstraintsFoundationsThe field

Storage and time

The commit stream, history, branches and the graph-shaped LSM.

ChronicleStrataTransactionsFormats

Queries

The algebra and executor, incremental views, indexes and analytics.

LoomRippleBeaconPrism

Security and surface

Capabilities, the server and its protocols, and replication.

WardenFabricAegisProtocol

Verification

Determinism, the test ladder, the invariants and the performance targets.

DoctrineInvariantsTargetsCosts

Delivery

The workspace, the workstreams, the gates and the risks.

WorkspaceGatesRisksData model

Foundations

the thesis, the constraints and the model · 5 entries

Subsystems

the nine named parts of the engine · 10 entries
§514,498 wordsChronicle: The Commit Stream, Durability, Time, and Branches (Bet B1)

Chronicle is the ECS-native durability substrate — frankensqlite's Native mode, born as the only mode, for graph objects.

§62,008 wordsStrata: The Storage Engine (Bet B2)

Strata resolves the write/scan/space trilemma by refusing to pick one point on it. Authoritative incidence is partitioned by stable vertex identity and edge type, never by mutable labels.

§72,642 wordsTransactions: Block-MVCC + Graph-SSI + Semantic Merge

Blocks (~256 edges) are the graph analogue of frankensqlite's pages: fine enough that writers to different neighborhoods never touch (fan-out of real workloads means most concurrent writes…

§83,719 wordsLoom: Languages, Algebra, Optimizer, Execution (Bet B3)

LanguageContract is a canonically encoded, content-addressed tagged union with common { grammar_oid, lexer_profile_oid, normalizer_oid, semantic_profile_oid, scalar_profile_oid,…

§93,327 wordsRipple: Incremental Everything (Bet B4)

Four features that vendors often build separately—recursive evaluation, materialized views, subscriptions, and incremental analytics—share computation over Z-sets advanced by a total…

§101,084 wordsBeacon: The Index Fabric

Every index generation exposes IndexSnapshot { identity: DerivedIdentity, root_oid, answer_contract: AnswerContract }; an index definition normally has one canonical advancing source role.

§11471 wordsPrism: In-Database Analytics via franken_networkx

CALL fnx.<algorithm>(...) [YIELD …] exposes only registered, semantically compatible fnx signatures. Versioned FnxSignatureRegistry describes per algorithm: zero/one/multiple graph inputs.

§126,312 wordsWarden: Security & Governance

The trust matrix distinguishes untrusted clients, mutually hostile tenants, honest-but-curious storage, crash-fault replicas, malicious/stale donors, independent transparency witnesses,…

§134,338 wordsFabric: Server, Protocols, and the Embedded API

§142,815 wordsAegis: Replication, HA, and the Distribution Doctrine

Doctrine: single-node correctness is the base product; replication adds crash-fault durability, availability, and read scale.

Doctrine

verification, operations, performance and delivery · 6 entries

Appendices

the normative contracts · 7 entries