pingqiuandClaude Fable 5.2 591a5a3b1c chunkstore, sw-block: verify the remote image against HEAD and snapshots
Add Catalog.Verify and 'sw-block ops chunk verify': a read-only check of a
volume's remote image at three depths (meta, bindings, data). GC's mark does
not look up the bindings of the keys it roots and never reads chunk data, so
a missing binding or a damaged needle was found only by a guest read.

A miss is reported only if its root still names the chunk: verify re-reads
HEAD (superseded during verify) or the snapshot attempt (root deleted during
verify) before reporting, since a pass can outlive GC's grace. A needle is
NEEDLE_MISSING only when the store answers not found; any other read failure
is retried and then reported as READ_ERROR (not verified). Exit code 3 means
the pass completed with findings.

The single-filer start check now also runs in the shared dial path of the
'ops chunk' commands and in gc.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-20 20:08:27 -08:00
Languages
Go 84.7%
Rust 7.7%
Shell 2.7%
templ 1.5%
Java 1%
Other 2.1%