Engine reference — generated from the canonical engineering source. Do not edit this page by hand.
Tenancy posture (single-org per Sol, single-tenant per worker)
Status: DECIDED (2026-11-06) — `` /. Owner:
product/architecture. This page is the published posture matrix; the
enforcement is in sol_tenancy.erl (scope_opts/2, ready_verdict/1) and
GET /api/v1/infra/status (tenancy).
The decision
ZERG ships one organization per Sol and one tenant per worker. It does Not claim shared-worker multi-tenancy: a worker is a trusted registration principal (its operator can read every task prompt and workspace it is told to use). Confidential/attested multi-tenant workers remain a separate, unfunded decision — the target design is ADR-0011.
`` is DECIDED: the single-org branch, with the ADR-0011 no-regret
enforcement leg. No tenant_id token claim, store backfill or shared-worker
claim is authorized by this decision.
Posture matrix
| Deployment | Tenancy unit | Sol | Worker | Shared worker allowed? | Claim |
|---|---|---|---|---|---|
| Local / dev | one trusted principal (or a few on one host) | single-org per Sol | single-tenant; the dev ack levers are explicit and CRITICAL-logged | only with SOL_ALLOW_SHARED_WORKER=true and no isolation claim | no SaaS/multi-tenant claim |
| WILDZERG (self-hosted) | the operator’s organization | single-org per Sol | single-tenant per enrollment; provision one worker per trust domain | only with the explicit ack; not a supported isolation boundary | no shared-worker multi-tenant claim |
| ZERG | not launched | single-org per Sol until a funded program lands | single-tenant | no | no shared-worker multi-tenant claim |
What is enforced (not prose)
- Server-derived workspace scope. Every task crossing the HTTP/local-worker
dispatch boundary is stripped of client-supplied
workspace_rootandtenant_id, then stamped with<workspace_root>/users/<server-scope>/. The scope is derived from the authenticateduser_uuid(never a request field); unsafe characters are hashed so a crafted principal cannot traverse into another user’s subtree. Two users sharing one worker therefore never share the worker’s default PWD/config workspace. The HTTP workspace API is scoped by the SAME rule: a non-admin caller is rooted at<workspace_root>/users/<server-scope>/(a member cannot read/write another member’s task workspace); an admin keeps the global root and may cross. The control-plane./..principals hash like any unsafe principal. The drill istests/integration/test_tenancy_shared_worker.py(two real users, one registered worker, the real wire frames). - Shared-worker declaration refusal. A READY frame that declares
tenancy: "shared"(orshared_worker: true) is refused withshared_worker_requires_declarationunless the deployment has explicitly acknowledged it withSOL_ALLOW_SHARED_WORKER=true(allow_shared_worker). The refusal is counted insol_zmq_registration_refused_total{reason="shared_worker_requires_declaration"}and, only when the delivering pipe is already the identity’s READY-bound pipe, delivered as a typederrorframe (details carry the remediation). A first-registration refusal (no binding exists yet) and a refusal arriving on a foreign pipe are log + counter only — WIRE-01’s pre-auth addressing rule; Sol never routes a refusal by a declared identity. Even with the ack, no multi-tenant isolation is claimed. - Posture is API truth.
GET /api/v1/infra/statuscarriestenancy: {mode: single_org, tenant_unit: sol, worker_tenancy: single_tenant, shared_worker_supported: false, shared_worker_allowed: <bool>}in both the public (booleans/status only) and admin views.
What is not claimed
No tenant_id in Mango tokens or Sol stores; Mango orgs are not consumed by
Sol.
No isolation between users that share a worker host from the worker
operator’s perspective; the worker operator is trusted.
No per-tenant quotas, streams, spend partitioning or backup boundaries.
No shared-worker SaaS mode. A future multi-tenant program must follow
ADR-0011 option 2 plus the spine/durability decisions and the
cross-tenant-read test.
Operator guidance (provisioning)
Provision one enrollment key per worker and one worker per trust domain
(per organization, or per security boundary inside it).
Do not attach shared hardware to a Sol unless the operator accepts that the
hardware operator can read every task/workspace on it.
If a worker must be shared for a lab/dev deployment, set
SOL_ALLOW_SHARED_WORKER=true explicitly and record that the deployment has
no multi-tenant isolation. The boot/registration path still refuses a
declaration without the ack, so a shared worker cannot appear silently.
The zmq.allowed_workspace_roots Luna allowlist remains a defense-in-depth
control; Sol already stamps a server-derived root.
See also
ADR-0011 — tenant/worker isolation
Worker integration — READY fields and refusals
Security — worker trust plane
Configuration reference — allow_shared_worker