feat(core): add canonical version-set identity - #44
Merged
Windsor Nguyễn (windsornguyen) merged 2 commits intoAug 13, 2026
Merged
Conversation
Windsor Nguyễn (windsornguyen)
requested review from
annyzhou and
Catherine Di (cathydi)
August 8, 2026 07:42
Windsor Nguyễn (windsornguyen)
force-pushed
the
feat/version-set-identity
branch
2 times, most recently
from
August 8, 2026 08:21
deeb9e0 to
dde4a46
Compare
Windsor Nguyễn (windsornguyen)
removed request for
annyzhou and
Catherine Di (cathydi)
August 8, 2026 22:29
Windsor Nguyễn (windsornguyen)
force-pushed
the
feat/version-set-identity
branch
from
August 11, 2026 01:18
dde4a46 to
6b819fc
Compare
Dedalus (dedalus-ai)
approved these changes
Aug 11, 2026
Windsor Nguyễn (windsornguyen)
force-pushed
the
feat/version-set-identity
branch
from
August 11, 2026 01:35
6b819fc to
3e5c1dd
Compare
Windsor Nguyễn (windsornguyen)
force-pushed
the
feat/version-set-identity
branch
from
August 11, 2026 01:40
3e5c1dd to
4f76b58
Compare
Dedalus (dedalus-ai)
approved these changes
Aug 11, 2026
Windsor Nguyễn (windsornguyen)
force-pushed
the
feat/version-set-identity
branch
from
August 11, 2026 01:52
5c1b0d3 to
03f2a12
Compare
Dedalus (dedalus-ai)
approved these changes
Aug 11, 2026
1 task
Co-authored-by: Codesmith <codesmith-bot@users.noreply.github.com>
Windsor Nguyễn (windsornguyen)
force-pushed
the
feat/version-set-identity
branch
from
August 12, 2026 23:05
03f2a12 to
c7afd61
Compare
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.
Depends on #43.
What does this change?
This PR adds the typed identity for an immutable dependency version set.
An ecosystem adapter supplies the root record for a canonical Merkle directed acyclic graph. Bessemer hashes the exact content-addressed object with the repository's configured digest algorithm. Cryptographic domain separation keeps a version-set identity distinct from other content digests.
The type system prevents code from using an arbitrary content digest as a version-set identity. Golden tests fix the serialized format. Mutation tests verify that a semantic input change produces a different identity.
This PR adds only the identity type. Lockfile import, selected dependency closures, and package materialization remain separate RFC 0001 milestones.
How was it tested?
cargo test --locked -p bsmr_common version_setpassed two tests.cargo build --locked --bin bsmr.pnpm run ci testpassed 33 tests.git diff --check origin/feat/pnpm-adapter-m0..feat/version-set-identity.CLA/Vouch check passes, or this PR only updates
VOUCHED.td.