Baseline Verify
baseline_verifyVerify whether a rebuild reproduces a pinned baseline by re-resolving pinned items and comparing revisions and content fingerprints; catches drifted or missing inputs.
Instructions
Verify a rebuild against a pinned baseline (issue #142, C3) — the reproducible- rebuild gate. Re-resolves every pinned item from the current registry + artifacts and checks it still matches the pinned rev AND content fingerprint; a drifted input (changed bytes, a bumped rev, a vanished item) is caught, never silently accepted.
baseline: path to the baseline sidecar. registry: path to the current items.json sidecar. base_dir: artifact root for fingerprinting (defaults to the registry's directory).
Returns {ok, label, drifted (item/field/expected/actual), missing} — ok is True iff the rebuild reproduces the baseline exactly.
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": {
"baseline": "<baseline>",
"registry": "<registry>"
},
"name": "baseline_verify"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base_dir | No | ||
| baseline | Yes | ||
| registry | Yes | ||
| workspace | No | Run this call in this named workspace |