Skip to content

Make verifier challenge cases language-neutral data - #68

Open
aruintelligence wants to merge 5 commits into
mainfrom
adoption/data-defined-verifier-challenge-20260909
Open

Make verifier challenge cases language-neutral data#68
aruintelligence wants to merge 5 commits into
mainfrom
adoption/data-defined-verifier-challenge-20260909

Conversation

@aruintelligence

Copy link
Copy Markdown
Owner

Clean-room interoperability hardening

The External Verifier Challenge previously described its cases in JSON, but the exact tampered inputs were still constructed inside scripts/run-verifier-conformance.mjs. An outside implementer therefore had to inspect or execute reference harness code to know the precise mutation bytes.

Fix

  • add conformance/verifier-challenge-cases.json (aml-verifier-challenge-cases/1);
  • define exact evaluation time, expected validity and mutations as data;
  • mutations use the narrow aml-json-pointer-replace/1 profile with RFC 6901 JSON Pointer paths;
  • make conformance/verifier-challenge.json point at the case corpus instead of duplicating prose mutations;
  • make the black-box harness load and execute the case corpus rather than hard-code purposeTamper / challengeTamper objects;
  • include the case corpus in the reference-code-free External Verifier Kit;
  • regression-test the exact historical cases and prove the harness consumes the corpus.

Compatibility

The four externally visible cases and their expected results are unchanged:

  • golden-valid → true;
  • tampered-purpose → false;
  • tampered-challenge → false;
  • expired-challenge → false.

The exact historical tamper values are preserved.

Evidence boundary

This makes the challenge inputs independently readable and reproducible without reading reference harness source. Matching the corpus is still project-defined black-box interoperability evidence, not certification or proof of implementation independence.

Author: Daniel Jacob Read IV
Steward: ĀRU Intelligence Inc.™

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