Repository navigation
Anchor the continuity floor and add explicit full bootstrap - #38
Merged
Merged
Conversation
Checkpoints re-stored every reachable Git object in a new pack, which duplicates existing ciphertext and is not needed to skip old manifest validation. Fresh devices verify the full history with bootstrap --force-full-check instead. A format 1 floor from the released helper no longer blocks every operation: the client walks from genesis, requires the walk to reach the pinned head, and rewrites the floor with its authenticated anchor.
After the helper's list advanced the floor, import_packs saw only the anchored head and fell back to a bounded genesis walk, which fails once history exceeds the cumulative budget. Pack inventory now extends the authenticated chain backwards through content-addressed previous links and predecessor-key commitments, down to the checkout's import progress. verify and the re-import fallback use the same walk, so they no longer depend on the cumulative budget. The spec now scopes pack-ID uniqueness to the segment a client reads: a repeated older ID cannot decrypt under a new generation and ordinal. The guide states that recovery discovery stays bounded.
hmirin
marked this pull request as ready for review
November 16, 2026 11:22
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.
Stacked on #37.
What this does
HEADback to that manifest instead of walking to genesis, so normal operations stay within the 64 MiB / 1,000,000-operation cumulative budget as history grows.git-e2ee bootstrap <target> --force-full-check. Explicit first-use path for a fresh device whose legitimate history exceeds the normal budget. It authenticates every manifest, imports every pack, and checks the full Git graph. Per-object limits still apply; time and memory grow with history length.bootstrap --force-full-checkon that device.Removed from the earlier revision
checkpoint create/checkpoint import --expected-idare gone. A checkpoint re-stored every reachable Git object as a new pack, which duplicates existing ciphertext and is not needed for skipping old manifest validation. TheCheckpointmanifest authorization is back to reserved-and-rejected. A small signed "verified point" for passing rollback anchors between devices can be designed separately if needed.Tests
cargo test --all-targets,cargo clippy --all-targets -- -D warnings,cargo fmt --checkpass locally. New:anchorless_floor_from_an_earlier_release_is_checked_and_upgraded.