πŸ—ΊοΈ DEFONEOS β€” Deployment Topology Reference

The canonical architecture map. 5 deployment layers, 30 MCPs in 3 trust rings, UK-sovereign infrastructure, complete data-flow map, and failover topology. This is the reference operators use to understand what lives where and how data flows.

πŸ—οΈ The 5-Layer Architecture

L5Edge / Presentation Layer

The user-facing surface. Static HTML pages deployed on Vercel (www.csoai.org). Zero server-side state. All dynamic content generated at build time and served as static files. CDN-cached globally, TLS1.3 terminated at edge.

L4Governance Layer (BFT Council)

The 33-agent Byzantine Fault Tolerant governance council. Runs pre-flight votes on every deployment, monitors for red-line violations, and can trigger emergency sessions. This is the safety brain of DEFONEOS.

L3MCP Federation Layer (30 MCPs in 3 Rings)

30 Model Context Protocol servers organised into 3 trust rings with inward-cascade data flow. Each tool invocation is SIGIL-attested. MCPs are admitted/removed via BFT council vote.

L2Sovereign Inference Layer

Local AI inference on the sovereign mesh. No data leaves UK territory. Models run on commodity hardware (M2/M3/M4 MacBooks + MLX framework). Frontier models accessed only via sovereign-wrapped API bridges with SIGIL attestation.

L1Data Custody Layer (Sovereign Escrow)

The 7-layer sovereign data escrow. All sensitive data held in UK-only encrypted storage with Ed25519-signed receipts, RFC3161 timestamps, 4-eyes release, and BFT council veto. Zero US CLOUD Act exposure.

πŸ’ The 3 Trust Rings

RingTrust LevelMCPsInferenceData Residency
Ring 0Core Sovereign β€” highest trust, UK-only inference, BFT-gated7: sigil, bft, compliance, seal, redteam, escrow, auditUK-sovereign only (local MLX)UK-only, zero external
Ring 1Defence Sensors β€” AUKUS-compatible, SIGIL-attested, restricted data11: freetak, sentinel, ais, gdelt, rtsp, yolo, athena, mava, cesium, mqtt, openaqAUKUS-compatible (UK + allied models)UK + AUKUS territories
Ring 2Civil Open-Data β€” unrestricted public data, no classification12: os, govuk, companies, ons, met, nhs, env, transport, planning, parliament, ofcom, landregUnrestricted (any frontier model)Standard cloud

πŸ”„ Data Flow β€” Inward Cascade

Data flows INWARD β€” from open external sources toward the sovereign core. No data flows outward from Ring 0 without BFT-approved release.

Ring 2 (Civil Open-Data) Ring 1 (Defence Sensors) β”‚ β”‚ β”‚ Public datasets β”‚ ISR feeds, AIS, satellite β”‚ OS, ONS, GovUK, NHS β”‚ FreeTAK, YOLO, Sentinel β”‚ β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚ β–Ό β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ SIGIL Attestation β”‚ ◄── Every tool invocation signed β”‚ Point (Gateway) β”‚ Ed25519 + RFC3161 timestamp β””β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚ Attested data only β–Ό β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ Ring 0 Core β”‚ ◄── Sovereign inference (UK-only MLX) β”‚ BFT Governance β”‚ Compliance checks, escrow custody β”‚ Escrow Vault β”‚ SIGIL ledger, audit trail β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚ β”‚ BFT-approved release only (4-eyes + 23/33) β–Ό β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ Edge Layer β”‚ ◄── Static HTML output to Vercel CDN β”‚ www.csoai.org β”‚ Public-facing, zero dynamic state β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸ–₯️ Infrastructure Map

ComponentHostLocationBackupRPO/RTO
Edge (HTML pages)Vercel CDNGlobal edge (origin: UK)Git repo (GitHub)RPO 0 / RTO 0
BFT Council (33 agents)Sovereign meshM2/M3/M4 MacBooks (LAN)Cross-host redundancyRPO 0 / RTO 60s
MCP FederationSovereign meshM4 MacBook (primary)M3 MacBook (failover)RPO 5min / RTO 5min
Sovereign InferenceMLX on Apple SiliconM2/M3/M4 MacBooksFrontier API bridgeRPO 0 / RTO 0
Escrow Vault (encrypted data)UK-only data centreLondon (primary)Manchester (DR)RPO 15min / RTO 4h
SIGIL LedgerSovereign meshM4 MacBook (append-only)M3 + M2 mirrorsRPO 0 / RTO 0
Audit Trail (7-year retention)UK-only encrypted storageLondonManchesterRPO 0 / RTO 1h
Frontier API BridgeUK-routed proxyLondonManchesterRPO 0 / RTO 30s

