{
  "definitions": [
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "tools/core/resolvers/taxonomy.resolver.ts",
          "name": "loadTaxonomy",
          "source": {
            "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-resolvers-taxonomy-resolver-ts",
            "json": "https://banes-lab.com/json/source/coordination/tools/core/resolvers/taxonomy.resolver.ts",
            "label": "tools/core/resolvers/taxonomy.resolver.ts",
            "markdown": "https://banes-lab.com/source/coordination/tools/core/resolvers/taxonomy.resolver.ts.md",
            "ref": "anatomy:file-coordination-tools-core-resolvers-taxonomy-resolver-ts"
          }
        },
        {
          "file": "tools/core/resolvers/taxonomy.resolver.ts",
          "name": "loadTaxonomy",
          "source": {
            "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-resolvers-taxonomy-resolver-ts",
            "json": "https://banes-lab.com/json/source/coordination/tools/core/resolvers/taxonomy.resolver.ts",
            "label": "tools/core/resolvers/taxonomy.resolver.ts",
            "markdown": "https://banes-lab.com/source/coordination/tools/core/resolvers/taxonomy.resolver.ts.md",
            "ref": "anatomy:file-coordination-tools-core-resolvers-taxonomy-resolver-ts"
          }
        },
        {
          "file": "tools/core/resolvers/taxonomy.resolver.ts",
          "name": "loadTaxonomy",
          "source": {
            "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-resolvers-taxonomy-resolver-ts",
            "json": "https://banes-lab.com/json/source/coordination/tools/core/resolvers/taxonomy.resolver.ts",
            "label": "tools/core/resolvers/taxonomy.resolver.ts",
            "markdown": "https://banes-lab.com/source/coordination/tools/core/resolvers/taxonomy.resolver.ts.md",
            "ref": "anatomy:file-coordination-tools-core-resolvers-taxonomy-resolver-ts"
          }
        }
      ],
      "exported": false,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 36,
      "name": "withinSurface",
      "signature": "const withinSurface = function withinSurface("
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "tools/core/resolvers/taxonomy.resolver.ts",
          "name": "derivedLetters",
          "source": {
            "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-resolvers-taxonomy-resolver-ts",
            "json": "https://banes-lab.com/json/source/coordination/tools/core/resolvers/taxonomy.resolver.ts",
            "label": "tools/core/resolvers/taxonomy.resolver.ts",
            "markdown": "https://banes-lab.com/source/coordination/tools/core/resolvers/taxonomy.resolver.ts.md",
            "ref": "anatomy:file-coordination-tools-core-resolvers-taxonomy-resolver-ts"
          }
        },
        {
          "file": "tools/core/resolvers/taxonomy.resolver.ts",
          "name": "withinSurface",
          "source": {
            "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-resolvers-taxonomy-resolver-ts",
            "json": "https://banes-lab.com/json/source/coordination/tools/core/resolvers/taxonomy.resolver.ts",
            "label": "tools/core/resolvers/taxonomy.resolver.ts",
            "markdown": "https://banes-lab.com/source/coordination/tools/core/resolvers/taxonomy.resolver.ts.md",
            "ref": "anatomy:file-coordination-tools-core-resolvers-taxonomy-resolver-ts"
          }
        },
        {
          "file": "tools/core/resolvers/taxonomy.resolver.ts",
          "name": "withinSurface",
          "source": {
            "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-resolvers-taxonomy-resolver-ts",
            "json": "https://banes-lab.com/json/source/coordination/tools/core/resolvers/taxonomy.resolver.ts",
            "label": "tools/core/resolvers/taxonomy.resolver.ts",
            "markdown": "https://banes-lab.com/source/coordination/tools/core/resolvers/taxonomy.resolver.ts.md",
            "ref": "anatomy:file-coordination-tools-core-resolvers-taxonomy-resolver-ts"
          }
        },
        {
          "file": "tools/core/resolvers/taxonomy.resolver.ts",
          "name": "withinSurface",
          "source": {
            "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-resolvers-taxonomy-resolver-ts",
            "json": "https://banes-lab.com/json/source/coordination/tools/core/resolvers/taxonomy.resolver.ts",
            "label": "tools/core/resolvers/taxonomy.resolver.ts",
            "markdown": "https://banes-lab.com/source/coordination/tools/core/resolvers/taxonomy.resolver.ts.md",
            "ref": "anatomy:file-coordination-tools-core-resolvers-taxonomy-resolver-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "tools/core/resolvers/gate.resolver.ts",
          "name": "contextOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-resolvers-gate-resolver-ts",
            "json": "https://banes-lab.com/json/source/coordination/tools/core/resolvers/gate.resolver.ts",
            "label": "tools/core/resolvers/gate.resolver.ts",
            "markdown": "https://banes-lab.com/source/coordination/tools/core/resolvers/gate.resolver.ts.md",
            "ref": "anatomy:file-coordination-tools-core-resolvers-gate-resolver-ts"
          }
        },
        {
          "file": "tools/core/resolvers/gate.resolver.ts",
          "name": "fromDisk",
          "source": {
            "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-resolvers-gate-resolver-ts",
            "json": "https://banes-lab.com/json/source/coordination/tools/core/resolvers/gate.resolver.ts",
            "label": "tools/core/resolvers/gate.resolver.ts",
            "markdown": "https://banes-lab.com/source/coordination/tools/core/resolvers/gate.resolver.ts.md",
            "ref": "anatomy:file-coordination-tools-core-resolvers-gate-resolver-ts"
          }
        }
      ],
      "exported": true,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 53,
      "name": "loadTaxonomy",
      "signature": "export const loadTaxonomy = function loadTaxonomy(): TaxonomyData {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "tools/core/resolvers/taxonomy.resolver.ts",
          "name": "lettersOnly",
          "source": {
            "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-resolvers-taxonomy-resolver-ts",
            "json": "https://banes-lab.com/json/source/coordination/tools/core/resolvers/taxonomy.resolver.ts",
            "label": "tools/core/resolvers/taxonomy.resolver.ts",
            "markdown": "https://banes-lab.com/source/coordination/tools/core/resolvers/taxonomy.resolver.ts.md",
            "ref": "anatomy:file-coordination-tools-core-resolvers-taxonomy-resolver-ts"
          }
        }
      ],
      "exported": false,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 8,
      "name": "isLetter",
      "signature": "const isLetter = function isLetter(char: string): boolean {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "tools/core/resolvers/taxonomy.resolver.ts",
          "name": "loadTaxonomy",
          "source": {
            "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-resolvers-taxonomy-resolver-ts",
            "json": "https://banes-lab.com/json/source/coordination/tools/core/resolvers/taxonomy.resolver.ts",
            "label": "tools/core/resolvers/taxonomy.resolver.ts",
            "markdown": "https://banes-lab.com/source/coordination/tools/core/resolvers/taxonomy.resolver.ts.md",
            "ref": "anatomy:file-coordination-tools-core-resolvers-taxonomy-resolver-ts"
          }
        }
      ],
      "exported": false,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 21,
      "name": "derivedLetters",
      "signature": "const derivedLetters = function derivedLetters(): string[] {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "tools/core/resolvers/taxonomy.resolver.ts",
          "name": "isLetter",
          "source": {
            "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-resolvers-taxonomy-resolver-ts",
            "json": "https://banes-lab.com/json/source/coordination/tools/core/resolvers/taxonomy.resolver.ts",
            "label": "tools/core/resolvers/taxonomy.resolver.ts",
            "markdown": "https://banes-lab.com/source/coordination/tools/core/resolvers/taxonomy.resolver.ts.md",
            "ref": "anatomy:file-coordination-tools-core-resolvers-taxonomy-resolver-ts"
          }
        }
      ],
      "callers": [],
      "exported": false,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 12,
      "name": "lettersOnly",
      "signature": "const lettersOnly = function lettersOnly(cell: string): boolean {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 22,
      "name": "source",
      "signature": "const source = resolve(surfaceRoot(), taxonomy.derivedVariants.source);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 27,
      "name": "cells",
      "signature": "const cells = readFileSync(source, \"utf8\")"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 39,
      "name": "prefix",
      "signature": "const prefix = surfacePrefix();"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 40,
      "name": "out",
      "signature": "const out: Record<string, readonly string[]> = {};"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 54,
      "name": "folderToTag",
      "signature": "const folderToTag: Record<string, string> = {};"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 55,
      "name": "folderToLayer",
      "signature": "const folderToLayer: Record<string, string> = {};"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 56,
      "name": "concernFolders",
      "signature": "const concernFolders: string[] = [];"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 57,
      "name": "concernTags",
      "signature": "const concernTags: string[] = [];"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 88,
      "name": "rootOf",
      "signature": "export const rootOf = function rootOf(path: string, data: TaxonomyData): string | null {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 89,
      "name": "roots",
      "signature": "const roots = [...Object.keys(data.containers), ...Object.keys(data.specialContainers)];"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 90,
      "name": "best",
      "signature": "let best: string | null = null;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 92,
      "name": "holds",
      "signature": "const holds = path === root || path.startsWith(`${root}/`);"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 100,
      "name": "governedPath",
      "signature": "export const governedPath = function governedPath(path: string, data: TaxonomyData): GovernedPath | null {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 101,
      "name": "root",
      "signature": "const root = rootOf(path, data);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 106,
      "name": "dir",
      "signature": "const dir = dirname(path);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 107,
      "name": "tail",
      "signature": "const tail = dir === root ? \"\" : dir.slice(root.length + 1);"
    }
  ],
  "document": null,
  "findings": [],
  "generated": false,
  "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-resolvers-taxonomy-resolver-ts",
  "language": "typescript",
  "layer": "infrastructure",
  "name": "taxonomy.resolver.ts",
  "path": "tools/core/resolvers/taxonomy.resolver.ts",
  "ref": "anatomy:file-coordination-tools-core-resolvers-taxonomy-resolver-ts",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/coordination#folder-coordination-tools-core-resolvers",
          "json": "https://banes-lab.com/json/anatomy/coordination/folder-coordination-tools-core-resolvers",
          "label": "tools/core/resolvers",
          "markdown": "https://banes-lab.com/anatomy/coordination/folder-coordination-tools-core-resolvers.md",
          "ref": "chapter:/anatomy/coordination#folder-coordination-tools-core-resolvers"
        }
      ],
      "relation": "contained-in"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-resolvers-gate-resolver-ts",
          "json": "https://banes-lab.com/json/source/coordination/tools/core/resolvers/gate.resolver.ts",
          "label": "tools/core/resolvers/gate.resolver.ts",
          "markdown": "https://banes-lab.com/source/coordination/tools/core/resolvers/gate.resolver.ts.md",
          "ref": "anatomy:file-coordination-tools-core-resolvers-gate-resolver-ts"
        }
      ],
      "relation": "used-by"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/coordination#folder-coordination-tools-core-resolvers",
          "json": "https://banes-lab.com/json/anatomy/coordination/folder-coordination-tools-core-resolvers",
          "label": "tools/core/resolvers",
          "markdown": "https://banes-lab.com/anatomy/coordination/folder-coordination-tools-core-resolvers.md",
          "ref": "chapter:/anatomy/coordination#folder-coordination-tools-core-resolvers"
        }
      ],
      "relation": "linked-from"
    }
  ],
  "slots": {
    "concern": "resolver",
    "subject": "taxonomy",
    "variant": null
  },
  "stats": {
    "bytes": 3780,
    "callable": 7,
    "definitions": 21,
    "edges": 5,
    "exported": 13,
    "files": 1,
    "findings": {},
    "flows": {
      "leaf": 3,
      "relay": 1,
      "entry": 1,
      "isolated": 16
    },
    "lines": {
      "blank": 14,
      "code": 95,
      "total": 109
    }
  },
  "summary": "95 lines of code and 21 definitions.",
  "text": "https://banes-lab.com/source/coordination/tools/core/resolvers/taxonomy.resolver.ts.txt",
  "tree": "coordination",
  "siblings": {
    "next": {
      "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-resolvers-venue-resolver-ts",
      "json": "https://banes-lab.com/json/source/coordination/tools/core/resolvers/venue.resolver.ts",
      "label": "tools/core/resolvers/venue.resolver.ts",
      "markdown": "https://banes-lab.com/source/coordination/tools/core/resolvers/venue.resolver.ts.md",
      "ref": "anatomy:file-coordination-tools-core-resolvers-venue-resolver-ts"
    },
    "previous": {
      "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-resolvers-sweep-resolver-ts",
      "json": "https://banes-lab.com/json/source/coordination/tools/core/resolvers/sweep.resolver.ts",
      "label": "tools/core/resolvers/sweep.resolver.ts",
      "markdown": "https://banes-lab.com/source/coordination/tools/core/resolvers/sweep.resolver.ts.md",
      "ref": "anatomy:file-coordination-tools-core-resolvers-sweep-resolver-ts"
    }
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/source/coordination/tools/core/resolvers",
    "label": "tools/core/resolvers",
    "markdown": "https://banes-lab.com/api/source/coordination/tools/core/resolvers.md",
    "ref": "api:source/coordination/tools/core/resolvers"
  }
}
