โˆ 
๐ŸŒธ WateringHole Zola/Hugo (Live Rust + petalTongue)
Engine:markdown ยท petalTongue:true ยท loamSpine:true ยท coralReef:true

Three-Domain Topology Spec

Three-Domain Topology SpecCNS/PNS Sovereign Index: 3.9 ratio1.0-1.2-1.0-0.8-0.6-0.4-0.2-0.00.20.40.60.81.01.2-0.50.00.51.01.52.02.5CNS/PNS Sovereign Index: 3.9 ratioLiving Document Structure-0.20.00.20.40.60.81.01.21.41.61.82.02.2-50005001.0k1.5k2.0k2.5k3.0kLiving Document Structure

Three-Domain Topology Spec

Date: Aug 4, 2026 | Wave: 155v/156d | From: sporeGate (eastGate overwatch)

Owner: sporeGate topology team

Status: OPERATIONAL โ€” ALL 3 LAYERS SEPARATED. primals.eco LIVE (Zola, Cloudflare), nestgate.io LIVE (petalTongue mesh, sovereign DNS), primal.eco SEALED (0 public A records, dnsmasq-only)

---

Domain Architecture

The ecoPrimals ecosystem operates across three distinct DNS domains,

each mapped to a K-Derm envelope layer:

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                          INTERNET (public)                               โ”‚
โ”‚                                                                          โ”‚
โ”‚  primals.eco โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ OUTER MEMBRANE (Cloudflare DNS)                โ”‚
โ”‚  โ”œโ”€โ”€ sporeprint.primals.eco   Public research site (Zola, 302 pages)     โ”‚
โ”‚  โ”œโ”€โ”€ footprint.primals.eco    GIS composition (โ†’ sporeGate :8090)        โ”‚
โ”‚  โ”œโ”€โ”€ webb.primals.eco         CRPG game garden (โ†’ ironGate :8090)        โ”‚
โ”‚  โ”œโ”€โ”€ live.primals.eco         petalTongue TOPO-VIS (โ†’ sporeGate :8190)   โ”‚
โ”‚  โ”œโ”€โ”€ lab.primals.eco          JupyterHub gateway (โ†’ sporeGate :7780)     โ”‚
โ”‚  โ”œโ”€โ”€ membrane.primals.eco     Depot, hooks, status                       โ”‚
โ”‚  โ”œโ”€โ”€ depot.primals.eco        Binary depot browser                       โ”‚
โ”‚  โ”œโ”€โ”€ ca.primals.eco           SSH CA (step-ca)                           โ”‚
โ”‚  โ”œโ”€โ”€ relay.primals.eco        RustDesk MitoBeacon                        โ”‚
โ”‚  โ”œโ”€โ”€ git.primals.eco          Forgejo (localhost:3000)                    โ”‚
โ”‚  โ””โ”€โ”€ *.primals.eco            Wildcard โ†’ golgi ([RELAY_PUBLIC])           โ”‚
โ”‚                                                                          โ”‚
โ”‚  nestgate.io โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ PEPTIDOGLYCAN (Sovereign Knot DNS + DNSSEC)    โ”‚
โ”‚  โ”œโ”€โ”€ nestgate.io              petalTongue mesh (โ†’ sporeGate :8190)       โ”‚
โ”‚  โ”œโ”€โ”€ www.nestgate.io          โ†’ redirect to nestgate.io                  โ”‚
โ”‚  โ”œโ”€โ”€ (future) /cas/           Federated CAS browser                      โ”‚
โ”‚  โ”œโ”€โ”€ (future) /depot/         Binary depot (migration from membrane)     โ”‚
โ”‚  โ”œโ”€โ”€ (future) /provenance/    Provenance chain viewer                    โ”‚
โ”‚  โ””โ”€โ”€ (future) /validate/      Replication validation endpoint            โ”‚
โ”‚                                                                          โ”‚
โ”‚  primal.eco โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ INNER MEMBRANE (Sovereign Knot DNS, NO A recs) โ”‚
โ”‚  โ”œโ”€โ”€ *.primal.eco             dnsmasq only (10.13.37.0/24 WG mesh)       โ”‚
โ”‚  โ”œโ”€โ”€ UDS/JSON-RPC             Primal-to-primal IPC                       โ”‚
โ”‚  โ””โ”€โ”€ songBird mesh            Federation + drawbridge                    โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Domain Responsibilities

