>_ sudo bash moon_pod_setup.sh
zagros-moon-pod
A small bundle you run on your own host to exchange data with a goat fabric, both ways.
A Zenoh router with mutual TLS that may write only your slot, an observe-only audit sink, and a mesh client on the host. Today it is for learning: rung 2 of the goat learner ladder, joined to the zagros sandbox, not in operational use.
$ cd zagros-moon-pod && sudo bash moon_pod_setup.shpod put <slot>/test/ping allow pod put outside/test/blocked deny fabric put release/goat/test/pong allow
tests/router-forwarding-local.sh asserts on every pull request, against two real Zenoh routers. Rules from host/zenoh-router.json5.tmpl.services in compose/docker-compose.ymlaccess_control.rules in host/zenoh-router.json5.tmplls clients/connectdocs/partner-contract.mdWhat it is
Used only to learn. A moon-pod joins an environment someone else runs. That environment's owner controls enrollment, the access rules, and what data may leave the pod.
It is not a sovereignty guarantee. A party that needs sovereignty runs its own environment and federates with others across a boundary.
You run it
On your own hardware, Apache-2.0, yours to read, log and fork. The mesh client runs on the host for kernel WireGuard and boot persistence; the router and the audit sink run in a small compose bundle on host networking.
It writes only your slot
Enrollment mints a slot, an mTLS identity and a single-use setup key in one act. The router's access control is default-deny: your apps publish and subscribe under <slot>/**, and the fabric sends you data on your inbound prefix.
Everything that crosses is observed
The audit sink subscribes to your namespace and exposes metrics, observe-only. A durable local log on your encrypted volume is the designed next step; until then retention is a step you own.
docs/figures/make-figures.py from compose/docker-compose.yml and clients/connect/.The contract at the boundary
What a pod meets where it touches the fabric, written self-contained in docs/partner-contract.md, with the custody floor and how the goat side receives a pod's data.
zagros is a sandbox goatnet for rapid onboarding. None of the sandbox shape is the production shape; zagros-vs-production.md lists the differences.
| # | Requirement |
|---|---|
| 1 | Identity assurance from a standards-compliant identity provider |
| 2 | Transport encryption with keys neither side delegates; WireGuard preferred |
| 3 | Data in and out at well-known Zenoh keys under the pod's namespace |
| 4 | The partner keeps 90 or more days of access logs |
| 5 | Every published topic declares its schema |
| 6 | Custody floor: data, identity and audit stay on the partner's side |
| 7 | Reversible: move to your own plane without re-onboarding |
Getting started
The reference host is Ubuntu 24.04 LTS. The setup script is one re-runnable menu: bring-up, stand-up and verify. Nothing runs until you confirm, and the setup key is never put on a command line.
git clone https://github.com/USAREUR-AF/zagros-moon-pod cd zagros-moon-pod sudo bash moon_pod_setup.sh # choose "Configure inputs", then Part 1, 2 or 3
Partner run guide · Host bring-up · Client SDKs · Architecture