Skip to main content

Module layout

Module layout 

Source
Expand description

Pure path-builder helpers for the zenith store layout.

StorePaths computes filesystem paths for every well-known location under the zenith data directory. It performs NO I/O — callers must pass the resulting paths to an crate::adapter::Fs implementation.

§Store layout

<data_dir>/
  docs/
    <doc_id>/
      objects/         ← immutable object blobs (future unit)
      versions.jsonl   ← append-only version manifest (future unit)
      session/         ← mutable local session state
      runs.jsonl       ← append-only agent-runs log
      previews.jsonl   ← append-only preview-artifacts log
      scratch/
        index.jsonl    ← scratch/candidate index

Structs§

StorePaths
Path-builder for the zenith local store rooted at a data directory.