{
  "definitions": [
    {
      "callable": true,
      "callees": [
        {
          "file": "tools/core/strings/source.strings.ts",
          "name": "sourceSummary",
          "source": {
            "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-strings-source-strings-ts",
            "json": "https://banes-lab.com/json/source/coordination/tools/core/strings/source.strings.ts",
            "label": "tools/core/strings/source.strings.ts",
            "markdown": "https://banes-lab.com/source/coordination/tools/core/strings/source.strings.ts.md",
            "ref": "anatomy:file-coordination-tools-core-strings-source-strings-ts"
          }
        }
      ],
      "callers": [],
      "exported": false,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 14,
      "name": "main",
      "signature": "const main = function main(): void {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 9,
      "name": "REPO_ROOT",
      "signature": "const REPO_ROOT = projectRoot();"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 10,
      "name": "REPORT",
      "signature": "const REPORT = `${GENERATED_DIR}/clean.report.generated.json`;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 12,
      "name": "RESTATES",
      "signature": "export const RESTATES: readonly string[] = [\"mutation_preview_first\", \"healing_is_default_in_every_entrypoint\"];"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 15,
      "name": "apply",
      "signature": "const apply = !process.argv.includes(NO_FIX_FLAG);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 16,
      "name": "result",
      "signature": "const result = cleanSources(REPO_ROOT, apply);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 18,
      "name": "report",
      "signature": "const report = {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 31,
      "name": "counts",
      "signature": "const counts = { files: result.files.length, kept: result.kept, removed: result.removed, scanned: result.scanned };"
    }
  ],
  "document": null,
  "findings": [],
  "generated": false,
  "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-entrypoints-source-entrypoint-ts",
  "language": "typescript",
  "layer": "runtime",
  "name": "source.entrypoint.ts",
  "path": "tools/core/entrypoints/source.entrypoint.ts",
  "ref": "anatomy:file-coordination-tools-core-entrypoints-source-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-tools-core-strings-source-strings-ts",
          "json": "https://banes-lab.com/json/source/coordination/tools/core/strings/source.strings.ts",
          "label": "tools/core/strings/source.strings.ts",
          "markdown": "https://banes-lab.com/source/coordination/tools/core/strings/source.strings.ts.md",
          "ref": "anatomy:file-coordination-tools-core-strings-source-strings-ts"
        }
      ],
      "relation": "uses"
    },
    {
      "links": [
        {
          "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": "source",
    "variant": null
  },
  "stats": {
    "bytes": 1305,
    "callable": 1,
    "definitions": 8,
    "edges": 1,
    "exported": 1,
    "files": 1,
    "findings": {},
    "flows": {
      "entry": 1,
      "isolated": 7
    },
    "lines": {
      "blank": 8,
      "code": 27,
      "total": 35
    }
  },
  "summary": "27 lines of code and 8 definitions.",
  "text": "https://banes-lab.com/source/coordination/tools/core/entrypoints/source.entrypoint.ts.txt",
  "tree": "coordination",
  "siblings": {
    "next": null,
    "previous": {
      "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-entrypoints-segment-entrypoint-ts",
      "json": "https://banes-lab.com/json/source/coordination/tools/core/entrypoints/segment.entrypoint.ts",
      "label": "tools/core/entrypoints/segment.entrypoint.ts",
      "markdown": "https://banes-lab.com/source/coordination/tools/core/entrypoints/segment.entrypoint.ts.md",
      "ref": "anatomy:file-coordination-tools-core-entrypoints-segment-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"
  }
}
