Artifacts
All pages
Docs · StartMarkdown

The model

Artifacts hold versions; versions hold files. One writer per artifact, and versions only ascend.

TermIsFor checkpoints
ArtifactA path you choose, slashes allowed: experiments/hoonshot/1234One run's checkpoint location
VersionAn immutable, named set of files under an artifact, plus a little JSON metaOne checkpoint, step-00000510
LatestThe greatest committed version name, always the last one writtenWhat --resume latest takes
WriterThe one holder allowed to add versionsThe run; a new box resuming fences the old one
Full patho41://<artifact>/<version>; names have no slash, so the last segment is the versiono41://experiments/hoonshot/1234/step-00000300
NoteA small blob beside the versions, replaced whole, not part of any versionAn evaluator's evaluated.json

Names

NameLengthCharactersNot allowed
Artifact1–512Slash-separated segments of letters, digits, ., _, -Empty, . or .. segments
Version1–128Letters, digits, ., _, -latest
File1–256Letters, digits, ., _, -; no slash_manifest.json

A version holds up to 1000 files and 16 KiB of meta.

Versions only ascend

A new version must be named above the latest, so the latest is always the last one written. Zero-pad numbers so byte order is step order: step-00000510, not step-510.

One writer

Opening a writer takes the artifact over with a new epoch. From then on, every begin or commit from an older epoch gets 409 superseded. Three modes:

ModeEmpty artifactArtifact with versionsCheckpoint use
latestOpens; nothing to continue fromOpens and returns the latest, signed--resume latest
newOpens409 not_emptyA run without --resume
forkOpens a fork, records the source, returns the source signed409 not_empty--resume <full path> into a new artifact
epoch 1  box A  aws us-east-1      100  200  300  400  500  [510 in flight]
epoch 2  box B  azure westeurope                       open latest → 500   510  520
                                                       A's commit of 510: 409 superseded
  • Only the latest can be continued in place. Any other version is forked into a new, empty artifact. A fork copies no bytes: it reads its source where it is, and its first version names the source.
  • new is refused on a used artifact because a second run would interleave its checkpoints with the first's, and its first resume would pick up the other run's latest.
  • Readers never open a writer. Reading and listing need only an API key.