{
  "code": null,
  "collection": "algorithms",
  "href": "https://banes-lab.com/ontology/algorithms#algorithms-no-leaky-context",
  "id": "no-leaky-context",
  "kind": "algorithm",
  "layer": null,
  "name": "Anti-Corruption Layer Over Cross-Context Leak",
  "ref": "algorithms:no-leaky-context",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology/algorithms#algorithms-domain-architectural-rules",
          "json": "https://banes-lab.com/json/records/algorithms-domain/architectural-rules",
          "label": "Architectural Rules",
          "markdown": "https://banes-lab.com/records/algorithms-domain/architectural-rules.md",
          "ref": "algorithms-domain:architectural-rules"
        }
      ],
      "relation": "domain"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology/schema#vocabulary-domain-tier-leaf",
          "json": "https://banes-lab.com/json/records/vocabulary/domain-tier-leaf",
          "label": "leaf",
          "markdown": "https://banes-lab.com/records/vocabulary/domain-tier-leaf.md",
          "ref": "vocabulary:domain-tier-leaf"
        }
      ],
      "relation": "tier"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology#architecture-anti-corruption-layer",
          "json": "https://banes-lab.com/json/records/architecture/anti-corruption-layer",
          "label": "Anti-Corruption Layer",
          "markdown": "https://banes-lab.com/records/architecture/anti-corruption-layer.md",
          "ref": "architecture:anti-corruption-layer"
        }
      ],
      "relation": "principle"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology/algorithms#algorithms-domain-modeling",
          "json": "https://banes-lab.com/json/records/algorithms/domain-modeling",
          "label": "Domain Modeling",
          "markdown": "https://banes-lab.com/records/algorithms/domain-modeling.md",
          "ref": "algorithms:domain-modeling"
        },
        {
          "href": "https://banes-lab.com/ontology/algorithms#algorithms-coupling-control",
          "json": "https://banes-lab.com/json/records/algorithms/coupling-control",
          "label": "Coupling Control",
          "markdown": "https://banes-lab.com/records/algorithms/coupling-control.md",
          "ref": "algorithms:coupling-control"
        }
      ],
      "relation": "composes"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology/reasoning#reasoning-math-type-logic",
          "json": "https://banes-lab.com/json/records/reasoning/math-type-logic",
          "label": "Logic",
          "markdown": "https://banes-lab.com/records/reasoning/math-type-logic.md",
          "ref": "reasoning:math-type-logic"
        }
      ],
      "relation": "math-type"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology#architecture-category-domain-architecture",
          "json": "https://banes-lab.com/json/ontology/principles/architecture-category-domain-architecture",
          "label": "Domain Architecture",
          "markdown": "https://banes-lab.com/ontology/principles/architecture-category-domain-architecture.md",
          "ref": "chapter:/ontology#architecture-category-domain-architecture"
        },
        {
          "href": "https://banes-lab.com/ontology/algorithms#algorithms-domain-architecture",
          "json": "https://banes-lab.com/json/ontology/algorithms/algorithms-domain-architecture",
          "label": "Architecture",
          "markdown": "https://banes-lab.com/ontology/algorithms/algorithms-domain-architecture.md",
          "ref": "chapter:/ontology/algorithms#algorithms-domain-architecture"
        },
        {
          "href": "https://banes-lab.com/ontology/algorithms#algorithms-domain-architectural-clusters",
          "json": "https://banes-lab.com/json/ontology/algorithms/algorithms-domain-architectural-clusters",
          "label": "Architectural Clusters",
          "markdown": "https://banes-lab.com/ontology/algorithms/algorithms-domain-architectural-clusters.md",
          "ref": "chapter:/ontology/algorithms#algorithms-domain-architectural-clusters"
        },
        {
          "href": "https://banes-lab.com/ontology/reasoning#the-mathematics",
          "json": "https://banes-lab.com/json/ontology/reasoning/the-mathematics",
          "label": "The mathematics",
          "markdown": "https://banes-lab.com/ontology/reasoning/the-mathematics.md",
          "ref": "chapter:/ontology/reasoning#the-mathematics"
        },
        {
          "href": "https://banes-lab.com/ontology/schema#the-vocabulary-domain-tier",
          "json": "https://banes-lab.com/json/ontology/schema/the-vocabulary-domain-tier",
          "label": "Domain tiers",
          "markdown": "https://banes-lab.com/ontology/schema/the-vocabulary-domain-tier.md",
          "ref": "chapter:/ontology/schema#the-vocabulary-domain-tier"
        }
      ],
      "relation": "linked-from"
    }
  ],
  "summary": "Insert an anti-corruption layer at a context boundary, so a foreign model cannot corrupt the local one.",
  "siblings": {
    "next": {
      "href": "https://banes-lab.com/ontology/algorithms#algorithms-no-hidden-nondeterminism",
      "json": "https://banes-lab.com/json/records/algorithms/no-hidden-nondeterminism",
      "label": "Injected Nondeterminism Over Hidden",
      "markdown": "https://banes-lab.com/records/algorithms/no-hidden-nondeterminism.md",
      "ref": "algorithms:no-hidden-nondeterminism"
    },
    "previous": {
      "href": "https://banes-lab.com/ontology/algorithms#algorithms-no-imperative-config",
      "json": "https://banes-lab.com/json/records/algorithms/no-imperative-config",
      "label": "Declarative Config Over Imperative",
      "markdown": "https://banes-lab.com/records/algorithms/no-imperative-config.md",
      "ref": "algorithms:no-imperative-config"
    }
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/records/algorithms",
    "label": "Algorithm contracts",
    "markdown": "https://banes-lab.com/api/records/algorithms.md",
    "ref": "api:records/algorithms"
  },
  "closure": "https://banes-lab.com/json/records/algorithms/no-leaky-context/closure"
}
