EU AI Act Article 50 live 2 Aug 2026 — C2PA passport ready | Get yours →
🐉

System Architecture Deep Dive

7-layer sovereign stack · 30 MCP servers · 12 domains · BFT-33 governance · SIGIL Ed25519 chain · Edge-deployable · UK sovereign cloud

v1.0.0 PRODUCTION
7
Layers
30
MCP Servers
12
Domains
188+
Tools
33
BFT Agents
90.6%
Test Coverage

🏛️ The DEFONEOS Stack — 7 Layers

Each layer is independently deployable, independently testable, and independently replaceable. Defense-in-depth from silicon to strategy.

L7
☁️ Strategy & Governance Layer — BFT-33 Council
33-agent Byzantine Fault Tolerant council · Quorum 23/33 · Ed25519 signed proposals · Charter articles · Crosswalk mappings · 14 compliance frameworks · DEFONEOS-SEAL credential issuance · Council deliberation on SIGIL chain
L6
📊 Audit & Compliance Layer — SIGIL Chain
Ed25519 hash-chained ledger · JSP 936 / 440 / 604 auto-generation · ISO 42001 · SOC 2 · GDPR · UK AI Bill 2025 · National Security Act 2023 · 3-layer OrgKernel audit (L1 Identity → L2 Execution → L3 Compliance) · Immutable replay for regulators
L5
🎯 C2 & Decision Layer — FreeTAKServer + Mava
TAK/CoT bridge · FreeTAKServer integration · Mava multi-agent reinforcement learning · 34 reward functions · PX4 SITL · Swarm orchestration · Mission planning · Tasking orders · AAR (After Action Review) generation
L4
🧠 Fusion & Inference Layer — YOLOv8 + OpenAthena
YOLOv8 ISR detection (mAP50 0.9234) · OpenAthena geospatial query · Multi-sensor fusion (video/RF/AIS/ADS-B/satellite) · Cesium 3D globe rendering · Real-time COP (Common Operating Picture) · Edge GPU inference (ONNX/TensorRT)
L3
🔌 MCP Federation Layer — 30 Servers × 188+ Tools
JSON-RPC MCP protocol · 12 domain clusters · Auto-discovery · Neural routing (OLM) · Rate limiting (4-tier) · OAuth2 + JWT (Ed25519) · Federation search · Tool composition · MCP marketplace integration
L2
🔐 Security & Identity Layer — Zero Trust
SPIFFE workload identity · mTLS all services · PQC-ready (ML-DSA-65 / ML-KEM-768) · Distroless containers · Morris-II worm defense · Prompt injection scanner · Supply chain SBOM · Secrets in GPG-encrypted vault · Air-gap deployable
L1
🖥️ Infrastructure Layer — UK Sovereign Cloud
5 UK sovereign cloud regions · Kubernetes (RKE2) · Terraform IaC · Docker Compose (dev) · ARM64 + x86_64 · NVIDIA GPU pools (A100/H100 for training) · Jetson Orin edge nodes · Intel Tiber edge · Air-gapped bare-metal capable

🌐 12 Domain Clusters

🛰️
ISR
4 MCPs
🌊
Maritime
3 MCPs
🤖
Swarm
3 MCPs
📡
Comms
3 MCPs
🔐
Security
3 MCPs
📊
Intel
2 MCPs
🌐
GIS
2 MCPs
🏛️
Governance
3 MCPs
🏭
Civil
3 MCPs
🧪
Test
1 MCP
Edge
2 MCPs
🧠
Core
1 MCP

🔌 MCP Federation Protocol

JSON-RPC 2.0 Message Flow

{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "name": "detect_objects",
    "arguments": {
      "image_source": "rtsp://192.168.1.100/stream1",
      "model": "yolov8n-defoneos-v3",
      "confidence": 0.75,
      "sigil_sign": true
    }
  },
  "id": "req-7f3a2b"
}

// Response (truncated)
{
  "jsonrpc": "2.0",
  "result": {
    "detections": [
      {"class": "vehicle", "confidence": 0.94, "bbox": [120, 340, 280, 510]},
      {"class": "person", "confidence": 0.87, "bbox": [450, 200, 520, 380]}
    ],
    "sigil": "S|detect|yolov8-v3|ed25519:8a4cc85da8dbba21...",
    "processing_ms": 132,
    "model_version": "yolov8n-defoneos-v3",
    "sigil_chain_seq": 14782
  },
  "id": "req-7f3a2b"
}

Federation Discovery

StepActionProtocolLatency
1Client sends discover to federation hubJSON-RPC~2ms
2Hub returns catalog of 30 servers × 188 toolsJSON-RPC~5ms
3OLM neural router ranks tools by query semanticsPython~8ms
4Client calls tools/call on best-match serverJSON-RPC~varies
5Server returns result + SIGIL receiptJSON-RPC~varies
6SIGIL appended to hash-chained ledgerSQLite/PG~1ms

⛓️ SIGIL Audit Chain Architecture

3-Layer OrgKernel Audit Pattern

