Repository navigation
BS-32: the hash recipes of content identity as source (ContentId) - #460
Closed
humuhumu33 wants to merge 2 commits into
Closed
humuhumu33 wants to merge 2 commits into
humuhumu33 wants to merge 2 commits into
Conversation
…ecipes The second slice of the project manager as source (#274), on release/v0.4: the row (register 478 -> 479, the §31 table, the RP-07 check and its case), the scenario, the §17.23 prose, the CHANGELOG entry, the README's claim, the CI part and its Intel lane, and the case, conformance_bs_32, which holds ContentId's six roots to the recipes of artifact::content_id on hand-built inputs, on the committed projects' trees and source inputs, on the IDs of the 26 committed build manifests, each of whose build ID the oracle reproduces, and on seeded inputs, with 15 planted defects each named by its vector. VERIFICATION.md records the first run: the evaluator agrees on every run of each root, rustc on 3,733, and every plant is detected. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
bootstrap/src/ContentId.lex.tex over the standard library's Sha256: the frame of §21.1 and the tree digest, source, semantic, build, attestation, and PDF recipe IDs. Lean verifies the module and each root is eligible with exactly allocation and overflow. The entrypoint, the lock, the six export roots, and the project README follow. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Author
|
Landed in #480 (merge |
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.
Part of #274: the labeled hash recipes of content identity (
BS-32,artifact::content_id) as language-1.2 source, with six roots ofContentId:treeDigest,sourceId,semanticId,buildId,attestationId, andpdfRecipeId. It is the second slice of the project manager.Draft, on
release/v0.4. It imports only the standard library (Numeral,Sha256), so it stacks on no other slice.Design
Each root writes its recipe's domain, a NUL, and its frames (§21.1), then returns the 32 bytes of the message's SHA-256. A frame is:
The semantic ID frames the pinned Lean toolchain. Each root admits exactly
allocationandoverflow, and none admitsrecursion. Choosing and normalizing the files a digest covers, and serializing the IR, the closure, and the attestation body, stay in the host.The oracle is the existing public code of
content_id.rs. No Rust outside the case changes.Evidence
Measured on the normative host over
release/v0.4atcf76090d4:The oracle reproduces the recorded build ID of each of the 26 committed build manifests from its source and semantic IDs. Lean verifies the module, and the eligibility report gives each root exactly
allocationandoverflow.Gates at the head
cargo fmt --check,validate-model(479 IDs),validate-spec-links(479 rows), clippy on the workspace with-D warnings, the Intel lane plan test, and the 17 RP cases pass.CI is expected red until the regeneration
The six packages are not committed yet, so
conformance_bs_32stops at the stack-bound step after the differentials above have agreed. The landing regeneration will commit them.🤖 Generated with Claude Code