Internals¶
Implementation-detail reference: how Lore is built under the hood.
What this folder is¶
Precise technical descriptions of Lore's source: byte layouts, struct formats, serialization specs, internal protocols. Austere, authoritative, descriptive only. No instruction or explanation; just how the machinery is built.
What you'll find here¶
- File I/O engine — the
lore-iodriver, buffer ownership, syscall pool, and the plan for replacingstd::fsandtokio::fs. - Parallel path staging — how
lore stagenormalizes a target set, pre-creates the directories targets share, and fans the walks out. - State node architecture — how a
Stateholds its revision tree in node blocks, and how the node operations change it under concurrent writers: the tiers, the block locks, the checks under them, saving, and sweeping detached slots.
Suggested starting points¶
- Writing a new Internals page? Start at the doc-standards walkthrough.
See docs/README.md for the full docs structure.