Skip to content

Registry index sha256 no longer matches the pinned value

Type URI: https://modeled-information-format.github.io/mif-rs/references/errors/index-pin-mismatch/v1 HTTP status: 409 Exit code: 1 Emitted by: mif-rh (MifRhError::IndexPinMismatch)

registry index sha256 changed from the pinned value for source {registry_source} (pinned {pinned}, got {got}) — refusing to trust a moved index (clear index_sha256 in the lock to re-pin deliberately)

The registry index’s sha256 no longer matches the value pinned in ontologies.lock.json for the same source. Under the trust-on-first-use model, that pinned hash is the trust root for the index, so a mismatch means the trust root itself moved underneath the lock.

Unspecified — confirm the registry source is trustworthy, then clear index_sha256 in ontologies.lock.json to re-pin deliberately, or investigate why the trust root moved.