<!-- Kanoniq authoring brief, for Kanoniq 0.4.1. Kanoniq wrote this file; the VS Code command Kanoniq: Add or Refresh the AI Authoring Brief replaces it with the installed version's. Put instructions of your own in another file. -->

# Writing this Kanoniq model

This repository holds an architecture model written in Kanoniq: the `.kq` files under `model/` are one model, `kanoniq.repository.json` holds its settings, and `portal/` holds the pages of its portal. Read this file before you write or change a `.kq` file, and hold to it in every change.

## Rules for every change

- **Model only what runs.** Every element stands for something tangible: software that is deployed, a store that holds data, a team that exists. Where you cannot name the tangible thing behind an element, ask the Author; never invent one.
- **State everything; infer nothing.** Kanoniq has no defaults: what the files do not say, the model does not hold. Where a choice could go two ways, such as a Broker or a Channel, a monolith or a Platform, a Domain Object or a Data Entity, ask the Author; never pick one silently.
- **Never write what Kanoniq writes.** Write nothing into a `.g.kq` file and never write an Id: `kq build` writes them. Rename or move an element with the editor's Rename and Move refactorings, so its Id is kept.
- **Keep out what the language rules out.** Where the source describes something Kanoniq cannot say, say so rather than force it in, and report it to the Author as something the language cannot say.
- **Validate before you propose.** Run the loop below on every change, until the model is clean or only questions for the Author remain.
- **Cite.** An answer about the model names every element it relies on by its path, such as `shop/storefront/order-service`. An answer with no citation is a wrong answer.

## The loop

1. Change the `.kq` files under `model/`.
2. Run `kq validate --format sarif .` at the repository's root. It writes one SARIF log to standard output: each result has a rule code, a message and the file and line it is on, and each rule links its page in the documentation, which says how to fix what it reports.
3. Fix what it reports and run it again, until it reports nothing or only questions for the Author remain. Ask those; never guess an answer.
4. Run `kq build .`. It writes `model/<name>.g.kq`, which holds what Kanoniq adds and every element's Id. Commit it with the `.kq` files.

## How a model is written

A small model that builds:

```kanoniq
/// What the shop does, and the systems that do it.
ecosystem shop "Shop" {

  domain selling "Selling" {
    #pcf "10215"
    function place-order "Place an order"
  }

  platform storefront "Storefront" {

    /// The web shop customers order in.
    component web-shop "Web Shop" : user-facing-app technology "Next.js" {
      spa web-shop-ui "Web Shop"
    }

    component order-service "Order Service" : backend

    web-shop -> order-service/orders-api over http auth user-token

    web-shop      realizes selling/place-order
    order-service realizes selling/place-order
  }
}
```

- A declaration is a keyword, a Code and a name in quotes: `platform storefront "Storefront"`. The Code is how other statements refer to the element.
- A block in braces holds what the element contains: the Ecosystem holds the domain and the platform, the platform holds the components.
- A kind follows a colon: `: backend`.
- A reference is a path of Codes, from where it is written: `order-service/orders-api`, `selling/place-order`.
- `web-shop -> order-service/orders-api over http auth user-token` is a connection: who calls which Interface, over what protocol and with what credential. Naming `orders-api` is enough; Kanoniq adds it.
- `realizes` says which Component carries out which Function.
- A `#` line above an element sets an open property that `kanoniq.repository.json` declares.
- A `///` line above an element is its description.

Every statement of every language area, with examples, is in the language reference: https://kanoniq.extenza.dev/docs/language.md.

## Element types

### Motivation and strategy

| Element type | What it is |
| --- | --- |
| Stakeholder | A Stakeholder is a party with an interest in the organization, inside it or outside it. A Stakeholder is not an actor in the landscape. |
| Driver | A Driver is something that moves the organization to change. A Driver may hold Drivers of its own, and influences Goals. |
| Assessment | An Assessment is a finding about the organization in one SWOT category: a strength, a weakness, an opportunity or a threat. An Assessment may hold Assessments of its own, and influences Drivers. |
| Goal | A Goal is a commitment of the organization. A Goal may hold Goals of its own, and is realized by the function side. |
| Impact | An Impact is a change in one Stakeholder's behavior that serves the organization's goals, such as riders returning bikes to a dock. An Impact influences Goals and is realized by the function side. |
| Principle | A Principle is a rule the organization sets itself, its statement being its description. A Principle holding others is the category they belong to. |
| Value | A Value is worth to someone: held by the organization, or delivered by a Value Stream. |
| Purpose | A Purpose is what the element holding it is for, its text being its description; in an Ecosystem, what the organization is for. An element holds at most one Purpose. |
| Value Stream | A Value Stream is a sequence of stages delivering value: a stream the organization exists for, or one that supports those. |
| Value Stream Stage | A Value Stream Stage is one step of its Value Stream, ordered by its number. Only a Function Group realizes a Value Stream Stage. |

### Business functions

| Element type | What it is |
| --- | --- |
| Ecosystem | An Ecosystem is the outermost grouping of a model and its privacy and security boundary: in practice a company, or a division of one that runs itself. An Ecosystem has no parent and is never realized. |
| Domain | A Domain is an area of what the organization does with IT, on the function side: in DDD's terms a subdomain, the whole problem space being the Ecosystem's function side. A Domain holds either sub-domains, or Function Groups and Functions, never both. |
| Function Group | A Function Group is a group of related Functions in a Domain, on the function side. Only a Function Group realizes a Value Stream Stage. |
| Function | A Function is one thing the organization does with IT, the finest level of the function side. A Function is realized by what implements it. |

### Processes

| Element type | What it is |
| --- | --- |
| Process | A Process is a business process: ordered work under a Value Stream Stage, written as BPMN. A Process sits in a Domain or an Ecosystem and holds its pools, its flow nodes and the flows between them; its lanes are Job Roles. |
| Pool | A Pool is an external party taking part in a Process, written as a persona: a customer, a partner's representative or an auditor. A Pool belongs to its Process and holds the party's External Steps; the organization itself is never a Pool. |
| Flow Node | A Flow Node is one step of a Process as BPMN draws it: a task, a start or end event, a gateway, or an External Step of a party's Pool. Every Flow Node but an External Step sits in one lane of its Process. |

### Applications

