{
  "code": null,
  "collection": "architecture",
  "href": "https://banes-lab.com/ontology#architecture-hand-kept-index",
  "id": "hand-kept-index",
  "kind": "anti-pattern",
  "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": "Hand-Kept Index",
  "ref": "architecture:hand-kept-index",
  "relations": [
    {
      "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"
        }
      ],
      "relation": "refactored-by"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology/schema#vocabulary-severity-discouraged",
          "json": "https://banes-lab.com/json/records/vocabulary/severity-discouraged",
          "label": "discouraged",
          "markdown": "https://banes-lab.com/records/vocabulary/severity-discouraged.md",
          "ref": "vocabulary:severity-discouraged"
        }
      ],
      "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/anatomy/governance#file-governance-rules-eslint-closure-barrel-must-be-glob-eslint-rule-ts",
          "json": "https://banes-lab.com/json/source/governance/rules/eslint/closure-barrel-must-be-glob.eslint.rule.ts",
          "label": "rules/eslint/closure-barrel-must-be-glob.eslint.rule.ts",
          "markdown": "https://banes-lab.com/source/governance/rules/eslint/closure-barrel-must-be-glob.eslint.rule.ts.md",
          "ref": "anatomy:file-governance-rules-eslint-closure-barrel-must-be-glob-eslint-rule-ts"
        }
      ],
      "relation": "detected-by"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology#architecture-two-direction-index",
          "json": "https://banes-lab.com/json/records/architecture/two-direction-index",
          "label": "Two-Direction Index",
          "markdown": "https://banes-lab.com/records/architecture/two-direction-index.md",
          "ref": "architecture:two-direction-index"
        }
      ],
      "relation": "negated-by"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology#architecture-two-direction-index",
          "json": "https://banes-lab.com/json/records/architecture/two-direction-index",
          "label": "Two-Direction Index",
          "markdown": "https://banes-lab.com/records/architecture/two-direction-index.md",
          "ref": "architecture:two-direction-index"
        }
      ],
      "relation": "violates"
    },
    {
      "links": [
        {
          "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 defect in which an index is written by hand beside what it indexes, so it drifts silently because nothing compares the two.",
  "siblings": {
    "next": {
      "href": "https://banes-lab.com/ontology#architecture-closed-vocabulary",
      "json": "https://banes-lab.com/json/records/architecture/closed-vocabulary",
      "label": "Closed Vocabulary",
      "markdown": "https://banes-lab.com/records/architecture/closed-vocabulary.md",
      "ref": "architecture:closed-vocabulary"
    },
    "previous": {
      "href": "https://banes-lab.com/ontology#architecture-destructive-closure",
      "json": "https://banes-lab.com/json/records/architecture/destructive-closure",
      "label": "Destructive Closure",
      "markdown": "https://banes-lab.com/records/architecture/destructive-closure.md",
      "ref": "architecture:destructive-closure"
    }
  },
  "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 regenerated from the directory on every run",
    "before": "a seat file is added → the index is not edited → the scan resolves fewer seats than it reports",
    "lang": "flow",
    "medium": "composite"
  },
  "formedBy": "adding and removing index entries by hand",
  "scope": [
    "index"
  ],
  "severity": "discouraged"
}
