{
  "definitions": [
    {
      "callable": true,
      "callees": [
        {
          "file": "tools/core/inspectors/role.inspector.ts",
          "name": "roleFieldsFrom",
          "source": {
            "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-inspectors-role-inspector-ts",
            "json": "https://banes-lab.com/json/source/coordination/tools/core/inspectors/role.inspector.ts",
            "label": "tools/core/inspectors/role.inspector.ts",
            "markdown": "https://banes-lab.com/source/coordination/tools/core/inspectors/role.inspector.ts.md",
            "ref": "anatomy:file-coordination-tools-core-inspectors-role-inspector-ts"
          }
        },
        {
          "file": "tools/core/inspectors/role.inspector.ts",
          "name": "roleSubsectionsFrom",
          "source": {
            "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-inspectors-role-inspector-ts",
            "json": "https://banes-lab.com/json/source/coordination/tools/core/inspectors/role.inspector.ts",
            "label": "tools/core/inspectors/role.inspector.ts",
            "markdown": "https://banes-lab.com/source/coordination/tools/core/inspectors/role.inspector.ts.md",
            "ref": "anatomy:file-coordination-tools-core-inspectors-role-inspector-ts"
          }
        },
        {
          "file": "tools/core/runners/role.runner.ts",
          "name": "filled",
          "source": {
            "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-runners-role-runner-ts",
            "json": "https://banes-lab.com/json/source/coordination/tools/core/runners/role.runner.ts",
            "label": "tools/core/runners/role.runner.ts",
            "markdown": "https://banes-lab.com/source/coordination/tools/core/runners/role.runner.ts.md",
            "ref": "anatomy:file-coordination-tools-core-runners-role-runner-ts"
          }
        },
        {
          "file": "tools/core/strings/role.strings.ts",
          "name": "roleRaised",
          "source": {
            "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-strings-role-strings-ts",
            "json": "https://banes-lab.com/json/source/coordination/tools/core/strings/role.strings.ts",
            "label": "tools/core/strings/role.strings.ts",
            "markdown": "https://banes-lab.com/source/coordination/tools/core/strings/role.strings.ts.md",
            "ref": "anatomy:file-coordination-tools-core-strings-role-strings-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "tools/core/coordinators/invocation.coordinator.ts",
          "name": "role",
          "source": {
            "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-coordinators-invocation-coordinator-ts",
            "json": "https://banes-lab.com/json/source/coordination/tools/core/coordinators/invocation.coordinator.ts",
            "label": "tools/core/coordinators/invocation.coordinator.ts",
            "markdown": "https://banes-lab.com/source/coordination/tools/core/coordinators/invocation.coordinator.ts.md",
            "ref": "anatomy:file-coordination-tools-core-coordinators-invocation-coordinator-ts"
          }
        }
      ],
      "exported": true,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 39,
      "name": "runRole",
      "signature": "export const runRole = function runRole(request: RoleRequest): RoleOutcome {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "tools/core/runners/role.runner.ts",
          "name": "runRole",
          "source": {
            "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-runners-role-runner-ts",
            "json": "https://banes-lab.com/json/source/coordination/tools/core/runners/role.runner.ts",
            "label": "tools/core/runners/role.runner.ts",
            "markdown": "https://banes-lab.com/source/coordination/tools/core/runners/role.runner.ts.md",
            "ref": "anatomy:file-coordination-tools-core-runners-role-runner-ts"
          }
        }
      ],
      "exported": false,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 22,
      "name": "filled",
      "signature": "const filled = function filled(field: string, letter: string, concern: string): string {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 6,
      "name": "PLACEHOLDER_OPEN",
      "signature": "const PLACEHOLDER_OPEN = \"<\";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 8,
      "name": "PLACEHOLDER_CLOSE",
      "signature": "const PLACEHOLDER_CLOSE = \">\";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "interface_declaration",
      "line": 10,
      "name": "RoleRequest",
      "signature": "interface RoleRequest {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "interface_declaration",
      "line": 17,
      "name": "RoleOutcome",
      "signature": "interface RoleOutcome {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 23,
      "name": "colon",
      "signature": "const colon = field.indexOf(\":\");"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 24,
      "name": "key",
      "signature": "const key = colon === -1 ? field : field.slice(0, colon);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 48,
      "name": "template",
      "signature": "const template = readFileSync(request.template, \"utf8\");"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 49,
      "name": "sections",
      "signature": "const sections = roleSectionsFrom(template);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 55,
      "name": "lines",
      "signature": "const lines: string[] = [\"---\"];"
    }
  ],
  "document": null,
  "findings": [],
  "generated": false,
  "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-runners-role-runner-ts",
  "language": "typescript",
  "layer": "product",
  "name": "role.runner.ts",
  "path": "tools/core/runners/role.runner.ts",
  "ref": "anatomy:file-coordination-tools-core-runners-role-runner-ts",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/coordination#folder-coordination-tools-core-runners",
          "json": "https://banes-lab.com/json/anatomy/coordination/folder-coordination-tools-core-runners",
          "label": "tools/core/runners",
          "markdown": "https://banes-lab.com/anatomy/coordination/folder-coordination-tools-core-runners.md",
          "ref": "chapter:/anatomy/coordination#folder-coordination-tools-core-runners"
        }
      ],
      "relation": "contained-in"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-inspectors-role-inspector-ts",
          "json": "https://banes-lab.com/json/source/coordination/tools/core/inspectors/role.inspector.ts",
          "label": "tools/core/inspectors/role.inspector.ts",
          "markdown": "https://banes-lab.com/source/coordination/tools/core/inspectors/role.inspector.ts.md",
          "ref": "anatomy:file-coordination-tools-core-inspectors-role-inspector-ts"
        },
        {
          "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-strings-role-strings-ts",
          "json": "https://banes-lab.com/json/source/coordination/tools/core/strings/role.strings.ts",
          "label": "tools/core/strings/role.strings.ts",
          "markdown": "https://banes-lab.com/source/coordination/tools/core/strings/role.strings.ts.md",
          "ref": "anatomy:file-coordination-tools-core-strings-role-strings-ts"
        }
      ],
      "relation": "uses"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-coordinators-invocation-coordinator-ts",
          "json": "https://banes-lab.com/json/source/coordination/tools/core/coordinators/invocation.coordinator.ts",
          "label": "tools/core/coordinators/invocation.coordinator.ts",
          "markdown": "https://banes-lab.com/source/coordination/tools/core/coordinators/invocation.coordinator.ts.md",
          "ref": "anatomy:file-coordination-tools-core-coordinators-invocation-coordinator-ts"
        }
      ],
      "relation": "used-by"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/coordination#folder-coordination-tools-core-coordinators",
          "json": "https://banes-lab.com/json/anatomy/coordination/folder-coordination-tools-core-coordinators",
          "label": "tools/core/coordinators",
          "markdown": "https://banes-lab.com/anatomy/coordination/folder-coordination-tools-core-coordinators.md",
          "ref": "chapter:/anatomy/coordination#folder-coordination-tools-core-coordinators"
        },
        {
          "href": "https://banes-lab.com/anatomy/coordination#folder-coordination-tools-core-inspectors",
          "json": "https://banes-lab.com/json/anatomy/coordination/folder-coordination-tools-core-inspectors",
          "label": "tools/core/inspectors",
          "markdown": "https://banes-lab.com/anatomy/coordination/folder-coordination-tools-core-inspectors.md",
          "ref": "chapter:/anatomy/coordination#folder-coordination-tools-core-inspectors"
        },
        {
          "href": "https://banes-lab.com/anatomy/coordination#folder-coordination-tools-core-runners",
          "json": "https://banes-lab.com/json/anatomy/coordination/folder-coordination-tools-core-runners",
          "label": "tools/core/runners",
          "markdown": "https://banes-lab.com/anatomy/coordination/folder-coordination-tools-core-runners.md",
          "ref": "chapter:/anatomy/coordination#folder-coordination-tools-core-runners"
        },
        {
          "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": "runner",
    "subject": "role",
    "variant": null
  },
  "stats": {
    "bytes": 2242,
    "callable": 2,
    "definitions": 11,
    "edges": 4,
    "exported": 4,
    "files": 1,
    "findings": {},
    "flows": {
      "relay": 1,
      "leaf": 1,
      "isolated": 9
    },
    "lines": {
      "blank": 17,
      "code": 55,
      "total": 72
    }
  },
  "summary": "55 lines of code and 11 definitions.",
  "text": "https://banes-lab.com/source/coordination/tools/core/runners/role.runner.ts.txt",
  "tree": "coordination",
  "siblings": {
    "next": {
      "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-runners-surface-runner-ts",
      "json": "https://banes-lab.com/json/source/coordination/tools/core/runners/surface.runner.ts",
      "label": "tools/core/runners/surface.runner.ts",
      "markdown": "https://banes-lab.com/source/coordination/tools/core/runners/surface.runner.ts.md",
      "ref": "anatomy:file-coordination-tools-core-runners-surface-runner-ts"
    },
    "previous": {
      "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-runners-record-runner-ts",
      "json": "https://banes-lab.com/json/source/coordination/tools/core/runners/record.runner.ts",
      "label": "tools/core/runners/record.runner.ts",
      "markdown": "https://banes-lab.com/source/coordination/tools/core/runners/record.runner.ts.md",
      "ref": "anatomy:file-coordination-tools-core-runners-record-runner-ts"
    }
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/source/coordination/tools/core/runners",
    "label": "tools/core/runners",
    "markdown": "https://banes-lab.com/api/source/coordination/tools/core/runners.md",
    "ref": "api:source/coordination/tools/core/runners"
  }
}
