All pages
The model
Artifacts hold versions; versions hold files. One writer per artifact, and versions only ascend.
| Term | Is | For checkpoints |
|---|---|---|
| Artifact | A path you choose, slashes allowed: experiments/hoonshot/1234 | One run's checkpoint location |
| Version | An immutable, named set of files under an artifact, plus a little JSON meta | One checkpoint, step-00000510 |
| Latest | The greatest committed version name, always the last one written | What --resume latest takes |
| Writer | The one holder allowed to add versions | The run; a new box resuming fences the old one |
| Full path | o41://<artifact>/<version>; names have no slash, so the last segment is the version | o41://experiments/hoonshot/1234/step-00000300 |
| Note | A small blob beside the versions, replaced whole, not part of any version | An evaluator's evaluated.json |
Names
| Name | Length | Characters | Not allowed |
|---|---|---|---|
| Artifact | 1–512 | Slash-separated segments of letters, digits, ., _, - | Empty, . or .. segments |
| Version | 1–128 | Letters, digits, ., _, - | latest |
| File | 1–256 | Letters, 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:
| Mode | Empty artifact | Artifact with versions | Checkpoint use |
|---|---|---|---|
latest | Opens; nothing to continue from | Opens and returns the latest, signed | --resume latest |
new | Opens | 409 not_empty | A run without --resume |
fork | Opens a fork, records the source, returns the source signed | 409 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.
newis 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.