feat(weight-custody-manifest): comprehensive per-feature example catalog - #64
Merged
Conversation
Add eight focused examples covering the full WCM feature surface across both open- and closed-weight framings, each depending on the published PyPI package and wired into CI: - closed_model_e2e / open_model_e2e: the closed (secrecy) vs open (integrity, license, derivative custody) framings, side by side. - multi_stage_byom: SPEC 3.8 sequential re-custody, monotone rights, cascading revocation. - revocation_kill_switch: revoke then wipe on the next cadence lapse. - channel_binding: CVE-2026-33697 relay defense (sealed key release). - transparency_log: RFC 9162 inclusion + consistency + suppressed- revocation detection. - post_quantum: ML-DSA-65 and the Ed25519+ML-DSA-65 hybrid. - provenance_model_signing: the OpenSSF model-signing interop (needs the [model-signing] extra). - quote_verification: the verifier machinery against a synthetic PKI. Bump requirements to >=0.21.0, add a CI step per example (provenance installs the model-signing extra), and reorganize the README around the open-vs-closed framing and the feature groups. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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
Expands the WCM examples folder from a handful of demos to a per-feature catalog covering the full surface, across both open-weight and closed-weight framings. All depend on the published PyPI package (
weight-custody-manifest>=0.21.0) and run in CI.New examples (8)
closed_model_e2e.py/open_model_e2e.py— the closed (secrecy is the job) vs open (integrity, license, derivative custody) framings, side by side.multi_stage_byom.py— SPEC 3.8 sequential re-custody: chainedderived_from, monotone rights, cascading revocation.revocation_kill_switch.py— revoke, then the enclave stops at the next cadence lapse (key zeroized, not suspended).channel_binding.py— CVE-2026-33697 relay defense: the released key is sealed to the enclave's attested transport key.transparency_log.py— RFC 9162 inclusion + consistency proofs and suppressed-revocation detection.post_quantum.py— ML-DSA-65 and the Ed25519+ML-DSA-65 hybrid.provenance_model_signing.py— the OpenSSF model-signing interop (verify_provenance), needs the[model-signing]extra.quote_verification.py— the verifier machinery (cert chain + signature + nonce) against a synthetic PKI, passing and failing.Wiring
requirements.txtbumped to>=0.21.0.weight-custody-manifestjob; the provenance step installs the model-signing extra first.Verification
Every new offline example was run locally in a clean venv against the published 0.21.0 package (with the
[model-signing]extra for provenance): all exit 0. No em dashes.Note: the catalog builder stalled on a transient stream error after writing all eight scripts; I verified each runs, then did the requirements/CI/README wiring and this PR.
🤖 Generated with Claude Code