VSO · Public research resources

VAP reproduction: select a baseline, run checks and report results

Prepare an attributable comparison of the experimental evidence-pack demo. Keep reference-code reruns, independently written verifiers and historical evidence rechecks distinct.

1. Choose the claim you want to examine

This guide helps a reviewer prepare an attributable comparison of the synthetic vap-interop-demo/0.2.0 package. It does not announce an independent reproduction or invite production evidence uploads. Begin with External implementation handoff and reporting boundaries and choose one of three activities.

ActivityWhat you doWhat to call it
Recheck saved evidenceInspect existing inputs, digests and a dated transcript.A historical-evidence recheck; not a fresh execution.
Run the same code againBuild and execute the selected reference implementation in a recorded environment.A fresh reference-code run. Who controls the environment and conclusion still needs attribution.
Implement the contract independentlyWrite a verifier from the selected contract and evaluate unchanged inputs without importing, copying or mechanically translating VSO reference code.An independent-implementation submission, subject to the existing challenge's review; another language alone is insufficient.

The executable examples below demonstrate the second activity. They are useful for inspecting the reference behavior; running them does not create an independently authored verifier. The challenge requirements remain in issue #2 and the recruitment brief.

2. Pin the contract, implementation and dataset separately

The contract ID alone is not a complete revision identifier. The published challenge selects tag vap-interop-demo-v0.2.0, commit cbd4502a0a6d1cd9b7b9d611a849888272d14abb. Use its Published challenge contract at the fixed prerelease and Fixed eight-pack manifest: trust choices, digests and expected exits for that comparison.

The source reviewed for this guide is cecaad292e8c088f14cfcc5396790e5f5474a73a, the main snapshot checked on 29 November 2026. Its Reviewed development contract, including Ed25519 input checks includes explicit Ed25519 input checks added after the release. The original eight-pack manifest remains unchanged. The reference-run commands below deliberately select this later snapshot; they do not replace the challenge baseline or rename it as a new release.

The fixed release has a known small-order-key issue whose outcome depends on the cryptographic backend when the caller accepts substituted trust. The later checks are absent from the fixed tag and ZIP. Read Publication record, known issue and preserved preparation history before choosing a comparison. Keep supplementary Separate Ed25519 security regression and trust-substitution precondition results separate from the release's historical eight-vector record.

For every run retain four selections: contract-text commit and digest, implementation commit, dataset commit and manifest digest, and the explicitly chosen trust-file digests. A new baseline or interpretation needs an explicit discussion in the existing review, not silent replacement of the selected inputs.

3. Prepare an isolated reference run and preserve input digests

Use Git, a POSIX shell, Python 3.12 and Node.js 24. The existing runner checks these versions and its direct Python dependencies. Installation requires network access and available packages; Dated dependency constraints used by the reference runner is a dated version record, not a preserved wheel archive.

This example selects the reviewed, hardened development snapshot for a reference-code run. It creates a fresh temporary directory with results and a virtual environment outside the source checkout.

repro_dir="$(mktemp -d "${TMPDIR:-/tmp}/vap-reproduction.XXXXXX")"
(
  set -eu
  test -d "$repro_dir"
  git clone https://github.com/veritaschain/vap-spec.git "$repro_dir/vap-spec"
  cd "$repro_dir/vap-spec"
  git checkout --detach cecaad292e8c088f14cfcc5396790e5f5474a73a
  mkdir "$repro_dir/results"
  git rev-parse HEAD > "$repro_dir/results/source-commit.txt"
  python3.12 -m venv "$repro_dir/venv"
  "$repro_dir/venv/bin/python" -m pip install \
    -r interop/vap-evidence-pack-demo/requirements.txt \
    -c interop/vap-evidence-pack-demo/release-preparation/2026-11-07/constraints.txt
  "$repro_dir/venv/bin/python" -m pip freeze > "$repro_dir/results/python-packages.txt"
)

Continue in the same shell so repro_dir remains available. Stop and inspect a setup failure before proceeding. Confirm the full commit in source-commit.txt. Save the actual OS/architecture, Python, Node.js and cryptographic dependency versions, exact commands and working directory. Transfer the results to retained storage before removing the temporary directory.

Before running, record SHA-256 digests of the selected CONFORMANCE.md, manifest, packs and trust files, and compare fixture hashes and byte sizes with the manifest. Keep original bytes: parsing and reserializing JSON can remove duplicate keys or change number tokens. Generated or modified probes belong to a separate dataset.

4. Run existing checks without losing errors

The existing reproduce.sh checks the toolchain, compares committed fixtures without rewriting them and runs the package's tests. The following wrapper only preserves stdout, stderr, UTC start/end and the exit code outside the source tree; it adds no verifier interface or acceptance criterion.

(
  set -eu
  cd "$repro_dir/vap-spec"
  date -u '+%Y-%m-%dT%H:%M:%SZ' > "$repro_dir/results/reference.started.txt"
  if VAP_DEMO_PYTHON="$repro_dir/venv/bin/python" \
    sh interop/vap-evidence-pack-demo/reproduce.sh \
    > "$repro_dir/results/reference.stdout.txt" \
    2> "$repro_dir/results/reference.stderr.txt"; then
    repro_status=0
  else
    repro_status=$?
  fi
  printf '%s\n' "$repro_status" > "$repro_dir/results/reference.exit.txt"
  date -u '+%Y-%m-%dT%H:%M:%SZ' > "$repro_dir/results/reference.finished.txt"
  cat "$repro_dir/results/reference.stdout.txt"
  cat "$repro_dir/results/reference.stderr.txt"
  exit "$repro_status"
)