| Element type | What it is |
| --- | --- |
| Platform | A Platform is a conceptual grouping of separately deployable Components, with the user-facing Interfaces, Brokers and Domain Objects that belong with them. |
| Monolith | A Monolith is one system in which at least one tier is single, such as a big backend or a single database. A Monolith stands where a Platform does and holds Modules, Components, Interfaces, Storages, Brokers and Domain Objects. It is run and replaced as one, so it carries a life cycle. |
| Module | A Module is a part of a Monolith that holds Components. Modules do not nest. |
| Component | A Component is a piece of software that runs, such as a service, an application or a rented SaaS. A Component sits in a Platform, a Monolith or a Module, holds its Interfaces and Storages, and realizes Functions. |
| Interface | A software-facing Interface is how other software reaches a Component, such as an HTTP API. A call to an Interface that is not declared creates it, of the kind the call's protocol implies. |
| Interface | A user-facing Interface is how a person reaches the landscape: a web app, a mobile app or a desktop application, on a device the organization places too. A user-facing Interface sits in its backend Component where it has one, and otherwise in a Platform or a Monolith. |

### Integration

| Element type | What it is |
| --- | --- |
| Channel | A Channel is what messaging parties attach to when neither knows the other, such as a topic or a queue: the messaging counterpart to an Interface. A Channel sits in its Broker, or for a file handoff on the file or blob Storage the files are in, and serves every party that names it. |
| Broker | A Broker is the infrastructure messaging goes through, such as a Kafka cluster or a Service Bus namespace. A Broker contains Channels, and its kind names its technology; it runs on the provider or on what the organization runs. |
| Event | An Event is a message saying what happened, declared by the Component that publishes it, such as Order placed. An Event is about one Domain Object and is carried on legs into and out of Channels. |
| Command | A Command is a message asking one handler to do something, declared by the Component that handles it, such as Send invoice. A Command is about one Domain Object and is carried on any Connection reaching its handler. |
| Query | A Query is a message asking one handler for something, declared by the Component that handles it, such as Invoice status. A Query is about one Domain Object and is carried on any Connection reaching its handler. |
| Scenario | A Scenario is an ordered walk over existing connections for one piece of behavior, such as signing in: which system asks or tells which, in what order. It sits directly in an Ecosystem, and may be anchored on the task of a Process it carries out. |

### Data structure

| Element type | What it is |
| --- | --- |
| Storage | A Storage is where data sits, such as a SQL database or a blob container, owned by the Component or Monolith it sits in. A Storage holds Data Entities. |
| Domain Object | A Domain Object is a conceptual thing the organization keeps data about, such as Order. A Domain Object sits in a Platform or a Monolith, belongs to exactly one Domain, and is held in Storages as Data Entities. |
| Data Entity | A Data Entity is a tangible holding of a Domain Object, such as the Order table in the Order System. A Data Entity sits in a Storage and represents exactly one Domain Object. |

### Data use

| Element type | What it is |
| --- | --- |
| Data Use | A Data Use is a purpose for which the organization processes personal data, such as running payroll, with the lawful basis it rests on. A Data Use sits in an Ecosystem or a Domain, names the function-side work it covers and the Domain Objects it processes, and its systems, holdings and recipients are read from the model. |

### Identity and access

| Element type | What it is |
| --- | --- |
| Identity | An Identity is a population of accounts of one persona in one Identity Provider, such as the staff in the corporate directory. An Identity's parent is its Identity Provider. |
| Role | A Role is an app role: the capacity in which accounts use one user-facing application. A Role sits in that application, has one persona, and is held by every Identity of its persona in the Identity Provider it names. |
| Workload Identity | A Workload Identity is a workload's identity at an Identity Provider, such as a managed identity, an app registration or a service account. A Workload Identity sits in the Component or Monolith whose identity it is, or in a Platform when several Components share it. |
| Permission | A Permission is a role a server Workload Identity declares, which a client Workload Identity may be granted. A Permission's name is the value its token carries. |
| Job Role | A Job Role is a position in the organization, such as Mechanic or Claims handler: who does the work, and why a person has the access they have. A Job Role sits in its Ecosystem, has one internal persona, and holds app Roles. |

### Technology

| Element type | What it is |
| --- | --- |
| Environment | An Environment is one stage an Ecosystem's parts run in, such as PRD or DEV, declared once in the Ecosystem and shared by all its Platforms and Monoliths. Its name is the stage's fixed reading, such as Production. |
| Data Center | A Data Center is a building the organization or a colocation supplier runs, in a country, holding every stage. A Network, a Host or a platform service in it names it as its location, and its zones are its own. |
| Network | A Network is a private network the organization runs or rents, in one Environment, such as a VNet, a VPC or a data center's LAN. Hosts and platform services sit in it, and where it is regional, where it is is where they are. |
| Host | A Host is something the organization runs, in one Environment: a virtual machine, a set of them run as copies of one, a physical server, or a device it places for people to use. Parts are deployed on it, and software is installed on it. |
| Installation | An Installation is a version of a product installed on a Host: an operating system, a runtime, an SDK, a web server or middleware. It is in its Host's Environment, and a Component is deployed on the Host beside it. |
| App Platform | An App Platform is where application code runs, in one Environment: application PaaS such as an App Service plan or a Functions app, or a self-run scheduler such as Kubernetes. Components are deployed on it. |
| Db Server | A DbServer is a database engine, software on a Host or run by the provider, that hosts Storages in one Environment. Its pools are capacity inside it that databases name. |
| Db Pool | A DbPool is capacity inside its DbServer that several databases share, such as an elastic pool. A Storage hosted on the server names the pool it is in. |
| Gateway | A Gateway is something requests pass through on their way, in one Environment: an API gateway, a load balancer, an edge, an ingress, a firewall, a NAT or a bastion. It publishes Interfaces and forwards to what is behind it. |
| Dns | A Dns record is a host name, its name, in a public or private zone, pointing at an endpoint, in one Environment. |
| Certificate | A Certificate is a TLS certificate, its name its subject, that endpoints serve in one Environment. |
| Storage Account | A Storage Account holds Storages of kind blob, file and table, hosted on it, and a queue Broker, in one Environment, stating its network placement once. A bucket is one holding exactly one Storage. |
| Vault | A Vault keeps secrets, keys or certificates, as its kind says, in one Environment. A credential and a Certificate are stored in it, and a call to it lands on it. |
| Registry | A Registry holds Repositories of packages and images, each of one format, in the Environment it lives in; a platform that pulls from it uses it, from any stage. |
| Repository | A Repository is one repository of its Registry, holding packages or images of one format. |
| Ai Platform | An AI Platform hosts the model deployments the organization configures and calls, in one Environment: a provider's AI platform or a self-run model server. Agents built on it are Components deployed on it. |
| Model Deployment | A Model Deployment is one model deployed in its AI Platform, its name the model's. A call lands on it. |
| Backup Vault | A Backup Vault keeps backups, in one Environment. A Storage, a Host or a DbServer backed up in it names it with how long each backup is kept. |
| Security Service | A Security Service watches the stages it covers, in one Environment of its own: posture management, threat detection, vulnerability scanning or a SIEM. |

