Skip to content

evidence-hash-mismatch

Rung evidence · correctness · default error

A frame’s LFS pointer names another oid than the manifest’s sha256, or another size than its bytes.

Frames are content-addressed: the hash in the manifest is the frame’s identity. Git LFS hashes with SHA-256 too, so a pointer’s oid must equal the manifest’s sha256, and its size the manifest’s bytes, and lint checks both without downloading the file. When they differ, the frame that records cite is not the frame in the repository, and a screenshot has been swapped without anyone saying so. The message names both values. A pointer that mismatches is still a pointer, so the frame is also listed by evidence-not-pulled. This rule examines pointer frames only: lint never hashes a pulled file, and gantry evidence verify re-hashes them and reports a changed one under this rule.

Re-add the frame with gantry evidence add, or restore the original file.

docs/design/evidence/manifest.yaml:7: error evidence-hash-mismatch: frame 037-ios-01: its LFS pointer has oid 91c2…, and the manifest sha256 ab3f…