Version: 2026.1
Status: Specification v1
License: Apache-2.0
The OASA Conformance Test Suite defines a three-tier certification program for sovereign AI infrastructure. It provides automated validation, verifiable compliance proofs, and a recognized badge system — enabling enterprises to select, deploy, and audit OASA-compliant systems with confidence.
Inspired by the Certified Kubernetes program, CII Best Practices Badge, and OpenChain standards.
| Badge | Level | Shape | Primary Color | Material/Finish | Size (px) |
|---|---|---|---|---|---|
| OASA Compatible | L1 | Shield | Silver (#C0C0C0) | Matte brushed | 120×120 |
| OASA Verified | L2 | Rounded Hexagon | Gold (#FFD700) | Satin polished | 120×120 |
| OASA Certified | L3 | Star/Hexagram | Diamond (#00BFFF) | Iridescent/gradient | 120×120 |
Each badge contains:
- Outer border — level-specific shape and color
- OASA logo — centered, white/silver
- Level indicator — "L1", "L2", or "L3" below logo
- Certification mark — "COMPATIBLE", "VERIFIED", or "CERTIFIED"
- Registry URL — machine-readable QR code (optional)
- Badges must link to the official OASA registry entry
- Badges must not be modified (color, shape, proportions)
- Badges expire annually and must be renewed
- Misuse results in revocation and public notice
-
OpenAI-Compatible API
- Must expose a
/v1/chat/completionsendpoint - Must support the standard OpenAI request schema
- Must return valid completions for at least one model
- Must expose a
-
Basic Air-Gap Capability
- Must provide a configuration option to disable WAN egress
- Must include a NetworkPolicy or firewall rule recommendation
- Must document how to run in air-gapped mode
-
Schema Validation
- Must include a valid
sovereign-stack.yamlmanifest - Manifest must pass validation against the official OASA JSON Schema
- Must document the OASA version supported
- Must include a valid
-
Documentation
- Must include a README with deployment instructions
- Must document compliance mode settings
- Must include license file (Apache 2.0 recommended)
# Schema validation
python tools/validate_compliance.py sovereign-stack.yaml
# API compatibility
python tools/benchmark.py --url http://localhost:8080/v1 --model sovereign-test-model
# Basic audit
python tools/sovereign_stack.py validate sovereign-stack.yaml-
Compliance Lock Enforcement
- Requests without
oasa_compliance_lock: truemust be rejected with HTTP 400/503 - Must never fallback to external cloud APIs when lock is enabled
- Must log every compliance violation to an immutable audit trail
- Requests without
-
TPM 2.0 / Hardware Binding
- Must verify TPM presence on startup (Windows TPM, Linux
/dev/tpm0) - Must bind encryption keys to hardware root of trust
- Must refuse to start if required hardware security module is absent
- Must verify TPM presence on startup (Windows TPM, Linux
-
Volatile Ingestion
- Document processing must occur entirely in-memory
- No temporary files written to unencrypted disk
- Must pass the volatile ingestion test suite
-
Audit Logging
- Every request must be logged with timestamp, trace ID, compliance lock status
- Audit log must be append-only and tamper-evident
- Retention period must be configurable (minimum 365 days recommended)
-
Runtime Protection
- Must include a runtime shield (memory leak detection, network isolation monitor)
- Must terminate inference on memory threshold breach
- Must detect and block unauthorized network connections
# Compliance lock enforcement
python -m pytest tests/conformance/test_compliance_lock.py -v
# Runtime shield
python -m pytest tests/conformance/test_runtime_shield.py -v
# Hardware binding (simulated in CI)
python -m pytest tests/conformance/test_hardware_binding.py -v
# Audit log verification
python tools/sovereign_stack.py validate sovereign-stack.yaml --audit-host
# Full L2 suite
python -m pytest tests/conformance/ -v --level L2-
Immutable Merkle-Tree Audit Logs
- Audit log entries must be chained via cryptographic hash pointers (Merkle DAG)
- Must support remote verification of log integrity
- Must provide a CLI tool to verify log chains
-
Supply Chain Security
- All container images must be signed with Cosign (Sigstore)
- Must provide a Software Bill of Materials (SBOM) in SPDX or CycloneDX format
- Model weights must be verified via SHA-256 hashes against signed manifests
-
Independent Security Review
- Must have completed a third-party security audit (e.g., Trail of Bits, OpenSSF)
- Must publish audit findings and remediation report
- Must have a documented vulnerability disclosure process
-
Reference Architecture
- Must provide a validated reference architecture for at least one hardware platform
- Must include benchmark results (latency, throughput, VRAM utilization)
- Must include a validated Helm chart or Terraform module
-
Governance Compliance
- Must have a DCO (Developer Certificate of Origin) process
- Must have a Code of Conduct
- Must have at least 2 maintainers from different organizations
- Submit a conformance report generated by the automated test suite
- Provide evidence for manual review items (security audit, SBOM, etc.)
- Undergo spot-check validation by OASA Technical Steering Committee
- Pay certification fee (if applicable; €500-2000 for L3 sustainability)
- Receive badge + machine-readable JSON attestation + listing in OASA registry
- Renew annually with re-testing
tests/conformance/
├── __init__.py
├── conftest.py # Shared fixtures and test configuration
├── test_schema_validation.py
├── test_compliance_lock.py
├── test_runtime_shield.py
├── test_ingestion.py
├── test_hardware_binding.py
└── test_audit_log.py
# Install dependencies
pip install -r requirements.txt
pip install pytest pytest-cov jsonschema pyyaml
# Run all conformance tests
python -m pytest tests/conformance/ -v
# Run specific level
python -m pytest tests/conformance/ -v --level L2
# Generate report
python tools/generate_compliance_report.py --level L2 --output report.mdA GitHub Actions workflow runs the conformance suite on every push:
# See .github/workflows/oasa-conformance.yml
name: OASA Conformance
on: [push, pull_request]
jobs:
conformance:
strategy:
matrix:
level: [L1, L2]
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- run: pip install -r requirements.txt
- run: python -m pytest tests/conformance/ -v --level ${{ matrix.level }}The machine-readable certification attestation format:
{
"oasa_version": "2026.1",
"certification": {
"level": "L3",
"status": "active",
"issued": "2026-05-25T00:00:00Z",
"expires": "2027-05-25T00:00:00Z",
"badge_url": "https://raw.githubusercontent.com/Kubenew/SovereignStack/main/badges/oasa-l3.svg"
},
"subject": {
"name": "Product/Organization Name",
"version": "1.0.0",
"type": "inference-engine|gateway|platform|node"
},
"tests": {
"passed": 24,
"failed": 0,
"skipped": 0,
"suite_version": "1.0"
},
"evidence": {
"security_audit": "https://example.com/audit-2026.pdf",
"sbom": "https://example.com/sbom.spdx.json",
"signature": "https://example.com/certificate.pem"
}
}See schemas/certification/oasa-certification.schema.json for the formal JSON Schema.
OASA-certified implementations are listed in a public registry. To add your implementation:
- Pass the conformance test suite at your target level
- Submit a PR to REGISTRY.md with your details
- Provide machine-readable attestation
- Receive your badge
| Regulation | L1 | L2 | L3 |
|---|---|---|---|
| GDPR (EU) | Documentation | Audit logs + Access control | Immutable proofs + DPA |
| EU AI Act | Transparency | Risk management | Conformity assessment |
| HIPAA (US) | BA agreement ready | Encryption + Access logs | Audit trail + BAA |
| DORA (EU) | Resilience docs | Testing + Monitoring | Third-party audit |
| NIS2 (EU) | Incident response | Supply chain security | Hardened + Certified |
| SOX (US) | Financial data isolation | Tamper-evident logs | External audit |
| Protocol | ID | Status | Version |
|---|---|---|---|
| SIP — Sovereign Intelligence Protocol | sip |
Stable | 1.0 |
| SEP — Sovereign Extension Protocol | sep |
Draft | 0.1 |
| SDP — Sovereign Data Protocol | sdp |
Draft | 0.1 |
| SAP — Sovereign Agent Protocol | sap |
Draft | 0.1 |
| SMP — Sovereign Memory Protocol | smp |
Draft | 0.1 |
| KAP — Sovereign Knowledge Access Protocol | kap |
Draft | 0.1 |
| REP — Sovereign Reasoning Exchange Protocol | rep |
Draft | 0.1 |
| Version | Date | Changes |
|---|---|---|
| 2026.1 | 2026-05-25 | Initial specification |
The OASA Conformance Program is governed by the OASA Technical Steering Committee. Changes to this specification require TSC approval.
Apache 2.0