### Suppliers and contracts

| Element type | What it is |
| --- | --- |
| Supplier | A Supplier is a company or person the organization obtains ICT services from, such as a cloud provider or a software vendor, named by its legal name. A Supplier sits in the Ecosystem that contracts with it and holds its Contracts. |
| Contract | A Contract is an agreement under which a Supplier provides ICT services, such as a subscription or an outsourced service desk, with its dates and notice periods. A Contract covers run elements, or names the function-side work it supports, and the Functions it supports are read from what it covers. |
| Legal Entity | A Legal Entity is a legal person whose work its Ecosystem does, such as a bank or its subsidiary, named by its legal name. A Legal Entity sits in one Ecosystem and holds its Branches; its parent undertaking draws its group. |
| Branch | A Branch is a place of business of a Legal Entity in a country, with no legal personality of its own, such as a bank's branch abroad. Its head office is its Legal Entity, and a Platform or a monolith may do its work. |

### Change over time

| Element type | What it is |
| --- | --- |
| Plateau | A Plateau is a point in time of the whole model. The model's Plateaus form one sequence, and what each holds is stated where it changes. |
| Data Migration | A Data Migration is the work of moving data from one holding to another, delivering the later of two Plateaus. A Data Migration sits in an Ecosystem and is part of no Plateau's state. |

### Governance

| Element type | What it is |
| --- | --- |
| Policy Set | A Policy Set groups Policies of one kind, which are judged together and reported under the set's Code. A Policy Set belongs to the model or to one Ecosystem. |
| Policy | A Policy is an organization's architecture rule: a filter and an action, allow or deny. Where it is written is what it reaches; its findings are conformance, never validity. |
| Constant | A Constant names a value, such as a rotation period, so the policies that use it say it once. Where it is written is what sees it. |

## Rules

`kq validate` checks every rule below. An error fails it; a lint does not, unless it runs with `--strict`.

