eve-governance
v0.2.0
Published
EVE Governance SDK — Offline cryptographic governance verification
Downloads
149
Maintainers
Readme
eve-governance (TypeScript)
TypeScript SDK for offline cryptographic verification of EVE AI Core governance artifacts.
Note: This package provides the TypeScript API contract and type definitions. Implementation bodies are stubs; the Python SDK (
sdks/governance/) contains the reference implementation.
Installation
npm install eve-governanceUsage
import {
verifyDecisionCertificate,
verifyChain,
verifyItiSnapshot,
healthBand,
} from "eve-governance";
// Verify a decision certificate
const result = await verifyDecisionCertificate(cert);
console.log(result.valid ? "✓ VERIFIED" : "✗ FAILED");
// Health band
console.log(healthBand(87.5)); // "GOOD"API
verifyHmac(payload, signature, key)
Verify an HMAC-SHA256 signature.
verifyDecisionCertificate(certDict, options?)
Verify a single EVE CoreGuard decision certificate.
verifyBundle(bundlePath, options?)
Verify a replay export bundle (ZIP or JSONL).
verifyChain(events)
Verify hash-chain integrity of a list of audit events.
verifyItiSnapshot(snapshot, options?)
Verify an ITI snapshot.
healthBand(compositeScore)
Map a score (0–100) to a health band string.
analyzeReplayChain(events)
Analyze a replay chain and return structured metrics.
Types
See src/types.ts for all TypeScript interfaces.
License
Proprietary — EVE NeuroSystems LLC
