Skip to main content
Version: 0.4.0

KQ246 — an access stays in its monolith

Error · access-stays-in-its-monolith · Data

An access joins a Component of a monolith to a data entity in a Storage the same monolith holds itself.

A reads or writes line joins something other than a component of a monolith and a data entity in a storage that same monolith holds itself: its source is in a platform, or its target sits in a storage a component holds, in another monolith, or nowhere. A monolith's components share its own database; anything else is reached through its owner. Call the component that holds the data (over in-process inside the monolith, a protocol outside it), or move the storage up into the monolith's block. In a plateau that moves the entity into a component's storage, remove the access there and call the new owner instead.

Examples​

In a model where the ERP monolith holds the orders in its own database, erp-db, the billing service, which is not one of the ERP's components, reading them raises KQ246:

billing reads erp/erp-db/order

The ERP's own invoicing component reading them raises nothing:

erp/invoicing reads erp/erp-db/order

© 2026 Extenza Works. All rights reserved.