EN FR

Couche 3 — Fédération

Molécule · 3 pools bondés · RAID quorum · gossip anti-entropy

MOLÉCULE · 3 pools bondés · quorum N≥3 (floor(N/2)+1 = 2) VPS cellule.ai pool public · WAN pool v0.2.67 pool primaire atom id Ed25519 Gladiator pool GPU · satellite venv isolé · pgvector docker atom id Ed25519 systemd · bootstrap runbook master.86 pool cluster · satellite Qwen 14B · 363 Go libres pool2 · RAID member Vertex-307b migré ici Ed25519 Ed25519 bonded bi-dir PROTOCOLES FÉDÉRATION Gossip M11.2 anti-entropy pull · 3-row signed Merkle M11 RFC 6962 · exclusion slashed Heartbeat M7b failover · seed list · discovery Forwarding M7a cross-pool jobs · worker_sig=NULL RAID quorum (M11) • Création row : N pools présents → signature quorum • Rebuild cross-verify : si 1 pool tombe, data reconstruite • Merkle primitive v1 figé (format + ordering) • RF=1 historique (avant M11) → RF=N quorum désormais Goal : perte 1 pool ≥3 = 0 data loss (Cassandra multi-DC mental model) M12 — Recrutement & placement • Pools détectent gaps de capacité → recrutent • Worker consulte gaps AVANT de join (autosuffisance) • Migration sur panne pool : Vertex VPS → master.86 (35s) • Forwarding = fallback, pas le default Routing = seul levier (pas de rate premium · token-guardian validé) Trust model v2 (M5) 0 unknown · 1 observed · 2 reciprocal · 3 replication-bonded (LIVE) 4 settlement-bonded · LOCKED jusqu'à M10 live • Trust 3 HARD-LOCKED en code · reciprocation opt-in cap 64 • Kill switch FS /etc/iamine/fed_disable (M6) M11.5 invariants gossip • Conversations Fernet (contenu chiffré end-to-end) • Bootstrap resumable · tracking relationships obligatoire • TODO split-brain M11.4 (différé jusqu'à N≥5 WAN) • Scale : épidémique k=3 avant N=10 (mesh O(N²) casse)

3 pools live (2026-04-11+)

  • • Pool primaire public (WAN)
  • • Pool satellite GPU
  • • Pool satellite cluster
  • • Quorum N=3 atteint · RAID member

Ed25519 bonding

  • • Bi-directionnel entre pools
  • • Trust-3 replication-bonded (LIVE)
  • • Reciprocation opt-in, cap 64
  • • Idempotence sur enroll

Gossip M11.2

  • • Anti-entropy pull-based (validé E2E)
  • • Signed rows · merkle · idempotent
  • • 2 bugs non-bloquants trackés
  • • Scale cible : épidémique k=3 (N≥10)

M7a Forwarding

  • • Cross-pool jobs server-side
  • • Pas de wheel change worker
  • • ledger.worker_sig=NULL (pending)
  • • M7-worker différé M9b

M12 migration validée E2E

  • • Pool tombe → worker migre (35s)
  • • Discovery gaps + latence
  • • Baseline résilience
  • • Preuve "molécule" vivante

Gouvernance

  • • Phase 1 : hardcode + UI
  • • Phase 2 : config signée quorum
  • • 5 invariants molecule-guardian
  • • Blacklist → Q7 obligatoire