Evidence Pack Verifier

WHAT THIS PROVES

Verification is portable, offline, and deterministic.

EXPECTED OUTPUT

A cryptographic Valid or Fail result against the parsed Evidence Pack.

STANDARD TRACE

Evidence Pack

rcpt-001ALLOW
Ξ»1sha256:abc123def456…
{
  "decision": "ALLOW",
  "matchedRule": 0,
  "evaluatedConstraints": [
    {
      "type": "budget",
      "passed": true,
      "detail": "200 + 0 <= 1000"
    }
  ],
  "reasonCode": null,
  "timestamp": 1708300001
}

Integrate

L2: Policy Compilation + Offline Verify
import { verifyPack } from "@mindburn/helm/evidence";

const file = await readFile("evidence-pack.json");
const pack = parsePack(file);
const result = await verifyPack(pack);

if (!result.valid) {
  console.error("Verification failed:", result.failingNode);
  process.exit(1);
}

Adversarial Mode

Toggle attacks to see fail-closed behavior