{
  "definitions": [
    {
      "callable": true,
      "callees": [
        {
          "file": "tools/core/factories/declaration.factory.ts",
          "name": "absentFinding",
          "source": {
            "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-factories-declaration-factory-ts",
            "json": "https://banes-lab.com/json/source/coordination/tools/core/factories/declaration.factory.ts",
            "label": "tools/core/factories/declaration.factory.ts",
            "markdown": "https://banes-lab.com/source/coordination/tools/core/factories/declaration.factory.ts.md",
            "ref": "anatomy:file-coordination-tools-core-factories-declaration-factory-ts"
          }
        },
        {
          "file": "tools/core/factories/declaration.factory.ts",
          "name": "absentFinding",
          "source": {
            "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-factories-declaration-factory-ts",
            "json": "https://banes-lab.com/json/source/coordination/tools/core/factories/declaration.factory.ts",
            "label": "tools/core/factories/declaration.factory.ts",
            "markdown": "https://banes-lab.com/source/coordination/tools/core/factories/declaration.factory.ts.md",
            "ref": "anatomy:file-coordination-tools-core-factories-declaration-factory-ts"
          }
        }
      ],
      "callers": [],
      "exported": false,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 37,
      "name": "rootFindings",
      "signature": "const rootFindings = function rootFindings("
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "tools/core/factories/declaration.factory.ts",
          "name": "absentFinding",
          "source": {
            "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-factories-declaration-factory-ts",
            "json": "https://banes-lab.com/json/source/coordination/tools/core/factories/declaration.factory.ts",
            "label": "tools/core/factories/declaration.factory.ts",
            "markdown": "https://banes-lab.com/source/coordination/tools/core/factories/declaration.factory.ts.md",
            "ref": "anatomy:file-coordination-tools-core-factories-declaration-factory-ts"
          }
        },
        {
          "file": "tools/core/factories/declaration.factory.ts",
          "name": "absentFinding",
          "source": {
            "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-factories-declaration-factory-ts",
            "json": "https://banes-lab.com/json/source/coordination/tools/core/factories/declaration.factory.ts",
            "label": "tools/core/factories/declaration.factory.ts",
            "markdown": "https://banes-lab.com/source/coordination/tools/core/factories/declaration.factory.ts.md",
            "ref": "anatomy:file-coordination-tools-core-factories-declaration-factory-ts"
          }
        }
      ],
      "callers": [],
      "exported": false,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 66,
      "name": "containerFindings",
      "signature": "const containerFindings = function containerFindings(repoRoot: string, data: Taxonomy): Finding[] {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "tools/core/factories/declaration.factory.ts",
          "name": "artifactFinding",
          "source": {
            "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-factories-declaration-factory-ts",
            "json": "https://banes-lab.com/json/source/coordination/tools/core/factories/declaration.factory.ts",
            "label": "tools/core/factories/declaration.factory.ts",
            "markdown": "https://banes-lab.com/source/coordination/tools/core/factories/declaration.factory.ts.md",
            "ref": "anatomy:file-coordination-tools-core-factories-declaration-factory-ts"
          }
        },
        {
          "file": "tools/core/resolvers/artifact.resolver.ts",
          "name": "resolveArtifactRoots",
          "source": {
            "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-resolvers-artifact-resolver-ts",
            "json": "https://banes-lab.com/json/source/coordination/tools/core/resolvers/artifact.resolver.ts",
            "label": "tools/core/resolvers/artifact.resolver.ts",
            "markdown": "https://banes-lab.com/source/coordination/tools/core/resolvers/artifact.resolver.ts.md",
            "ref": "anatomy:file-coordination-tools-core-resolvers-artifact-resolver-ts"
          }
        }
      ],
      "callers": [],
      "exported": false,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 110,
      "name": "artifactFindings",
      "signature": "const artifactFindings = function artifactFindings(repoRoot: string, data: Taxonomy): Finding[] {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "tools/core/factories/declaration.factory.ts",
          "name": "foreignFinding",
          "source": {
            "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-factories-declaration-factory-ts",
            "json": "https://banes-lab.com/json/source/coordination/tools/core/factories/declaration.factory.ts",
            "label": "tools/core/factories/declaration.factory.ts",
            "markdown": "https://banes-lab.com/source/coordination/tools/core/factories/declaration.factory.ts.md",
            "ref": "anatomy:file-coordination-tools-core-factories-declaration-factory-ts"
          }
        }
      ],
      "callers": [],
      "exported": false,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 99,
      "name": "foreignFindings",
      "signature": "const foreignFindings = function foreignFindings("
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 19,
      "name": "AXIS_ADAPTER",
      "signature": "const AXIS_ADAPTER = slotText(\"project\", \"runtime_adapter\");"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 21,
      "name": "AXIS_GOVERNED",
      "signature": "const AXIS_GOVERNED = ["
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 26,
      "name": "AXIS_REACHES",
      "signature": "const AXIS_REACHES = ["
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "type_alias_declaration",
      "line": 35,
      "name": "Taxonomy",
      "signature": "type Taxonomy = RuleContext[\"taxonomy\"];"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 67,
      "name": "declaredFolders",
      "signature": "const declaredFolders: [string, readonly string[]][] = ["
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 71,
      "name": "missingFolders",
      "signature": "const missingFolders = declaredFolders"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 75,
      "name": "missingCorpora",
      "signature": "const missingCorpora = Object.entries(data.corpusRoots).filter("
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 105,
      "name": "marker",
      "signature": "const marker = isDirectory(repoRoot, root) ? foreignMarkerIn(repoRoot, root, data) : null;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 116,
      "name": "rule",
      "signature": "export const rule: RuleDeclaration = {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "method_definition",
      "line": 117,
      "name": "check",
      "signature": "check(context: RuleContext): RuleResult {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 118,
      "name": "data",
      "signature": "const data = context.taxonomy;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 119,
      "name": "{ repoRoot }",
      "signature": "const { repoRoot } = context;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 121,
      "name": "roots",
      "signature": "const roots = ["
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 128,
      "name": "upstream",
      "signature": "const upstream = UPSTREAM_ROOTS.map((root) => (root.endsWith(\"/\") ? root.slice(0, -1) : root));"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 129,
      "name": "resolvedRoots",
      "signature": "const resolvedRoots = roots.filter((root) => isDirectory(repoRoot, root));"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 130,
      "name": "resolvedUpstream",
      "signature": "const resolvedUpstream = upstream.filter((root) => isDirectory(repoRoot, root));"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 132,
      "name": "consumers",
      "signature": "const consumers = underRoots(context.paths, AXIS_GOVERNED).flatMap((path) =>"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 135,
      "name": "axisInspected",
      "signature": "const axisInspected = consumers.map("
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 140,
      "name": "findings",
      "signature": "const findings = ["
    }
  ],
  "document": null,
  "findings": [],
  "generated": false,
  "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-rules-declaration-rule-ts",
  "language": "typescript",
  "layer": "domain",
  "name": "declaration.rule.ts",
  "path": "tools/rules/declaration.rule.ts",
  "ref": "anatomy:file-coordination-tools-rules-declaration-rule-ts",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/coordination#folder-coordination-tools-rules",
          "json": "https://banes-lab.com/json/anatomy/coordination/folder-coordination-tools-rules",
          "label": "tools/rules",
          "markdown": "https://banes-lab.com/anatomy/coordination/folder-coordination-tools-rules.md",
          "ref": "chapter:/anatomy/coordination#folder-coordination-tools-rules"
        }
      ],
      "relation": "contained-in"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-factories-declaration-factory-ts",
          "json": "https://banes-lab.com/json/source/coordination/tools/core/factories/declaration.factory.ts",
          "label": "tools/core/factories/declaration.factory.ts",
          "markdown": "https://banes-lab.com/source/coordination/tools/core/factories/declaration.factory.ts.md",
          "ref": "anatomy:file-coordination-tools-core-factories-declaration-factory-ts"
        },
        {
          "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-resolvers-artifact-resolver-ts",
          "json": "https://banes-lab.com/json/source/coordination/tools/core/resolvers/artifact.resolver.ts",
          "label": "tools/core/resolvers/artifact.resolver.ts",
          "markdown": "https://banes-lab.com/source/coordination/tools/core/resolvers/artifact.resolver.ts.md",
          "ref": "anatomy:file-coordination-tools-core-resolvers-artifact-resolver-ts"
        }
      ],
      "relation": "uses"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/coordination#folder-coordination-tools-core-factories",
          "json": "https://banes-lab.com/json/anatomy/coordination/folder-coordination-tools-core-factories",
          "label": "tools/core/factories",
          "markdown": "https://banes-lab.com/anatomy/coordination/folder-coordination-tools-core-factories.md",
          "ref": "chapter:/anatomy/coordination#folder-coordination-tools-core-factories"
        },
        {
          "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": "rule",
    "subject": "declaration",
    "variant": null
  },
  "stats": {
    "bytes": 7561,
    "callable": 5,
    "definitions": 23,
    "edges": 7,
    "exported": 11,
    "files": 1,
    "findings": {},
    "flows": {
      "entry": 4,
      "isolated": 19
    },
    "lines": {
      "blank": 16,
      "code": 172,
      "total": 188
    }
  },
  "summary": "172 lines of code and 23 definitions.",
  "text": "https://banes-lab.com/source/coordination/tools/rules/declaration.rule.ts.txt",
  "tree": "coordination",
  "siblings": {
    "next": {
      "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-rules-emission-rule-ts",
      "json": "https://banes-lab.com/json/source/coordination/tools/rules/emission.rule.ts",
      "label": "tools/rules/emission.rule.ts",
      "markdown": "https://banes-lab.com/source/coordination/tools/rules/emission.rule.ts.md",
      "ref": "anatomy:file-coordination-tools-rules-emission-rule-ts"
    },
    "previous": {
      "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-rules-coverage-rule-ts",
      "json": "https://banes-lab.com/json/source/coordination/tools/rules/coverage.rule.ts",
      "label": "tools/rules/coverage.rule.ts",
      "markdown": "https://banes-lab.com/source/coordination/tools/rules/coverage.rule.ts.md",
      "ref": "anatomy:file-coordination-tools-rules-coverage-rule-ts"
    }
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/source/coordination/tools/rules",
    "label": "tools/rules",
    "markdown": "https://banes-lab.com/api/source/coordination/tools/rules.md",
    "ref": "api:source/coordination/tools/rules"
  }
}
