Repository navigation
Move Positional file geometry into CID-bound metadata - #69
Merged
Merged
Conversation
Move Positional chunk geometry into canonical CID-bound application JSON, translate byte ranges to element-index ranges, and include root metadata in write-plan dependencies. Pin the exact Core root-only metadata implementation. Co-authored-by: Codex <codex@openai.com>
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.
Positional roots now carry count and an opaque payload CID. UnixFS stores canonical chunk-size/total-size JSON under that CID, verifies it before translating byte ranges to Core index intervals, and includes metadata in candidate dependency closure. Both ordinary and encrypted file writers use the same application contract.
Pins the exact Core implementation in DeWebProtocol/malt-core#221. Retired structural geometry is removed without compatibility readers.
Validation: full unixfs, model, planner, writeplan, and affected evaluation packages pass with GOWORK=off; go vet ./... and go build -buildvcs=false ./... pass. The Windows full suite was run and has filesystem/platform-specific failures; this PR runs the repository Linux suite and cross-platform compilation before integration.