L1 — Identity

Each agent registers an Ed25519 public key. Required before any execution. Base64-encoded 32-byte key. Org name optional. Identity is the root of trust — without it, no actions are logged.

L2 — Execution

Every agent action is logged with hash-chained linkage to the previous execution. Ed25519-signed payload. Parameters + results recorded. Tamper-evident by construction — any modification breaks the hash chain.

L3 — Compliance

Each execution is asserted against a framework (EU AI Act, JSP 936, ISO 42001, GDPR, SOC 2). Compliant/non-compliant + evidence. Ed25519-signed. Regulator-replayable via dorado_replay.

SIGIL Line Format

S|<source_agent>|<action>|<payload>|ed25519:<signature>

# Example
S|yolov8-v3|detect_objects|{"detections":2,"confidence_avg":0.905}|ed25519:8a4cc85da8dbba21...
S|bft-council|charter_amendment|{"article":"Art-7","vote":28_for_3_against}|ed25519:cef92dd24cfb85b5...
S|mava-swarm|tasking_order|{"swarm_id":"alpha-7","waypoints":[...]}|ed25519:5f6210fb5c633db8...

Chain Integrity Verification

# Verify entire chain (runs in O(n))
def verify_chain(events: list[SIGIL]) -> bool:
    prev_hash = "0" * 64  # genesis
    for event in events:
        computed = sha256(prev_hash + event.payload).hexdigest()
        if computed != event.prev_hash:
            return False  # TAMPER DETECTED
        if not ed25519_verify(event.signature, event.payload, event.pubkey):
            return False  # FORGERY DETECTED
        prev_hash = computed
    return True  # Chain intact

🏛️ BFT-33 Governance Council

Council Composition

The 33-agent council is the sovereign governance authority. No single agent (including the King) can issue a DEFONEOS-SEAL credential, approve a charter amendment, or authorize a kinetic-adjacent action without quorum.

RoleAgentsResponsibilityQuorum
Charter Guardians7Constitutional articles, red lines, charter amendments5/7
Safety Overseers7Harm prevention, red-line enforcement, kill switches5/7
Compliance Auditors5JSP 936, ISO 42001, GDPR, AI Bill compliance checks4/5
Strategic Advisors5Mission alignment, resource allocation, prioritization4/5
Technical Reviewers5Code review, architecture validation, security audit4/5
Observers (non-voting)4Log-only, cannot vote, full transparency
Total33Council quorum for DEFONEOS-SEAL: 23/3323/33

Voting Protocol

PROPOSAL PHASE:
  1. Any agent submits proposal to council
  2. Proposal hashed + signed → SIGIL chain
  3. 30-second deliberation window opens

VOTING PHASE:
  4. Each of 33 agents casts vote: FOR / AGAINST / ABSTAIN
  5. Each vote is Ed25519-signed → SIGIL chain
  6. Vote window: 5 minutes (configurable)

RESOLUTION:
  7. If FOR ≥ quorum threshold → APPROVED
  8. Resolution signed by all voting agents → DEFONEOS-SEAL
  9. Result broadcast to all MCP servers + edge nodes

RED LINES (auto-reject, no vote needed):
  - Kinetic targeting patterns
  - Personal surveillance patterns
  - Cross-compartment data leakage (meok-defoneos ↔ csoai-defoneos ↔ dagon)

📡 End-to-End Data Flow — ISR Pipeline Example

From Camera to COP in 132ms

StepComponentActionLatency
1RTSP Camera (edge)Capture frame at 30fps33ms
2rtsp-camera-mcpIngest RTSP stream, decode H.2648ms
3yolov8-mcp (edge GPU)Run YOLOv8n inference on Jetson Orin42ms
4fusion-mcpFuse detections with AIS + ADS-B feeds15ms
5cesium-mcpPlot detections on 3D globe (COP update)12ms
6sigil-mcpSign detection result → SIGIL chain3ms
7FreeTAKServerBroadcast CoT to TAK clients9ms
8BFT CouncilIf detection triggers alert threshold → council voteasync
Total Camera→COP latency~132ms

Swarm Tasking Flow

BFT COUNCIL APPROVES MISSION
       ↓
Mava RL Policy selects waypoint assignments
       ↓
PX4 SITL validates flight paths (collision check)
       ↓
FreeTAKServer issues CoT tasking orders
       ↓
Swarm executes (simulated or real PX4)
       ↓
Telemetry streams back via MQTT → fusion-mcp
       ↓
SIGIL chain records every waypoint + telemetry sample
       ↓
AAR (After Action Review) auto-generated

📦 Edge Deployment Topology

🏗️ HQ Node (Cloud)

Full stack: 30 MCPs + BFT-33 + SIGIL chain + Cesium globe + Mava training. NVIDIA A100/H100 for model training. 5 UK sovereign cloud regions. Terraform-provisioned.

🚐 Field Node (Edge)

