# Explicit Boundaries

Record: `arch:explicit-boundaries`
Kind: principle
Layer: [Domain Modeling](https://banes-lab.com/records/layer/domain-modeling.md)
Severity: mandatory
Scope: module, component, service, domain
Canonical: https://banes-lab.com/ontology#arch-explicit-boundaries

## Repair

- Refactored by: Move Code, Extract API, Restrict Exports
- Detected by: forbidden imports, [cyclic dependencies](https://banes-lab.com/records/lex/cyclic-dependencies.md)
- Violated by: internal imports, shared mutable internals
- Measured by: boundary violation count
- Enforced by: module rules, architecture tests

## requires

- [Stable Interfaces](https://banes-lab.com/records/arch/stable-interfaces.md)
- [Ownership](https://banes-lab.com/records/lex/ownership.md)

## reinforces

- [Modularity](https://banes-lab.com/records/arch/modularity.md)
- [Encapsulation](https://banes-lab.com/records/arch/encapsulation.md)

## enables

- [Replaceability](https://banes-lab.com/records/arch/replaceability.md)
- [Governance](https://banes-lab.com/records/arch/governance.md)

## conflicts-with

- [Boundary Leakage](https://banes-lab.com/records/arch/boundary-leakage.md)

## tensions-with

- [Cross-Cutting Concerns](https://banes-lab.com/records/lex/cross-cutting-concerns.md)

## tensions

- [Explicit Boundaries Cross-Cutting Concerns](https://banes-lab.com/records/tension/cross-cutting-concerns-explicit-boundaries.md)

## referenced-by

- [Single Responsibility Principle (SRP)](https://banes-lab.com/records/arch/single-responsibility.md)
- [Separation of Concerns](https://banes-lab.com/records/arch/separation-of-concerns.md)
- [High Cohesion](https://banes-lab.com/records/arch/high-cohesion.md)
- [Modularity](https://banes-lab.com/records/arch/modularity.md)
- [Independence](https://banes-lab.com/records/arch/independence.md)
- [Bounded Context](https://banes-lab.com/records/arch/bounded-context.md)
- [Context Mapping](https://banes-lab.com/records/arch/context-mapping.md)
- [Aggregate](https://banes-lab.com/records/arch/aggregate.md)
- [Declared Jurisdiction](https://banes-lab.com/records/arch/declared-jurisdiction.md)
