FormaLake Core v0.1
Status: RELEASE_CANDIDATE (LANDED; campaign record in docs/FORMALAKE-CORE-v0.1-CAMPAIGN-PACKAGE/TERMINAL-RECORD.md; owner decisions D-LAKE-1..5 frozen)
Contract: crates/formalake-core (FORMALAKE_CONTRACT_REVISION = ("formalake-core-contract-v0.1", 1)); architecture authority: docs/FORMALAKE-CORE-v0.1-CAMPAIGN-PACKAGE/CAMPAIGN/04-FORMALAKE-ARCHITECTURE-DECISION.md
This documentation set: generated by CAMPAIGN-FORMA-DOCS-QUAD-v0.1 from the implemented code. Documentation is not semantic authority.
What it is
FormaLake is the dataset capability over the FormaFS kernel: datasets, immutable dataset versions, explicit canonical persistence bindings, logical schemas and partitions, ingestion with a lawful lifecycle, situated validation assessments, and N-ary transformation runs with exact binding capture.
FormaLake record plane --records as canonical JSON--> FormaFS kernel --durable states--> Storage provider
("application/vnd.formalake.record.v1+json") (resources, CAS, namespaces)
The lake owns nominal, lake-owned identity; the kernel owns persistence identity; the two are bound by explicit, recorded correspondence — never identified with each other.
The three clocks (the core law)
DatasetVersion = the logical data (schema + membership + constitutive refs) — frozen at mint time
ResourceState = the kernel's exact persisted basis (the binding target)
Representation = the physical encoding (locator + integrity digest)
Only create_dataset_version mints versions. Attaching/removing data and
rematerializing physically never advance the version. (crates/formalake-core/src/store.rs, law recorded in crates/formalake-core/src/lib.rs and D-LAKE-2/5.)
Crate map
| Crate | Role |
|---|---|
crates/formalake-core | The lake: FormaLake (22 domain operations over the kernel), records, identity, errors |
crates/formalake-workload | The LLM training vertical: semantic training objects, mixtures, checkpoints, genealogy |
crates/forma-data-e2e | Product-journey witness wiring the lake to the FormaSL application surface (tests/lake_journey.rs) |
Library-only — no binaries. See the FormaFS docs at
docs/formafs/kernel-v0.1/ for the substrate this builds on.
Documentation map
| Document | Contents |
|---|---|
| DEFINITIONS.md | Vocabulary, D-LAKE-1..5 summaries with code anchors, the != laws |
| GETTING-STARTED.md | Open a lake, create a dataset, mint a version — with a live transcript |
| TUTORIAL.md | The full cycle: ingestion lifecycle, admission, bindings, external data, transformation runs, derivation traversal |
| API-REFERENCE.md | The 22 domain operations and the 18 typed errors |
| WORKLOAD.md | The LLM training vertical and genealogy |
| OPERATIONS.md | Restart persistence, contention, idempotency, performance, known boundaries |
| examples | lake_walkthrough.rs — the executable transcript source |
Reading order: DEFINITIONS → GETTING-STARTED → TUTORIAL → API-REFERENCE.
What FormaLake is not (explicit scope, from the architecture decision)
FormaLake is not a storage engine (FormaFS + providers persist)
FormaLake is not a query engine (observation lives in capabilities)
FormaLake is not a catalog server (no service; a library capability)
FormaLake is not zones-as-directories (zones are standing, not layout)
FormaLake is not a table format (Iceberg-class comparisons deferred by
owner decision; Parquet is an external
representation, not an authority)