dsh-rerun-store
v0.1.2
Published
Content-addressed result store for dsh-rerun runs, attempts, and harvested artifacts
Maintainers
Readme
dsh-rerun-store
The result store: run manifests, attempt records, and a content-addressed object pool for the artifacts an attempt leaves behind.
Content addressing is not an optimization here, it is the comparability guarantee. Two attempts that produced the identical session log share one object, and an attempt record can never drift from the bytes it describes. It is also what makes rescoring cheap.
Every stored record carries STORE_FORMAT_VERSION, and a reader that meets an
unknown version refuses it by name. That refusal is the point: rescore and
trend read runs recorded months ago, and a shape change read as if it were the
old shape would not crash — it would move a trend line.
<root>/objects/<aa>/<hash> content-addressed artifacts
<root>/runs/<runId>/manifest.json the run's frozen inputs
<root>/runs/<runId>/attempts/<id>.json- id: rerun-store
name: 'dsh-rerun-store'
config: { root: .rerun/store }Model Experience
None. This package never contributes to a model request: it runs in the orchestrator process, and the model calls it cares about happen inside a separate attempt subprocess running a different build of DSH entirely.
KV Cache effect
None; it neither assembles nor sends a provider request.
Known Limitations and Deferred Work
- No migrations. An unknown format version is refused, not upgraded; the first incompatible change owns writing the migrator.
- Nothing prunes objects. A deleted run leaves its artifacts behind, and there is no garbage collection pass.
- Definition and backend ship together. The seam splits when a second backend exists — a shared server-side store for CI — and not before.
