gpu-proof merge: shard receipts, re-signed; tri-state config fix - #7
Merged
Conversation
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.
What
gpu-proof merge(new subcommand +merge.py): union N shard receipts from one commit into a single re-signed receipt. Large suites run GPU tests as several pytest invocations (per-module crash isolation, machine sharding); each emits its own receipt, and CI wants one artifact.schema_version,repo.commit_sha,fingerprint,mode, or theenvironmentthe tests ran under. Duplicate node IDs across shards are a hard error (a sharding bug, never silently deduped).repo.dirtyis OR-ed;gpu_infosurvives CPU-only shards; per-shard provenance recorded undersession.shards(additive — the verifier is unchanged, schema stays "1"; the merged receipt is re-signed locally and flows throughgpu-proof verifyas-is).docs/security_model.md: the merged receipt is an attestation by the merger; shard signatures are provenance, not re-verified (merge is offline).[tool.gpu_proof](resolve() detected "set" by comparing against the default). Value-taking options now register aNonesentinel;--gpu-proof-fail-on-skipORs with toml since a store_true flag can only turn it on. Regression test included.docs/sharding.md(in nav), CHANGELOG, version 0.2.0.Testing
mkdocs build --strictclean.gpu-proof merge→gpu-proof verifypasses all seven checks (real SSH key, live GitHub keys, real fingerprint + commit SHA).--gpu-proof-out/--gpu-proof-fingerprint-pathsvalues that differ from the built-in defaults, so the tri-state change is behavior-preserving there.