{
  "definitions": [
    {
      "callable": true,
      "callees": [
        {
          "file": "config/surface.config.ts",
          "name": "isResolved",
          "source": {
            "href": "https://banes-lab.com/anatomy/coordination#file-coordination-config-surface-config-ts",
            "json": "https://banes-lab.com/json/source/coordination/config/surface.config.ts",
            "label": "config/surface.config.ts",
            "markdown": "https://banes-lab.com/source/coordination/config/surface.config.ts.md",
            "ref": "anatomy:file-coordination-config-surface-config-ts"
          }
        },
        {
          "file": "tools/core/strings/document.strings.ts",
          "name": "generatorFailed",
          "source": {
            "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-strings-document-strings-ts",
            "json": "https://banes-lab.com/json/source/coordination/tools/core/strings/document.strings.ts",
            "label": "tools/core/strings/document.strings.ts",
            "markdown": "https://banes-lab.com/source/coordination/tools/core/strings/document.strings.ts.md",
            "ref": "anatomy:file-coordination-tools-core-strings-document-strings-ts"
          }
        },
        {
          "file": "tools/core/strings/document.strings.ts",
          "name": "generatorRunning",
          "source": {
            "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-strings-document-strings-ts",
            "json": "https://banes-lab.com/json/source/coordination/tools/core/strings/document.strings.ts",
            "label": "tools/core/strings/document.strings.ts",
            "markdown": "https://banes-lab.com/source/coordination/tools/core/strings/document.strings.ts.md",
            "ref": "anatomy:file-coordination-tools-core-strings-document-strings-ts"
          }
        },
        {
          "file": "tools/core/strings/document.strings.ts",
          "name": "generatorsRan",
          "source": {
            "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-strings-document-strings-ts",
            "json": "https://banes-lab.com/json/source/coordination/tools/core/strings/document.strings.ts",
            "label": "tools/core/strings/document.strings.ts",
            "markdown": "https://banes-lab.com/source/coordination/tools/core/strings/document.strings.ts.md",
            "ref": "anatomy:file-coordination-tools-core-strings-document-strings-ts"
          }
        }
      ],
      "callers": [],
      "exported": false,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 13,
      "name": "main",
      "signature": "const main = function main(): number {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 7,
      "name": "REPO_ROOT",
      "signature": "const REPO_ROOT = projectRoot();"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 9,
      "name": "SLOT",
      "signature": "const SLOT = \"document_generators\";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 11,
      "name": "RUNTIME",
      "signature": "const RUNTIME = process.execPath;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 19,
      "name": "declared",
      "signature": "const declared = slotList(\"execution\", SLOT);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 20,
      "name": "cwd",
      "signature": "const cwd = resolve(REPO_ROOT, surfacePrefix());"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 23,
      "name": "argv",
      "signature": "const argv = invocation.split(\" \").filter((token) => token.length > 0);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 26,
      "name": "outcome",
      "signature": "const outcome = spawnSync(RUNTIME, argv, { cwd, stdio: \"inherit\" });"
    }
  ],
  "document": null,
  "findings": [],
  "generated": false,
  "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-entrypoints-document-entrypoint-ts",
  "language": "typescript",
  "layer": "runtime",
  "name": "document.entrypoint.ts",
  "path": "tools/core/entrypoints/document.entrypoint.ts",
  "ref": "anatomy:file-coordination-tools-core-entrypoints-document-entrypoint-ts",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/coordination#folder-coordination-tools-core-entrypoints",
          "json": "https://banes-lab.com/json/anatomy/coordination/folder-coordination-tools-core-entrypoints",
          "label": "tools/core/entrypoints",
          "markdown": "https://banes-lab.com/anatomy/coordination/folder-coordination-tools-core-entrypoints.md",
          "ref": "chapter:/anatomy/coordination#folder-coordination-tools-core-entrypoints"
        }
      ],
      "relation": "contained-in"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/coordination#file-coordination-config-surface-config-ts",
          "json": "https://banes-lab.com/json/source/coordination/config/surface.config.ts",
          "label": "config/surface.config.ts",
          "markdown": "https://banes-lab.com/source/coordination/config/surface.config.ts.md",
          "ref": "anatomy:file-coordination-config-surface-config-ts"
        },
        {
          "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-strings-document-strings-ts",
          "json": "https://banes-lab.com/json/source/coordination/tools/core/strings/document.strings.ts",
          "label": "tools/core/strings/document.strings.ts",
          "markdown": "https://banes-lab.com/source/coordination/tools/core/strings/document.strings.ts.md",
          "ref": "anatomy:file-coordination-tools-core-strings-document-strings-ts"
        }
      ],
      "relation": "uses"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/coordination#folder-coordination-config",
          "json": "https://banes-lab.com/json/anatomy/coordination/folder-coordination-config",
          "label": "config",
          "markdown": "https://banes-lab.com/anatomy/coordination/folder-coordination-config.md",
          "ref": "chapter:/anatomy/coordination#folder-coordination-config"
        },
        {
          "href": "https://banes-lab.com/anatomy/coordination#folder-coordination-tools-core-strings",
          "json": "https://banes-lab.com/json/anatomy/coordination/folder-coordination-tools-core-strings",
          "label": "tools/core/strings",
          "markdown": "https://banes-lab.com/anatomy/coordination/folder-coordination-tools-core-strings.md",
          "ref": "chapter:/anatomy/coordination#folder-coordination-tools-core-strings"
        }
      ],
      "relation": "linked-from"
    }
  ],
  "slots": {
    "concern": "entrypoint",
    "subject": "document",
    "variant": null
  },
  "stats": {
    "bytes": 1188,
    "callable": 1,
    "definitions": 8,
    "edges": 4,
    "exported": 0,
    "files": 1,
    "findings": {},
    "flows": {
      "entry": 1,
      "isolated": 7
    },
    "lines": {
      "blank": 11,
      "code": 28,
      "total": 39
    }
  },
  "summary": "28 lines of code and 8 definitions.",
  "text": "https://banes-lab.com/source/coordination/tools/core/entrypoints/document.entrypoint.ts.txt",
  "tree": "coordination",
  "siblings": {
    "next": {
      "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-entrypoints-gate-entrypoint-ts",
      "json": "https://banes-lab.com/json/source/coordination/tools/core/entrypoints/gate.entrypoint.ts",
      "label": "tools/core/entrypoints/gate.entrypoint.ts",
      "markdown": "https://banes-lab.com/source/coordination/tools/core/entrypoints/gate.entrypoint.ts.md",
      "ref": "anatomy:file-coordination-tools-core-entrypoints-gate-entrypoint-ts"
    },
    "previous": {
      "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-entrypoints-corpus-entrypoint-ts",
      "json": "https://banes-lab.com/json/source/coordination/tools/core/entrypoints/corpus.entrypoint.ts",
      "label": "tools/core/entrypoints/corpus.entrypoint.ts",
      "markdown": "https://banes-lab.com/source/coordination/tools/core/entrypoints/corpus.entrypoint.ts.md",
      "ref": "anatomy:file-coordination-tools-core-entrypoints-corpus-entrypoint-ts"
    }
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/source/coordination/tools/core/entrypoints",
    "label": "tools/core/entrypoints",
    "markdown": "https://banes-lab.com/api/source/coordination/tools/core/entrypoints.md",
    "ref": "api:source/coordination/tools/core/entrypoints"
  }
}
