mirror of
https://github.com/hanzoai/vfs.git
synced 2026-11-23 17:59:27 +00:00
vfs reseal --from OLD never looked at the copy: only the path without --from opened the root shard, so a copy with no shards was resealed in silence and left a Head that opens to nothing, and neither path looked at packs. Both paths now require the root shard to open at the new place under the Volume id the Head names and to hold the root directory, which also refuses a Head of another Volume and, for the key-only path, an object of another kind (a chunk's bytes are a guest's to choose) that a writer of the store copied where the Head goes. Config.Verify, `vfs reseal --verify`, reads every shard the Head reaches and checks that every pack a chunk record names is there and long enough. The reads of the attempts of one Reseal share a cache. A directory named by a file:// URL was created by opening it, so `--from file:///typo` made /typo. Opening makes nothing now: the first write does, and the name of a directory that is not there is the name it will have. Claude-Session: https://claude.ai/code/session_015XYKLnBbrbajqj1GpRydF8