Repository navigation
docs(tasks): file validate passing an object without reading its version inventories - #7
Merged
adammharris merged 1 commit intoNov 5, 2026
Conversation
adammharris
deleted the
agent/backlog-file-validate-never-reads-a-version-inventory
branch
November 5, 2026 17:17
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Files one task,
docs/tasks/validate-never-reads-a-version-inventory.md, and lists it indocs/tasks/tasks.md. No code changes.Why
checkinmocfl/src/validate.rsnever opensvN/inventory.jsonor its sidecar. So an object with a corrupt or disagreeing version inventory gets the same verdict as a sound one:valid, and under--deep,content verified.rocflrefuses the same objects.This is partly a known gap. The README calls
validate"a floor" and lists "cross-inventory consistency between versions" among the checks it doesn't yet make. Two things were not recorded:ContentUnverifiablethat "not checked" must never read as "checked and fine".The task says this too, so it doesn't read as a new discovery.
Task
Opens
validate-never-reads-a-version-inventory. The nameagent/backlog-validate-never-reads-a-version-inventorystays free for the fix.How it was verified
mainat 496bad2, with mocfl built from source and rocfl 1.7.0, the versioncargo installgives CI. mocfl exits 0 and rocfl exits 2.OCFL_FIXTURES=… cargo test --test fixturesagainst OCFL/fixtures: 51 of 107 caught, matching the README. The task names the 11 missed fixtures this work should catch. It leaves out the fourE060_*(all sha512, which mocfl can't compute yet) and the twoE061_invalid_sidecar(sidecar format). The 11 are expected from the fix and not yet demonstrated.prov checkreports one finding, the unwrittenabout.md, which was there before this change.This change only touches documents, so no build gate applies.