feat: enforce sensing evidence claim gate - #1672
Draft
ruvnet wants to merge 2 commits into
Draft
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.
Summary
Adds the ADR-328 sensing evidence and claim gate as a strict Rust library and CLI.
The gate:
The committed policy deliberately enables research only. Production and safety are disabled until RuView has a real presence evaluator, artifact retrieval and hashing, and authenticated independent attestations. Even an enabling test policy can produce only
metadata_attested; production is neverclaim_releasable.CI now pins the policy digest, rejects an empty or improperly nested claim inventory, gates every manifest, retains receipts, associates changed benchmark/release/model-card surfaces with exact manifests, and places the enforcement path and claim surfaces behind CODEOWNERS. This workflow is repository evidence lint; it does not gate the external Hugging Face upload.
Validation
cargo test -p wifi-densepose-train --no-default-features sensing_claim_gate -- --nocapture: 25 passed, 0 failedcargo test -p wifi-densepose-train --no-default-features model_gates -- --nocapture: 13 passed, 0 failedresearch_only,metadata_gate_passed: truedenied,claim_releasable: falsebash -ngit diff --checkpassedAfter the full focused run, the final top-level benchmark surface allowlist extension passed its targeted unit test. The local runner then hit an unrelated permission error launching a filtered integration-test executable; CI should rerun the complete workflow.
Residual risk and honest scope
Related
ADR-298, ADR-304, ADR-328. Avoids the dependency and security-workflow surface of draft PR #1669.