Skip to main content

Module artifacts

Module artifacts 

Source
Expand description

Generated outputs: the content-addressed artifact store, its records, gallery arrangement, and provenance rendering. Pure logic and the filesystem — the ProvenanceArtifactWriter that bridges the store to the registry is DI glue that lands with the kernel facade.

Structs§

Artifact
A stored generated output: where its bytes live, a content hash, provenance (model/runtime/capability/params), timing, and ownership (job, session).
ArtifactDraft
Everything needed to store one output. The store fills in the id, path, content hash, preview path, and creation time.
ArtifactStore
A content-addressed store of generated outputs, rooted at a directory. The in-memory index is populated lazily on first access, so read methods take &mut self.
Gallery
Gallery arrangement helpers.
GalleryModel
A model that owns at least one artifact.
Provenance
Provenance rendering helpers.

Enums§

ArtifactStoreError
Errors from the artifact store.
GallerySort
Newest-first or oldest-first ordering.

Functions§

speakable
The plain, speakable form of a markdown string: code fences and table rows are dropped whole, and every other line has its markdown syntax stripped so only the words a listener should hear remain.