pingqiuandClaude Opus 5.5 02c153b066 fix: a fresh store's chunks that its claimed HEAD does not name start known-zero
A fresh store (its .chunkfresh marker present at the attach, no BASE) has
never had a write or a fill reach it, so every chunk its claimed HEAD
does not name is zero on both sides. Its attach samples, under the
capture barrier, the token of each such chunk whose owned-map entry is
still the creation value, and clears only their UNKNOWN through the cut's
own map publication, before the attach commit. The first cut of a fresh
volume, hand-over target or restore target then scans only the chunks
written since, not every chunk of the volume. Chunks HEAD names stay
absent and are hydrated from HEAD.

The premise is enforced: every implementation other than walstore-chunk,
explicit as well as auto, refuses a root carrying chunk metadata, so no
plain walstore write can reach a store whose marker says none did.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 21:59:08 -08:00
Languages
Go 84.5%
Rust 7.9%
Shell 2.7%
templ 1.6%
Java 1%
Other 2%