{
  "code": null,
  "collection": "architecture",
  "href": "https://banes-lab.com/ontology#architecture-reversible-channel-encoding",
  "id": "reversible-channel-encoding",
  "kind": "constraint",
  "layer": {
    "href": "https://banes-lab.com/ontology/schema#layer-execution-core",
    "json": "https://banes-lab.com/json/records/layer/execution-core",
    "label": "Execution Core",
    "markdown": "https://banes-lab.com/records/layer/execution-core.md",
    "ref": "layer:execution-core"
  },
  "name": "Reversible Channel Encoding",
  "ref": "architecture:reversible-channel-encoding",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology/lexicon#lexicon-write-scope",
          "json": "https://banes-lab.com/json/records/lexicon/write-scope",
          "label": "Write Scope",
          "markdown": "https://banes-lab.com/records/lexicon/write-scope.md",
          "ref": "lexicon:write-scope"
        }
      ],
      "relation": "requires"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology/lexicon#lexicon-stable-identity",
          "json": "https://banes-lab.com/json/records/lexicon/stable-identity",
          "label": "Stable Identity",
          "markdown": "https://banes-lab.com/records/lexicon/stable-identity.md",
          "ref": "lexicon:stable-identity"
        }
      ],
      "relation": "reinforces"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology/lexicon#lexicon-governed-removal",
          "json": "https://banes-lab.com/json/records/lexicon/governed-removal",
          "label": "Governed Removal",
          "markdown": "https://banes-lab.com/records/lexicon/governed-removal.md",
          "ref": "lexicon:governed-removal"
        }
      ],
      "relation": "enables"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology/lexicon#lexicon-digest-named-channel",
          "json": "https://banes-lab.com/json/records/lexicon/digest-named-channel",
          "label": "Digest-Named Channel",
          "markdown": "https://banes-lab.com/records/lexicon/digest-named-channel.md",
          "ref": "lexicon:digest-named-channel"
        }
      ],
      "relation": "violated-by"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology/lexicon#lexicon-encode-the-scope-reversibly",
          "json": "https://banes-lab.com/json/records/lexicon/encode-the-scope-reversibly",
          "label": "Encode the Scope Reversibly",
          "markdown": "https://banes-lab.com/records/lexicon/encode-the-scope-reversibly.md",
          "ref": "lexicon:encode-the-scope-reversibly"
        },
        {
          "href": "https://banes-lab.com/ontology/lexicon#lexicon-declare-the-remover",
          "json": "https://banes-lab.com/json/records/lexicon/declare-the-remover",
          "label": "Declare the Remover",
          "markdown": "https://banes-lab.com/records/lexicon/declare-the-remover.md",
          "ref": "lexicon:declare-the-remover"
        }
      ],
      "relation": "refactored-by"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology/schema#vocabulary-severity-recommended",
          "json": "https://banes-lab.com/json/records/vocabulary/severity-recommended",
          "label": "recommended",
          "markdown": "https://banes-lab.com/records/vocabulary/severity-recommended.md",
          "ref": "vocabulary:severity-recommended"
        }
      ],
      "relation": "severity"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology#architecture-category-coordination-surfaces",
          "json": "https://banes-lab.com/json/records/architecture-category/coordination-surfaces",
          "label": "Coordination Surfaces",
          "markdown": "https://banes-lab.com/records/architecture-category/coordination-surfaces.md",
          "ref": "architecture-category:coordination-surfaces"
        }
      ],
      "relation": "category"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology/lexicon#lexicon-category-coordination-surfaces",
          "json": "https://banes-lab.com/json/ontology/lexicon/lexicon-category-coordination-surfaces",
          "label": "Coordination Surfaces",
          "markdown": "https://banes-lab.com/ontology/lexicon/lexicon-category-coordination-surfaces.md",
          "ref": "chapter:/ontology/lexicon#lexicon-category-coordination-surfaces"
        },
        {
          "href": "https://banes-lab.com/ontology/lexicon#lexicon-category-domain-architecture",
          "json": "https://banes-lab.com/json/ontology/lexicon/lexicon-category-domain-architecture",
          "label": "Domain Architecture",
          "markdown": "https://banes-lab.com/ontology/lexicon/lexicon-category-domain-architecture.md",
          "ref": "chapter:/ontology/lexicon#lexicon-category-domain-architecture"
        },
        {
          "href": "https://banes-lab.com/ontology/schema#the-vocabulary-severity",
          "json": "https://banes-lab.com/json/ontology/schema/the-vocabulary-severity",
          "label": "Severity levels",
          "markdown": "https://banes-lab.com/ontology/schema/the-vocabulary-severity.md",
          "ref": "chapter:/ontology/schema#the-vocabulary-severity"
        }
      ],
      "relation": "linked-from"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-validators-channel-validator-ts",
          "json": "https://banes-lab.com/json/source/coordination/tools/core/validators/channel.validator.ts",
          "label": "staleChannels",
          "markdown": "https://banes-lab.com/source/coordination/tools/core/validators/channel.validator.ts.md",
          "ref": "anatomy:file-coordination-tools-core-validators-channel-validator-ts"
        },
        {
          "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-validators-channel-validator-ts",
          "json": "https://banes-lab.com/json/source/coordination/tools/core/validators/channel.validator.ts",
          "label": "misnamedChannels",
          "markdown": "https://banes-lab.com/source/coordination/tools/core/validators/channel.validator.ts.md",
          "ref": "anatomy:file-coordination-tools-core-validators-channel-validator-ts"
        },
        {
          "href": "https://banes-lab.com/anatomy/coordination#file-coordination-models-invocation-model-md",
          "json": "https://banes-lab.com/json/source/coordination/models/invocation.model.md",
          "label": "models/invocation.model.md",
          "markdown": "https://banes-lab.com/source/coordination/models/invocation.model.md.md",
          "ref": "anatomy:file-coordination-models-invocation-model-md"
        }
      ],
      "relation": "evidence"
    }
  ],
  "summary": "A rule or precondition that a channel name is a total and invertible encoding of the scope it belongs to, with an alphabet that excludes the separator, so a retention check can read the scope back out of the name.",
  "siblings": {
    "next": {
      "href": "https://banes-lab.com/ontology#architecture-declare-before-read-order",
      "json": "https://banes-lab.com/json/records/architecture/declare-before-read-order",
      "label": "Declare-Before-Read Order",
      "markdown": "https://banes-lab.com/records/architecture/declare-before-read-order.md",
      "ref": "architecture:declare-before-read-order"
    },
    "previous": {
      "href": "https://banes-lab.com/ontology#architecture-one-sided-liveness",
      "json": "https://banes-lab.com/json/records/architecture/one-sided-liveness",
      "label": "One-Sided Liveness",
      "markdown": "https://banes-lab.com/records/architecture/one-sided-liveness.md",
      "ref": "architecture:one-sided-liveness"
    }
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/records/architecture",
    "label": "Architecture principles",
    "markdown": "https://banes-lab.com/api/records/architecture.md",
    "ref": "api:records/architecture"
  },
  "aliases": [],
  "exemplar": {
    "after": "channel = encode(<scope>), invertible → decode(channel) resolves to nothing → the declared remover deletes it",
    "before": "channel = digest(<scope>) → channels never collide → no check can tell which channel is stale",
    "lang": "flow",
    "medium": "composite"
  },
  "formedBy": null,
  "scope": [
    "channel",
    "naming"
  ],
  "severity": "recommended"
}