DomainEnvelopeServesServed ByDNSPublic A Records
primals.ecoOuter membranePublic site, publications, lab accesssporePrint (Zola) + CaddyCloudflaregolgi [RELAY_PUBLIC] + wildcard
nestgate.ioPeptidoglycanCAS braids, depot, provenance, validation, gitpetalTongue + Forgejo + CaddySovereign Knot DNSgolgi [RELAY_PUBLIC]
primal.ecoInner membraneMesh-only gate comms, NUCLEUS IPCWireGuard + UDS + songBirdSovereign Knot DNSNONE (all removed)

Why Three Domains

1. primals.eco is the public face โ€” researchers, PIs, anyone can see publications

and the research catalog. Zola static site, maximum security posture.

2. nestgate.io is the validation surface โ€” where CAS data braids are exposed so

others can validate provenance, replicate datasets, and verify computational results.

This is NOT the public site; it's the PI/researcher-facing \"trust surface\" where

data integrity is proven. Served by petalTongue (not Zola), making it a

validated system that dogfoods the primals.

3. primal.eco is the inner mesh โ€” gate-to-gate communication, NUCLEUS IPC,

songBird federation. Never exposed publicly. WireGuard mesh only.

---

nestgate.io Evolution Plan

Current State (LIVE โ€” Aug 4, 2026)

nestgate.io is served by petalTongue v1.7.0 on sporeGate NUCLEUS via WG mesh:

nestgate.io โ†’ golgi Caddy (TLS termination)
           โ†’ WG mesh 10.13.37.1 โ†’ 10.13.37.2:8190
           โ†’ petalTongue (web + IPC mode) on sporeGate

DNS: A record โ†’ [RELAY_PUBLIC] (golgi), TLS: Let's Encrypt via Caddy, DNSSEC: ON

Service: petaltongue-web.service (systemd user, lingering enabled)

Live now: Physical topology, K-Derm layers, hardening controls, depot status,

ecosystem coordination โ€” all rendered from manifest data.

DIVs resolved:

  • DIV-1 FIXED: nestGate --socket /run/membrane/nestgate-e8b62b6e.sock added via systemd drop-in.

