{
  "definitions": [
    {
      "callable": true,
      "callees": [
        {
          "file": "core/loaders/link.loader.ts",
          "name": "linkTarget",
          "source": {
            "href": "https://banes-lab.com/anatomy/content#file-content-core-loaders-link-loader-ts",
            "json": "https://banes-lab.com/json/source/content/core/loaders/link.loader.ts",
            "label": "core/loaders/link.loader.ts",
            "markdown": "https://banes-lab.com/source/content/core/loaders/link.loader.ts.md",
            "ref": "anatomy:file-content-core-loaders-link-loader-ts"
          }
        },
        {
          "file": "core/reporters/derivation.reporter.ts",
          "name": "conclude",
          "source": {
            "href": "https://banes-lab.com/anatomy/content#file-content-core-reporters-derivation-reporter-ts",
            "json": "https://banes-lab.com/json/source/content/core/reporters/derivation.reporter.ts",
            "label": "core/reporters/derivation.reporter.ts",
            "markdown": "https://banes-lab.com/source/content/core/reporters/derivation.reporter.ts.md",
            "ref": "anatomy:file-content-core-reporters-derivation-reporter-ts"
          }
        },
        {
          "file": "core/reporters/derivation.reporter.ts",
          "name": "refuse",
          "source": {
            "href": "https://banes-lab.com/anatomy/content#file-content-core-reporters-derivation-reporter-ts",
            "json": "https://banes-lab.com/json/source/content/core/reporters/derivation.reporter.ts",
            "label": "core/reporters/derivation.reporter.ts",
            "markdown": "https://banes-lab.com/source/content/core/reporters/derivation.reporter.ts.md",
            "ref": "anatomy:file-content-core-reporters-derivation-reporter-ts"
          }
        },
        {
          "file": "core/reporters/derivation.reporter.ts",
          "name": "say",
          "source": {
            "href": "https://banes-lab.com/anatomy/content#file-content-core-reporters-derivation-reporter-ts",
            "json": "https://banes-lab.com/json/source/content/core/reporters/derivation.reporter.ts",
            "label": "core/reporters/derivation.reporter.ts",
            "markdown": "https://banes-lab.com/source/content/core/reporters/derivation.reporter.ts.md",
            "ref": "anatomy:file-content-core-reporters-derivation-reporter-ts"
          }
        }
      ],
      "callers": [],
      "exported": false,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 45,
      "name": "validate",
      "signature": "const validate = async function validate(): Promise<void> {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/loaders/link.loader.ts",
          "name": "linkSetOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/content#file-content-core-loaders-link-loader-ts",
            "json": "https://banes-lab.com/json/source/content/core/loaders/link.loader.ts",
            "label": "core/loaders/link.loader.ts",
            "markdown": "https://banes-lab.com/source/content/core/loaders/link.loader.ts.md",
            "ref": "anatomy:file-content-core-loaders-link-loader-ts"
          }
        },
        {
          "file": "core/persistence/report.persistence.ts",
          "name": "persistJson",
          "source": {
            "href": "https://banes-lab.com/anatomy/content#file-content-core-persistence-report-persistence-ts",
            "json": "https://banes-lab.com/json/source/content/core/persistence/report.persistence.ts",
            "label": "core/persistence/report.persistence.ts",
            "markdown": "https://banes-lab.com/source/content/core/persistence/report.persistence.ts.md",
            "ref": "anatomy:file-content-core-persistence-report-persistence-ts"
          }
        },
        {
          "file": "core/reporters/derivation.reporter.ts",
          "name": "say",
          "source": {
            "href": "https://banes-lab.com/anatomy/content#file-content-core-reporters-derivation-reporter-ts",
            "json": "https://banes-lab.com/json/source/content/core/reporters/derivation.reporter.ts",
            "label": "core/reporters/derivation.reporter.ts",
            "markdown": "https://banes-lab.com/source/content/core/reporters/derivation.reporter.ts.md",
            "ref": "anatomy:file-content-core-reporters-derivation-reporter-ts"
          }
        }
      ],
      "callers": [],
      "exported": false,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 37,
      "name": "derive",
      "signature": "const derive = async function derive(): Promise<void> {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/reporters/derivation.reporter.ts",
          "name": "refuse",
          "source": {
            "href": "https://banes-lab.com/anatomy/content#file-content-core-reporters-derivation-reporter-ts",
            "json": "https://banes-lab.com/json/source/content/core/reporters/derivation.reporter.ts",
            "label": "core/reporters/derivation.reporter.ts",
            "markdown": "https://banes-lab.com/source/content/core/reporters/derivation.reporter.ts.md",
            "ref": "anatomy:file-content-core-reporters-derivation-reporter-ts"
          }
        }
      ],
      "callers": [],
      "exported": false,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 28,
      "name": "builtSections",
      "signature": "const builtSections = async function builtSections(): Promise<readonly PageSection[]> {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 22,
      "name": "argv",
      "signature": "const argv = resolveArgv({"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 29,
      "name": "{ missing, sections }",
      "signature": "const { missing, sections } = readSections(await sitePages());"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 30,
      "name": "[first]",
      "signature": "const [first] = missing;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 38,
      "name": "sections",
      "signature": "const sections = await builtSections();"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 39,
      "name": "target",
      "signature": "const target = linkTarget();"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 41,
      "name": "links",
      "signature": "const links = sections.reduce((total, section) => total + section.links.length, 0);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 46,
      "name": "baseline",
      "signature": "const baseline = readLinkSet();"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 50,
      "name": "{ lost, moved }",
      "signature": "const { lost, moved } = linkChanges(baseline, await builtSections());"
    }
  ],
  "document": null,
  "findings": [],
  "generated": false,
  "href": "https://banes-lab.com/anatomy/content#file-content-runtime-entrypoints-link-entrypoint-ts",
  "language": "typescript",
  "layer": "runtime",
  "name": "link.entrypoint.ts",
  "path": "runtime/entrypoints/link.entrypoint.ts",
  "ref": "anatomy:file-content-runtime-entrypoints-link-entrypoint-ts",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/content#folder-content-runtime-entrypoints",
          "json": "https://banes-lab.com/json/anatomy/content/folder-content-runtime-entrypoints",
          "label": "runtime/entrypoints",
          "markdown": "https://banes-lab.com/anatomy/content/folder-content-runtime-entrypoints.md",
          "ref": "chapter:/anatomy/content#folder-content-runtime-entrypoints"
        }
      ],
      "relation": "contained-in"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/content#file-content-core-loaders-link-loader-ts",
          "json": "https://banes-lab.com/json/source/content/core/loaders/link.loader.ts",
          "label": "core/loaders/link.loader.ts",
          "markdown": "https://banes-lab.com/source/content/core/loaders/link.loader.ts.md",
          "ref": "anatomy:file-content-core-loaders-link-loader-ts"
        },
        {
          "href": "https://banes-lab.com/anatomy/content#file-content-core-persistence-report-persistence-ts",
          "json": "https://banes-lab.com/json/source/content/core/persistence/report.persistence.ts",
          "label": "core/persistence/report.persistence.ts",
          "markdown": "https://banes-lab.com/source/content/core/persistence/report.persistence.ts.md",
          "ref": "anatomy:file-content-core-persistence-report-persistence-ts"
        },
        {
          "href": "https://banes-lab.com/anatomy/content#file-content-core-reporters-derivation-reporter-ts",
          "json": "https://banes-lab.com/json/source/content/core/reporters/derivation.reporter.ts",
          "label": "core/reporters/derivation.reporter.ts",
          "markdown": "https://banes-lab.com/source/content/core/reporters/derivation.reporter.ts.md",
          "ref": "anatomy:file-content-core-reporters-derivation-reporter-ts"
        }
      ],
      "relation": "uses"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/content#folder-content-core-loaders",
          "json": "https://banes-lab.com/json/anatomy/content/folder-content-core-loaders",
          "label": "core/loaders",
          "markdown": "https://banes-lab.com/anatomy/content/folder-content-core-loaders.md",
          "ref": "chapter:/anatomy/content#folder-content-core-loaders"
        },
        {
          "href": "https://banes-lab.com/anatomy/content#folder-content-core-persistence",
          "json": "https://banes-lab.com/json/anatomy/content/folder-content-core-persistence",
          "label": "core/persistence",
          "markdown": "https://banes-lab.com/anatomy/content/folder-content-core-persistence.md",
          "ref": "chapter:/anatomy/content#folder-content-core-persistence"
        },
        {
          "href": "https://banes-lab.com/anatomy/content#folder-content-core-reporters",
          "json": "https://banes-lab.com/json/anatomy/content/folder-content-core-reporters",
          "label": "core/reporters",
          "markdown": "https://banes-lab.com/anatomy/content/folder-content-core-reporters.md",
          "ref": "chapter:/anatomy/content#folder-content-core-reporters"
        }
      ],
      "relation": "linked-from"
    }
  ],
  "slots": {
    "concern": "entrypoint",
    "subject": "link",
    "variant": null
  },
  "stats": {
    "bytes": 2325,
    "callable": 3,
    "definitions": 11,
    "edges": 8,
    "exported": 0,
    "files": 1,
    "findings": {},
    "flows": {
      "entry": 3,
      "isolated": 8
    },
    "lines": {
      "blank": 5,
      "code": 56,
      "total": 61
    }
  },
  "summary": "56 lines of code and 11 definitions.",
  "text": "https://banes-lab.com/source/content/runtime/entrypoints/link.entrypoint.ts.txt",
  "tree": "content",
  "siblings": {
    "next": {
      "href": "https://banes-lab.com/anatomy/content#file-content-runtime-entrypoints-seed-entrypoint-ts",
      "json": "https://banes-lab.com/json/source/content/runtime/entrypoints/seed.entrypoint.ts",
      "label": "runtime/entrypoints/seed.entrypoint.ts",
      "markdown": "https://banes-lab.com/source/content/runtime/entrypoints/seed.entrypoint.ts.md",
      "ref": "anatomy:file-content-runtime-entrypoints-seed-entrypoint-ts"
    },
    "previous": {
      "href": "https://banes-lab.com/anatomy/content#file-content-runtime-entrypoints-leak-entrypoint-ts",
      "json": "https://banes-lab.com/json/source/content/runtime/entrypoints/leak.entrypoint.ts",
      "label": "runtime/entrypoints/leak.entrypoint.ts",
      "markdown": "https://banes-lab.com/source/content/runtime/entrypoints/leak.entrypoint.ts.md",
      "ref": "anatomy:file-content-runtime-entrypoints-leak-entrypoint-ts"
    }
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/source/content/runtime/entrypoints",
    "label": "runtime/entrypoints",
    "markdown": "https://banes-lab.com/api/source/content/runtime/entrypoints.md",
    "ref": "api:source/content/runtime/entrypoints"
  }
}