Minimal stack: 8 critical MCPs (ISR + C2 + SIGIL + comms). Jetson Orin NX 16GB. YOLOv8n INT8 quantized. Air-gapped capable. Docker Compose. 4G/Starlink uplink.

📟 Drone Node (Ultra-Edge)

Bare-metal inference only. YOLOv8n TensorRT on Jetson Orin Nano. MAVLink → PX4. MQTT telemetry. No MCP server — just the sensor payload. SIGIL signing on-device.

Edge Resource Requirements

Node TypeComputeRAMStoragePowerMCPs
HQ (Cloud)8× A100 80GB512GB10TB NVMe~4kW30
Field (Edge)Jetson Orin NX16GB512GB NVMe25W8
Drone (Ultra)Jetson Orin Nano8GB128GB eMMC15W0 (payload only)

🛠️ Technology Stack

LayerTechnologyVersionPurpose
RuntimePython3.12All MCP servers, fusion, BFT, SIGIL
ML TrainingPyTorch + Ultralytics2.4 + 8.3YOLOv8 fine-tuning, Mava RL
ML Inference (edge)TensorRT / ONNX Runtime10.3 / 1.20INT8/FP16 quantized inference on Jetson
C2FreeTAKServer2.1TAK/CoT bridge, tasking orders
Swarm SimPX4 SITL + Mava1.14 + 1.1Drone simulation, RL policy training
3D GlobeCesiumJS1.120Common Operating Picture visualization
ProtocolMCP (JSON-RPC 2.0)1.0Server-to-server, server-to-client
CryptoPyNaCl (Ed25519)1.5SIGIL signing, JWT, identity
PQC (ready)liboqs-python0.10ML-DSA-65 / ML-KEM-768 post-quantum
DatabaseSQLite / PostgreSQL3.45 / 16SIGIL chain, memory, telemetry
ContainerDocker + RKE227 + 1.5Containerization, K8s orchestration
IaCTerraform1.9Infrastructure provisioning
Testingpytest + hypothesis + playwright8.3 + 6.110 + 1.48Unit, property-based, E2E
CI/CDGitHub Actions10-gate pipeline, auto-deploy

🚀 Deployment Modes

3 Operating Modes

ModeDescriptionUse CaseNetwork
CONNECTEDFull cloud + edge. All 30 MCPs federated. BFT council live.HQ operations, training, strategic planningUK sovereign cloud
DISCONNECTEDField node operates autonomously. 8 critical MCPs. Local SIGIL chain syncs on reconnect.Field deployment, disaster response, austere environments4G/Starlink intermittent
AIR-GAPPEDFully isolated. No network egress. All inference local. SIGIL chain on removable media.Classified networks, SCIF, exercisesNone (physical media only)

Air-Gap Deploy Procedure

# 1. Build on connected system
docker compose -f docker-compose.prod.yml build
docker save defoneos-mcps.tar $(docker compose config --images)

# 2. Transfer via approved media (USB/CD with virus scan)
sha256sum defoneos-mcps.tar > checksums.txt

# 3. On air-gapped system
sha256sum -c checksums.txt  # Verify integrity
docker load < defoneos-mcps.tar
docker compose -f docker-compose.airgap.yml up -d

# 4. Verify
python scripts/verify_airgap.py --check-sigil --check-mcps --check-bft
# Expected: 30 MCPs healthy, SIGIL chain intact, BFT-33 quorum reachable

🔗 Related Documentation

PageDescription
Security Architecture7-layer security deep-dive, threat model, mitigations
Deployment Runbook15-step 90-day deployment guide
API Documentation87 REST endpoints + WebSocket + MCP JSON-RPC
Partner Integration5 integration paths, SDK examples, onboarding
Testing Framework5-layer test pyramid, 1,730+ tests, chaos engineering
Performance BenchmarksLatency, throughput, resource benchmarks
JSP 936 ComplianceAuto-generation of statutory compliance artifacts
ChangelogVersion history v0.1.0-alpha → v1.0.0
🜏 SOV33 Hub 🜏 Sovereign Hub 📜 Article 50 Passport 📋 OWEM RFQ CSOAI Ltd · UK 16939677 · Care Floor 0.95 · Charter-anchored
🜏 Sovereign Hub 📜 Article 50 Passport 📋 OWEM RFQ CSOAI Ltd · UK 16939677 · Care Floor 0.95 · Charter-anchored
🜏 Sovereign Hub 📜 Article 50 Passport 📋 OWEM RFQ CSOAI Ltd · UK 16939677 · Care Floor 0.95 · Charter-anchored
🜏 Sovereign Hub 📜 Article 50 Passport 📋 OWEM RFQ CSOAI Ltd · UK 16939677 · Care Floor 0.95 · Charter-anchored
🜏 Sovereign Hub 📜 Article 50 Passport 📋 OWEM RFQ CSOAI Ltd · UK 16939677 · Care Floor 0.95 · Charter-anchored
🜏 Sovereign Hub 📜 Article 50 Passport 📋 OWEM RFQ CSOAI Ltd · UK 16939677 · Care Floor 0.95 · Charter-anchored