VAPVERIFIABLE AI PROVENANCE

30 October follow-up: evidence preservation, rechecks and guide notices

VAP #33 binds publication, disclosure and authorization; #34 covers scoped erasure; #35 preserves 53 original evidence cases and an offline kit; #36 generates bilingual reports; #37 maps 23 requirements and provides review handoff; #38 checks sending prerequisites during collector outage and recovery. VCP guide #3 and #4 distinguish illustrative SDK names from the available SDK, and historical certification procedures from VSO’s current role.

Runtime checks passed first-party Python 3.12 / 3.14 CI. Saved-evidence rechecks are not fresh runs; automated reports are not human review. Proposals and extensions remain unadopted; independent third-party reproduction is not established. Erasure is not universal deletion; collector evidence is not independent observation or all-route bypass prevention. Historical tests and fixed distributions remain intact.

Read the eight updates and limits →

30 October: evidence assessment, uploads and authorization research

VAP PR #30 proposes evidence bindings; #31 provides an offline assessor (20 test methods; 23/23 matching scenarios); #32 exercises loopback uploads (39 methods; 17/17 upload cases and 17/17 evidence rechecks match). Evidect #20 adds a synthetic authorization gate (37 tests; 18 scenarios); #21 adds optional SQLite replay reservations (33 new tests; 70 gate-specific tests and four process scenarios). Counts remain separate by scope.

All results are first-party CI checks. Upload case UL-14 shows a successful bypass outside the gate, not OS isolation or production bypass prevention. Experimental extensions remain unadopted; independent third-party reproduction is not established. Historical 159 / 26 and 306 / 140 test records and fixed distributions are preserved.

Read the five updates and limits →

VSO updates SDK evidence checks, the Explorer demo and Evidect reproduction guidance

29 October: stricter SDK inputs, an API-connected signed-evidence Explorer route and Evidect reproduction guidance are available. The legacy dashboard and historical 159 / 26 and 306 / 140 test records remain separate. Experimental extensions are unadopted; independent reproduction is not established.

The new demo uses signed synthetic evidence; intact full evidence is still INDETERMINATE. The API-disconnected / unsigned description in the 27 October record applies to the legacy dashboard.

Read the update and limits → · SDK Evidence Demo · Evidect

VSO updates VAP-LAP references, VAP errata and SDK boundary checks

28 October: VAP-LAP proposal links, current Draft 3 errata/hash references and SDK boundary checks are available. SDK first-party CI passed 306 Python and 140 TypeScript tests per matrix job, including 13 shared cases and 15 focused tests per language. The Explorer 159-test notice below is retained separately. Experimental extensions remain unadopted; independent reproduction has not been established.

Read the update and limits →

27 October: Explorer API's 159 tests and public GUI update

The separate Explorer API fixed search-filter validation and exact nanosecond time-range comparisons. Its first-party CI passed 159 tests, with zero failures, cancellations, skips or TODOs. This is a repository/CI checkpoint, not confirmation of a production API deployment.

The public Explorer GUI now requires an explicit tree size for its inclusion calculation, handles uneven branches and rejects malformed proofs. The GUI's separate first-party suite passed 26 tests. The public page remains an API-disconnected demo with 12 synthetic leaves: unsigned, externally unanchored, and not hashes derived from the displayed event contents. A path matching a supplied root does not authenticate the root or tree size, or verify event contents, signatures or external anchors.

First-party publication checks exercised the 12 demo inclusion controls, notice placement at seven widths, and mobile controls. These checks are separate from the 159 API tests and do not establish independent reproduction. VAP's historical teaching snippets and the fixed RTA review target remain separate. VAP is still Draft 3; experimental extensions and proposed repairs remain unadopted, and independent third-party reproduction has not been established.

Detailed update and limits · API CI: 159 tests · GUI CI: 26 tests · First-party public-page checks

Home / Code

Illustrative, non-normative

Code examples

Minimal, dependency-light examples of the primitives VAP composes: canonical hashing, chained events, Ed25519 signatures, Merkle proofs, and RFC 3161 anchoring. Field names are illustrative — consult the specification for the normative schema, and GitHub for reference implementations.

