Baseline Create
baseline_createCreate an immutable labeled baseline snapshot of an items registry to pin artifact bytes for reproducible, byte-verifiable 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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"label": "<label>",
"registry": "<registry>"
},
"name": "baseline_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| out | No | ||
| note | No | ||
| items | No | ||
| label | Yes | ||
| base_dir | No | ||
| registry | Yes | ||
| workspace | No | Run this call in this named workspace |