Repository navigation
Attest native source identity from certified PostgreSQL state - #48
Merged
genedna merged 3 commits intoOct 6, 2026
Merged
Conversation
Ivanbeethoven
marked this pull request as ready for review
October 5, 2026 18:04
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.
Attest native source identity from a persisted UUID and an actual certified native publication. One repeatable-read primary PostgreSQL snapshot verifies the READY association, bounded commit/tree bytes, typed Git hashes, parsers and commit-to-root-tree relationship before constructing the opaque SourceSnapshot and NamespaceView. Explicit bootstrap serializes with native writers and preserves uncertain-commit retries; migration creates no implicit identity.
The object byte checks use the stored payload. The Tree converter stores size metadata as zero, so that field is not an object-length authority. Regression tests prove a valid baseline, show unrelated size metadata cannot change the attested identity, and retain rejection of corrupt, oversized, malformed, missing and mismatched objects.
Complete Linux repository gates passed at
a1f02ce4288ade52d58aee4e133df7fcbc92631a: https://github.com/gitmono-dev/mega2/actions/runs/37343889787.source .env.test && cargo test --all, and cleanup passed.This private factory grants no read, policy or retention authority. HTTP/runtime serving, physical GC, MST/2 wire and schema2 remain outside this change. The PR is stacked on #47 and pins the reviewed namespace codec revision. No deployment or benchmark result is claimed.