# Anti-Corruption Layer Over Cross-Context Leak

> Insert an anti-corruption layer at a context boundary, so a foreign model cannot corrupt the local one.

Record: `algorithms:no-leaky-context`
Kind: algorithm
Canonical: https://banes-lab.com/ontology/algorithms#algorithms-no-leaky-context
Closure: https://banes-lab.com/json/records/algorithms/no-leaky-context/closure

Listed in [Algorithm contracts](https://banes-lab.com/api/records/algorithms.md), after [Declarative Config Over Imperative](https://banes-lab.com/records/algorithms/no-imperative-config.md) and before [Injected Nondeterminism Over Hidden](https://banes-lab.com/records/algorithms/no-hidden-nondeterminism.md).

## Domain

- [Architectural Rules](https://banes-lab.com/records/algorithms-domain/architectural-rules.md)

## Tier

- [leaf](https://banes-lab.com/records/vocabulary/domain-tier-leaf.md)

## Principle

- [Anti-Corruption Layer](https://banes-lab.com/records/architecture/anti-corruption-layer.md)

## Composes

- [Domain Modeling](https://banes-lab.com/records/algorithms/domain-modeling.md)
- [Coupling Control](https://banes-lab.com/records/algorithms/coupling-control.md)

## Math type

- [Logic](https://banes-lab.com/records/reasoning/math-type-logic.md)

## Linked from

- [Domain Architecture](https://banes-lab.com/ontology/principles/architecture-category-domain-architecture.md)
- [Architecture](https://banes-lab.com/ontology/algorithms/algorithms-domain-architecture.md)
- [Architectural Clusters](https://banes-lab.com/ontology/algorithms/algorithms-domain-architectural-clusters.md)
- [The mathematics](https://banes-lab.com/ontology/reasoning/the-mathematics.md)
- [Domain tiers](https://banes-lab.com/ontology/schema/the-vocabulary-domain-tier.md)