πŸ” Security Zones

ZoneBoundaryControlsMonitoring
Zone A: Public EdgeInternet-facing HTMLTLS1.3, CDN DDoS, no dynamic contentVercel analytics, edge logs
Zone B: MCP FederationLAN-only, no internet inboundmTLS between MCPs, SIGIL attestation, BFT admission controlSIGIL ledger, BFT continuous scan
Zone C: Escrow VaultAir-gapped storage, encrypted at restAES-256-GCM, Ed25519 identity, 4-eyes release, BFT vetoEscrow event logs, BFT escrow monitor
Zone D: BFT CouncilLAN-only, quorum-protectedEd25519 votes, Byzantine detection, anti-pattern enforcementVote transcripts, participation metrics
Zone E: SIGIL LedgerAppend-only, cryptographically chainedEd25519 chaining, RFC3161 timestamps, hash integrityContinuous hash verification, tamper detection

πŸ“Š Federation Discovery Protocol

Each MCP exposes its capabilities via a well-known manifest:

# /.well-known/defoneos-manifest.json (per MCP)
{
  "mcp_id": "sentinel-hub-mcp",
  "ring": 1,
  "trust_level": "AUKUS-compatible",
  "tools": ["satellite_imagery", "ndvi_analysis", "change_detection"],
  "data_egress": "none",
  "sigil_attestation": true,
  "bft_admitted": "2026-07-09T14:00:00Z",
  "bft_vote": { "approve": 28, "amend": 3, "reject": 0 },
  "capabilities": {
    "realtime": false,
    "batch": true,
    "classification_max": "OFFICIAL"
  },
  "health_endpoint": "/health",
  "quarantine_status": "active"
}

πŸ”„ Failover & Degradation Matrix

FailureImpactGraceful DegradationRecovery
Vercel outagePublic pages unavailablePages cached at edge (90min TTL)Vercel auto-recovery
M4 MacBook (primary MCP host) downRing 1 + Ring 2 MCPs offlineFailover to M3 MacBookManual recovery / reboot
BFT quorum drops <17No emergency sessions possibleAll operations freeze (safe-state)Restore agents to β‰₯17
BFT quorum 17-22Emergency sessions only, no standardStandard deployments pausedRestore to β‰₯23
Escrow vault (London) downNo new custody eventsFailover to Manchester DRRTO 4h
Frontier API bridge downNo frontier model accessLocal MLX inference only (Ring 0 unaffected)Restore UK proxy
SIGIL ledger corruptionAudit trail compromisedReconstruct from M3/M2 mirrorsManual forensic rebuild
Byzantine agent detectedCouncil integrity at riskAgent quarantined, session re-runNew agent provisioned

πŸ“¦ Deployment Pipeline

Build (local) β”‚ β”œβ”€β”€ Generate HTML pages (hand-crafted, no framework) β”œβ”€β”€ Update sitemap.xml (all URLs) β”œβ”€β”€ Write SIGIL receipt for the build β”‚ β–Ό BFT Pre-Flight Vote (33 agents) β”‚ β”œβ”€β”€ Each agent reviews: red-lines, care-score, compliance β”œβ”€β”€ Vote: APPROVE / AMEND / REJECT β”œβ”€β”€ Quorum: 23/33 APPROVE required β”‚ β–Ό Deploy to Vercel β”‚ β”œβ”€β”€ vercel --prod β”œβ”€β”€ Wait for Ready (typically 15-20s) β”œβ”€β”€ Alias www.csoai.org to new deployment β”‚ β–Ό Verify (curl HTTP 200 all new pages) β”‚ β”œβ”€β”€ Byte-size verification (local file size = remote size) β”œβ”€β”€ Sitemap URL count check β”œβ”€β”€ Root page health check β”‚ β–Ό Update State + Claim β”‚ β”œβ”€β”€ DEFONEOS_SPRINT_STATE.json (counters, milestones) β”œβ”€β”€ AGENTS.md CLAIM board (claim + release entry) β”œβ”€β”€ SIGIL digest published β”‚ β–Ό Complete βœ…

πŸ“ˆ Current Estate Numbers

MetricTargetCurrentStatus
MCP servers3030HIT
Live pages50+506 (after this tick: 509)HIT +459 bonus
P0 repos cloned1515HIT
Vercel deployments (total)β€”101+β€”
SIGIL receipts (total)β€”100+β€”
BFT standard sessionsβ€”101β€”
BFT emergency sessions00CLEAN
Red-line violations00CLEAN