{
  "code": null,
  "collection": "architecture",
  "href": "https://banes-lab.com/ontology#architecture-two-direction-index",
  "id": "two-direction-index",
  "kind": "mechanism",
  "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": "Two-Direction Index",
  "ref": "architecture:two-direction-index",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology/lexicon#lexicon-coordination-surface",
          "json": "https://banes-lab.com/json/records/lexicon/coordination-surface",
          "label": "Coordination Surface",
          "markdown": "https://banes-lab.com/records/lexicon/coordination-surface.md",
          "ref": "lexicon:coordination-surface"
        }
      ],
      "relation": "requires"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology#architecture-single-source-of-truth",
          "json": "https://banes-lab.com/json/records/architecture/single-source-of-truth",
          "label": "Single Source of Truth",
          "markdown": "https://banes-lab.com/records/architecture/single-source-of-truth.md",
          "ref": "architecture:single-source-of-truth"
        }
      ],
      "relation": "reinforces"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology/lexicon#lexicon-traceable-guarantee",
          "json": "https://banes-lab.com/json/records/lexicon/traceable-guarantee",
          "label": "Traceable Guarantee",
          "markdown": "https://banes-lab.com/records/lexicon/traceable-guarantee.md",
          "ref": "lexicon:traceable-guarantee"
        }
      ],
      "relation": "enables"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology#architecture-hand-kept-index",
          "json": "https://banes-lab.com/json/records/architecture/hand-kept-index",
          "label": "Hand-Kept Index",
          "markdown": "https://banes-lab.com/records/architecture/hand-kept-index.md",
          "ref": "architecture:hand-kept-index"
        }
      ],
      "relation": "conflicts-with"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology#architecture-hand-kept-index",
          "json": "https://banes-lab.com/json/records/architecture/hand-kept-index",
          "label": "Hand-Kept Index",
          "markdown": "https://banes-lab.com/records/architecture/hand-kept-index.md",
          "ref": "architecture:hand-kept-index"
        },
        {
          "href": "https://banes-lab.com/ontology/lexicon#lexicon-one-way-index-check",
          "json": "https://banes-lab.com/json/records/lexicon/one-way-index-check",
          "label": "One-Way Index Check",
          "markdown": "https://banes-lab.com/records/lexicon/one-way-index-check.md",
          "ref": "lexicon:one-way-index-check"
        }
      ],
      "relation": "violated-by"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology/lexicon#lexicon-generate-the-index-from-the-directory",
          "json": "https://banes-lab.com/json/records/lexicon/generate-the-index-from-the-directory",
          "label": "Generate the Index from the Directory",
          "markdown": "https://banes-lab.com/records/lexicon/generate-the-index-from-the-directory.md",
          "ref": "lexicon:generate-the-index-from-the-directory"
        },
        {
          "href": "https://banes-lab.com/ontology/lexicon#lexicon-check-both-directions",
          "json": "https://banes-lab.com/json/records/lexicon/check-both-directions",
          "label": "Check Both Directions",
          "markdown": "https://banes-lab.com/records/lexicon/check-both-directions.md",
          "ref": "lexicon:check-both-directions"
        }
      ],
      "relation": "refactored-by"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology/schema#vocabulary-severity-mandatory",
          "json": "https://banes-lab.com/json/records/vocabulary/severity-mandatory",
          "label": "mandatory",
          "markdown": "https://banes-lab.com/records/vocabulary/severity-mandatory.md",
          "ref": "vocabulary:severity-mandatory"
        }
      ],
      "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#architecture-category-schema-canonical-data-semantics",
          "json": "https://banes-lab.com/json/ontology/principles/architecture-category-schema-canonical-data-semantics",
          "label": "Schema / Canonical Data / Semantics",
          "markdown": "https://banes-lab.com/ontology/principles/architecture-category-schema-canonical-data-semantics.md",
          "ref": "chapter:/ontology#architecture-category-schema-canonical-data-semantics"
        },
        {
          "href": "https://banes-lab.com/ontology#architecture-category-coordination-surfaces",
          "json": "https://banes-lab.com/json/ontology/principles/architecture-category-coordination-surfaces",
          "label": "Coordination Surfaces",
          "markdown": "https://banes-lab.com/ontology/principles/architecture-category-coordination-surfaces.md",
          "ref": "chapter:/ontology#architecture-category-coordination-surfaces"
        },
        {
          "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/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-models-coordination-model-md",
          "json": "https://banes-lab.com/json/source/coordination/models/coordination.model.md",
          "label": "models/coordination.model.md",
          "markdown": "https://banes-lab.com/source/coordination/models/coordination.model.md.md",
          "ref": "anatomy:file-coordination-models-coordination-model-md"
        }
      ],
      "relation": "evidence"
    }
  ],
  "summary": "A mechanism that generates an index from the directory on every run and checks it both ways, reporting an entry with no file and a file with no entry, with every scan independent of depth.",
  "siblings": {
    "next": {
      "href": "https://banes-lab.com/ontology#architecture-independent-lifetime-axes",
      "json": "https://banes-lab.com/json/records/architecture/independent-lifetime-axes",
      "label": "Independent Lifetime Axes",
      "markdown": "https://banes-lab.com/records/architecture/independent-lifetime-axes.md",
      "ref": "architecture:independent-lifetime-axes"
    },
    "previous": {
      "href": "https://banes-lab.com/ontology#architecture-projection-channel",
      "json": "https://banes-lab.com/json/records/architecture/projection-channel",
      "label": "Projection Channel",
      "markdown": "https://banes-lab.com/records/architecture/projection-channel.md",
      "ref": "architecture:projection-channel"
    }
  },
  "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": "the index is generated from the directory → an entry with no file fails → a file with no entry fails",
    "before": "the agent index is edited by hand → a seat is added without an entry → the scan covers fewer seats than it claims",
    "lang": "flow",
    "medium": "composite"
  },
  "formedBy": null,
  "scope": [
    "index",
    "directory"
  ],
  "severity": "mandatory"
}
