Skip to content

feat(weight-custody-manifest): comprehensive per-feature example catalog - #64

Merged
imran-siddique merged 1 commit into
mainfrom
feat/wcm-examples-catalog
Jul 28, 2026
Merged

feat(weight-custody-manifest): comprehensive per-feature example catalog#64
imran-siddique merged 1 commit into
mainfrom
feat/wcm-examples-catalog

Conversation

@imran-siddique

Copy link
Copy Markdown
Contributor

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: chained derived_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.txt bumped to >=0.21.0.
  • A CI step per example under the weight-custody-manifest job; the provenance step installs the model-signing extra first.
  • README reorganized around closed-vs-open and the feature groups.

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

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>
@imran-siddique
imran-siddique merged commit 07f9c69 into main Jul 28, 2026
17 checks passed
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.

1 participant