Boundary Leakage
Kind: anti-pattern
Layer: Enforcement Core
Record: architecture:boundary-leakage
Severity: discouraged
Scope: modularity, model_governance
Formed by: Permit internal models, infrastructure types, persistence structures, or private module APIs to cross intended architectural boundaries.
Canonical: Ontology
A defect in which internal, persistence or vendor types cross an architectural boundary.
Listed in Architecture principles, after Shared Mutable State and before Manual-Only Governance.
Refactored by
Severity
Category
Force
Detected by
- codemods/entrypoints/specifier.entrypoint.ts
- rules/eslint/closure-no-cross-member-relative.eslint.rule.ts
- rules/eslint/closure-no-platform-product-import.eslint.rule.ts