Domains and domain taxonomy¶
A policy snapshot is one document, and different parts of the platform need different parts of it. Domains are how that one document is read: each domain extracts its own view, and the set of domains is closed.
The eight domains¶
| Domain | Governs |
|---|---|
quality |
Quality thresholds and the standards a run must meet |
retention |
How long records are kept |
disaster_recovery |
Recovery posture and its requirements |
secrets |
How secrets may be declared, bound and used |
llm_determinism |
Model pinning, generation defaults and reproducibility |
model_deployment |
What may be deployed and how |
build_cache |
What a build may reuse |
governance_process |
Approvals, exemptions and process requirements |
A domain is an extractor, not a separate document¶
flowchart LR
subgraph SN["EFFECTIVE POLICY SNAPSHOT, one document"]
direction TB
V[("Resolved values")]
end
subgraph DV["DOMAIN VIEWS, projections"]
direction TB
D1["retention view"]
D2["secrets view"]
D3["llm_determinism view"]
D4["one view per domain"]
end
V --> DV
Every domain reads the same snapshot. Because there is one source, two domains cannot disagree about a value both depend on, and a caller asking for one domain is asking for a projection rather than a separate resolution.
Values are normalised into ranges¶
Domains normalise the values they extract, so a threshold expressed differently by two authors resolves to the same comparable value. Normalisation happens at extraction rather than at comparison, which keeps the merge algorithm working on values it can order. See Effective policy computation and provenance.
Attachment is per domain¶
A bundle is attached for a domain at a level, rather than wholesale. The attachment surface reflects that: attaching names the domain, and reading an attachment returns what is attached for a scope.
Per-domain attachment is what allows a tenant to set a retention floor centrally while a workspace governs its own quality thresholds, without either having to know about the other.
Reading one domain¶
The effective policy can be read whole or by domain. A caller that only cares
about determinism reads the llm_determinism view rather than parsing the
whole snapshot, and gets the same values the enforcement path uses.
That equivalence matters for diagnosis: what you read is what was applied, because both come from one extractor over one snapshot.
Why the set is closed¶
A closed domain set makes a policy question answerable in advance. Every rule lands in exactly one domain, each domain has one extractor, and a reader can enumerate what policy governs without discovering new categories at run time.
Adding a domain is a deliberate act with an extractor behind it, rather than a new key appearing in a document.