# Ontology — Bane's Lab

> The ontology holds every architectural principle with its relations and repairs, the lexicon of terms, the algorithm contracts, the reasoning spine, the layers and the resolved tensions, and the page renders it from the same data the quality tooling reads.

Canonical: https://banes-lab.com/ontology

# The Ontology

The ontology is a queryable canon of software architecture. It holds every principle with its relations and its repair, every term with its definition, every algorithm with its contract, the reasoning that derives them, the layers they live in and how every tension between them is resolved, and every reference from one record to another is a link.

## Principles

## Sections

- [Anti-patterns](#architecture-category-anti-patterns)
- [Domain Architecture](#architecture-category-domain-architecture)
- [Runtime Discovery / Dynamic Binding](#architecture-category-runtime-discovery-dynamic-binding)
- [Causality / Ordering / Distributed Time](#architecture-category-causality-ordering-distributed-time)
- [Contracts / Interfaces / Compatibility](#architecture-category-contracts-interfaces-compatibility)
- [Control / Coordination / Centralization](#architecture-category-control-coordination-centralization)
- [Correctness / Determinism / Verification](#architecture-category-correctness-determinism-verification)
- [Portability / Infrastructure / Deployment](#architecture-category-portability-infrastructure-deployment)
- [Core Modular Design](#architecture-category-core-modular-design)
- [SOLID / Object-Oriented Design](#architecture-category-solid-object-oriented-design)
- [Event / Messaging / Asynchronous Architecture](#architecture-category-event-messaging-asynchronous-architecture)
- [Error Handling / Resilience](#architecture-category-error-handling-resilience)
- [Architecture Review / Evolution / Governance Artifacts](#architecture-category-architecture-review-evolution-governance-artifacts)
- [Metadata / Self-Description / Declarative Systems](#architecture-category-metadata-self-description-declarative-systems)
- [Metaprogramming / Language-Oriented Architecture](#architecture-category-metaprogramming-language-oriented-architecture)
- [Model Architecture](#architecture-category-model-architecture)
- [Observability / Auditability / Traceability](#architecture-category-observability-auditability-traceability)
- [Behavioral Patterns](#architecture-category-behavioral-patterns)
- [Creational Patterns](#architecture-category-creational-patterns)
- [Structural Patterns](#architecture-category-structural-patterns)
- [Scalability / Performance / Optimization](#architecture-category-scalability-performance-optimization)
- [Streaming / Pipeline / Dataflow Processing](#architecture-category-streaming-pipeline-dataflow-processing)
- [Plugin / Extensibility / IoC](#architecture-category-plugin-extensibility-ioc)
- [Self-Healing / Recovery / Deployment Safety](#architecture-category-self-healing-recovery-deployment-safety)
- [Schema / Canonical Data / Semantics](#architecture-category-schema-canonical-data-semantics)
- [Security / Privacy / Compliance / Governance](#architecture-category-security-privacy-compliance-governance)
- [Codebase / System Architecture Styles](#architecture-category-codebase-system-architecture-styles)
- [Coordination Surfaces](#architecture-category-coordination-surfaces)
- [Taxonomy / Classification / Naming](#architecture-category-taxonomy-classification-naming)
- [Transactions / State / Concurrency](#architecture-category-transactions-state-concurrency)

## Anti-patterns

Every principle in this category is listed as a record. Each record carries its kind, its severity, the scopes it applies at and the layer it lives in, then the edge relations that join it to other records, the records that point back at it, the contracts that answer to it and the tensions it takes part in. The descriptors say how it is violated, detected, measured, repaired and enforced. Where the record carries one, an exemplar shows the shape before and after the principle is applied.

[The 78 records of Anti-patterns](/records/architecture-category/anti-patterns)

## Domain Architecture

Every principle in this category is listed as a record. Each record carries its kind, its severity, the scopes it applies at and the layer it lives in, then the edge relations that join it to other records, the records that point back at it, the contracts that answer to it and the tensions it takes part in. The descriptors say how it is violated, detected, measured, repaired and enforced. Where the record carries one, an exemplar shows the shape before and after the principle is applied.

[The 10 records of Domain Architecture](/records/architecture-category/domain-architecture)

## Runtime Discovery / Dynamic Binding

Every principle in this category is listed as a record. Each record carries its kind, its severity, the scopes it applies at and the layer it lives in, then the edge relations that join it to other records, the records that point back at it, the contracts that answer to it and the tensions it takes part in. The descriptors say how it is violated, detected, measured, repaired and enforced. Where the record carries one, an exemplar shows the shape before and after the principle is applied.

[The 5 records of Runtime Discovery / Dynamic Binding](/records/architecture-category/runtime-discovery-dynamic-binding)

## Causality / Ordering / Distributed Time

Every principle in this category is listed as a record. Each record carries its kind, its severity, the scopes it applies at and the layer it lives in, then the edge relations that join it to other records, the records that point back at it, the contracts that answer to it and the tensions it takes part in. The descriptors say how it is violated, detected, measured, repaired and enforced. Where the record carries one, an exemplar shows the shape before and after the principle is applied.

[The 14 records of Causality / Ordering / Distributed Time](/records/architecture-category/causality-ordering-distributed-time)

## Contracts / Interfaces / Compatibility

Every principle in this category is listed as a record. Each record carries its kind, its severity, the scopes it applies at and the layer it lives in, then the edge relations that join it to other records, the records that point back at it, the contracts that answer to it and the tensions it takes part in. The descriptors say how it is violated, detected, measured, repaired and enforced. Where the record carries one, an exemplar shows the shape before and after the principle is applied.

[The 20 records of Contracts / Interfaces / Compatibility](/records/architecture-category/contracts-interfaces-compatibility)

## Control / Coordination / Centralization

Every principle in this category is listed as a record. Each record carries its kind, its severity, the scopes it applies at and the layer it lives in, then the edge relations that join it to other records, the records that point back at it, the contracts that answer to it and the tensions it takes part in. The descriptors say how it is violated, detected, measured, repaired and enforced. Where the record carries one, an exemplar shows the shape before and after the principle is applied.

[The 9 records of Control / Coordination / Centralization](/records/architecture-category/control-coordination-centralization)

## Correctness / Determinism / Verification

Every principle in this category is listed as a record. Each record carries its kind, its severity, the scopes it applies at and the layer it lives in, then the edge relations that join it to other records, the records that point back at it, the contracts that answer to it and the tensions it takes part in. The descriptors say how it is violated, detected, measured, repaired and enforced. Where the record carries one, an exemplar shows the shape before and after the principle is applied.

[The 15 records of Correctness / Determinism / Verification](/records/architecture-category/correctness-determinism-verification)

## Portability / Infrastructure / Deployment

Every principle in this category is listed as a record. Each record carries its kind, its severity, the scopes it applies at and the layer it lives in, then the edge relations that join it to other records, the records that point back at it, the contracts that answer to it and the tensions it takes part in. The descriptors say how it is violated, detected, measured, repaired and enforced. Where the record carries one, an exemplar shows the shape before and after the principle is applied.

[The 9 records of Portability / Infrastructure / Deployment](/records/architecture-category/portability-infrastructure-deployment)

## Core Modular Design

Every principle in this category is listed as a record. Each record carries its kind, its severity, the scopes it applies at and the layer it lives in, then the edge relations that join it to other records, the records that point back at it, the contracts that answer to it and the tensions it takes part in. The descriptors say how it is violated, detected, measured, repaired and enforced. Where the record carries one, an exemplar shows the shape before and after the principle is applied.

[The 16 records of Core Modular Design](/records/architecture-category/core-modular-design)

## SOLID / Object-Oriented Design

Every principle in this category is listed as a record. Each record carries its kind, its severity, the scopes it applies at and the layer it lives in, then the edge relations that join it to other records, the records that point back at it, the contracts that answer to it and the tensions it takes part in. The descriptors say how it is violated, detected, measured, repaired and enforced. Where the record carries one, an exemplar shows the shape before and after the principle is applied.

[The 5 records of SOLID / Object-Oriented Design](/records/architecture-category/solid-object-oriented-design)

## Event / Messaging / Asynchronous Architecture

Every principle in this category is listed as a record. Each record carries its kind, its severity, the scopes it applies at and the layer it lives in, then the edge relations that join it to other records, the records that point back at it, the contracts that answer to it and the tensions it takes part in. The descriptors say how it is violated, detected, measured, repaired and enforced. Where the record carries one, an exemplar shows the shape before and after the principle is applied.

[The 19 records of Event / Messaging / Asynchronous Architecture](/records/architecture-category/event-messaging-asynchronous-architecture)

## Error Handling / Resilience

Every principle in this category is listed as a record. Each record carries its kind, its severity, the scopes it applies at and the layer it lives in, then the edge relations that join it to other records, the records that point back at it, the contracts that answer to it and the tensions it takes part in. The descriptors say how it is violated, detected, measured, repaired and enforced. Where the record carries one, an exemplar shows the shape before and after the principle is applied.

[The 16 records of Error Handling / Resilience](/records/architecture-category/error-handling-resilience)

## Architecture Review / Evolution / Governance Artifacts

Every principle in this category is listed as a record. Each record carries its kind, its severity, the scopes it applies at and the layer it lives in, then the edge relations that join it to other records, the records that point back at it, the contracts that answer to it and the tensions it takes part in. The descriptors say how it is violated, detected, measured, repaired and enforced. Where the record carries one, an exemplar shows the shape before and after the principle is applied.

[The 17 records of Architecture Review / Evolution / Governance Artifacts](/records/architecture-category/architecture-review-evolution-governance-artifacts)

## Metadata / Self-Description / Declarative Systems

Every principle in this category is listed as a record. Each record carries its kind, its severity, the scopes it applies at and the layer it lives in, then the edge relations that join it to other records, the records that point back at it, the contracts that answer to it and the tensions it takes part in. The descriptors say how it is violated, detected, measured, repaired and enforced. Where the record carries one, an exemplar shows the shape before and after the principle is applied.

[The 8 records of Metadata / Self-Description / Declarative Systems](/records/architecture-category/metadata-self-description-declarative-systems)

## Metaprogramming / Language-Oriented Architecture

Every principle in this category is listed as a record. Each record carries its kind, its severity, the scopes it applies at and the layer it lives in, then the edge relations that join it to other records, the records that point back at it, the contracts that answer to it and the tensions it takes part in. The descriptors say how it is violated, detected, measured, repaired and enforced. Where the record carries one, an exemplar shows the shape before and after the principle is applied.

[The 10 records of Metaprogramming / Language-Oriented Architecture](/records/architecture-category/metaprogramming-language-oriented-architecture)

## Model Architecture

Every principle in this category is listed as a record. Each record carries its kind, its severity, the scopes it applies at and the layer it lives in, then the edge relations that join it to other records, the records that point back at it, the contracts that answer to it and the tensions it takes part in. The descriptors say how it is violated, detected, measured, repaired and enforced. Where the record carries one, an exemplar shows the shape before and after the principle is applied.

[The 13 records of Model Architecture](/records/architecture-category/model-architecture)

## Observability / Auditability / Traceability

Every principle in this category is listed as a record. Each record carries its kind, its severity, the scopes it applies at and the layer it lives in, then the edge relations that join it to other records, the records that point back at it, the contracts that answer to it and the tensions it takes part in. The descriptors say how it is violated, detected, measured, repaired and enforced. Where the record carries one, an exemplar shows the shape before and after the principle is applied.

[The 12 records of Observability / Auditability / Traceability](/records/architecture-category/observability-auditability-traceability)

## Behavioral Patterns

Every principle in this category is listed as a record. Each record carries its kind, its severity, the scopes it applies at and the layer it lives in, then the edge relations that join it to other records, the records that point back at it, the contracts that answer to it and the tensions it takes part in. The descriptors say how it is violated, detected, measured, repaired and enforced. Where the record carries one, an exemplar shows the shape before and after the principle is applied.

[The 13 records of Behavioral Patterns](/records/architecture-category/behavioral-patterns)

## Creational Patterns

Every principle in this category is listed as a record. Each record carries its kind, its severity, the scopes it applies at and the layer it lives in, then the edge relations that join it to other records, the records that point back at it, the contracts that answer to it and the tensions it takes part in. The descriptors say how it is violated, detected, measured, repaired and enforced. Where the record carries one, an exemplar shows the shape before and after the principle is applied.

[The 6 records of Creational Patterns](/records/architecture-category/creational-patterns)

## Structural Patterns

Every principle in this category is listed as a record. Each record carries its kind, its severity, the scopes it applies at and the layer it lives in, then the edge relations that join it to other records, the records that point back at it, the contracts that answer to it and the tensions it takes part in. The descriptors say how it is violated, detected, measured, repaired and enforced. Where the record carries one, an exemplar shows the shape before and after the principle is applied.

[The 7 records of Structural Patterns](/records/architecture-category/structural-patterns)

## Scalability / Performance / Optimization

Every principle in this category is listed as a record. Each record carries its kind, its severity, the scopes it applies at and the layer it lives in, then the edge relations that join it to other records, the records that point back at it, the contracts that answer to it and the tensions it takes part in. The descriptors say how it is violated, detected, measured, repaired and enforced. Where the record carries one, an exemplar shows the shape before and after the principle is applied.

[The 28 records of Scalability / Performance / Optimization](/records/architecture-category/scalability-performance-optimization)

## Streaming / Pipeline / Dataflow Processing

Every principle in this category is listed as a record. Each record carries its kind, its severity, the scopes it applies at and the layer it lives in, then the edge relations that join it to other records, the records that point back at it, the contracts that answer to it and the tensions it takes part in. The descriptors say how it is violated, detected, measured, repaired and enforced. Where the record carries one, an exemplar shows the shape before and after the principle is applied.

[The 11 records of Streaming / Pipeline / Dataflow Processing](/records/architecture-category/streaming-pipeline-dataflow-processing)

## Plugin / Extensibility / IoC

Every principle in this category is listed as a record. Each record carries its kind, its severity, the scopes it applies at and the layer it lives in, then the edge relations that join it to other records, the records that point back at it, the contracts that answer to it and the tensions it takes part in. The descriptors say how it is violated, detected, measured, repaired and enforced. Where the record carries one, an exemplar shows the shape before and after the principle is applied.

[The 8 records of Plugin / Extensibility / IoC](/records/architecture-category/plugin-extensibility-ioc)

## Self-Healing / Recovery / Deployment Safety

Every principle in this category is listed as a record. Each record carries its kind, its severity, the scopes it applies at and the layer it lives in, then the edge relations that join it to other records, the records that point back at it, the contracts that answer to it and the tensions it takes part in. The descriptors say how it is violated, detected, measured, repaired and enforced. Where the record carries one, an exemplar shows the shape before and after the principle is applied.

[The 13 records of Self-Healing / Recovery / Deployment Safety](/records/architecture-category/self-healing-recovery-deployment-safety)

## Schema / Canonical Data / Semantics

Every principle in this category is listed as a record. Each record carries its kind, its severity, the scopes it applies at and the layer it lives in, then the edge relations that join it to other records, the records that point back at it, the contracts that answer to it and the tensions it takes part in. The descriptors say how it is violated, detected, measured, repaired and enforced. Where the record carries one, an exemplar shows the shape before and after the principle is applied.

[The 13 records of Schema / Canonical Data / Semantics](/records/architecture-category/schema-canonical-data-semantics)

## Security / Privacy / Compliance / Governance

Every principle in this category is listed as a record. Each record carries its kind, its severity, the scopes it applies at and the layer it lives in, then the edge relations that join it to other records, the records that point back at it, the contracts that answer to it and the tensions it takes part in. The descriptors say how it is violated, detected, measured, repaired and enforced. Where the record carries one, an exemplar shows the shape before and after the principle is applied.

[The 27 records of Security / Privacy / Compliance / Governance](/records/architecture-category/security-privacy-compliance-governance)

## Codebase / System Architecture Styles

Every principle in this category is listed as a record. Each record carries its kind, its severity, the scopes it applies at and the layer it lives in, then the edge relations that join it to other records, the records that point back at it, the contracts that answer to it and the tensions it takes part in. The descriptors say how it is violated, detected, measured, repaired and enforced. Where the record carries one, an exemplar shows the shape before and after the principle is applied.

[The 10 records of Codebase / System Architecture Styles](/records/architecture-category/codebase-system-architecture-styles)

## Coordination Surfaces

Every principle in this category is listed as a record. Each record carries its kind, its severity, the scopes it applies at and the layer it lives in, then the edge relations that join it to other records, the records that point back at it, the contracts that answer to it and the tensions it takes part in. The descriptors say how it is violated, detected, measured, repaired and enforced. Where the record carries one, an exemplar shows the shape before and after the principle is applied.

[The 28 records of Coordination Surfaces](/records/architecture-category/coordination-surfaces)

## Taxonomy / Classification / Naming

Every principle in this category is listed as a record. Each record carries its kind, its severity, the scopes it applies at and the layer it lives in, then the edge relations that join it to other records, the records that point back at it, the contracts that answer to it and the tensions it takes part in. The descriptors say how it is violated, detected, measured, repaired and enforced. Where the record carries one, an exemplar shows the shape before and after the principle is applied.

[The 23 records of Taxonomy / Classification / Naming](/records/architecture-category/taxonomy-classification-naming)

## Transactions / State / Concurrency

Every principle in this category is listed as a record. Each record carries its kind, its severity, the scopes it applies at and the layer it lives in, then the edge relations that join it to other records, the records that point back at it, the contracts that answer to it and the tensions it takes part in. The descriptors say how it is violated, detected, measured, repaired and enforced. Where the record carries one, an exemplar shows the shape before and after the principle is applied.

[The 13 records of Transactions / State / Concurrency](/records/architecture-category/transactions-state-concurrency)
