Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Engine reference — generated from the canonical engineering source. Do not edit this page by hand.

ZERG Glossary

One-page definitions for the names and terms used across the ZERG documentation. The compressed engineering authority is AGENTS.md; this page is the human-readable entry point.

Products & brands

TermDefinition
ZERGThe Spacebeam-hosted control plane at zergs.net — invite-first waitlist, not launched (the SaaS home currently hosts the Nydus Network).
WILDZERGThe on-prem/self-hosted variant at wildzerg.com — the “wild blueprint” (runit + podman GitOps). Full sovereignty, air-gap capable. LIVE. Use “WILDZERG”, never the retired “Cosmos”.
ZERGBASEThe MIT-licensed open-source infra panel (zergbase.com) — the funnel into Zerg/WILDZERG.
Nydus NetworkThe federation layer — a feature/arrangement of WILDZERG (not a third brand); registry at nydus.zergs.net.
MCP GatewayThe Microsoft MCP Gateway integration (MIT) — Enterprise-tier add-on for managing fleets of MCP servers on Kubernetes.

Services (the four pillars + two web properties)

TermDefinition
SolThe Erlang/OTP orchestrator (server/). Cowboy HTTP (SSE/WS streaming), llama.cpp inference, ZMQ ROUTER gateway, event-sourced backbone (Mnesia), workflow engine, scheduler, Luerl plugin sandbox, provider adapters with circuit breakers, distributed-Erlang clustering.
LunaThe LuaJIT worker-node agent (client/). <10 MB RAM; tools=92 registered tools + MCP; 8 agent modes; sandbox backends; dual-write sessions; cross-session memory; sub-agents; vision pipeline.
MangoThe Python/Tornado identity/auth microservice (mango/). Token auth, RBAC with cached permission resolution, audit trail, ZMQ event bridge to Sol for live cache invalidation, SQLite/PostgreSQL.
LimonThe Vue.js 3 ops console (limon/) — real-time agent activity (WebSocket + SSE), skills marketplace, chat interface, infra status. Internal dev mirrors live on *.nonsense.ws.
ToronjaThe public product page (toronja/, served at zergs.net). SHARED source — wild applies post-build transforms for wildzerg.com; never edit for one variant.
StarfruitThe corporate page (starfruit/, served at spacebeam.org). SHARED source with wild transforms.

Runtime concepts — Sol

TermDefinition
Event storeThe Mnesia event-sourcing backbone: typed events (event_types=102), framed WAL segments, single-ingress archive, terminality-aware compaction, replay on boot. See event-store.md.
ProjectionA read model built from the event stream (tasks, chat, goals, sessions, lanes). Projectors compare-and-write on seq (monotonic projection guard).
Dispatch outboxsol_dispatch_outbox — the receipt row written pre-send in the dispatch funnel; cleared at the terminal chokepoint; boot reconcile requeues at-least-once.
Ownership gatesol_zmq_ownership — result/token/error/event frames are accepted only from the RECORDED executor (stamped at dispatch); executor-less or mismatched senders are refused.
LaneA local-inference serving channel: a named model slot with an engine, host policy, and port. See local-inference-lanes.md.
EngineA certified llama.cpp binary artifact built/certified/distributed by the engine pipeline (build → certify → distribute → rollback), with provenance receipts. See engine-provenance.md.
Workflow (saga)The gen_statem workflow engine with compensation (LIFO marker-before-effect), pause/resume gates, budgets, and durable attempt markers.
SchedulerCron/at/every scheduled tasks — single-writer claim (atomic CAS), runtime leases, naive-UTC timezone posture (documented).
Plugin sandboxLuerl plugins run only through budgeted VM runners (reductions + wall clock); wire tool names are plugin__<plugin>__<name> and never shadow builtins. See plugin-development.md.
Permission modes6 modes: default, allow-all, deny-all, read-only, plan, auto (AI classifier) — see permissions.md; execute-class RBAC gates mutation tools.

Runtime concepts — Luna

TermDefinition
Sandbox backendsMutually exclusive execution-isolation backends: bwrap (namespace/network/read owner), Landlock (Linux write-deny fork layer — never executes), seatbelt (macOS). The machine count sandbox_layers=3 is the backend census.
Agent modes8 modes: Build/Plan/Explore/Review/General/Coordinate + the swarm modes Leader/Teammate.
Sub-agentA child agent spawned locally, over ZMQ, in a team, or in the background; children inherit the parent’s execution config + workspace + ruleset with deny=∪ ask=∪ allow=∩.
Team swarm / directiveMulti-agent coordination: a LEADER assigns work via signed team_directive frames; teammates execute and reply through the team mailbox. Directives are the fleet-correct assignment plane (team_spawn is retired).
Dual-write sessionsSession history is appended to JSONL and SQLite/FTS5 (fsynced, schema-version ledger). See sessions.md.
Cross-session memory7 backends (JSON, SQLite, dual-write, vector, file, graph, hybrid) with injection-scoped <untrusted-memory> fences.
Consent modelRepo-config security families require explicit user consent (.luna/trust approvals store); security families are ignored fail-closed without TTY. See consent.md.

Wire & trust

TermDefinition
ZMQ planesROUTER/DEALER worker plane + PUB/SUB events between Sol and Luna (msgpack wire). See zmq-protocol-reference.md.
CURVEZMQ curve25519 transport encryption — default-on for non-loopback; server cert auto-keygen; per-worker enrollment keys (key_id) with revocation.
MAC planePer-frame HMAC on worker-plane frames, derived from the verified credential (zmq_frame_mac lever: required/prefer/off).
Enrollment keyA per-worker provisioning key checked at READY; revoked/unknown keys are refused; worker-bound keys block stolen-key re-registration.
Ready counterMonotonic u64 in the registration material; stale/duplicated READY is detected and refused.
Identity propagationuser_uuid + permissions are captured in the caller (HTTP request process) and carried explicitly through every deferred-execution path — never via the process dictionary.
FIMFill-in-middle completion — the measured editor-completion plane.

Process & governance

TermDefinition
Phase fileplan/phase-vX.Y.Z-*.md — the plan for a release window; archived under plan/archive/ when closed. See plan/README.md.
D-numberA numbered engineering decision recorded in the decision ledger, docs/archive/AGENTS-decisions-archive.md. Decisions carry the “why”.
Residual registerThe live findings ledger (plan/residual-register-v0856.md); registers chain v0711 → v0738 → v0765 → v0856; the chain lint is machine-checked.
VerdictA review artifact under review/ (e.g. PASS / PASS-WITH-CONDITIONS / FAIL) — see review/README.md.
Counts ringThe machine-derived metric ring: ci/generate-agents-counts.sh → AGENTS.counts → rendered into docs by ci/render-docs-counts.py; ci/docs_counts_lint.py gates it. Never hand-edit keyed counts.
Required checksThe branch-protection CI check list (required_checks=20, authoritative in ci/branch_protection_lint.py).
Lint battery274 lint scripts (310 invocation sites) in the lint-suite gate — the project’s recurrence-prevention mechanism. See ci-lint-census.md (docs/ci-lint-census.md).
CrowThe CD pipeline (.crow.yml, podman backend) — owned by wild (separate repo: https://git.zergs.net/spacebeam/wild.git, see WILD_REF).
Forgejo ActionsThe CI test gate (.forgejo/workflows/ci.yml), self-hosted on wild toolchain images.
wildThe release-engineering repo/platform (runit + podman GitOps) that owns deploys and CD.
waleThe named implementation-review persona/batch convention used for parallel remediation batches.