Refuse a file entry with no hash when loading a manifest (closes #194) #202

Merged
clawbot merged 1 commits from issue-194-refuse-entry-with-no-hash into next 2026-10-13 18:04:48 +02:00
1 Commits
Author SHA1 Message Date
sneak e779032dcd Refuse a file entry with no hash when loading a manifest (closes #194)
check / check (push) Waiting to run
Loading accepted a file entry whose hashes list was empty. check and
fetch then failed the file as a hash mismatch, and freshen left it out
of the rewritten manifest without a word.

NewManifestFromReader now refuses such an entry, naming its path, after
checking the path itself. freshen's addExistingToBuilder returns an
error for an entry with no hash instead of skipping it. The file entry
table in docs/FORMAT.md says readers reject an entry with none.

Model: opus-5-5
2026-10-13 15:13:11 +00:00