Deployment mode policy¶
Deployment mode decides whether nodes are shared between tenants. It is a single choice with wide consequences, activated from the bootstrap contract and asserted at the same two admission points as tenant governance.
Two modes¶
In dedicated mode nodes serve one tenant, and the paths stay scope-neutral.
In shared mode nodes serve several tenants, and scope is required and
fail-closed.
The mode is not a per-request parameter. It is a property of the deployment, activated from the bootstrap contract, which is why the same node configuration behaves differently between two deployments.
What shared turns on¶
flowchart LR
BC[("Bootstrap contract<br/>deployment mode")]
subgraph CP["ASSIGNMENT PATHS"]
direction TB
G1{{"Pull admission"}}
G2{{"Claim admission<br/>stamps scope"}}
G3{{"Report admission<br/>checks the stamp"}}
end
BC -->|"shared: scope checks on"| CP
The mode is read from one record and switches the scope checks on all three paths together, which is why two deployments with the same node configuration behave differently.
In shared mode every path that touches an assignment resolves and validates a dispatch scope, and the scope is stamped onto the assignment at claim time so a later report is checked against what the work was claimed under.
Four refusals come out of that, and they name which step failed. See Admission and tenancy scoping.
Four operations¶
| Operation | Does |
|---|---|
| Resolve | Reads the mode in force |
| Activate from bootstrap | Sets it, from the bootstrap contract |
| Assert enrollment admission | Applies it when a node enrolls |
| Assert runtime registration admission | Applies it when a node registers |
Activation from bootstrap rather than from a request is the same pattern as the identity latch: a deployment's foundational choices come from what it was declared to be. See Bootstrap profiles and specs.
It carries its own versions¶
system.deployment_mode_policy.v1 the mode policy
system.tenancy_policy.v1 the tenancy policy alongside it
The tenancy policy's revision and the digest of its source spec travel in every node's runtime credential, so an admission decision knows which policy revision the caller is operating under without a lookup. See Runtime identity issuer.
Why the mode is a deployment property¶
Scope enforcement has to be uniform to be meaningful. A deployment where some paths required scope and others did not would have a boundary only as strong as its weakest path, and the failure would appear as a leak rather than as a refusal.
Making it one activated choice means the answer to "is tenant isolation enforced here" is a single readable value rather than an audit of every path.
Rate limits are part of the policy¶
Deployment mode policy also bounds the watch, pull and report rates a node may use, validated as integers of at least one. A node's cadence is therefore governed centrally rather than configured per node.