RFD 001: Frontier Architecture & Operational Invariants

How #CloudRING separates tenant state, object data planes, managed databases, hypervisor lifecycles, and cryptographic boundaries on a 3-node bare-metal cell without proprietary storage licenses or single-row bottlenecks.

Sources: docs/RFD-001-FRONTIER-ARCHITECTURE.md, docs/PR-FAQ.md, and executable Z3 proofs in docs/verification/frontier_invariants_z3.py.

1. Per-tenant partitioned control-plane persistence

Early prototype control planes frequently serialize all tenants, secrets, alarms, and object payloads into one shared JSON document. A single-row document hits hard PostgreSQL row-size ceilings and creates global lock contention across unrelated tenants.

#CloudRING partitions mutable tenant state across independent primary-keyed rows in cloudring_state.documents (PRIMARY KEY (scope, document_key)):

2. Apache-2.0 SeaweedFS HA object data plane (zero bytes in PostgreSQL)

Storing S3 object bodies as base64 strings inside PostgreSQL limits object sizes to kilobytes and causes unbounded relational write amplification. At the same time, AGPLv3-licensed S3 servers introduce copyleft friction for independent European hosting operators.

#CloudRING deploys an Apache-2.0 SeaweedFS HA cluster across all 3 bare-metal cell nodes:

3. Tenant Managed PostgreSQL via CloudNativePG 18.4

Running PostgreSQL on top of a 3-way replicated network block layer (such as Longhorn) while simultaneously running 3-way streaming replication creates 9x storage write amplification and tail-latency spikes.

Every tenant managed-postgresql order reconciles a real clusters.postgresql.cnpg.io/v1 Cluster inside the project’s isolated namespace:

4. Real KubeVirt lifecycle and honest Kubernetes HA boundary

VMware replacement claims only matter when every lifecycle control maps to real cluster custom resources:

5. OpenBao security gate and encrypted control-plane stores

6. Honest AWS SigV4 compatibility boundary

Instead of advertising inflated namespace counts where half the endpoints are in-memory stubs, /aws/_awscompat/healthz serves cloudring.awscompat.matrix/v2 with "honestBoundary": true, separating:

7. Formal invariants verified in Z3 SMT

Six architectural invariants are encoded and checked in docs/verification/frontier_invariants_z3.py alongside planted-defect negative controls:

Invariant Property Proved in Z3 (frontier_invariants_z3.py)
INV-1 control_plane_state_partitioning: monolithic row fails at 100 tenants (64-tenant hard ceiling at 64 KiB/tenant); partitioned rows satisfy 10,000 tenants.
INV-2 n1_worst_case_largest_node_loss_envelope: surviving 2 smallest nodes (63,665 MiB allocatable, 57,298 MiB 90% usable) leave 12,241 MiB verified tenant headroom; 20 GiB overcommit is unsat.
INV-3 zero_spof_3node_ha_placement: quorum services (replicas >= 3) and stateless services (replicas >= 2) survive any single-node failure; single-replica SPOF is unsat.
INV-4 ipam_host_node_disjointness: zero IP overlap between bare-metal host subnets and tenant IPAM pools; planted colliding pool is caught (sat).
INV-5 cross_namespace_operator_bulkhead_ndss2026: same-namespace reference enforcement leaves zero cross-namespace bypass counterexamples (unsat).
INV-6 iam_revocation_60s_bound_fr13: revocation propagation stays within the 60s bound (unsat violation); planted 300s cache TTL violation is caught (sat).

8. Honest EC Cloud Sovereignty Framework (v1.2.1) scorecard

Sovereignty Objective Current 3-Node EU Cell Honest Ceiling & Reason
SOV-1..4, SOV-6..7 (Strategic, Legal, Data, Operational, Security, Compliance) SEAL-3 (with EU DNS & registry cutover tracked for v0.9.5) Open Apache-2.0 control plane, EU bare metal, Ed25519-attested cloudring-exit switching bundles (EUR 0.00 fee).
SOV-5 (Technology / Silicon Supply Chain) SEAL-2 Commodity x86 server silicon and firmware remain non-EU manufactured; #CloudRING never overclaims SEAL-4 on commodity hardware.