1 · The shape of an event

{
  "event_id":  "0198f3a2-7c1e-7d2a-9b1e-2f6a0c9d4e11",
  "event_type": "DECISION_MADE",
  "occurred_at": "2026-08-19T02:14:07.412Z",
  "actor": { "actor_id": "model:risk-scorer", "actor_class": "AI_SYSTEM" },
  "policy": { "policy_id": "POL-2026-014" },
  "payload_hash": "sha256:9f2b…c41a",
  "prev_hash":  "sha256:5d80…7e0c",
  "event_hash": "sha256:b7a1…22f9",
  "signature": { "alg": "Ed25519", "key_id": "op-2026-01", "value": "…" }
}

2 · Chain and sign events (Python)

Canonical JSON → SHA-256 → prev_hash chaining → Ed25519 signature (pip install cryptography).

"""Illustrative, non-normative. Consult VAP v1.2 for the normative schema."""
import json, hashlib
from cryptography.hazmat.primitives.asymmetric.ed25519 import Ed25519PrivateKey

def canonical(obj) -> bytes:
    return json.dumps(obj, sort_keys=True, separators=(",", ":"),
                      ensure_ascii=False).encode()

def sha256_hex(b: bytes) -> str:
    return "sha256:" + hashlib.sha256(b).hexdigest()

key = Ed25519PrivateKey.generate()

def append_event(chain: list, body: dict) -> dict:
    prev = chain[-1]["event_hash"] if chain else "sha256:" + "0" * 64
    core = {**body, "prev_hash": prev}
    event_hash = sha256_hex(canonical(core))
    sig = key.sign(event_hash.encode()).hex()
    event = {**core, "event_hash": event_hash,
             "signature": {"alg": "Ed25519", "value": sig}}
    chain.append(event)
    return event

def verify_chain(chain: list) -> bool:
    prev = "sha256:" + "0" * 64
    for ev in chain:
        core = {k: v for k, v in ev.items()
                if k not in ("event_hash", "signature")}
        if ev["prev_hash"] != prev:                       return False
        if sha256_hex(canonical(core)) != ev["event_hash"]: return False
        prev = ev["event_hash"]
    return True

3 · Merkle root and inclusion proof (Python)

import hashlib

def h(b: bytes) -> bytes: return hashlib.sha256(b).digest()

def merkle_root(leaves: list[bytes]) -> bytes:
    level = [h(l) for l in leaves]
    while len(level) > 1:
        if len(level) % 2: level.append(level[-1])     # duplicate last
        level = [h(level[i] + level[i+1]) for i in range(0, len(level), 2)]
    return level[0]

def verify_inclusion(leaf: bytes, proof: list[tuple[str, bytes]],
                     root: bytes) -> bool:
    node = h(leaf)
    for side, sib in proof:                            # side: "L" | "R"
        node = h(sib + node) if side == "L" else h(node + sib)
    return node == root

4 · External anchoring with RFC 3161 (shell)

This shell example requests and inspects an RFC 3161 response. It does not verify the TSA signature, trusted certificate chain, policy, nonce or binding to the intended root, and does not by itself establish INT-006 satisfaction. Preserve the request, response and certificates for separate verification.

# Anchor a signed Merkle root with an RFC 3161 time-stamping authority
openssl ts -query -data anchor_root.bin -sha256 -cert -out req.tsq
curl -s -H "Content-Type: application/timestamp-query" \
     --data-binary @req.tsq https://tsa.example.org/ -o resp.tsr
openssl ts -reply -in resp.tsr -text        # inspect the token
# Keep req.tsq + resp.tsr + the TSA certificate in the Evidence Pack

