Version: 1.0.2
Steward: FERZ LLC
License: CC BY-NC-ND 4.0 (specification), MIT (schemas/test vectors)
The TCP/IP layer for AI governance
Ensure consequential AI decisions are stop-capable, owned, replayable, and escalatableβby design.
Verifiable AI Governance: The Four Tests Standard (4TS) and Proof-Carrying Decisions
Edward Meyman | October 2025
Available on:
Establishes formal specification, theoretical foundations, and proof of necessary and sufficient conditions for verifiable AI governance.
How to Cite:
Meyman, E. (2025). Verifiable AI Governance: The Four Tests Standard (4TS)
and Proof-Carrying Decisions. SSRN. https://papers.ssrn.com/sol3/papers.cfm?abstract_id=5688982
The Four Tests Standard (4TS) is a vendor-neutral technical specification for verifiable AI governance. It enables organizations to prove that AI systems in regulated industries meet compliance requirements through:
- Proof-Carrying Decisions (PCDs): Canonical JSON objects encoding all information needed to verify governance at decision boundaries
- Deterministic Verification: Mathematical acceptance criteria that produce consistent results independent of who verifies
- Two Replay Modes: State-Replay for byte-exact reproduction, Protocol-Replay for gate-based validation
- Fail-Closed Design: Actions blocked by default unless approval can be cryptographically proven
| Test | Requirement | Enforced Through |
|---|---|---|
| STOP | System can be halted before side-effects | Effect-token issuance gated by approval |
| OWNERSHIP | Identified authority signs policy before execution | Cryptographic signatures with timestamp ordering |
| REPLAY | Decision can be reproduced at boundary | State-Replay or Protocol-Replay modes |
| ESCALATION | Mandatory custody transfer on denial/thresholds | Explicit routing with human-in-loop paths |
Enable auditors to verify AI compliance mathematically rather than through samplingβdeterministic verification at decision boundaries.
# Clone the repository
git clone https://github.com/edmeyman/4ts-standard.git
cd 4ts-standard
# Install dependencies (Python 3.10+)
pip install -r requirements.txt# Validate against test vectors
python tools/validator/quickstart_validate.py --json examples/model-deployment-state-replay.json
# Expected output: PASSfrom tools import pcd_builder
pcd = pcd_builder.create_pcd(
boundary="deploy",
artifacts={"models": [{"id": "my-model-v1.0", "sha256": "..."}]},
replay_strategy="state"
)
print(pcd.to_json())4ts-standard/
βββ README.md # This file
βββ SPECIFICATION.md # Complete technical specification (Β§Β§0-11)
βββ LICENSE.md # Dual license (CC BY-NC-ND 4.0 + MIT)
βββ CHANGELOG.md # Version history
βββ CONTRIBUTING.md # How to contribute
β
βββ schemas/ # JSON Schema definitions
β βββ pcd.schema.json # PCD structure (draft 2020-12)
β βββ verifier.config.schema.json # Verifier configuration
β
βββ examples/ # Concrete PCD examples
β βββ model-deployment-state-replay.json
β βββ rag-system-protocol-replay.json
β βββ llm-tool-inference.json
β βββ etl-pipeline-batch.json
β
βββ test-vectors/ # Conformance test suite
β βββ positive/ # Must PASS (8 vectors)
β β βββ PCD-A1_state_auto_approve.json
β β βββ PCD-A2_protocol_with_gates.json
β β βββ PCD-A3_fail_closed_denial.json
β βββ negative/ # Must FAIL with specific errors (5 vectors)
β βββ NC-1_posthoc_signature.json
β βββ NC-2_missing_custody.json
β βββ NC-3_untyped_lineage.json
β βββ NC-4_side_effect_on_denial.json
β βββ NC-5_protocol_gate_fail.json
β
βββ tools/ # Reference implementations
β βββ validator/ # Python reference verifier
β β βββ quickstart_validate.py
β β βββ verifier.py
β βββ canonicalizer/ # JSON canonicalization
β βββ canonicalize.py
β
βββ docs/ # Additional documentation
βββ quickstart.md # Getting started guide
βββ implementation-guide.md # Detailed implementation patterns
βββ faq.md # Frequently asked questions
βββ error-catalog.md # Complete error code reference
4TS supports diverse AI deployment patterns:
| Profile | PCD Emission | Replay Mode | Key Considerations |
|---|---|---|---|
| LLM Tools | Per tool action with external effects | State or Protocol | Typed lineage for tool I/O |
| RAG Systems | Per response triggering workflows | Protocol (frozen index) | Gates on answerability/attribution |
| Model Deployment | At deployment and policy changes | State or Protocol (eval gates) | Pre-exec policy signature required |
| BPMN/ETL | Per job with external writes | State or Protocol | Compensating actions for rollbacks |
| Agentic Systems | Per plan execution | Protocol with explicit gates | Sub-PCDs for high-risk steps |
To claim 4TS conformance, implementers must:
- Pass all test vectors: 3 positive (PASS), 5 negative (expected failures with correct error codes)
- Publish conformance claim:
Tool@Version β’ PCD-1 β’ Bundle-1.0.2 β’ 8/8 β’ sha256:manifest_hash β’ logs_link - Implement core verification: PCD schema validation, signature verification, replay logic, fail-closed enforcement
See SPECIFICATION.md Β§7 for complete conformance requirements.
- Boundary: Model deployment for diagnostic/treatment decisions
- Replay: State-Replay with frozen training/test sets
- Gates: AUROC, calibration error, demographic parity
- Regulatory: FDA 510(k), EU MDR alignment
- Boundary: Inference-level for credit/trading decisions
- Replay: Protocol-Replay with deterministic risk metrics
- Gates: Accuracy, fairness (disparate impact), attribution
- Regulatory: SR 11-7, ECOA, MiFID II alignment
- Boundary: Deploy and policy-change for mission-critical systems
- Replay: State-Replay with air-gapped verification
- Gates: Security clearance checks, operational safety thresholds
- Regulatory: NIST AI RMF, DoD AI principles
- Complete Specification - Full technical standard (Β§Β§0-11)
- Quick Start Guide - 10-minute implementation tutorial
- Implementation Guide - Detailed patterns and best practices
- FAQ - Common questions and answers
- Error Catalog - All error codes with triggers and recovery
- Issues & Bugs: GitHub Issues
- Discussions: GitHub Discussions
- Email: contact@ferzconsulting.com
- Website: https://ferz.ai
We welcome contributions! Please see CONTRIBUTING.md for:
- Code of conduct
- How to submit issues and pull requests
- Development workflow
- Testing requirements
- Deterministic AI Governance - Executive Guide - Business rationale and minimum governance bar
- JSON Schema draft 2020-12 - Schema specification standard
- RFC 3339 (ISO 8601) - Timestamp format
- SHA-256 (FIPS 180-4) - Cryptographic hashing
- EdDSA/ECDSA - Digital signature algorithms
| Version | Date | Changes |
|---|---|---|
| 1.0.0 | 2025-09 | Initial release with core standard |
| 1.0.1 | 2025-10 | Added adoption profiles, clarified gate format, expanded error codes |
| 1.0.2 | 2025-11 | Added traceability matrix, glossary, concrete PCD examples |
See CHANGELOG.md for detailed changes.
-
Specification Text: CC BY-NC-ND 4.0
- Attribution required
- Non-commercial use
- No derivatives
-
Schemas & Test Vectors: MIT License
- Permissive use for implementation
See LICENSE.md for complete terms.
For commercial licensing inquiries: contact@ferzconsulting.com
Β© 2025 FERZ LLC | Vendor-neutral open standard for verifiable AI governance