MIT Reference Implementation of the Veraxis Execution Integrity Protocol (VEIP)
Category: Open Institutional Computation
This component: Reference implementation of the VEIP execution-integrity boundary — deterministic classification of a proposed action against supplied authority, and emission of a schema-valid Evidence Pack
Upstream: Machine-operational authority/control state, already established through authorized institutional interpretation and admission (the Veraxis reference path for that upstream problem is OIC — Open Institutional Compiler)
Downstream: Evidence Packs consumed by replay validation, the VEIP Verifier Core, registries, and enforcement runtimes
Canonical category thesis: https://github.com/veraxis-protocol/institutional-continuity/blob/main/THESIS.md
Architectural role does not imply production readiness; see "What This Repository Is Not" and "Early Production-Grade Posture" below for the exact demonstrated scope.
The VEIP SDK is a minimal, production-structured reference implementation of the Veraxis Execution Integrity Protocol (VEIP).
It demonstrates how an AI-enabled system can:
- Enforce authorization before execution
- Perform deterministic state-transition classification
- Emit structured, schema-valid Evidence Packs
- Support replay validation of execution decisions
- Bind implementation behavior to a specific VEIP specification version
This repository is intentionally compact and readable.
It is designed for interoperability, sandbox experimentation, and integration scaffolding.
It is not a certification engine.
This SDK enforces three core invariants:
-
Authorization Precedes Execution
No action may be executed without explicit classification. -
State Transitions Are Deterministic
Given identical authority and proposal inputs, classification must be reproducible. -
Evidence Emission Is Mandatory
Every classified action produces a structured Evidence Pack aligned to the VEIP schema.
These properties are test-verified through the included CI and replay validator.
This SDK implements:
VEIP Specification v0.1.0
The canonical specification is defined in the veip-spec repository and includes:
- Formal state-transition model
- Authority envelope semantics
- Evidence Pack JSON Schema (Draft 2020-12)
- Conformance Test Suite (CTS) structure
- Supervisory Verification Interface (SVI)
The specification defines the normative rules.
This repository provides executable implementation examples.
The SDK enforces:
- Specification version binding
- Schema hash pinning
- Schema validation at emission time
This prevents silent drift between implementation and specification.
The VEIP SDK is:
- A minimal execution authorization gate
- A deterministic state-machine scaffold
- A schema-valid Evidence Pack emitter
- A replay validation demonstrator
- A developer-facing integration reference
It is suitable for:
- Regulatory sandbox experimentation
- Academic research
- AI control-plane prototyping
- Internal enterprise architecture evaluation
The VEIP SDK is not:
- The official VEIP conformance validator
- The Verifier Core
- The registry or certification authority
- A regulatory endorsement mechanism
- A cryptographically sealed audit infrastructure
Certification and authoritative validation are governed separately through the VEIP Verifier Core and Registry layers.
The SDK begins at a boundary where machine-operational authority/control inputs have already been supplied. It does not establish whether the original human governing source was interpreted or admitted correctly. The upstream reference path for that problem is OIC.
An authority envelope supplied to this SDK is an input. The SDK binds and classifies against it; it does not originate the institutional authority that envelope represents, and a schema-valid Evidence Pack records that binding rather than proving the upstream authority was legitimate, correctly interpreted, properly admitted, or currently applicable.
The SDK illustrates the VEIP execution control-plane:
AI System
→ Action Proposal
→ VEIP Authorization Gate
→ Deterministic Classification
→ Execution (if permitted)
→ Evidence Pack Emission
→ Replay Validation (optional)
Each action:
- Is scoped under an authority envelope
- Is deterministically classified (ALLOW / DENY / ESCALATE / SUPERVISORY)
- Produces a schema-valid Evidence Pack
- Can be replay-validated against its inputs
veip-sdk/
├── README.md
├── LICENSE
├── pyproject.toml
├── Makefile
├── .github/workflows/ci.yml
├── veip_sdk/
│ ├── **init**.py
│ ├── authorize.py
│ ├── evidence.py
│ ├── replay.py
│ ├── schema.py
│ ├── state_machine.py
│ ├── veip_types.py
│ └── schemas/
│ └── veip-evidence-pack.schema.json
└── examples/
└── minimal_demo.py
Python 3.10+
pip install -e ".[dev]"Run:
make ciExpected output:
OK: Python syntax checks passed
..... [100%]
This confirms:
- Schema binding integrity
- Replay validator correctness
- Deterministic classification
- Evidence Pack schema compliance
Run:
python examples/minimal_demo.pyExpected output:
Decision: ALLOW
Replay: True OK
Evidence Pack keys: ['schema_version', 'evidence_id', 'created_at', 'authority', 'policy', 'action', 'decision', 'execution', 'provenance']
Evidence ID: <uuid>
This demonstrates:
- Proposal submission
- Authorization classification
- Evidence Pack emission
- Schema validation
- Replay validation
The SDK enforces two integrity controls:
- Schema SHA-256 pinning
- VEIP specification version matching
If the canonical schema changes without updating the SDK, execution fails explicitly.
This protects against silent compatibility drift.
This SDK supports integration into regulated architectures with:
- Deterministic execution semantics
- Explicit authority scoping
- Structured Evidence emission
- Replay-verifiable decision paths
- Version binding safeguards
However, production environments require additional controls:
- Cryptographic sealing (hash chaining / Merkle anchoring)
- Secure time sources
- Tamper-evident storage
- Operational resilience hardening
- Independent security review
- Separation of duties enforcement
These layers are intentionally out of scope for this repository.
SDK Version: 0.1.0 Aligned Specification Version: 0.1.0
Breaking changes follow semantic versioning.
This repository is licensed under the MIT License.
You may:
- Use
- Modify
- Integrate
- Commercialize
Subject to MIT terms.
Use of “VEIP Certified” or “VEIP Compliant” is governed by trademark and registry policy.
Contributions must preserve the following invariants:
- Authorization precedes execution.
- State transitions remain explicit and deterministic.
- Evidence emission remains mandatory.
- Schema alignment must remain enforced.
Pull requests may require alignment with the VEIP specification.
This SDK is provided “as is,” without warranty of any kind.
It is a reference implementation of an open protocol and does not constitute regulatory approval or certification.