Neural API capability.resolve(\"content.get\") now routes to nestGate.

  • DIV-2 FIXED: Symlink /run/user/1000/biomeos/content-provider-e8b62b6e.sock โ†’ nestgate-e8b62b6e.sock.

Persisted via ExecStartPost in membrane-nestgate.service.d/uds-socket.conf.

  • DIV-3 ACCEPTED: Port 8190 (8090 occupied). No action needed.
  • DIV-4 FIXED: Title branded \"nestgate.io โ€” ecoPrimals Data Surface\", h1 \"nestgate.io\".

petalTongue v1.7.0 rebuilt with branding and deployed.

Remaining: CAS content data not yet populated on sporeGate (WG overlay shows

\"Not Found\" โ€” this is a CAS miss, not a socket error). Needs CAS population from

westGate or mesh-replicated data braids.

Phase 1 COMPLETE: petalTongue Mesh Surface

petalTongue serves nestgate.io natively from sporeGate. No more redirect.

Data pages will be served by a primal, not a static site.

Phase 2: Depot + Provenance Browser โ€” ACTIVE (Wave 157j)

Depot browsing and provenance inspection routes added to petalTongue web mode:

  • /depot/ โ€” architecture overview (binary counts, sizes)
  • /depot/{arch} โ€” list binaries for architecture with BLAKE3 checksums
  • /depot/{arch}/{name} โ€” single binary provenance (hash, size, depot URL)
  • /provenance/ โ€” provenance chain overview (architectures, tracked binary counts)
  • /provenance/{hash} โ€” single-object provenance tree (BLAKE3 lookup across depot)

Data source: local depot filesystem + checksums.toml. Phase 3 will federate

across gates via songBird content.locate mesh queries.

Phase 3: Federated CAS + Compute Memoization

nestgate.io becomes the data federation surface โ€” not just one gate's CAS,

but a federated view across all gates:

  • /cas/{hash} โ€” retrieve any CAS object by BLAKE3 hash, federated across gates
  • /cas/{hash}/provenance โ€” full provenance chain (DAG โ†’ spine โ†’ Merkle โ†’ braid)
  • /cas/{hash}/replicate โ€” replication instructions (which gates hold copies)
  • /compute/configs/ โ€” memoized compute configurations (thermalized lattices, etc.)
  • /compute/configs/{hash} โ€” retrieve a cached compute config with its provenance

Data Federation Pattern: nestgate.io resolves CAS queries by consulting

nestGate instances on multiple gates via songBird mesh. A request for a hash

checks westGate (data NAS), strandGate (compute configs), ironGate (consumer

data), and any gate with a local CAS. The first gate holding the object serves

it. This is the same content-addressed pattern as git โ€” the hash is the address,

the gate is an implementation detail.

Compute Memoization for QCD: strandGate's thermalized lattice configs

(38 MB at 16โด, deterministic on dims,ฮฒ,seed,n_therm,integrator) are CAS

objects with provenance braids. hotSpring can request a config via nestgate.io

and get it from whichever gate holds it โ€” strandGate (origin), biomeGate

(cross-vendor validation), or any future compute gate. The 37-minute CPU

thermalization becomes a one-time cost stored forever.

Replication: Any researcher can hit /cas/{hash}/replicate to get:

1. The object itself (or a download link to the gate holding it)

2. The full provenance chain proving its lineage

3. Instructions to reproduce it independently (parameters, code commit, gate)

Phase 4: Validation Endpoint

Public validation API:

  • /validate/cas/{hash} โ€” verify a CAS object exists and return its provenance
  • /validate/dataset/{name} โ€” verify all objects in a dataset, report completeness
  • /validate/replicate/{name} โ€” generate replication package (hashes + instructions)

This is what makes nestgate.io the \"trust surface\" โ€” external researchers can

independently verify that the data they received matches the provenance chain.

Phase 5: git Migration

Move git.primals.eco under nestgate.io:

  • nestgate.io/git/ or git.nestgate.io โ€” Forgejo
  • CAS + git + depot all under the peptidoglycan layer

---

Caddy Configuration (golgi โ€” LIVE)

Source of truth: /etc/membrane/Caddyfile on golgi.

Version-controlled copy: infra/plasmidBin/membrane/Caddyfile (synced Aug 4, 2026).

golgi does TLS termination (Let's Encrypt auto-cert, CAA-locked).

Security headers, CSP, access logging, gzip on all blocks.

Routing Table (LIVE)

SubdomainBackendPortGateNotes
primals.ecoredirect โ†’ sporeprint.primals.ecoโ€”golgi+ /enroll โ†’ 127.0.0.1:7780
www.primals.ecoredirect โ†’ sporeprint.primals.ecoโ€”golgi
sporeprint.primals.ecoZola staticfilesystemgolgi302 pages, pseudoSpore gallery
footprint.primals.ecoreverse_proxy:8090sporeGate 10.13.37.2GIS composition
webb.primals.ecoreverse_proxy:8090ironGate 10.13.37.7CRPG game garden
live.primals.ecoreverse_proxy:8190sporeGate 10.13.37.2petalTongue TOPO-VIS (shares port with nestgate.io)
lab.primals.ecoreverse_proxy:7780sporeGate 10.13.37.2JupyterHub (basicauth)
membrane.primals.ecomixedโ€”golgidepot, hooks, status
depot.primals.ecofilesystemโ€”golgibinary depot browser
ca.primals.ecoreverse_proxy:9443golgi (localhost)step-ca SSH CA
relay.primals.ecostaticโ€”golgiRustDesk page (basicauth)
git.primals.ecoreverse_proxy:3000golgi (localhost)Forgejo + webhook handler
nestgate.ioreverse_proxy:8190sporeGate 10.13.37.2petalTongue mesh
www.nestgate.ioredirect โ†’ nestgate.ioโ€”golgi

---

Data Federation Architecture

nestgate.io is not a single-gate service โ€” it's a federated CAS front door

backed by nestGate instances running on every NUCLEUS gate:

                    nestgate.io (golgi / petalTongue)
                         โ”‚
              โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
              โ”‚          โ”‚              โ”‚
         westGate    strandGate     ironGate
         (data NAS)  (compute)     (consumer)
         519 GB       lattice       footPrint
         130 datasets configs       projects
         AlphaFold    QCD memos     GIS cache

Federation Flow

1. Request: GET nestgate.io/cas/{hash}

2. Resolve: petalTongue queries local nestGate โ†’ not found โ†’

songBird content.locate mesh broadcast โ†’ westGate responds \"I have it\"

3. Serve: petalTongue proxies the response from westGate's nestGate

4. Cache: golgi optionally caches hot objects locally (L1 cache for public)

What Lives Where

GateCAS ContentsFederation Role
westGate519 GB science data, AlphaFold, LINCS, PDB, SRAPrimary data origin
strandGateThermalized lattice configs, QCD production resultsCompute memoization origin
ironGatefootPrint GIS projects, esotericWebb game stateConsumer data origin
golgiHot object cache, depot binariesPublic edge / L1 cache
biomeGateCross-vendor validation configsCompute validation

Why This Matters

  • For hotSpring QCD: thermalized configs computed on strandGate are available

to any gate via nestgate.io. biomeGate can pull a config for cross-vendor

parity checks. A future compute gate joins the mesh and immediately has access

to all cached configs โ€” no manual transfer.

  • For tideGlass NF: GPS platform data on westGate is retrievable from any

gate via nestgate.io. When tideGlass runs on ironGate (or any future gate),

it fetches data by hash, not by knowing which gate has it.

  • For replication: A reviewer hits nestgate.io/cas/{hash} with a hash

from a paper. nestgate.io resolves it across the mesh and returns the object

with its full provenance chain. The reviewer can independently verify that

the data is what the paper claims.

---

CAS Data Braids Divergences (Upstream โ†’ Overwatch)

These divergences from the tideGlass CAS wiring AAR affect all primals

consuming CAS data. Owned by upstream overwatch, not sporeGate topology.

DIVIssueOwner
DIV-1DATA_ACCESS.md wrong hash format (blake3:abc123 vs plain hex)overwatch
DIV-2No content.query โ€” only exact hash retrievalnestGate team
DIV-3DATA_ACCESS.md references nonexistent methodsoverwatch
DIV-4GPS data is NumPy/pickle โ€” needs converterwestGate data
DIV-5groundSpring, airSpring stale CAS clientsoverwatch
DIV-6content.get 64 MiB limit โ€” needs streamingnestGate team

Recommendation from tideGlass: Publish canonical nestgate-client crate.

---

DNS Ownership

DomainRegistrarDNS ProviderNameserversManaged By
primals.ecoPorkbunCloudflarealbertus/serena.cloudflare.comUser via CF dashboard
nestgate.ioPorkbunSovereign Knot DNSns1/ns2.primals.eco (golgi/golgi-ext)sporeGate via knotc
primal.ecoPorkbunSovereign Knot DNSns1/ns2.primals.eco (golgi/golgi-ext)sporeGate via knotc

Sovereign DNS: Knot DNS with automatic DNSSEC (ECDSA P-256). Master on golgi

([RELAY_PUBLIC]), slave on golgi-ext (137.184.197.151). Zone transfers via AXFR/IXFR.

Cloudflare only used for primals.eco (outer membrane). Inner two layers are fully

sovereign โ€” no external DNS dependency.

---

K-Derm Separation โ€” Operational Plan

Current DNS Records (Cloudflare)

primals.eco (LIVE โ€” outer membrane):

A       primals.eco           โ†’ [RELAY_PUBLIC] (golgi)        โœ“ LIVE
CNAME   sporeprint            โ†’ primals.eco                   โœ“ LIVE
CNAME   lab                   โ†’ primals.eco                   โœ“ LIVE
CNAME   relay                 โ†’ primals.eco                   โœ“ LIVE
CNAME   ca                    โ†’ primals.eco                   โœ“ LIVE
CNAME   depot                 โ†’ primals.eco                   โœ“ LIVE
A       git.primals.eco       โ†’ [RELAY_PUBLIC] (golgi)        โœ“ LIVE (Forgejo)

nestgate.io (LIVE โ€” peptidoglycan):

A       nestgate.io           โ†’ [RELAY_PUBLIC] (golgi)        โœ“ LIVE (โ†’ petalTongue via mesh)

primal.eco (NOT YET SEPARATED โ€” inner membrane):

(no public DNS records โ€” internal resolution only)

What sporeGate Owns (no user action needed)

TaskWhatStatus
golgi Caddy routingAll Caddyfile changes for primals.eco + nestgate.iosporeGate SSHs into golgi
sporeGate petalTonguepetaltongue-web.service serving nestgate.io on :8190LIVE
dnsmasq LAN resolutionInternal *.primal.eco resolution for mesh gatessporeGate dnsmasq config
Forgejo configgit.primals.eco backend on golgisporeGate manages
Let's Encrypt certsAuto-renewed by Caddy for all public domainsAutomatic
nestgate.io content evolutionWire biomeOS content provider, branding, CAS federationsporeGate + petalTongue team

What Needs User Action (Porkbun / Cloudflare)

TaskWhereWhatPriority
KD-01: Verify nestgate.io DNSSECCloudflareConfirm DNSSEC is ON for nestgate.io zone (should be, but verify)P2
KD-02: Add nestgate.io subdomainsCloudflareWhen ready: git.nestgate.io CNAME โ†’ nestgate.io (Phase 5 โ€” git migration)FUTURE
KD-03: primal.eco โ€” remove any public A recordsPorkbun/CloudflareIf primal.eco has any public A/CNAME records, remove them. Inner membrane must NOT be publicly resolvable.P1
KD-04: primal.eco โ€” verify nameserversPorkbunIf primal.eco is on Cloudflare, consider removing it from CF entirely (no public DNS needed). OR keep it on CF with zero records (domain parked).P1
KD-05: footprint.primals.ecoCloudflareAdd CNAME footprint โ†’ primals.eco (for ironGate routing via golgi)P1
KD-06: Verify primals.eco DNSSECCloudflareConfirm DNSSEC chain is intact (Porkbun DS records โ†’ Cloudflare)P2

primal.eco Internal Resolution (sporeGate dnsmasq)

sporeGate's dnsmasq provides internal resolution for the inner membrane:

# /etc/dnsmasq.d/primal-eco.conf (sporeGate)

# Inner membrane โ€” gate names resolve to WireGuard IPs
address=/golgi.primal.eco/10.13.37.1
address=/sporegate.primal.eco/10.13.37.2
address=/biomegate.primal.eco/10.13.37.3
address=/eastgate.primal.eco/10.13.37.5
address=/flockgate.primal.eco/10.13.37.6
address=/irongate.primal.eco/10.13.37.7
address=/northgate.primal.eco/10.13.37.8
address=/strandgate.primal.eco/10.13.37.10
address=/westgate.primal.eco/10.13.37.11
address=/bluegate.primal.eco/10.13.37.12

Gates that use sporeGate as DNS (via DHCP or manual) get *.primal.eco

resolution for free. Gates off the LAN resolve via WireGuard mesh +

songBird discovery (no DNS needed โ€” UDS sockets).

Separation Checklist

  • [x] primals.eco (outer) โ€” LIVE. Zola + Caddy on golgi. DNS on Cloudflare.
  • [x] nestgate.io (peti) โ€” LIVE. petalTongue on sporeGate via mesh. Sovereign Knot DNS.
  • [x] primal.eco (inner) โ€” SEALED. All 6 public A records REMOVED from Knot DNS zone.
  • [x] www.nestgate.io โ€” Fixed to golgi ([RELAY_PUBLIC]). Caddy redirect added.
  • [x] Caddyfile โ€” nestgate.io + www.nestgate.io + sporeprint.primals.eco blocks added.
  • [x] primal.eco dnsmasq config โ€” Created. Ready to deploy to sporeGate.
  • [x] golgi SSH host key โ€” Fixed. Master DNS accessible.
  • [ ] KD-04: Decide primal.eco nameserver posture (keep sovereign or park) โ€” P3
  • [x] ~~KD-05~~: footprint.primals.eco โ€” NOT NEEDED, wildcard *.primals.eco covers all subdomains. sporeGate owns routing via Caddy.
  • [x] KD-06: primals.eco DNSSEC chain VERIFIED โ€” DS 2371/13/2 matches at .eco TLD and Porkbun
  • [ ] Deploy Caddyfile to golgi โ€” sporeGate team
  • [ ] Deploy dnsmasq config to sporeGate โ€” sporeGate team
  • [ ] Wire biomeOS content provider for nestgate.io (DIV-1)
  • [ ] Brand nestgate.io โ€” title, header, favicon (DIV-4)
  • [ ] git.nestgate.io migration (Phase 5, FUTURE)