A nonzero runner exit means setup or a check failed. Read the saved output. A successful runner indicates agreement with the tests it actually executed at the recorded revision, not independent authorship, full VAP conformance or a production assessment.

Historical files are examples of what an earlier first-party run retained, not blank forms to overwrite: Historical first-party release-preparation record and Historical first-party release-preparation transcript. Do not transplant the historical test count or result into a fresh report.

5. Retain every case, including expected rejections

Fixed eight-pack manifest: trust choices, digests and expected exits specifies two PASS / 0 and six FAIL / 1 expectations per verifier. ERROR / 2 is a usage or file-access failure and cannot stand in for an expected rejection. Exact failure-message wording is not a compatibility requirement.

Expectations, not execution results from this page
PackTrust fileExpected verdict / exitCondition
valid-pack.jsondemo-trust.jsonPASS / 0Two attempt/outcome pairs
valid-six-events.jsondemo-trust-six.jsonPASS / 0Three pairs; uneven Merkle tree
invalid-tampered-event.jsondemo-trust.jsonFAIL / 1Changed signed event content
invalid-omitted-outcome.jsondemo-trust.jsonFAIL / 1An outcome omitted from a re-signed pack
invalid-split-view.jsondemo-trust.jsonFAIL / 1Conflicting signed observer root
invalid-omitted-pair.jsondemo-trust.jsonFAIL / 1A pair omitted while expected count is retained
invalid-rebound-scope.jsondemo-trust.jsonFAIL / 1Attempt to replace the pinned scope
invalid-untrusted-signer.jsondemo-trust.jsonFAIL / 1Signer outside the configured role binding

For individual results, run the package's existing interfaces from the demo directory, using the prepared environment and each manifest row's exact pack/trust pair:

python verify_python.py PACK --trust TRUST --json
node verify_node.mjs PACK --trust TRUST --json

PACK and TRUST above are placeholders, not literal filenames. Use $repro_dir/venv/bin/python for Python. Preserve stdout, stderr and the exact exit separately for every case, including expected exit 1. Do not let a shell's stop-on-error behavior discard the remaining cases.

Read each JSON verdict and recorded exit together. The contract's JSON fields are contract_id, verdict, checks and error. A usage error may exit before JSON exists; an empty output file is not a valid report. A case not executed has no observed verdict. Record absent tools, unsupported checks and incomplete runs as such.

For a PASS, the required check names/order are defined by the selected contract. Filename recognition or schema validation alone is insufficient. If you are evaluating an external implementation, use its documented build and interface and retain its raw outputs separately from the reference run.

Select trust separately from the pack; the six-event pack uses its own trust file. Public synthetic role secrets establish no real identity, and the demo receipt is not an external timestamp. A replacement trust file needs its own authenticated provenance.

If results differ, compare source, raw bytes, trust and toolchain before inspecting the first different check. Optional canonical-byte or computed-root diagnostics add no required interface. Supplementary security cases remain separate. This demo has no evaluation-time or configurable policy flag; do not invent them. Its restricted representation is not full RFC 8785.

Declared-scope verifier: a different contract and exit-code model uses a different contract: its verify command may exit zero with a negative or indeterminate report. The demo's PASS/FAIL/ERROR exits do not transfer to that tool.

6. Attribute the work and assemble a reviewable record

The independent-implementation challenge requires a publicly reviewable, OSI-licensed repository maintained outside VeritasChain, no import/copying/mechanical translation of VSO reference code, and disclosure of method, affiliations and reused libraries. The recruitment brief also addresses organizational or financial dependence for the technical conclusion. Another process, language, account or key does not establish independence.

Use the following as an informative report checklist, not a new schema or acceptance gate:

  • Activity and inputs: historical recheck, fresh reference run or independent implementation; exact contract, implementation, dataset and trust revisions/digests.
  • Attribution: executor, code author, environment owner, affiliations, who selected trust, and assistance, fixes or access supplied by VSO or others.
  • Execution: environment/dependency versions, commands, working directory, UTC times, and complete stdout, stderr and exits for every case.
  • Comparison: expected versus observed outcomes, unsupported/unexecuted checks, discrepancies, separate supplementary probes and bounded conclusions.
  • Disclosure: restricted artifacts and permission to publish results, names, affiliations and raw evidence.

Keep the external maintainer's run, VSO's reproduction and reference comparisons separately attributable. Agree evaluation authorization separately from publication permission. Preserve restricted originals and identify withheld material; do not silently edit evidence. An expected rejection is agreement with a case, not a PASS for its evidence.

7. Use the existing review route and keep claims bounded

For an attributable independent-implementation submission, use issue #2; issue #5 tracks reciprocal reproduction and discrepancy review. The selected contract and those issues govern acceptance. This guide opens no new review gate and sends no submission or outreach.

Experimental extensions remain unadopted, and independent third-party reproduction has not been established by these materials. A local compatibility result is not a common adopted VAP Evidence Pack format, full VAP/profile conformance, certification, production anchoring, trusted time, real-world party identity or complete event capture.

Source review: . This page supplies instructions and source-derived expectations; its publication is not a new research execution. Preserve historical transcripts, fixed releases and signed bytes. For adjacent tasks, see proposal status, software versions and known gaps and Explorer result interpretation.

Sources and reviewed revisions

This page summarizes public materials at pinned commits. Creating it is not a new research test run. Historical test records and fixed distributions remain unchanged.