Evidence endpoint preview rehearsal
Version: 2026-07-04 · Status: Active · preview-only rehearsal, disabled in production This runbook implements “Phase 2 — Gated consumption behind the flag” of the hosted evidence-consumption seam. Its original design, boundaries, rollout phases, and the canonical custody/legal boundary reference are maintained as internal engineering documentation. The public-facing boundary statement is Vault Boundaries & Disclosures.1. Purpose
This runbook documents how to turn on the hosted vault-evidence consumption rehearsal in a Vercel preview deployment only, so theVault Candidate Readiness Packet section of /stablecoin-vault shows real, validated
evidence fetched from the public Wallet-Wall/walletwall-vault repo’s
committed static artifact — instead of the local reference packet.
2. What this rehearsal is (and is not)
- It is a read-only, one-shot
GETof a single static, versioned JSON file — no polling, no retries beyond the existing 2.5s timeout, no credentials, no request body, no wallet data. - It is not a live proof, a production ZK claim, or a mainnet-readiness
signal — the fetched artifact itself says
"mode": "spike-non-production"and"proof": { "status": "gated" }. - It never runs in production: only a preview deployment’s environment variables are changed by this runbook.
1
Set the Preview environment variables
Set these two variables on the Preview environment only (Vercel project
settings → Environment Variables → scope: Preview) — never Production:
The URL is pinned to a specific commit SHA (
0eaa94e425da955c4e9fb8278259a534129d78e7),
not main — a moving branch ref would let the rehearsal silently start
serving different bytes than what was reviewed. To rehearse against a newer
published artifact, deliberately update the SHA in this table (and re-review),
rather than pointing at a branch.After setting both variables, redeploy the preview (or push a new commit to
the PR) so Vite picks up the new VITE_* values at build time.2
Confirm what renders when live
With both variables set on a preview deployment, on
/stablecoin-vault
under “Vault Candidate Readiness Packet”:- The evidence source status chip row shows source label “Validated endpoint evidence” (not “Reference packet”) and endpoint tag “Validated”, with detail text: “Packet enriched from a validated, fresh hosted evidence endpoint response.” This copy explicitly names the hosted endpoint as the data source — it is never rendered as if the data were locally derived (an automated test asserts this provenance).
- The packet’s “Reference packet — example only” notice does not appear
(it is gated on
packet.referencePacket, which isfalseonce enriched). - The Proof Evidence Chain panel (the six-step evidence chain elsewhere on the page) is unaffected and continues to render its static, locally-registered steps — it does not consume the endpoint seam and is not expected to change with this rehearsal.
servedAt older than 24h), the page falls back silently
to the same reference-packet framing production always shows, with the
status chip showing “Fallback active” and a calm, specific reason —
never a raw error or a blank/broken section.3
Roll back
Unset both
VITE_VAULT_EVIDENCE_ENDPOINT_ENABLED and
VITE_VAULT_EVIDENCE_ENDPOINT_URL on the Preview environment (or delete the
env-var rows entirely) and redeploy. The page immediately reverts to the
disabled state — the same reference packet and “Reference packet” /
“Endpoint disabled” chip that renders when the variables were never set.
No code change is required to roll back; this is a config-only rehearsal.
