Skip to content

feat: add model-free receipt v1 verifier fixtures - #7

Open
nighshift-labs wants to merge 1 commit into
Daniele-Cangi:mainfrom
nighshift-labs:feat/receipt-v1-verifier
Open

nighshift-labs wants to merge 1 commit into
Daniele-Cangi:mainfrom
nighshift-labs:feat/receipt-v1-verifier

Conversation

@nighshift-labs

Copy link
Copy Markdown

Summary

  • add a dependency-free cryoflux.receipt.v1 canonical JSON and content-addressed evidence manifest verifier
  • distinguish VALID, INVALID, and UNVERIFIABLE outcomes without synthesizing missing evidence
  • preserve signed/negative observations and explicitly warn when energy evidence is unavailable
  • add adversarial synthetic fixtures for metric/artifact tampering, canonicalization changes, missing evidence, lineage shape, reordering, and NaN rejection

Validation

  • python3 -m unittest discover -s tests -p "test_receipt_v1.py" -v (8/8)
  • python3 -m py_compile cryo-orchestrator/receipt_v1.py tests/test_receipt_v1.py
  • git diff --check

This first slice does not claim honest hardware, honest execution, or scientific claim sufficiency from hashes alone. Historical v0.1 receipts are untouched.

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.

2 participants