baseline_create
Pin a labeled, immutable baseline of an items.json registry, capturing item revisions and artifact-byte fingerprints for verifiable, reproducible rebuilds.
Instructions
Pin a labeled, immutable BASELINE (issue #142, C3) — a {item: revision + content fingerprint} snapshot over an items.json registry (a git-tag / lockfile over the item graph) for reproducible rebuilds. The fingerprint pins the artifact BYTES, so a rebuild is verifiable byte-for-byte.
label: the baseline label (e.g. "v1.0"). registry: path to the items.json sidecar. items: optional subset of item ids to pin (default: every item). base_dir: artifact root for fingerprinting (defaults to the registry's directory). note: optional description. out: optional path — write the git-diffable baseline sidecar there.
Returns the baseline object. Deterministic: same state -> identical bytes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| out | No | ||
| note | No | ||
| items | No | ||
| label | Yes | ||
| base_dir | No | ||
| registry | Yes |