| Rule | Severity | What a model must do |
| --- | --- | --- |
| [KQ001](https://kanoniq.extenza.dev/docs/rules/kq001) | error | Every relationship names elements that are in the model. |
| [KQ002](https://kanoniq.extenza.dev/docs/rules/kq002) | error | No two elements share an Id, and no two elements under one parent share a Code. |
| [KQ003](https://kanoniq.extenza.dev/docs/rules/kq003) | error | A model has an Ecosystem, and every Ecosystem sits at the top level. |
| [KQ004](https://kanoniq.extenza.dev/docs/rules/kq004) | error | Every element but an Ecosystem has exactly one parent. |
| [KQ005](https://kanoniq.extenza.dev/docs/rules/kq005) | error | Following parents upward from any element reaches an Ecosystem, never a circle. |
| [KQ006](https://kanoniq.extenza.dev/docs/rules/kq006) | error | A Data Entity sits in a Storage, and a Storage sits in the Component or monolith that owns it. |
| [KQ007](https://kanoniq.extenza.dev/docs/rules/kq007) | error | Only a Domain, a Function Group, a Function, a Goal, a value stream stage or an impact is realized. |
| [KQ008](https://kanoniq.extenza.dev/docs/rules/kq008) | error | A realization stays inside one Ecosystem. |
| [KQ009](https://kanoniq.extenza.dev/docs/rules/kq009) | error | A Domain holds either sub-domains or Function Groups and Functions, never both, and a Domain with sub-domains is not realized itself. |
| [KQ010](https://kanoniq.extenza.dev/docs/rules/kq010) | error | Every Data Entity holds exactly one Domain Object. |
| [KQ011](https://kanoniq.extenza.dev/docs/rules/kq011) | error | Every Domain Object has exactly one authoritative holding across the whole model. |
| [KQ012](https://kanoniq.extenza.dev/docs/rules/kq012) | error | A replica syncs from the authoritative holding or from another replica, never from a transient one. |
| [KQ013](https://kanoniq.extenza.dev/docs/rules/kq013) | error | A transient holding neither syncs in nor syncs out. |
| [KQ014](https://kanoniq.extenza.dev/docs/rules/kq014) | error | part of and references stay inside one Component. |
| [KQ015](https://kanoniq.extenza.dev/docs/rules/kq015) | error | Every Data Entity is a root or part of another. |
| [KQ016](https://kanoniq.extenza.dev/docs/rules/kq016) | error | part of forms a tree: each Data Entity is part of at most one other, with no circle. |
| [KQ021](https://kanoniq.extenza.dev/docs/rules/kq021) | error | Every Domain Object has a holding marked origin, where the data is first created. |
| [KQ022](https://kanoniq.extenza.dev/docs/rules/kq022) | error | A connection lands on an Interface or a Channel, not on a Component or monolith, unless it is in-process. |
| [KQ023](https://kanoniq.extenza.dev/docs/rules/kq023) | error | A connection's protocol matches the kind of Interface it lands on, and no call lands on a user interface. |
| [KQ024](https://kanoniq.extenza.dev/docs/rules/kq024) | error | A Channel is reached through its broker with no protocol, an Interface always with one, and no connection joins two Channels. |
| [KQ025](https://kanoniq.extenza.dev/docs/rules/kq025) | error | Only a Domain directly in an Ecosystem is marked enabler. |
| [KQ026](https://kanoniq.extenza.dev/docs/rules/kq026) | error | A relationship is written once, in one file or across the files of a split model. |
| [KQ027](https://kanoniq.extenza.dev/docs/rules/kq027) | error | A Module sits in a monolith, never in a Platform or another Module. |
| [KQ028](https://kanoniq.extenza.dev/docs/rules/kq028) | error | An in-process call joins two Components of one monolith. |
| [KQ029](https://kanoniq.extenza.dev/docs/rules/kq029) | error | An environment line names a stage its Ecosystem declares and sits on something that runs on its own. |
| [KQ030](https://kanoniq.extenza.dev/docs/rules/kq030) | error | A user interface's environment line states no number of instances; the device it runs on is a host that states its count. |
| [KQ031](https://kanoniq.extenza.dev/docs/rules/kq031) | error | A database server replica is of a database server in its own Environment. |
| [KQ032](https://kanoniq.extenza.dev/docs/rules/kq032) | error | A Storage is hosted on a database server or a storage account, if on anything. |
| [KQ033](https://kanoniq.extenza.dev/docs/rules/kq033) | error | Plateaus line up one after another, in a single sequence. |
| [KQ034](https://kanoniq.extenza.dev/docs/rules/kq034) | error | Each dated plateau is later than the dated plateaus before it. |
| [KQ035](https://kanoniq.extenza.dev/docs/rules/kq035) | error | The first plateau adds, removes, moves and restates nothing. |
| [KQ036](https://kanoniq.extenza.dev/docs/rules/kq036) | error | A removal or a move names something the plateau before holds. |
| [KQ037](https://kanoniq.extenza.dev/docs/rules/kq037) | error | A path that once was an element's is never another element's in a later plateau. |
| [KQ038](https://kanoniq.extenza.dev/docs/rules/kq038) | error | A move puts an element where no other element has its Code. |
| [KQ039](https://kanoniq.extenza.dev/docs/rules/kq039) | error | A plateau removes nothing a remaining relationship still uses. |
| [KQ040](https://kanoniq.extenza.dev/docs/rules/kq040) | error | A Role sits in a Component or monolith that holds a user interface of its own. |
| [KQ041](https://kanoniq.extenza.dev/docs/rules/kq041) | error | A Role names an Identity Provider: a Component or monolith marked idp. |
| [KQ042](https://kanoniq.extenza.dev/docs/rules/kq042) | error | A Role's Identity Provider holds an Identity of the Role's persona, so someone can hold the Role. |
| [KQ043](https://kanoniq.extenza.dev/docs/rules/kq043) | error | An Identity sits in a Component or monolith marked idp. |
| [KQ045](https://kanoniq.extenza.dev/docs/rules/kq045) | error | Only a Component, or a monolith with nothing inside it, marks a realization primary, and on one realization at most. |
| [KQ046](https://kanoniq.extenza.dev/docs/rules/kq046) | error | A Component that realizes into several Domains marks the realization into its own primary, and one that realizes into one Domain marks none. |
| [KQ047](https://kanoniq.extenza.dev/docs/rules/kq047) | error | A data migration is declared in a plateau after the initial one. |
| [KQ048](https://kanoniq.extenza.dev/docs/rules/kq048) | error | Each change of a Domain Object's authoritative holding is covered by exactly one data migration of its plateau. |
| [KQ049](https://kanoniq.extenza.dev/docs/rules/kq049) | error | A data migration covers only Data Entities its plateau adds, removes or restates. |
| [KQ050](https://kanoniq.extenza.dev/docs/rules/kq050) | error | A data migration starts and is due between the dates of the plateau before and the plateau it delivers, and starts before it is due. |
| [KQ051](https://kanoniq.extenza.dev/docs/rules/kq051) | error | A data migration's link is an absolute http or https URL, or the path of a page file in the repository. |
| [KQ052](https://kanoniq.extenza.dev/docs/rules/kq052) | error | Only a Domain, a Function Group or a Function realizes a Goal or an impact, and only a Function Group a value stream stage. |
| [KQ053](https://kanoniq.extenza.dev/docs/rules/kq053) | error | An influence runs from an Assessment or a Value to a Driver, or from a Driver or an impact to a Goal, and a value stream delivers a Value. |
| [KQ054](https://kanoniq.extenza.dev/docs/rules/kq054) | error | An influence and a value delivery stay inside one Ecosystem. |
| [KQ055](https://kanoniq.extenza.dev/docs/rules/kq055) | error | A value stream's stages are numbered 1, 2, 3 and on, each number once. |
| [KQ056](https://kanoniq.extenza.dev/docs/rules/kq056) | error | An element's motivation holds at most one purpose. |
| [KQ057](https://kanoniq.extenza.dev/docs/rules/kq057) | error | A value stream stage is realized by a Function Group, never by a Domain or a Function. |
| [KQ058](https://kanoniq.extenza.dev/docs/rules/kq058) | error | An open property is declared in the repository's settings, for the element type it is written on. |
| [KQ059](https://kanoniq.extenza.dev/docs/rules/kq059) | error | An open property's value, and each value of a list, is of the type its declaration gives it. |
| [KQ060](https://kanoniq.extenza.dev/docs/rules/kq060) | error | A connection's authentication scheme is one its protocol or broker accepts. |
| [KQ061](https://kanoniq.extenza.dev/docs/rules/kq061) | error | via goes only with a scheme whose token someone issues. |
| [KQ062](https://kanoniq.extenza.dev/docs/rules/kq062) | error | via names an Identity Provider: a Component or monolith marked idp. |
| [KQ063](https://kanoniq.extenza.dev/docs/rules/kq063) | error | Two statements of one leg into or out of a Channel state the same scheme. |
| [KQ064](https://kanoniq.extenza.dev/docs/rules/kq064) | error | A workload identity names an Identity Provider: a Component or monolith marked idp. |
| [KQ065](https://kanoniq.extenza.dev/docs/rules/kq065) | error | App roles and scopes are declared in a server workload identity, never a client one. |
| [KQ066](https://kanoniq.extenza.dev/docs/rules/kq066) | error | Only a client workload identity states a credential. |
| [KQ067](https://kanoniq.extenza.dev/docs/rules/kq067) | error | A credential is stored in a vault element. |
| [KQ068](https://kanoniq.extenza.dev/docs/rules/kq068) | error | A federated credential comes from an Identity Provider: a Component marked idp. |
| [KQ069](https://kanoniq.extenza.dev/docs/rules/kq069) | error | A call's authentication scheme is one the caller's credential can produce. |
| [KQ070](https://kanoniq.extenza.dev/docs/rules/kq070) | error | A call on behalf of a user rests on a delegated scope granted on the API it calls. |
| [KQ071](https://kanoniq.extenza.dev/docs/rules/kq071) | error | A Component or monolith marked anonymous holds no Role. |
| [KQ072](https://kanoniq.extenza.dev/docs/rules/kq072) | error | Only a Component or monolith that holds a user interface of its own is marked anonymous. |
| [KQ073](https://kanoniq.extenza.dev/docs/rules/kq073) | error | An Identity Provider is never marked anonymous. |
| [KQ074](https://kanoniq.extenza.dev/docs/rules/kq074) | error | Every clause of a policy names an aspect or a selector Kanoniq knows, or a property the repository declares, and lists only values that clause takes. |
| [KQ075](https://kanoniq.extenza.dev/docs/rules/kq075) | error | A policy names each clause once, listing several values in one clause. |
| [KQ076](https://kanoniq.extenza.dev/docs/rules/kq076) | error | Some subject, a call, a leg, a sync, a grant or a workload identity, can match every clause of a policy. |
| [KQ077](https://kanoniq.extenza.dev/docs/rules/kq077) | error | An exemption lifts a policy from an element, a call, a leg, a sync or a grant. |
| [KQ078](https://kanoniq.extenza.dev/docs/rules/kq078) | error | No policy set of an Ecosystem shares its Code with a policy set of the model, the two default sets aside. |
| [KQ079](https://kanoniq.extenza.dev/docs/rules/kq079) | error | A job holds no Interface, declared or created by a connection. |
| [KQ080](https://kanoniq.extenza.dev/docs/rules/kq080) | error | No delivery out of a Channel lands on a job. |
| [KQ081](https://kanoniq.extenza.dev/docs/rules/kq081) | error | A schedule names a known time zone, a time of day, a day of the month from 1 to 31, each weekday once, and a cron expression of five standard fields. |
| [KQ082](https://kanoniq.extenza.dev/docs/rules/kq082) | error | A robot holds no Interface, declared or created by a connection. |
| [KQ083](https://kanoniq.extenza.dev/docs/rules/kq083) | error | A connection over ui comes only from a robot or a Role. |
| [KQ084](https://kanoniq.extenza.dev/docs/rules/kq084) | error | A connection over ui lands only on a declared user-facing Interface. |
| [KQ085](https://kanoniq.extenza.dev/docs/rules/kq085) | error | A Role's connection over ui lands only on a user-facing Interface of the Role's own application. |
| [KQ086](https://kanoniq.extenza.dev/docs/rules/kq086) | error | The environment line of a part that runs, other than a client, a workload identity, a network, a DNS record or a certificate, states its number of instances. |
| [KQ087](https://kanoniq.extenza.dev/docs/rules/kq087) | error | A Component or deployable module held by one that states environments states only stages its holder states. |
| [KQ088](https://kanoniq.extenza.dev/docs/rules/kq088) | error | A user interface declared in its backend Component states only stages that Component runs in. |
| [KQ089](https://kanoniq.extenza.dev/docs/rules/kq089) | error | A database server hosting a Storage runs only in stages the Storage's owner runs in. |
| [KQ090](https://kanoniq.extenza.dev/docs/rules/kq090) | error | No policy set has a preset's Code while the repository sets a preset of its kind, and no two presets of one kind are both written out. |
| [KQ091](https://kanoniq.extenza.dev/docs/rules/kq091) | error | A policy set coded as a default set, a preset or a package's set is of the kind its Code names: default-model, the baseline-model presets and threats-stated model sets, default-architecture, the baseline-architecture presets and threats-stride architecture sets. |
| [KQ092](https://kanoniq.extenza.dev/docs/rules/kq092) | error | A policy in a model set is a deny whose tested clause lists only unstated, and no other clause lists it. |
| [KQ093](https://kanoniq.extenza.dev/docs/rules/kq093) | error | A policy in an architecture set lists unstated in no clause. |
| [KQ094](https://kanoniq.extenza.dev/docs/rules/kq094) | error | An impact's actor is a Stakeholder in the impact's own Ecosystem. |
| [KQ095](https://kanoniq.extenza.dev/docs/rules/kq095) | error | A Component is in at most one bounded context, and no Domain marked bounded-context sits inside another. |
| [KQ096](https://kanoniq.extenza.dev/docs/rules/kq096) | error | An Enabler Domain, and every Domain under one, is generic and states no subdomain type of its own. |
| [KQ097](https://kanoniq.extenza.dev/docs/rules/kq097) | error | A delivery out of a Channel carries only events, and versions of them, that a leg into that Channel carries. |
| [KQ098](https://kanoniq.extenza.dev/docs/rules/kq098) | error | A leg into a Channel carries only events its sending Component declares. |
| [KQ099](https://kanoniq.extenza.dev/docs/rules/kq099) | error | A leg names a version an event declares, names a versioned event with its version, and an unversioned event with none. |
| [KQ101](https://kanoniq.extenza.dev/docs/rules/kq101) | lint | A Domain Object sits in a Platform that realizes the Domain owning it. |
| [KQ102](https://kanoniq.extenza.dev/docs/rules/kq102) | lint | A Channel has both a sender and a receiver. |
| [KQ103](https://kanoniq.extenza.dev/docs/rules/kq103) | lint | A derived element is still named by something in the model. |
| [KQ104](https://kanoniq.extenza.dev/docs/rules/kq104) | lint | A Component realizes a Domain, Function Group or Function, or sits in something that does, wherever its Ecosystem has Domains. |
| [KQ106](https://kanoniq.extenza.dev/docs/rules/kq106) | lint | A Component holds a client or a server workload identity, not both. |
| [KQ107](https://kanoniq.extenza.dev/docs/rules/kq107) | lint | A workload identity is the identity of one Component, in one Environment. |
| [KQ108](https://kanoniq.extenza.dev/docs/rules/kq108) | lint | Components do not run as people's accounts, and people do not sign in as a service. |
| [KQ109](https://kanoniq.extenza.dev/docs/rules/kq109) | lint | A client is granted a role only on an API it calls. |
| [KQ110](https://kanoniq.extenza.dev/docs/rules/kq110) | lint | A credential is stored in a vault the service connects to. |
| [KQ111](https://kanoniq.extenza.dev/docs/rules/kq111) | lint | Where a robot uses an application's screens, the Identity it runs as holds a Role in that application. |
| [KQ112](https://kanoniq.extenza.dev/docs/rules/kq112) | lint | A core Domain is realized by at least some custom-built software, not by SaaS or off-the-shelf products alone. |
| [KQ113](https://kanoniq.extenza.dev/docs/rules/kq113) | lint | A generic Domain, an Enabler Domain aside, is realized by SaaS or off-the-shelf products, not by custom-built software. |
| [KQ114](https://kanoniq.extenza.dev/docs/rules/kq114) | lint | The Component publishing an event holds a Data Entity of the Domain Object the event is about. |
| [KQ115](https://kanoniq.extenza.dev/docs/rules/kq115) | lint | Some delivery out of a Channel or some sync carries each event, and each version of one. |
| [KQ116](https://kanoniq.extenza.dev/docs/rules/kq116) | lint | The Component handling a command or a query holds a Data Entity of the Domain Object it is about. |
| [KQ117](https://kanoniq.extenza.dev/docs/rules/kq117) | lint | Some connection or some sync carries each command and query, and each version of one. |
| [KQ118](https://kanoniq.extenza.dev/docs/rules/kq118) | lint | A message a sync carries is about the Domain Object its replica represents. |
| [KQ119](https://kanoniq.extenza.dev/docs/rules/kq119) | lint | A flow node of a process is reached by then from one of its start events. |
| [KQ120](https://kanoniq.extenza.dev/docs/rules/kq120) | lint | In an Ecosystem with job roles, every Role of an internal persona in its applications and its Identity Providers is held by a job role. |
| [KQ121](https://kanoniq.extenza.dev/docs/rules/kq121) | lint | Some call names each version of a software-facing Interface. |
| [KQ122](https://kanoniq.extenza.dev/docs/rules/kq122) | lint | A provider-run service reached in a network by a private endpoint has a private DNS record pointing at it, unless its provider resolves the name itself. |
| [KQ123](https://kanoniq.extenza.dev/docs/rules/kq123) | lint | A run element that is not retired, phasing out or meant to be replaced, migrated or retired does not reach the end of its extended support or its contract within the repository's warning period, nor does a contract unless all it covers is so answered. |
| [KQ124](https://kanoniq.extenza.dev/docs/rules/kq124) | lint | A Domain Object one of whose Data Entities marks a property personal states personal-data, personal or special-category. |
| [KQ126](https://kanoniq.extenza.dev/docs/rules/kq126) | lint | A Domain Object a data use names states personal-data, personal or special-category. |
| [KQ127](https://kanoniq.extenza.dev/docs/rules/kq127) | lint | In an Ecosystem with a data use, every Data Entity of personal or special-category data is a holding or a copy of a data use. |
| [KQ128](https://kanoniq.extenza.dev/docs/rules/kq128) | lint | A data use states its basis, one of GDPR Art. 6(1)'s lawful bases. |
| [KQ129](https://kanoniq.extenza.dev/docs/rules/kq129) | lint | In an Ecosystem with a contract, every saas or cots Component or monolith is covered by a contract, a Component in a covered monolith counting as covered. |
| [KQ130](https://kanoniq.extenza.dev/docs/rules/kq130) | lint | A contract supporting a critical Function states its ends and its notice. |
| [KQ131](https://kanoniq.extenza.dev/docs/rules/kq131) | lint | A contract supports a Function: something it covers realizes one, or it names one with via. |
| [KQ132](https://kanoniq.extenza.dev/docs/rules/kq132) | lint | In a framework the repository's frameworks setting follows, every requirement the model can check is served by a policy in effect, a preset the settings name included. |
| [KQ134](https://kanoniq.extenza.dev/docs/rules/kq134) | lint | In an Ecosystem with two or more legal entities, every Platform and monolith names with for the entities or branches whose work it does. |
| [KQ135](https://kanoniq.extenza.dev/docs/rules/kq135) | lint | A supplier's is names an Ecosystem holding at most one legal entity; where it holds several, is names the legal entity by path. |
| [KQ136](https://kanoniq.extenza.dev/docs/rules/kq136) | lint | A branch is in another country than its legal entity's headquarters. |
| [KQ137](https://kanoniq.extenza.dev/docs/rules/kq137) | lint | Personal data a call, a leg, a sync or a holding's own hop moves out of a residency stating adequate, to a country outside that list, goes where a contract covering what receives it states a transfer ground. |
| [KQ138](https://kanoniq.extenza.dev/docs/rules/kq138) | lint | Personal data moved from inside a residency stating adequate goes to a place whose country is stated. |
| [KQ200](https://kanoniq.extenza.dev/docs/rules/kq200) | error | What an event is about is a Domain Object. |
| [KQ201](https://kanoniq.extenza.dev/docs/rules/kq201) | error | A call or a delivery carries only commands and queries the Component it reaches declares, and a leg into a Channel only those some Component declares. |
| [KQ202](https://kanoniq.extenza.dev/docs/rules/kq202) | error | A connection names a version a command or a query declares, names a versioned one with its version, and an unversioned one with none. |
| [KQ203](https://kanoniq.extenza.dev/docs/rules/kq203) | error | What a command or a query is about is a Domain Object. |
| [KQ204](https://kanoniq.extenza.dev/docs/rules/kq204) | error | A context states conforms-to or customer-of only toward a context the edges put upstream of it. |
| [KQ205](https://kanoniq.extenza.dev/docs/rules/kq205) | error | A context does not state both conforms-to and customer-of toward one context. |
| [KQ206](https://kanoniq.extenza.dev/docs/rules/kq206) | error | A context does not state conforms-to toward a context whose every crossing to it goes through an anticorruption layer. |
| [KQ207](https://kanoniq.extenza.dev/docs/rules/kq207) | error | A relationship other than separate-ways joins two contexts something crosses between. |
| [KQ208](https://kanoniq.extenza.dev/docs/rules/kq208) | error | Nothing crosses between two contexts stated separate-ways. |
| [KQ209](https://kanoniq.extenza.dev/docs/rules/kq209) | error | A partnership, a shared kernel or separate ways is stated in one of its two contexts, not both. |
| [KQ210](https://kanoniq.extenza.dev/docs/rules/kq210) | error | A context relationship is written in an element marked bounded-context and names another one. |
| [KQ211](https://kanoniq.extenza.dev/docs/rules/kq211) | error | An Interface or a Channel marked published-language is marked open-host. |
| [KQ212](https://kanoniq.extenza.dev/docs/rules/kq212) | error | A crossing whose downstream end is an integration Component states no acl. |
| [KQ213](https://kanoniq.extenza.dev/docs/rules/kq213) | error | An element marked big-ball-of-mud is marked bounded-context. |
| [KQ214](https://kanoniq.extenza.dev/docs/rules/kq214) | error | A sync carries only events its source Component declares. |
| [KQ215](https://kanoniq.extenza.dev/docs/rules/kq215) | error | A sync carries only commands the Component holding the replica declares. |
| [KQ216](https://kanoniq.extenza.dev/docs/rules/kq216) | error | A sync carries only queries its source Component declares. |
| [KQ217](https://kanoniq.extenza.dev/docs/rules/kq217) | error | A sync carrying a query goes over a protocol, never through a Channel. |
| [KQ218](https://kanoniq.extenza.dev/docs/rules/kq218) | error | A sync carries messages or one mechanism, never both, and never two mechanisms. |
| [KQ219](https://kanoniq.extenza.dev/docs/rules/kq219) | error | Of the syncs into an entity, exactly one is not marked reconcile. |
| [KQ220](https://kanoniq.extenza.dev/docs/rules/kq220) | error | No two syncs into one entity have the same source, the same route and the same carries. |
| [KQ221](https://kanoniq.extenza.dev/docs/rules/kq221) | error | Every flow node but an external step sits in one of its process's lanes. |
| [KQ222](https://kanoniq.extenza.dev/docs/rules/kq222) | error | A process's lane names a job role of the process's own Ecosystem. |
| [KQ223](https://kanoniq.extenza.dev/docs/rules/kq223) | error | A then joins two flow nodes of one process, neither an external step, never into a start event or out of an end event. |
| [KQ224](https://kanoniq.extenza.dev/docs/rules/kq224) | error | A message flow joins a node in a lane to a pool or one of its external steps, received by a start event or a task and sent by an end event or a task. |
| [KQ225](https://kanoniq.extenza.dev/docs/rules/kq225) | error | A task's on names a user-facing Interface of an application that realizes the Function the task performs. |
| [KQ226](https://kanoniq.extenza.dev/docs/rules/kq226) | error | A task done on a screen sits in the lane of a job role holding a Role in that screen's application that uses it. |
| [KQ227](https://kanoniq.extenza.dev/docs/rules/kq227) | error | Every connection a message flow travels over is a connection of the model. |
| [KQ228](https://kanoniq.extenza.dev/docs/rules/kq228) | error | Each connection a message travels over starts where the one before it landed. |
| [KQ229](https://kanoniq.extenza.dev/docs/rules/kq229) | error | A message a task sends starts, and one it receives lands, at one of the task's systems. |
| [KQ230](https://kanoniq.extenza.dev/docs/rules/kq230) | error | A message to a pool that says where its systems are lands there, and one from it starts there. |
| [KQ231](https://kanoniq.extenza.dev/docs/rules/kq231) | error | Every Function a task performs lies under a Function Group realizing the stage its process details. |
| [KQ232](https://kanoniq.extenza.dev/docs/rules/kq232) | error | A pool's persona is external, and its `site` names an Ecosystem, a Platform or a monolith. |
| [KQ233](https://kanoniq.extenza.dev/docs/rules/kq233) | error | A job role's persona is an employee or a freelancer. |
| [KQ234](https://kanoniq.extenza.dev/docs/rules/kq234) | error | A job role holds only Roles of its own persona. |
| [KQ237](https://kanoniq.extenza.dev/docs/rules/kq237) | error | Every Domain Object a data mark names is in its node's Data: a task's, of the Domains holding its Function; a start event's, of the stage its process details. |
| [KQ238](https://kanoniq.extenza.dev/docs/rules/kq238) | error | Every Domain Object a data mark names is held, not as a replica, in exactly one Storage of its node's systems. |
| [KQ239](https://kanoniq.extenza.dev/docs/rules/kq239) | error | Only a task, or a start event receiving a message over a chain, is marked data. |
| [KQ240](https://kanoniq.extenza.dev/docs/rules/kq240) | error | Every connection a scenario's step walks over, and both legs of a hop through a Channel, is a connection of the model. |
| [KQ241](https://kanoniq.extenza.dev/docs/rules/kq241) | error | Each step of a scenario starts where the scenario starts or where an earlier step arrived. |
| [KQ242](https://kanoniq.extenza.dev/docs/rules/kq242) | error | A step's message is carried by its connection, or by both legs of a hop, under a version the message declares. |
| [KQ243](https://kanoniq.extenza.dev/docs/rules/kq243) | error | A scenario for a task starts at the task's screen or at one of its systems. |
| [KQ244](https://kanoniq.extenza.dev/docs/rules/kq244) | error | A scenario sits directly in the Ecosystem of its first step's source. |
| [KQ245](https://kanoniq.extenza.dev/docs/rules/kq245) | error | What a scenario is for is a task, a user task or a service task of a process. |
| [KQ246](https://kanoniq.extenza.dev/docs/rules/kq246) | error | An access joins a Component of a monolith to a data entity in a Storage the same monolith holds itself. |
| [KQ247](https://kanoniq.extenza.dev/docs/rules/kq247) | error | An access names the root of an aggregate, or a data entity in no aggregate, never a part. |
| [KQ248](https://kanoniq.extenza.dev/docs/rules/kq248) | error | A user-facing Interface states no schema and no versions. |
| [KQ249](https://kanoniq.extenza.dev/docs/rules/kq249) | error | A call names a version its Interface declares, calls a versioned Interface with its version, and an unversioned one with none. |
| [KQ250](https://kanoniq.extenza.dev/docs/rules/kq250) | error | A provider-run service of a product that cannot be public states the network it is in. |
| [KQ251](https://kanoniq.extenza.dev/docs/rules/kq251) | error | Every part a product word requires is named: its network with in, its storage account with uses, its origin with forwards-to, its certificate by served-by. |
| [KQ252](https://kanoniq.extenza.dev/docs/rules/kq252) | error | The gateway a call goes via publishes the Interface the call lands on, unless it is a NAT the call leaves by. |
| [KQ253](https://kanoniq.extenza.dev/docs/rules/kq253) | error | The pool a Storage names is inside the database server it is hosted on. |
| [KQ254](https://kanoniq.extenza.dev/docs/rules/kq254) | error | A credential or a certificate is stored in a vault whose kind holds secrets or certificates. |
| [KQ255](https://kanoniq.extenza.dev/docs/rules/kq255) | error | Via names a gateway, backup a backup vault, covers a stage of the service's own Ecosystem, and a certificate's stored-in a vault and served-by what can serve one. |
| [KQ256](https://kanoniq.extenza.dev/docs/rules/kq256) | error | A storage account of a bucket product holds exactly one Storage. |
| [KQ257](https://kanoniq.extenza.dev/docs/rules/kq257) | error | A Storage on a storage account is of a kind that account's product holds. |
| [KQ258](https://kanoniq.extenza.dev/docs/rules/kq258) | error | Only a user-facing client is deployed on a storage account, a static site served from it. |
| [KQ259](https://kanoniq.extenza.dev/docs/rules/kq259) | error | What a part runs on, and what an infrastructure element runs on, is in and uses, is in the same stage, a registry aside, and a link joins two networks of one stage. |
| [KQ260](https://kanoniq.extenza.dev/docs/rules/kq260) | error | A DNS record in a private zone states the network its zone is linked to. |
| [KQ261](https://kanoniq.extenza.dev/docs/rules/kq261) | error | A platform service of a generic kind states paas or on the host it runs on. |
| [KQ262](https://kanoniq.extenza.dev/docs/rules/kq262) | error | A platform service of a provider's product word states no paas, states on only after a self-run word, and states it after one. |
| [KQ263](https://kanoniq.extenza.dev/docs/rules/kq263) | error | Nothing that is not retired is deployed, hosted or installed on a retired element, uses it or calls it, and no Component that is not retired is held in a retired monolith. |
| [KQ264](https://kanoniq.extenza.dev/docs/rules/kq264) | error | An element that is phasing out does not have a future of invest. |
| [KQ265](https://kanoniq.extenza.dev/docs/rules/kq265) | error | A successor is named only with a future of replace or migrate, is of the same type as the element, or a Component for a monolith and a monolith for a Component, and is not the element itself. |
| [KQ266](https://kanoniq.extenza.dev/docs/rules/kq266) | error | An installation names the Host it is installed on, and only a Host. |
| [KQ267](https://kanoniq.extenza.dev/docs/rules/kq267) | error | An element's end of extended support is not before its end of mainstream support. |
| [KQ268](https://kanoniq.extenza.dev/docs/rules/kq268) | error | A run element that is not retired, phasing out or meant to be replaced, migrated or retired does not reach the end of its extended support or its contract within the repository's error period, nor past it, nor does a contract unless all it covers is so answered. |
| [KQ269](https://kanoniq.extenza.dev/docs/rules/kq269) | error | A software-facing Interface or a Broker stated in-transit plaintext does not serve a certificate, is not of a transport that takes no plaintext, and is not reached with auth certificate. |
| [KQ270](https://kanoniq.extenza.dev/docs/rules/kq270) | error | in-transit is stated on a software-facing Interface other than an ipc-api, or on a Broker, and nowhere else. |
| [KQ271](https://kanoniq.extenza.dev/docs/rules/kq271) | error | A name used in a value's place is a constant written on the model, or on the element the value is written on or in, or on one that holds it. |
| [KQ272](https://kanoniq.extenza.dev/docs/rules/kq272) | error | A constant used in a bound is a period or a number in the unit its clause takes; as quoted text, a string; in a period's place, a period; as an open property's value, its declared type's. |
| [KQ273](https://kanoniq.extenza.dev/docs/rules/kq273) | error | A constant's name is defined once in the whole model, never again at another level. |
| [KQ274](https://kanoniq.extenza.dev/docs/rules/kq274) | error | A constant's name is capitals, digits and underscores, starting with a capital, and is neither a stage nor shaped as a period, so a value is never ambiguous. |
| [KQ275](https://kanoniq.extenza.dev/docs/rules/kq275) | error | A Domain Object's confidentiality is one of the levels the repository's confidentiality-levels setting lists. |
| [KQ276](https://kanoniq.extenza.dev/docs/rules/kq276) | error | No property is marked personal on a Data Entity of a Domain Object stated personal-data none. |
| [KQ277](https://kanoniq.extenza.dev/docs/rules/kq277) | error | No Domain Object a data use names is stated personal-data none. |
| [KQ278](https://kanoniq.extenza.dev/docs/rules/kq278) | error | Every Domain Object a data use names is represented by a Data Entity in a Storage of a system realizing what its via names. |
| [KQ279](https://kanoniq.extenza.dev/docs/rules/kq279) | error | A data use naming special-category data states special, the condition it is processed under. |
| [KQ280](https://kanoniq.extenza.dev/docs/rules/kq280) | error | A data use states special only where it names special-category data. |
| [KQ281](https://kanoniq.extenza.dev/docs/rules/kq281) | error | What a data use's via names is in the data use's own Ecosystem. |
| [KQ282](https://kanoniq.extenza.dev/docs/rules/kq282) | error | A data use's joint names other Ecosystems, never its own. |
| [KQ284](https://kanoniq.extenza.dev/docs/rules/kq284) | error | What a contract covers is in its own Ecosystem, or in the Ecosystem its supplier is, directly or through a legal entity. |
| [KQ285](https://kanoniq.extenza.dev/docs/rules/kq285) | error | What a contract's via names is in the contract's own Ecosystem. |
| [KQ286](https://kanoniq.extenza.dev/docs/rules/kq286) | error | An element a contract covers states no contract-end; it reads its contracts' ends. |
| [KQ287](https://kanoniq.extenza.dev/docs/rules/kq287) | error | A contract's ends is not before its starts. |
| [KQ288](https://kanoniq.extenza.dev/docs/rules/kq288) | error | Each subcontractor names another supplier of the Ecosystem than the contract's own, once, under its supplier or one in its chain, and the chain reaches the contract's supplier. |
| [KQ289](https://kanoniq.extenza.dev/docs/rules/kq289) | error | A supplier's parent is another supplier of its Ecosystem, and parents form no cycle. |
| [KQ290](https://kanoniq.extenza.dev/docs/rules/kq290) | error | A supplier's is names another Ecosystem than the one it is declared in, or a legal entity of another. |
| [KQ291](https://kanoniq.extenza.dev/docs/rules/kq291) | error | A supplier's or a legal entity's lei is 18 capitals or digits and two check digits valid under ISO 7064 MOD 97-10. |
| [KQ292](https://kanoniq.extenza.dev/docs/rules/kq292) | error | An element in a network that states its location states none of its own: it is where its network is. |
| [KQ293](https://kanoniq.extenza.dev/docs/rules/kq293) | error | Each zone an element names is one its location has: one its region's registry entry names, or one its data center declares. |
| [KQ294](https://kanoniq.extenza.dev/docs/rules/kq294) | error | An element names the zones it spans or says its provider spreads it with zone-redundant, never both. |
| [KQ295](https://kanoniq.extenza.dev/docs/rules/kq295) | error | A part that states one stage on several environment lines names what it runs on on each, a different host or platform on each. |
| [KQ296](https://kanoniq.extenza.dev/docs/rules/kq296) | error | A policy or a policy set lists each requirement it serves once. |
| [KQ297](https://kanoniq.extenza.dev/docs/rules/kq297) | error | A Domain Object's or a significant property's regulated scope is one the repository's regulated-scopes setting lists. |
| [KQ298](https://kanoniq.extenza.dev/docs/rules/kq298) | error | A legal entity's parent is another legal entity, in any Ecosystem, and parents form no cycle. |
| [KQ299](https://kanoniq.extenza.dev/docs/rules/kq299) | error | No two legal entities of the model state one lei. |
| [KQ400](https://kanoniq.extenza.dev/docs/rules/kq400) | error | What a Platform's or a monolith's for names is a legal entity or a branch of its own Ecosystem. |
| [KQ401](https://kanoniq.extenza.dev/docs/rules/kq401) | error | A contract's signed-by names a legal entity of the Ecosystem it is declared in. |
| [KQ402](https://kanoniq.extenza.dev/docs/rules/kq402) | error | In an Ecosystem with two or more legal entities, every contract states signed-by. |
| [KQ403](https://kanoniq.extenza.dev/docs/rules/kq403) | error | A supplier whose is names a legal entity states no lei and no headquarters: it reads both from the entity. |
| [KQ404](https://kanoniq.extenza.dev/docs/rules/kq404) | error | A subject's memberships are runs that neither overlap nor touch, and only a relationship whose Id is its ends has more than one. |
| [KQ405](https://kanoniq.extenza.dev/docs/rules/kq405) | error | A ground a contract's transfer clause lists is listed once. |
| [KQ406](https://kanoniq.extenza.dev/docs/rules/kq406) | error | A constant a use names is alive in every plateau the policy, the element or the relationship holding the use is alive in. |

## Read more

- https://kanoniq.extenza.dev/docs/llms.txt: an index of the documentation, every page as Markdown.
- https://kanoniq.extenza.dev/docs/llms-full.txt: the language reference, the rules and this brief, in one file.
