Skip to content

docs(core): define hermetic build kernel - #45

Merged
Windsor Nguyễn (windsornguyen) merged 1 commit into
feat/version-set-identityfrom
docs/hermetic-build-core
Aug 13, 2026
Merged

docs(core): define hermetic build kernel#45
Windsor Nguyễn (windsornguyen) merged 1 commit into
feat/version-set-identityfrom
docs/hermetic-build-core

Conversation

@windsornguyen

@windsornguyen Windsor Nguyễn (windsornguyen) commented Aug 8, 2026

Copy link
Copy Markdown
Member

Depends on #44.

What does this change?

This PR documents Bessemer's hermetic build kernel.

The model contains three parts:

  • An action and artifact directed acyclic graph for computation.
  • Merkle trees for authenticated content.
  • A map from an action digest to output digests for reuse.

The document explains how immutable version sets compose with the content-addressed store and action cache. An action key includes only the reachable dependency closure. An unrelated package update does not invalidate the action.

The document also defines the hermeticity boundary, complexity properties, and direction for tenant-safe cache reuse. Similarity hashes can select candidates. They cannot authorize a cache hit.

How was it tested?

  • pnpm run ci test passed 33 tests.

  • cargo build --locked --bin bsmr.

  • git diff --check feat/version-set-identity..docs/hermetic-build-core.

  • Reviewed rendered links and Markdown structure locally.

  • CLA/Vouch check passes, or this PR only updates VOUCHED.td.

@windsornguyen
Windsor Nguyễn (windsornguyen) force-pushed the docs/hermetic-build-core branch 2 times, most recently from 0a68cf6 to 99b568d Compare August 11, 2026 01:40
Merged via the queue into main with commit ad03b6d Aug 13, 2026
11 of 19 checks passed
@windsornguyen
Windsor Nguyễn (windsornguyen) deleted the docs/hermetic-build-core branch August 13, 2026 00:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants