Workspace Layout & the Build-It-Ourselves Inventory
484 words2 subsections1 tableA design document: it describes the 1.0 target, not what runs today.
On this page2
18.1 Crates (fgdb-* workspace, layered; Cargo-enforced boundaries per frankensqlite)
| Layer | Crates |
|---|---|
| Foundation | fgdb-types, fgdb-bigint (canonical exact integers), fgdb-delta-types (G0/W2 delta schema only), fgdb-claim, fgdb-authz-types, fgdb-policy (restricted verifier IR), fgdb-resource, fgdb-codec, fgdb-sketch, fgdb-collections, fgdb-crypto, fgdb-calibrate, fgdb-evidence |
| Unsafe islands | fgdb-unsafe-simd, fgdb-unsafe-arena, fgdb-unsafe-vfs — the only crate roots not using forbid(unsafe_code); every site is ledgered and exposed only through safe APIs |
| Chronicle | fgdb-ecs (identity/encoding/bootstrap/object locator), fgdb-order (durable Raft log/state core and quorum-one driver), fgdb-chronicle (capsule/marker/logical-local roots, allocator, outcomes, checkpoints/retention, recovery/GC/scrub), fgdb-branch, fgdb-keymgr, fgdb-audit, fgdb-backup |
| Strata | fgdb-strata (label-independent tiers, seal/compact, stable-ID directory), fgdb-props, fgdb-buffer, fgdb-scratch |
| Txn + secure access | fgdb-txn (MVCC, Graph-SSI/witness lifecycle, coordinator, final-effect merge ladder), fgdb-constraints (branch-scoped canonical enforcement), fgdb-secure-view (sole authorized storage/permit facade); depends on Chronicle + Strata + foundation policy verifier |
| Loom | fgdb-gql + fgdb-cypher (syntax only), fgdb-bind, fgdb-algebra, fgdb-planner, fgdb-exec, fgdb-linalg, fgdb-datalog; all reads flow through fgdb-secure-view |
| Ripple | fgdb-ripple (Z-sets, circuits, incrementalizer), fgdb-views, fgdb-subs |
| Beacon | fgdb-beacon, fgdb-index-core, fgdb-btree, fgdb-fts, fgdb-vector, fgdb-pathidx (2-hop/landmark + the persistent-union-find temporal-connectivity index, §10.7) |
| Prism | fgdb-prism (authorized projection bridge, fnx cursor/cache/materialization paths, native kernels) |
| Warden | fgdb-warden (issuance/revocation/discharges/policy admin), fgdb-privacy, fgdb-redaction |
| Surface/operations | fgdb-protocol (FGP state machine), fgdb-bolt, fgdb-formats, fgdb-udf-vm, fgdb-observatory, fgdb-system-graph |
| Aegis | fgdb-raft (multi-member protocol over fgdb-order), fgdb-repl (payload availability, anti-entropy, reconfiguration, fenced GC); future fgdb-shard belongs only to W12 |
| Composition | fgdb (embedded API), fgdb-server (top-level Fabric+Warden+Aegis composition), fgdb-cli, fgdb-python (allowed fnx-python packaging boundary only), fgdb-adbc (C-ABI ADBC packaging at the same boundary; §13.7) |
| Verification | fgdb-sim, fgdb-reference (executable semantics oracle), fgdb-oracles, fgdb-bench, fgdb-conformance, fgdb-fuzz |
G0 materializes invariants.toml, evidence.toml, slo.toml, the unsafe-boundary ledger, feature/conformance matrices, threat model, format registries, proof-lane manifests, and exit-criteria contracts before Genesis implementation.
18.2 Built in-house (because the universe is closed)
Compression codecs (EF, delta-varint, bitpacking, snappy, roaring-like), canonical signed-limb exact integers, sketches, ART/radix structures, succinct rank/select, vectorized hash tables, B-tree, HNSW + quantizers + IVF-PQ cold tier, persistent union-find, masked-semiring SpMV/SpMSpV kernels, inverted index + BM25 + Levenshtein automata, tokenizers, CSV/JSONL/Parquet-lite readers, GQL/Cypher parsers (hand-written recursive descent + Pratt — the frankensqlite parser school), the DBSP-style circuit runtime, Raft, FGP, Bolt subset, crypto profiles/primitives not already supplied by an audited foundation, the MMR accumulator + transparency checkpoints, the Sextant calibration scores/ledgers (over asupersync's e-process core), the deterministic UDF bytecode VM (§13.8), bench harness. Explicitly not built: async runtime, scheduler, channels, TLS/QUIC/HTTP/gRPC stacks, RaptorQ, macaroons, metrics/OTel, deterministic lab, supervision, cluster membership (SWIM+Lifeguard), Merkle-range anti-entropy, coded symbol distribution, CRDT obligation ledgers, HLC, choreographic projection, LDFI/delta-debug/dual-run/trace-export tooling, Kafka/JetStream clients — all asupersync; graph algorithms & legacy formats — all fnx. The closed-universe constraint, which sounds like an albatross, is the moat: the entire dependency surface is auditable, deterministic under lab, and owned.