refactor(proof): write and probe the seed fingerprint from a plan - #213
Merged
Merged
Conversation
flang/proof/binary-fingerprint.fscript writes bootstrap/flang.seed-sha256 and, with -- --forgery, runs the four probes on a copy of bootstrap/. corpus-share.sh loses its fingerprint modes; the build command, CI and the provenance hint call the plan. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PNHrA3rG7FTWhB11E7pjDQ
flang/proof/kernel-verdict.fscript asks the kernel about every source a record of the tree names, against a ledger built from a commit or given as a file. kernel-verdict-forgery.fscript is its probe: a lie committed with its record passes the share ledger and is refused here. corpus-share.sh loses both modes; its self-test calls the probe plan. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PNHrA3rG7FTWhB11E7pjDQ
flang/proof/records-nesting.fscript prints every corpus record again with the kernel of the tree and compares it byte for byte, after the same seed freshness test as before; it takes -- --root for the self-test. share-ledger-forgery.fscript is the ledger probe. Both modes leave corpus-share.sh; CI, the short commands and the docs call the plans. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PNHrA3rG7FTWhB11E7pjDQ
The ledger probe, the seed fingerprint probe and the corpus nesting check now get FLANG_TMP from the runner like the other steps; their plans default to /srv/tmp, which the runner does not have. The plans now say which variable to set when no temporary directory is made. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PNHrA3rG7FTWhB11E7pjDQ
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.
Verified on the tree of dev plus this branch (334866f): the checker test set passes, the provability verdict is green with all four checks, the proved-share ledger and the rule tables agree with the tree, pre-push is green, commit messages follow the convention.
🤖 Generated with Claude Code