# Circular Dependency

Record: `arch:circular-dependency`
Kind: anti-pattern
Layer: [Enforcement Core](https://banes-lab.com/records/layer/enforcement-core.md)
Severity: discouraged
Scope: modularity
Canonical: https://banes-lab.com/ontology#arch-circular-dependency

## Repair

- Refactored by: invert_dependency, extract_interface, split_shared_contract, introduce_event_or_mediator
- Detected by: dependency_cycle, mutual_imports, bootstrap_order_hacks, bidirectional_service_calls
- Violated by: Allow modules to depend on each other directly or indirectly until no module can change, test, deploy, or initialize independently.

## referenced-by

- [Directed Acyclic Graph (DAG)](https://banes-lab.com/records/arch/directed-acyclic-graph.md)
