Skip to content

fix(wcm): waive evidence verification explicitly in mock demos - #127

Merged
imran-siddique merged 1 commit into
mainfrom
fix/wcm-explicit-verification-waivers
Sep 25, 2026
Merged

imran-siddique merged 1 commit into
mainfrom
fix/wcm-explicit-verification-waivers

Conversation

@imran-siddique

Copy link
Copy Markdown
Member

Companion to agentrust-io/weight-custody-manifest#159. The next WCM release requires cryptographic evidence verification unless a manifest waives it, and meets GPU confidential-compute mode only with a verified report. These demos run on SoftwareProvider, which nothing can verify, so their manifests now waive both explicitly.

_mock_attestation.waive_mock_verification() adds require_evidence_verification: false and require_cc_mode: false only when the installed SDK has the new field. On 0.28.4 it does nothing, since that release rejects the unknown field. That lets this merge first; WCM's required downstream-examples check runs against this repo's main.

Wrapped: closed_model_e2e, open_model_e2e, refuse_and_wipe, revocation_kill_switch, sovereign_self_custody, real_open_model, real_lora_custody. run_demos.py skips _-prefixed helpers.

Checked with run_demos.py --no-tests on PyPI 0.28.4 and on a wheel from the WCM branch: every offline demo passes on both. Before this change five failed on the branch wheel. refuse_and_wipe still refuses on "measurement not in accepted_measurements". Not run here: provenance_model_signing and the pytest files, because Windows Application Control blocks a rfc3161_client DLL on this machine; CI runs them.

Once WCM 0.29.0 is out, the helper can go and the waivers can be inlined.

Generated with Claude Code

The next WCM release requires cryptographic evidence verification
unless the manifest waives it (WCM #159). Mock attestation has nothing
to verify, so the demos say so. No-op on 0.28.4, which lacks the field.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@imran-siddique
imran-siddique requested review from a team and carloshvp as code owners September 25, 2026 21:04
@imran-siddique
imran-siddique merged commit 3555389 into main Sep 25, 2026
18 of 19 checks passed
@imran-siddique
imran-siddique deleted the fix/wcm-explicit-verification-waivers branch September 25, 2026 22:21
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