5 · What a verifier checks

  1. Recompute event hashes from canonical JSON and compare.
  2. Walk the chain — every prev_hash matches its predecessor; no unexplained breaks.
  3. Check signatures (Ed25519 / RFC 8032) against registered operator keys.
  4. Verify Merkle inclusion of each event in its batch root.
  5. Validate the anchor — RFC 3161 token (or transparency-log proof) over the signed root.
  6. Check INT-008 bindings — compare the authenticated count, first/last event IDs and policy with the submitted set under an explicit evaluation policy. The legacy root-only AnchorRecord signature does not authenticate those metadata fields. An unauthenticated mismatch alone does not prove real-world omission or a split view.

A hash or signature match establishes only the check performed against the chosen reference and trust assumptions. Completeness and attribution require additional authenticated evidence and a defined scope; missing evidence remains unresolved. These examples do not establish that all actions were observed, or that the underlying decisions were correct, fair or safe.

Separate RTA verifier: fixed review checkpoint

The VCP RTA review instructions fix the target at cc695fe. This is a first-party PoC with legacy v1.1-labelled evidence, separate from the illustrative examples on this page, the VCP v1.2 candidate checker and the earlier VAP reproduction kit. It is not a native VCP/VAP conformance verifier.

The ordinary CLI reports VALID, INVALID and INDETERMINATE using a caller-supplied trusted key. A separate opt-in command verifies signed supplemental records and offline RFC 3161 timestamps; that supplemental format remains unadopted. A later timestamp does not establish the original log or anchor time.

The historical corpus contains 20 SIG and 20 EXE events. Legacy hash, signature and Merkle comparisons match selected reference material, but the first PrevHash boundary, authenticated batch metadata and original external anchor remain unresolved. The expected overall verdict is INDETERMINATE (replay exit code 2), not full evidence acceptance. Internal tests succeeded at 809 regression and 15 separate historical cases per recorded environment; independent reproduction is not established.

The recorded CI used temporary merge 0314e01 with the same Git tree as target cc695fe; these are different commits. The later guide is a839d7a. Retain failures, environment differences and assistance; keep publication permissions separate. Original Actions artifact retention is 30 days; selected JSON copies are now also in Git, as explained below and the environment is not fully locked. This website update reports the records; it is not another verifier run. Read the announcement and source records →

Follow-up: complete recipe exercised by first-party CI. PR #16 adds a separate workflow maintained by the same project. Its two successful Python jobs run the exact published recipe from a fresh public clone, create a virtual environment, install dependencies, compare 29 inputs, execute the fixed 809 + 15 cases and assess the INDETERMINATE replay. The launcher’s 13 synthetic unit tests are separate; these repeated checkpoint cases do not add new unique coverage. The automation revision differs from the pinned guide and checkpoint. See the scope and retained reports. The workflow is not a general sandbox or an independent third-party result.

26 October update: selected original CI records and review intake

Six selected original JSON files from the completed first-party CI (three per Python environment) are now stored in Git: the procedure-completion record, final assessment and original artifact manifest. They are byte-for-byte copies, not another execution. Full JUnit XML, the detailed 40-event replay and shell logs are not included. The selected copies no longer depend solely on the Actions artifact’s 30-day retention, but Git availability is not immutable or guaranteed permanent storage. Hashes of omitted files cannot recover their bytes.

Selected original CI records and their limits

The review intake distinguishes the RTA checkpoint (target cc695fe, guide a839d7a) from the VAP OS-isolated mock-gate kit (kit b1af0dc, target c8ccf97). Acceptance of one assignment does not authorize substituting the other. Willingness to run, receipt of a report, technical agreement, independence and publication permission are separate states. Preserve failures, incomplete runs, environment differences and assistance. Permission for results, raw logs, name, affiliation and specific attribution must be checked separately.

GitHub issues are public, including the submitting account and attachments. For a private technical report, first contact standards@veritaschain.org to agree a transfer method, without attaching secrets. A template, closed issue or successful first-party CI does not establish independent reproduction. The experimental extensions remain unadopted; independent reproduction remains unestablished.

Review targets and submission guidance

Published research and verification

Find evidence verification, cloud credentials, payment authorization, VCP integrity research and SDK resources. Extensions remain unadopted; independent reproduction is not established.

Browse research resources →